fix for building windows/mingw
[blender-staging.git] / intern / ghost / intern / GHOST_SystemWin32.cpp
index c901c40271697c49b7a1eb6e2a31c83a84717f27..ffc090ba0588b2b2fce5a3e23f25b68667462043 100644 (file)
 
 #include <iostream>
 
+#ifdef FREE_WINDOWS
+#  define _WIN32_WINNT 0x0500 /* GetConsoleWindow() for MinGW */
+#endif
+
 #include "GHOST_SystemWin32.h"
 #include "GHOST_EventDragnDrop.h"