diff options
Diffstat (limited to 'tools/idevicenotificationproxy.c')
| -rw-r--r-- | tools/idevicenotificationproxy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/idevicenotificationproxy.c b/tools/idevicenotificationproxy.c index 00da916..192192a 100644 --- a/tools/idevicenotificationproxy.c +++ b/tools/idevicenotificationproxy.c | |||
| @@ -33,7 +33,7 @@ | |||
| 33 | #include <errno.h> | 33 | #include <errno.h> |
| 34 | #include <signal.h> | 34 | #include <signal.h> |
| 35 | 35 | ||
| 36 | #ifdef WIN32 | 36 | #ifdef _WIN32 |
| 37 | #include <windows.h> | 37 | #include <windows.h> |
| 38 | #define sleep(x) Sleep(x*1000) | 38 | #define sleep(x) Sleep(x*1000) |
| 39 | #else | 39 | #else |
| @@ -125,7 +125,7 @@ int main(int argc, char *argv[]) | |||
| 125 | 125 | ||
| 126 | signal(SIGINT, clean_exit); | 126 | signal(SIGINT, clean_exit); |
| 127 | signal(SIGTERM, clean_exit); | 127 | signal(SIGTERM, clean_exit); |
| 128 | #ifndef WIN32 | 128 | #ifndef _WIN32 |
| 129 | signal(SIGQUIT, clean_exit); | 129 | signal(SIGQUIT, clean_exit); |
| 130 | signal(SIGPIPE, SIG_IGN); | 130 | signal(SIGPIPE, SIG_IGN); |
| 131 | #endif | 131 | #endif |
