mirror of
https://github.com/yawut/SDL.git
synced 2026-08-31 13:14:08 -05:00
Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
|
||||
#ifndef HAVE_GETENV
|
||||
|
||||
#if defined(__WINDOWS__) && !defined(_WIN32_WCE)
|
||||
#if defined(__WIN32__) && !defined(_WIN32_WCE)
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
@@ -163,7 +163,7 @@ SDL_getenv(const char *name)
|
||||
return value;
|
||||
}
|
||||
|
||||
#endif /* __WINDOWS__ */
|
||||
#endif /* __WIN32__ */
|
||||
|
||||
#endif /* !HAVE_GETENV */
|
||||
|
||||
|
||||
@@ -35,9 +35,7 @@
|
||||
__declspec(selectany) int _fltused = 1;
|
||||
#endif
|
||||
|
||||
#ifdef _WIN64
|
||||
|
||||
#else
|
||||
#ifdef _M_IX86
|
||||
|
||||
void
|
||||
__declspec(naked)
|
||||
|
||||
Reference in New Issue
Block a user