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>2011-06-10 05:34:53 +0400
committerMike Erwin <significant.bit@gmail.com>2011-06-10 05:34:53 +0400
commit30fb5710b68e37f20fb58cfb687d341119ffc5bb (patch)
tree19a439a215efc1b1698cb82ff5cbc311fd7aacd3 /intern/ghost/intern/GHOST_TaskbarWin32.h
parente75ff53452d6c989e2846521f5d00523bc90906a (diff)
Made WinXP or later required, SpaceNav (almost) working on Windows
Diffstat (limited to 'intern/ghost/intern/GHOST_TaskbarWin32.h')
-rw-r--r--intern/ghost/intern/GHOST_TaskbarWin32.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/intern/ghost/intern/GHOST_TaskbarWin32.h b/intern/ghost/intern/GHOST_TaskbarWin32.h
index ef9ebdf5860..eddff8bb91b 100644
--- a/intern/ghost/intern/GHOST_TaskbarWin32.h
+++ b/intern/ghost/intern/GHOST_TaskbarWin32.h
@@ -3,20 +3,16 @@
*/
#ifndef GHOST_TASKBARWIN32_H_
#define GHOST_TASKBARWIN32_H_
+
#ifndef WIN32
#error WIN32 only!
#endif // WIN32
+#define _WIN32_WINNT 0x501 // require Windows XP or newer
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <shlobj.h>
-/* MinGW needs it */
-#ifdef FREE_WINDOWS
-#ifdef WINVER
-#undef WINVER
-#endif
-#define WINVER 0x0501
-#endif /* FREE_WINDOWS */
// ITaskbarList, ITaskbarList2 and ITaskbarList3 might be missing, present here in that case.
// Note, ITaskbarList3 is supported only since Windows 7, though. Check for that is done in