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/ideviceprovision.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/ideviceprovision.c') diff --git a/tools/ideviceprovision.c b/tools/ideviceprovision.c index 4080a28..97417eb 100644 --- a/tools/ideviceprovision.c +++ b/tools/ideviceprovision.c @@ -32,11 +32,11 @@ #include #include #include -#ifndef WIN32 +#ifndef _WIN32 #include #endif -#ifdef WIN32 +#ifdef _WIN32 #include #else #include @@ -314,7 +314,7 @@ int main(int argc, char *argv[]) { NULL, 0, NULL, 0} }; -#ifndef WIN32 +#ifndef _WIN32 signal(SIGPIPE, SIG_IGN); #endif /* parse cmdline args */ -- cgit v1.1-32-gdbae