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,6 +22,11 @@
|
|||
#define _LARGEFILE64_SOURCE
|
||||
#include "SDL_config.h"
|
||||
|
||||
#if defined(__WIN32__)
|
||||
#include "../core/windows/SDL_windows.h"
|
||||
#endif
|
||||
|
||||
|
||||
/* This file provides a general interface for SDL to read and write
|
||||
data sources. It can easily be extended to files, memory, etc.
|
||||
*/
|
||||
|
@ -42,8 +47,6 @@
|
|||
|
||||
/* Functions to read/write Win32 API file pointers */
|
||||
|
||||
#include "../core/windows/SDL_windows.h"
|
||||
|
||||
#ifndef INVALID_SET_FILE_POINTER
|
||||
#define INVALID_SET_FILE_POINTER 0xFFFFFFFF
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue