fix for building windows/mingw
authorCampbell Barton <ideasman42@gmail.com>
Mon, 2 May 2011 14:18:47 +0000 (14:18 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 2 May 2011 14:18:47 +0000 (14:18 +0000)
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"