diff options
author | 2024-11-27 12:01:18 +0100 | |
---|---|---|
committer | 2024-11-29 14:36:34 +0100 | |
commit | bcced6c4f6a79e09ed3961632b2faf81fe873137 (patch) | |
tree | 71bb6a70a3438c68229e4906e6bce14974a9aee8 /tools/idevicedevmodectl.c | |
parent | ba829e6f1a62bdad7866572d1e2cff1836ced742 (diff) | |
download | libimobiledevice-bcced6c4f6a79e09ed3961632b2faf81fe873137.tar.gz libimobiledevice-bcced6c4f6a79e09ed3961632b2faf81fe873137.tar.bz2 |
Fix attempts to detect Windows using _WIN32
Diffstat (limited to 'tools/idevicedevmodectl.c')
-rw-r--r-- | tools/idevicedevmodectl.c | 6 |
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 */ |