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/idevicesyslog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/idevicesyslog.c') diff --git a/tools/idevicesyslog.c b/tools/idevicesyslog.c index a0e641d..dbd7b01 100644 --- a/tools/idevicesyslog.c +++ b/tools/idevicesyslog.c @@ -34,7 +34,7 @@ #include #include -#ifdef WIN32 +#ifdef _WIN32 #include #define sleep(x) Sleep(x*1000) #endif @@ -537,7 +537,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