[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36445] trunk/blender/intern/ghost/intern/ GHOST_SystemWin32.cpp: fix for building windows/mingw

Campbell Barton ideasman42 at gmail.com
Mon May 2 16:18:47 CEST 2011


Revision: 36445
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36445
Author:   campbellbarton
Date:     2011-05-02 14:18:47 +0000 (Mon, 02 May 2011)
Log Message:
-----------
fix for building windows/mingw

Modified Paths:
--------------
    trunk/blender/intern/ghost/intern/GHOST_SystemWin32.cpp

Modified: trunk/blender/intern/ghost/intern/GHOST_SystemWin32.cpp
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_SystemWin32.cpp	2011-05-02 14:01:45 UTC (rev 36444)
+++ trunk/blender/intern/ghost/intern/GHOST_SystemWin32.cpp	2011-05-02 14:18:47 UTC (rev 36445)
@@ -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"
 




More information about the Bf-blender-cvs mailing list