aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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