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
|
@ -22,7 +22,11 @@
|
|||
|
||||
#if SDL_VIDEO_DRIVER_WINDOWS
|
||||
|
||||
#include "SDL.h"
|
||||
#if defined(__WIN32__)
|
||||
#include "../../core/windows/SDL_windows.h"
|
||||
#endif
|
||||
|
||||
#include "SDL_assert.h"
|
||||
#include "SDL_windowsvideo.h"
|
||||
|
||||
|
||||
|
|
|
@ -23,10 +23,10 @@
|
|||
#ifndef _SDL_windowsvideo_h
|
||||
#define _SDL_windowsvideo_h
|
||||
|
||||
#include "../SDL_sysvideo.h"
|
||||
|
||||
#include "../../core/windows/SDL_windows.h"
|
||||
|
||||
#include "../SDL_sysvideo.h"
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#include <msctf.h>
|
||||
#else
|
||||
|
|
|
@ -22,6 +22,8 @@
|
|||
|
||||
#if SDL_VIDEO_DRIVER_WINDOWS
|
||||
|
||||
#include "../../core/windows/SDL_windows.h"
|
||||
|
||||
#include "SDL_assert.h"
|
||||
#include "../SDL_sysvideo.h"
|
||||
#include "../SDL_pixels_c.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue