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/idevicedebug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/idevicedebug.c') diff --git a/tools/idevicedebug.c b/tools/idevicedebug.c index 36c594e..3f2e289 100644 --- a/tools/idevicedebug.c +++ b/tools/idevicedebug.c @@ -34,7 +34,7 @@ #include #include -#ifdef WIN32 +#ifdef _WIN32 #include #define sleep(x) Sleep(x*1000) #endif @@ -239,7 +239,7 @@ int main(int argc, char *argv[]) /* map signals */ signal(SIGINT, on_signal); signal(SIGTERM, on_signal); -#ifndef WIN32 +#ifndef _WIN32 signal(SIGQUIT, on_signal); signal(SIGPIPE, SIG_IGN); #endif -- cgit v1.1-32-gdbae