mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-12 21:06:01 +00:00
Fixed building using MinGW
Our SDL_windows.h needed to be included before anything else so UNICODE is defined.
This commit is contained in:
@@ -20,10 +20,13 @@
|
||||
*/
|
||||
#include "SDL_config.h"
|
||||
|
||||
#if defined(__WIN32__)
|
||||
#include "../core/windows/SDL_windows.h"
|
||||
#endif
|
||||
|
||||
#include "SDL_stdinc.h"
|
||||
|
||||
#if !defined(SDL_setenv) && defined(__WIN32__)
|
||||
#include "../core/windows/SDL_windows.h"
|
||||
/* Note this isn't thread-safe! */
|
||||
static char *SDL_envmem = NULL; /* Ugh, memory leak */
|
||||
static size_t SDL_envmemlen = 0;
|
||||
|
Reference in New Issue
Block a user