mirror of
https://github.com/yawut/SDL.git
synced 2026-10-24 07:32:39 -05:00
Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
#include <signal.h>
|
||||
#include <setjmp.h>
|
||||
#endif
|
||||
#ifdef __WINDOWS__
|
||||
#ifdef __WIN32__
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#endif
|
||||
@@ -319,7 +319,7 @@ SDL_GetCPUCount()
|
||||
sysctlbyname("hw.ncpu", &SDL_CPUCount, &size, NULL, 0);
|
||||
}
|
||||
#endif
|
||||
#ifdef __WINDOWS__
|
||||
#ifdef __WIN32__
|
||||
if (SDL_CPUCount <= 0) {
|
||||
SYSTEM_INFO info;
|
||||
GetSystemInfo(&info);
|
||||
|
||||
Reference in New Issue
Block a user