From 5235448cead2b6e6c9e891f9a95e89373669402f Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 2 Dec 2024 06:25:35 +0100 Subject: Change WIN32 to _WIN32 to check if running on Windows --- tools/ideviceactivation.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools') diff --git a/tools/ideviceactivation.c b/tools/ideviceactivation.c index 757c54e..ef16ca0 100644 --- a/tools/ideviceactivation.c +++ b/tools/ideviceactivation.c @@ -30,7 +30,7 @@ #include #include #include -#ifndef WIN32 +#ifndef _WIN32 #include #endif @@ -40,7 +40,7 @@ #include #include -#ifdef WIN32 +#ifdef _WIN32 #include #include #else @@ -74,7 +74,7 @@ static void print_usage(int argc, char **argv) printf("Bug Reports: <" PACKAGE_BUGREPORT ">\n"); } -#ifdef WIN32 +#ifdef _WIN32 #define BS_CC '\b' #define my_getch getch #else @@ -146,7 +146,7 @@ int main(int argc, char *argv[]) } op_t; op_t op = OP_NONE; -#ifndef WIN32 +#ifndef _WIN32 signal(SIGPIPE, SIG_IGN); #endif /* parse cmdline args */ -- cgit v1.1-32-gdbae