diff options
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 @@ | |||
| 32 | #include <sys/stat.h> | 32 | #include <sys/stat.h> |
| 33 | #include <unistd.h> | 33 | #include <unistd.h> |
| 34 | #include <errno.h> | 34 | #include <errno.h> |
| 35 | #ifndef WIN32 | 35 | #ifndef _WIN32 |
| 36 | #include <signal.h> | 36 | #include <signal.h> |
| 37 | #endif | 37 | #endif |
| 38 | 38 | ||
| 39 | #ifdef WIN32 | 39 | #ifdef _WIN32 |
| 40 | #include <windows.h> | 40 | #include <windows.h> |
| 41 | #define __usleep(x) Sleep(x/1000) | 41 | #define __usleep(x) Sleep(x/1000) |
| 42 | #else | 42 | #else |
| @@ -259,7 +259,7 @@ int main(int argc, char *argv[]) | |||
| 259 | { NULL, 0, NULL, 0} | 259 | { NULL, 0, NULL, 0} |
| 260 | }; | 260 | }; |
| 261 | 261 | ||
| 262 | #ifndef WIN32 | 262 | #ifndef _WIN32 |
| 263 | signal(SIGPIPE, SIG_IGN); | 263 | signal(SIGPIPE, SIG_IGN); |
| 264 | #endif | 264 | #endif |
| 265 | /* parse cmdline args */ | 265 | /* parse cmdline args */ |
