summaryrefslogtreecommitdiff
path: root/src/demos/terrain.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/terrain.c')
-rw-r--r--src/demos/terrain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/terrain.c b/src/demos/terrain.c
index 9e3629db..2362505e 100644
--- a/src/demos/terrain.c
+++ b/src/demos/terrain.c
@@ -15,7 +15,7 @@
#include <string.h>
#include <time.h>
-#ifdef WIN32
+#ifdef _WIN32
#include <windows.h>
#endif
@@ -317,7 +317,7 @@ drawterrain(void)
static void
dojoy(void)
{
-#ifdef WIN32
+#ifdef _WIN32
static UINT max[2] = { 0, 0 };
static UINT min[2] = { 0xffffffff, 0xffffffff }, center[2];
MMRESULT res;