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 bf877ba691
commit a999af88e9
20 changed files with 62 additions and 38 deletions

View file

@ -30,8 +30,8 @@ Andreas Schiffler -- aschiffler at ferzkopp dot net
*/
#include "SDL_config.h"
#ifdef WIN32
#include <windows.h>
#if defined(__WIN32__)
#include "../../core/windows/SDL_windows.h"
#endif
#include <stdlib.h>