aboutsummaryrefslogtreecommitdiff
path: root/src/StormPort.h
diff options
context:
space:
mode:
authorJ.C. Moyer <jmoyer1992@gmail.com>2015-04-06 22:28:32 -0400
committerJ.C. Moyer <jmoyer1992@gmail.com>2015-04-06 22:28:32 -0400
commit46692b665f87b72809a2288b5bc8b4c7f9b569b8 (patch)
treee7f4217123f183c28341785ecc7c3d2734bea574 /src/StormPort.h
parent93370897471cb7bff861f9e961ff36e6ce46a5e8 (diff)
Better Windows platform detection
Diffstat (limited to 'src/StormPort.h')
-rw-r--r--src/StormPort.h4
1 files 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 <wininet.h>
#define PLATFORM_LITTLE_ENDIAN
- #ifdef WIN64
+ #ifdef _WIN64
#define PLATFORM_64BIT
#else
#define PLATFORM_32BIT