Fixed building using MinGW

Our SDL_windows.h needed to be included before anything else so UNICODE is defined.
This commit is contained in:
Sam Lantinga
2013-10-17 23:02:29 -07:00
parent a2bd897064
commit 12ca3ce3fa
20 changed files with 62 additions and 38 deletions

View File

@@ -20,14 +20,14 @@
*/
#include "SDL_config.h"
#ifdef __WIN32__
#include "../core/windows/SDL_windows.h"
#endif
#include "SDL_atomic.h"
#include "SDL_mutex.h"
#include "SDL_timer.h"
/* Don't do the check for Visual Studio 2005, it's safe here */
#ifdef __WIN32__
#include "../core/windows/SDL_windows.h"
#endif
/* This function is where all the magic happens... */
SDL_bool