[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [31157] branches/soc-2010-merwin/intern/ ghost/intern: Windows shell/IE #define.

Mike Erwin significant.bit at gmail.com
Sun Aug 8 07:08:36 CEST 2010


Revision: 31157
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=31157
Author:   merwin
Date:     2010-08-08 07:08:35 +0200 (Sun, 08 Aug 2010)

Log Message:
-----------
Windows shell/IE #define.

Modified Paths:
--------------
    branches/soc-2010-merwin/intern/ghost/intern/GHOST_SystemWin32.cpp
    branches/soc-2010-merwin/intern/ghost/intern/GHOST_SystemWin32.h

Modified: branches/soc-2010-merwin/intern/ghost/intern/GHOST_SystemWin32.cpp
===================================================================
--- branches/soc-2010-merwin/intern/ghost/intern/GHOST_SystemWin32.cpp	2010-08-08 04:21:58 UTC (rev 31156)
+++ branches/soc-2010-merwin/intern/ghost/intern/GHOST_SystemWin32.cpp	2010-08-08 05:08:35 UTC (rev 31157)
@@ -38,6 +38,7 @@
 
 #include <stdio.h> // for debug [mce]
 
+#define _WIN32_IE 0x501 /* shipped before XP, so doesn't impose additional req'm'ts */
 #include <shlobj.h>
 
 

Modified: branches/soc-2010-merwin/intern/ghost/intern/GHOST_SystemWin32.h
===================================================================
--- branches/soc-2010-merwin/intern/ghost/intern/GHOST_SystemWin32.h	2010-08-08 04:21:58 UTC (rev 31156)
+++ branches/soc-2010-merwin/intern/ghost/intern/GHOST_SystemWin32.h	2010-08-08 05:08:35 UTC (rev 31157)
@@ -35,12 +35,12 @@
 
 #ifndef WIN32
 #error WIN32 only!
-#endif // WIN32
+#endif
 
 #define _WIN32_WINNT 0x501 // require Windows XP or newer
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>
-#include <ole2.h>
+#include <ole2.h> // for drag-n-drop
 
 #include "GHOST_System.h"
 





More information about the Bf-blender-cvs mailing list