src/cpuinfo/SDL_cpuinfo.c
changeset 5086 c2539ff054c8
parent 5062 e8916fe9cfc8
child 5090 327f181542f1
     1.1 --- a/src/cpuinfo/SDL_cpuinfo.c	Mon Jan 24 15:10:16 2011 -0800
     1.2 +++ b/src/cpuinfo/SDL_cpuinfo.c	Mon Jan 24 15:46:11 2011 -0800
     1.3 @@ -38,7 +38,7 @@
     1.4  #include <signal.h>
     1.5  #include <setjmp.h>
     1.6  #endif
     1.7 -#ifdef __WINDOWS__
     1.8 +#ifdef __WIN32__
     1.9  #define WIN32_LEAN_AND_MEAN
    1.10  #include <windows.h>
    1.11  #endif
    1.12 @@ -319,7 +319,7 @@
    1.13              sysctlbyname("hw.ncpu", &SDL_CPUCount, &size, NULL, 0);
    1.14          }
    1.15  #endif
    1.16 -#ifdef __WINDOWS__
    1.17 +#ifdef __WIN32__
    1.18          if (SDL_CPUCount <= 0) {
    1.19              SYSTEM_INFO info;
    1.20              GetSystemInfo(&info);