diff options
-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" |