mirror of
https://github.com/encounter/SDL.git
synced 2025-12-12 14:46:19 +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:
@@ -22,7 +22,6 @@
|
||||
|
||||
#if SDL_VIDEO_RENDER_D3D && !SDL_RENDER_DISABLED
|
||||
|
||||
|
||||
#include "../../core/windows/SDL_windows.h"
|
||||
|
||||
#include "SDL_hints.h"
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user