src/cpuinfo/SDL_cpuinfo.c
changeset 5062 e8916fe9cfc8
parent 4472 791b3256fb22
child 5086 c2539ff054c8
     1.1 --- a/src/cpuinfo/SDL_cpuinfo.c	Thu Jan 20 17:33:06 2011 -0800
     1.2 +++ b/src/cpuinfo/SDL_cpuinfo.c	Thu Jan 20 18:04:05 2011 -0800
     1.3 @@ -38,7 +38,7 @@
     1.4  #include <signal.h>
     1.5  #include <setjmp.h>
     1.6  #endif
     1.7 -#ifdef __WIN32__
     1.8 +#ifdef __WINDOWS__
     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 __WIN32__
    1.17 +#ifdef __WINDOWS__
    1.18          if (SDL_CPUCount <= 0) {
    1.19              SYSTEM_INFO info;
    1.20              GetSystemInfo(&info);