Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-05-02 18:18:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-05-02 18:18:47 +0400
commite910bf1ef579f419e372a2506b5dbeb8d6099a56 (patch)
tree8c8fec8bfca40a9ca02434a4f700e303f7bba1dd /intern
parent14d7d480dfeef8a016a587d616691ede245781c9 (diff)
fix for building windows/mingw
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_SystemWin32.cpp4
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"