aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLee Salzman <[email protected]>2013-04-07 07:11:12 +0300
committerLee Salzman <[email protected]>2013-04-07 07:11:12 +0300
commitff4e2cab3071dd17d06b2849146b667766f6652e (patch)
treebea0ce05bb352d257f2738223f9f76dad26be647
parent03c0de167c318c53a8686e50067ef24f0f5d7d30 (diff)
downloadenet-ff4e2cab3071dd17d06b2849146b667766f6652e.tar.gz
enet-ff4e2cab3071dd17d06b2849146b667766f6652e.zip
check for _WIN32 instead of WIN32
-rw-r--r--include/enet/enet.h2
-rw-r--r--win32.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/enet/enet.h b/include/enet/enet.h
index c0e6025..68a8233 100644
--- a/include/enet/enet.h
+++ b/include/enet/enet.h
@@ -12,7 +12,7 @@ extern "C"
#include <stdlib.h>
-#ifdef WIN32
+#ifdef _WIN32
#include "enet/win32.h"
#else
#include "enet/unix.h"
diff --git a/win32.c b/win32.c
index 99bdaaa..c7c514e 100644
--- a/win32.c
+++ b/win32.c
@@ -2,7 +2,7 @@
@file win32.c
@brief ENet Win32 system specific functions
*/
-#ifdef WIN32
+#ifdef _WIN32
#include <time.h>
#define ENET_BUILDING_LIB 1