From bcced6c4f6a79e09ed3961632b2faf81fe873137 Mon Sep 17 00:00:00 2001 From: Duncan Ogilvie Date: Wed, 27 Nov 2024 12:01:18 +0100 Subject: Fix attempts to detect Windows using _WIN32 --- tools/idevicenotificationproxy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/idevicenotificationproxy.c') 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 @@ #include #include -#ifdef WIN32 +#ifdef _WIN32 #include #define sleep(x) Sleep(x*1000) #else @@ -125,7 +125,7 @@ int main(int argc, char *argv[]) signal(SIGINT, clean_exit); signal(SIGTERM, clean_exit); -#ifndef WIN32 +#ifndef _WIN32 signal(SIGQUIT, clean_exit); signal(SIGPIPE, SIG_IGN); #endif -- cgit v1.1-32-gdbae