diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-02 18:18:47 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-02 18:18:47 +0400 |
commit | e910bf1ef579f419e372a2506b5dbeb8d6099a56 (patch) | |
tree | 8c8fec8bfca40a9ca02434a4f700e303f7bba1dd | |
parent | 14d7d480dfeef8a016a587d616691ede245781c9 (diff) |
fix for building windows/mingw
-rw-r--r-- | intern/ghost/intern/GHOST_SystemWin32.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 <iostream> +#ifdef FREE_WINDOWS +# define _WIN32_WINNT 0x0500 /* GetConsoleWindow() for MinGW */ +#endif + #include "GHOST_SystemWin32.h" #include "GHOST_EventDragnDrop.h" |