diff options
author | 2024-11-27 12:01:18 +0100 | |
---|---|---|
committer | 2024-11-29 14:36:34 +0100 | |
commit | bcced6c4f6a79e09ed3961632b2faf81fe873137 (patch) | |
tree | 71bb6a70a3438c68229e4906e6bce14974a9aee8 /tools/idevicepair.c | |
parent | ba829e6f1a62bdad7866572d1e2cff1836ced742 (diff) | |
download | libimobiledevice-bcced6c4f6a79e09ed3961632b2faf81fe873137.tar.gz libimobiledevice-bcced6c4f6a79e09ed3961632b2faf81fe873137.tar.bz2 |
Fix attempts to detect Windows using _WIN32
Diffstat (limited to 'tools/idevicepair.c')
-rw-r--r-- | tools/idevicepair.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/idevicepair.c b/tools/idevicepair.c index 94d3f04..884c690 100644 --- a/tools/idevicepair.c +++ b/tools/idevicepair.c @@ -32,7 +32,7 @@ #include <getopt.h> #include <ctype.h> #include <unistd.h> -#ifdef WIN32 +#ifdef _WIN32 #include <windows.h> #include <conio.h> #else @@ -50,7 +50,7 @@ static char *udid = NULL; #ifdef HAVE_WIRELESS_PAIRING -#ifdef WIN32 +#ifdef _WIN32 #define BS_CC '\b' #define my_getch getch #else @@ -293,7 +293,7 @@ int main(int argc, char **argv) } } -#ifndef WIN32 +#ifndef _WIN32 signal(SIGPIPE, SIG_IGN); #endif |