diff options
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 @@ | |||
| 32 | #include <getopt.h> | 32 | #include <getopt.h> |
| 33 | #include <ctype.h> | 33 | #include <ctype.h> |
| 34 | #include <unistd.h> | 34 | #include <unistd.h> |
| 35 | #ifdef WIN32 | 35 | #ifdef _WIN32 |
| 36 | #include <windows.h> | 36 | #include <windows.h> |
| 37 | #include <conio.h> | 37 | #include <conio.h> |
| 38 | #else | 38 | #else |
| @@ -50,7 +50,7 @@ static char *udid = NULL; | |||
| 50 | 50 | ||
| 51 | #ifdef HAVE_WIRELESS_PAIRING | 51 | #ifdef HAVE_WIRELESS_PAIRING |
| 52 | 52 | ||
| 53 | #ifdef WIN32 | 53 | #ifdef _WIN32 |
| 54 | #define BS_CC '\b' | 54 | #define BS_CC '\b' |
| 55 | #define my_getch getch | 55 | #define my_getch getch |
| 56 | #else | 56 | #else |
| @@ -293,7 +293,7 @@ int main(int argc, char **argv) | |||
| 293 | } | 293 | } |
| 294 | } | 294 | } |
| 295 | 295 | ||
| 296 | #ifndef WIN32 | 296 | #ifndef _WIN32 |
| 297 | signal(SIGPIPE, SIG_IGN); | 297 | signal(SIGPIPE, SIG_IGN); |
| 298 | #endif | 298 | #endif |
| 299 | 299 | ||
