summaryrefslogtreecommitdiffstats
path: root/tools/idevicedevmodectl.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/idevicedevmodectl.c')
-rw-r--r--tools/idevicedevmodectl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/idevicedevmodectl.c b/tools/idevicedevmodectl.c
index bd1de6a..6bf1a1c 100644
--- a/tools/idevicedevmodectl.c
+++ b/tools/idevicedevmodectl.c
@@ -32,11 +32,11 @@
#include <sys/stat.h>
#include <unistd.h>
#include <errno.h>
-#ifndef WIN32
+#ifndef _WIN32
#include <signal.h>
#endif
-#ifdef WIN32
+#ifdef _WIN32
#include <windows.h>
#define __usleep(x) Sleep(x/1000)
#else
@@ -259,7 +259,7 @@ int main(int argc, char *argv[])
{ NULL, 0, NULL, 0}
};
-#ifndef WIN32
+#ifndef _WIN32
signal(SIGPIPE, SIG_IGN);
#endif
/* parse cmdline args */