summaryrefslogtreecommitdiff
path: root/src/unix/SignalHandlers.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-12-16 20:50:53 +0100
committerMax Kellermann <max@musicpd.org>2017-12-16 20:56:06 +0100
commit6246d36fe6503e6bed3bca6aa5ca783c6188d76f (patch)
tree51521bbb43bc2bbbc34a14c393a0f65880aabbbc /src/unix/SignalHandlers.cxx
parentfbc4bb29dcc471a08e47f10ffaa24ad8da6d40a2 (diff)
parentf1ef9f9d31c71857db021029326715028a217906 (diff)
Merge branch 'v0.20.x'
Diffstat (limited to 'src/unix/SignalHandlers.cxx')
-rw-r--r--src/unix/SignalHandlers.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unix/SignalHandlers.cxx b/src/unix/SignalHandlers.cxx
index d0908096e..ac2c4e603 100644
--- a/src/unix/SignalHandlers.cxx
+++ b/src/unix/SignalHandlers.cxx
@@ -21,7 +21,7 @@
#include "SignalHandlers.hxx"
#include "event/SignalMonitor.hxx"
-#ifndef WIN32
+#ifndef _WIN32
#include "Log.hxx"
#include "LogInit.hxx"
@@ -61,7 +61,7 @@ SignalHandlersInit(EventLoop &loop)
{
SignalMonitorInit(loop);
-#ifndef WIN32
+#ifndef _WIN32
struct sigaction sa;
sa.sa_flags = 0;