forked from bartvdbraak/blender
GHost: Avoid macro re-definition by undefining the macro first
Should b totally harmless since the define was overriten anyway.
This commit is contained in:
parent
d9bf6b2d33
commit
b2655167c6
@ -34,6 +34,7 @@
|
||||
#include "GHOST_DisplayManagerWin32.h"
|
||||
#include "GHOST_Debug.h"
|
||||
|
||||
#undef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x501 // require Windows XP or newer
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
|
@ -37,6 +37,7 @@
|
||||
#error WIN32 only!
|
||||
#endif // WIN32
|
||||
|
||||
#undef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x501 // require Windows XP or newer
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
|
@ -38,6 +38,7 @@
|
||||
#endif // WIN32
|
||||
|
||||
#ifndef __MINGW64__
|
||||
# undef _WIN32_WINNT
|
||||
# define _WIN32_WINNT 0x501 // require Windows XP or newer
|
||||
#endif
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
|
@ -9,6 +9,7 @@
|
||||
#endif // WIN32
|
||||
|
||||
#ifndef __MINGW64__
|
||||
# undef _WIN32_WINNT
|
||||
# define _WIN32_WINNT 0x501 // require Windows XP or newer
|
||||
#endif
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
|
Loading…
Reference in New Issue
Block a user