diff src/cpuinfo/SDL_cpuinfo.c @ 5062:e8916fe9cfc8

Fixed bug #925 Changed "win32" to "windows"
author Sam Lantinga <slouken@libsdl.org>
date Thu, 20 Jan 2011 18:04:05 -0800
parents 791b3256fb22
children c2539ff054c8
line wrap: on
line diff
--- a/src/cpuinfo/SDL_cpuinfo.c	Thu Jan 20 17:33:06 2011 -0800
+++ b/src/cpuinfo/SDL_cpuinfo.c	Thu Jan 20 18:04:05 2011 -0800
@@ -38,7 +38,7 @@
 #include <signal.h>
 #include <setjmp.h>
 #endif
-#ifdef __WIN32__
+#ifdef __WINDOWS__
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>
 #endif
@@ -319,7 +319,7 @@
             sysctlbyname("hw.ncpu", &SDL_CPUCount, &size, NULL, 0);
         }
 #endif
-#ifdef __WIN32__
+#ifdef __WINDOWS__
         if (SDL_CPUCount <= 0) {
             SYSTEM_INFO info;
             GetSystemInfo(&info);