*: check defined(_WIN32) instead of defined(WIN32)
Only _WIN32 is defined by the compiler, and WIN32 is not standardized and may be missing. Closes #169
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user