There was a problem with the last merge :S
[blender.git] / intern / ghost / intern / GHOST_WindowWin32.cpp
index 905b2f7ac6349487d6c1b6371690f3db4927ba27..fef58d071a457a3412c72bfbe1344e8875c4d097 100644 (file)
 #define M_PI 3.1415926536
 #endif
 
+// win64 doesn't define GWL_USERDATA
+#ifdef WIN32
+#ifndef GWL_USERDATA
+#define GWL_USERDATA GWLP_USERDATA
+#define GWL_WNDPROC GWLP_WNDPROC
+#endif
+#endif
+
 LPCSTR GHOST_WindowWin32::s_windowClassName = "GHOST_WindowClass";
 const int GHOST_WindowWin32::s_maxTitleLength = 128;
 HGLRC GHOST_WindowWin32::s_firsthGLRc = NULL;