Fixed building using MinGW
Our SDL_windows.h needed to be included before anything else so UNICODE is defined.
This commit is contained in:
parent
bf877ba691
commit
a999af88e9
20 changed files with 62 additions and 38 deletions
|
@ -7,12 +7,12 @@
|
|||
|
||||
#ifdef __WIN32__
|
||||
|
||||
/* Include this so we define UNICODE properly */
|
||||
#include "../../core/windows/SDL_windows.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
|
||||
/* Include the SDL main definition header */
|
||||
#include "SDL.h"
|
||||
#include "SDL_main.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue