source/Platform/Win32/Win32Display.cpp: on x64, windows headers undefine GWL_USERDATA, So we define it again.
This commit is contained in:
parent
8d57b3a72c
commit
9621ea19bb
1 changed files with 5 additions and 0 deletions
|
|
@ -12,6 +12,11 @@ namespace sp {
|
||||||
|
|
||||||
#define WND_CLASSNAME "SPECTRE_WIN32_WNDCLASS"
|
#define WND_CLASSNAME "SPECTRE_WIN32_WNDCLASS"
|
||||||
|
|
||||||
|
#if defined(_WIN64) && !defined(GWL_USERDATA)
|
||||||
|
// x64 undefines this. So we define it again.
|
||||||
|
#define GWL_USERDATA GWLP_USERDATA
|
||||||
|
#endif /* defined(_WIN64) && !defined(GWL_USERDATA) */
|
||||||
|
|
||||||
static bool firstTime = true;
|
static bool firstTime = true;
|
||||||
|
|
||||||
Win32Display::Win32Display() :
|
Win32Display::Win32Display() :
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue