mirror of
https://github.com/yawut/SDL.git
synced 2026-09-09 09:36:14 -05:00
Include windows.h in a single point in the source, so we can be consistent about the definition of UNICODE and have core utility functions for Windows that all modules can share.
I think this also fixes the bug relating to non-latin characters in filenames, since UNICODE wasn't defined in SDL_rwops.c
This commit is contained in:
@@ -23,8 +23,7 @@
|
||||
|
||||
#ifdef SDL_TIMER_WINCE
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include "../../core/windows/SDL_windows.h"
|
||||
#include <mmsystem.h>
|
||||
|
||||
#include "SDL_thread.h"
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
|
||||
#ifdef SDL_TIMER_WINDOWS
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include "../../core/windows/SDL_windows.h"
|
||||
#include <mmsystem.h>
|
||||
|
||||
#include "SDL_timer.h"
|
||||
|
||||
Reference in New Issue
Block a user