Silence a macro redefinition warning

This commit is contained in:
Alexander van Gessel 2014-04-06 21:03:39 +02:00
parent 0b31427854
commit 724adc4ddc
2 changed files with 4 additions and 0 deletions

View File

@ -25,7 +25,9 @@
#elif defined(_WIN32)
#ifndef UNICODE
#define UNICODE
#endif
#define WIN32_LEAN_AND_MEAN
#include <windows.h>

View File

@ -18,7 +18,9 @@
#include <SDL.h>
#include <string>
//forces to call Unicode winapi functions instead of ASCII (default)
#ifndef UNICODE
#define UNICODE
#endif
//defines that mingw misses
#ifndef _WIN32_IE
#define _WIN32_IE 0x0600 //specifying target platform to be Windows XP and higher