From 46692b665f87b72809a2288b5bc8b4c7f9b569b8 Mon Sep 17 00:00:00 2001 From: "J.C. Moyer" Date: Mon, 6 Apr 2015 22:28:32 -0400 Subject: Better Windows platform detection --- src/StormPort.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/StormPort.h b/src/StormPort.h index 37fbad0..41b4307 100644 --- a/src/StormPort.h +++ b/src/StormPort.h @@ -36,7 +36,7 @@ //----------------------------------------------------------------------------- // Defines for Windows -#if !defined(PLATFORM_DEFINED) && (defined(WIN32) || defined(WIN64)) +#if !defined(PLATFORM_DEFINED) && defined(_WIN32) // In MSVC 8.0, there are some functions declared as deprecated. #if _MSC_VER >= 1400 @@ -52,7 +52,7 @@ #include #define PLATFORM_LITTLE_ENDIAN - #ifdef WIN64 + #ifdef _WIN64 #define PLATFORM_64BIT #else #define PLATFORM_32BIT -- cgit v1.2.3