summaryrefslogtreecommitdiffstats
path: root/win/tkWin.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-09 13:41:27 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-09 13:41:27 (GMT)
commit3b8a1a19064c05bb314d93d5ce9e2d51efbb5e44 (patch)
treef18c6b6e8986c8b77eb6445792fa3ab6ec532c2d /win/tkWin.h
parentd923ff63c9b6637fbae77b9dbed6ced704eba82b (diff)
downloadtk-3b8a1a19064c05bb314d93d5ce9e2d51efbb5e44.zip
tk-3b8a1a19064c05bb314d93d5ce9e2d51efbb5e44.tar.gz
tk-3b8a1a19064c05bb314d93d5ce9e2d51efbb5e44.tar.bz2
Bring all win32 version stuff to one place. Should work the same (should still work on XP, although I don't know if we really want that).
Diffstat (limited to 'win/tkWin.h')
-rw-r--r--win/tkWin.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/win/tkWin.h b/win/tkWin.h
index 4d278d7..86be2e9 100644
--- a/win/tkWin.h
+++ b/win/tkWin.h
@@ -18,14 +18,20 @@
* the SystemParametersInfo API doesn't like to receive structures that
* are larger than it expects which affects the font assignments.
*
- * WINVER = 0x0500 means Windows 2000 and above
+ * NTDDI_VERSION = 0x0600 means Windows Vista and above
*/
+#ifndef NTDDI_VERSION
+#define NTDDI_VERSION 0x06000000
+#endif
#ifndef WINVER
-#define WINVER 0x0500
+#define WINVER 0x0600
#endif
#ifndef _WIN32_WINNT
-#define _WIN32_WINNT 0x0500
+#define _WIN32_WINNT 0x0600
+#endif
+#ifndef _WIN32_IE
+#define _WIN32_IE 0x0600
#endif
#ifndef _TK