commit b371d1a594fd0828bd16987c925a3e55eb76659e parent f61be9338e2ffbfa6d2e46e1d9000b3d12e4371e Author: Michael Savage <mikejsavage@gmail.com> Date: Thu Mar 10 23:31:31 +0000 Fix _WIN32 checks Diffstat:
endianness.h | | | 2 | +- |
platform_library.h | | | 2 | +- |
diff --git a/endianness.h b/endianness.h @@ -9,7 +9,7 @@ #else #error "I can't tell what byte order this machine uses" #endif -#elif _WIN32 +#elif defined( _WIN32 ) #define IS_LITTLE_ENDIAN #endif diff --git a/platform_library.h b/platform_library.h @@ -3,7 +3,7 @@ #if defined( __linux__ ) || defined( __APPLE__ ) || defined( __OpenBSD__ ) #include "unix_library.h" -#elif defined( WIN32 ) +#elif defined( _WIN32 ) #include "win32_library.h" #endif