[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30375] branches/soc-2010-merwin/intern/ ghost/intern: Tweak Windows #includes to require WinXP or newer and speed up build times .
Mike Erwin
significant.bit at gmail.com
Thu Jul 15 14:30:16 CEST 2010
Revision: 30375
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30375
Author: merwin
Date: 2010-07-15 14:30:16 +0200 (Thu, 15 Jul 2010)
Log Message:
-----------
Tweak Windows #includes to require WinXP or newer and speed up build times.
Modified Paths:
--------------
branches/soc-2010-merwin/intern/ghost/intern/GHOST_DisplayManagerWin32.cpp
branches/soc-2010-merwin/intern/ghost/intern/GHOST_DropTargetWin32.h
Modified: branches/soc-2010-merwin/intern/ghost/intern/GHOST_DisplayManagerWin32.cpp
===================================================================
--- branches/soc-2010-merwin/intern/ghost/intern/GHOST_DisplayManagerWin32.cpp 2010-07-15 12:24:14 UTC (rev 30374)
+++ branches/soc-2010-merwin/intern/ghost/intern/GHOST_DisplayManagerWin32.cpp 2010-07-15 12:30:16 UTC (rev 30375)
@@ -38,7 +38,11 @@
#include "GHOST_Debug.h"
// We do not support multiple monitors at the moment
+
+#define _WIN32_WINNT 0x501 // require Windows XP or newer
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
+
#define COMPILE_MULTIMON_STUBS
#ifndef FREE_WINDOWS
#include <multimon.h>
Modified: branches/soc-2010-merwin/intern/ghost/intern/GHOST_DropTargetWin32.h
===================================================================
--- branches/soc-2010-merwin/intern/ghost/intern/GHOST_DropTargetWin32.h 2010-07-15 12:24:14 UTC (rev 30374)
+++ branches/soc-2010-merwin/intern/ghost/intern/GHOST_DropTargetWin32.h 2010-07-15 12:30:16 UTC (rev 30375)
@@ -28,7 +28,11 @@
#ifndef _GHOST_DROP_TARGET_WIN32_H_
#define _GHOST_DROP_TARGET_WIN32_H_
+#define _WIN32_WINNT 0x501 // require Windows XP or newer
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
+#include <shellapi.h>
+
#include <string.h>
#include <GHOST_Types.h>
#include "GHOST_WindowWin32.h"
@@ -41,7 +45,7 @@
* Enables clients to get pointers to other interfaces on a given object
* through the QueryInterface method, and manage the existence of the object
* through the AddRef and Release methods. All other COM interfaces are
- * inherited, directly or indirectly, from IUnknown. Therefore, the three
+ * inherited, directly or indirectly, from IUnknown. Therefore, the three
* methods in IUnknown are the first entries in the VTable for every interface.
*/
HRESULT __stdcall QueryInterface (REFIID riid, void ** ppvObj);
More information about the Bf-blender-cvs
mailing list