Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008

This commit is contained in:
Sam Lantinga
2011-01-24 15:46:11 -08:00
parent 5bb9535909
commit ec39fffe84
42 changed files with 1137 additions and 3437 deletions

View File

@@ -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 */

View File

@@ -35,9 +35,7 @@
__declspec(selectany) int _fltused = 1;
#endif
#ifdef _WIN64
#else
#ifdef _M_IX86
void
__declspec(naked)