summaryrefslogtreecommitdiff
path: root/src/demos/teapot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/teapot.c')
-rw-r--r--src/demos/teapot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/teapot.c b/src/demos/teapot.c
index 23d2225b..e7bd8ac9 100644
--- a/src/demos/teapot.c
+++ b/src/demos/teapot.c
@@ -12,7 +12,7 @@
#include <time.h>
#include <string.h>
-#ifdef WIN32
+#ifdef _WIN32
#include <windows.h>
#endif
@@ -382,7 +382,7 @@ static void drawlight2(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;