diff options
-rw-r--r-- | src/demos/fire.c | 4 | ||||
-rw-r--r-- | src/demos/ray.c | 4 | ||||
-rw-r--r-- | src/demos/teapot.c | 4 | ||||
-rw-r--r-- | src/demos/terrain.c | 4 | ||||
-rw-r--r-- | src/demos/tunnel.c | 4 | ||||
-rw-r--r-- | src/demos/tunnel2.c | 4 |
6 files changed, 12 insertions, 12 deletions
diff --git a/src/demos/fire.c b/src/demos/fire.c index b2dad65d..25b2fa29 100644 --- a/src/demos/fire.c +++ b/src/demos/fire.c @@ -13,7 +13,7 @@ #include <time.h> #include <string.h> -#ifdef WIN32 +#ifdef _WIN32 #include <windows.h> #include <mmsystem.h> #endif @@ -340,7 +340,7 @@ printhelp(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; diff --git a/src/demos/ray.c b/src/demos/ray.c index 10d80e62..8611b53b 100644 --- a/src/demos/ray.c +++ b/src/demos/ray.c @@ -11,7 +11,7 @@ #include <string.h> #include <math.h> -#ifdef WIN32 +#ifdef _WIN32 #include <windows.h> #endif @@ -560,7 +560,7 @@ drawobj(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; 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; 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; diff --git a/src/demos/tunnel.c b/src/demos/tunnel.c index dea689e0..91fe67e1 100644 --- a/src/demos/tunnel.c +++ b/src/demos/tunnel.c @@ -11,7 +11,7 @@ #include <math.h> #include <string.h> -#ifdef WIN32 +#ifdef _WIN32 #include <windows.h> #endif @@ -336,7 +336,7 @@ printhelp(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; diff --git a/src/demos/tunnel2.c b/src/demos/tunnel2.c index 1126a385..0c7b1a64 100644 --- a/src/demos/tunnel2.c +++ b/src/demos/tunnel2.c @@ -14,7 +14,7 @@ #include <math.h> #include <string.h> -#ifdef WIN32 +#ifdef _WIN32 #include <windows.h> #endif @@ -362,7 +362,7 @@ printhelp(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; |