From 9e1b078aac03c4882cf70900cd95f02e1e3523b5 Mon Sep 17 00:00:00 2001 From: Brian Cox Date: Wed, 29 Mar 2017 00:13:22 -0700 Subject: [PATCH] Fix setting of IS_xxx OS macros for various platforms --- src/core/platform.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/platform.h b/src/core/platform.h index e3eb14a..7e2bc47 100644 --- a/src/core/platform.h +++ b/src/core/platform.h @@ -144,7 +144,7 @@ #define OS OS_OPENBSD #define IS_OPENBSD 1 -#elif defined(_OSX) +#elif defined(__APPLE__) #define OS OS_DARWIN #define IS_DARWIN 1 @@ -157,7 +157,7 @@ #define IS_MIDNIGHTBSD 1 -#elif defined(_SOLARIS) || defined(__sun) +#elif defined(__sun) #define OS OS_SOLARIS #define IS_SOLARIS 1 @@ -165,11 +165,11 @@ #define OS OS_AIX #define IS_AIX 1 -#elif defined (_HPUX) +#elif defined (__hpux) #define OS OS_HPUX #define IS_HPUX 1 -#elif defined(_IRIX) +#elif defined(__sgi) #define OS OS_IRIX #define IS_IRIX 1