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
diff options
context:
space:
mode:
authorMike Erwin <significant.bit@gmail.com>2010-08-08 09:08:35 +0400
committerMike Erwin <significant.bit@gmail.com>2010-08-08 09:08:35 +0400
commitced1bd9e7dd5bc3e14d7f0f5e09a7b65f3ea2be2 (patch)
tree06c233b378319a4b807844dd6ca666d1ff7ccc14
parent757f75b76889e7864027f8d996083c54aeb306e6 (diff)
Windows shell/IE #define.
-rw-r--r--intern/ghost/intern/GHOST_SystemWin32.cpp1
-rw-r--r--intern/ghost/intern/GHOST_SystemWin32.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp
index cada3f68975..c1c6f874222 100644
--- a/intern/ghost/intern/GHOST_SystemWin32.cpp
+++ b/intern/ghost/intern/GHOST_SystemWin32.cpp
@@ -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>
diff --git a/intern/ghost/intern/GHOST_SystemWin32.h b/intern/ghost/intern/GHOST_SystemWin32.h
index 9febe7779bc..03bf6f08df8 100644
--- a/intern/ghost/intern/GHOST_SystemWin32.h
+++ b/intern/ghost/intern/GHOST_SystemWin32.h
@@ -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"