From e910bf1ef579f419e372a2506b5dbeb8d6099a56 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 2 May 2011 14:18:47 +0000 Subject: fix for building windows/mingw --- intern/ghost/intern/GHOST_SystemWin32.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'intern') diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp index c901c402716..ffc090ba058 100644 --- a/intern/ghost/intern/GHOST_SystemWin32.cpp +++ b/intern/ghost/intern/GHOST_SystemWin32.cpp @@ -41,6 +41,10 @@ #include +#ifdef FREE_WINDOWS +# define _WIN32_WINNT 0x0500 /* GetConsoleWindow() for MinGW */ +#endif + #include "GHOST_SystemWin32.h" #include "GHOST_EventDragnDrop.h" -- cgit v1.2.3