summaryrefslogtreecommitdiffstats
path: root/win/tclsh.rc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-11-21 11:43:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-11-21 11:43:00 (GMT)
commit91582a5e3b0cc2931ad1232c59719d602d95bfc8 (patch)
tree70d1850189b0f95419ba273ce43bca5cc8b2bd4f /win/tclsh.rc
parent2254dff19ede852c343b6cc357a840917e55b112 (diff)
downloadtcl-91582a5e3b0cc2931ad1232c59719d602d95bfc8.zip
tcl-91582a5e3b0cc2931ad1232c59719d602d95bfc8.tar.gz
tcl-91582a5e3b0cc2931ad1232c59719d602d95bfc8.tar.bz2
Add support for Windows 8.1: See [http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx]
Diffstat (limited to 'win/tclsh.rc')
-rw-r--r--win/tclsh.rc13
1 files changed, 13 insertions, 0 deletions
diff --git a/win/tclsh.rc b/win/tclsh.rc
index 16eaf83..161da50 100644
--- a/win/tclsh.rc
+++ b/win/tclsh.rc
@@ -1,3 +1,4 @@
+//
// Version Resource Script
//
@@ -67,3 +68,15 @@ END
//
tclsh ICON DISCARDABLE "tclsh.ico"
+
+//
+// This is needed for Windows 8.1 onwards.
+//
+
+#ifndef RT_MANIFEST
+#define RT_MANIFEST 24
+#endif
+#ifndef CREATEPROCESS_MANIFEST_RESOURCE_ID
+#define CREATEPROCESS_MANIFEST_RESOURCE_ID 1
+#endif
+CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "tclsh.exe.manifest"