summaryrefslogtreecommitdiffstats
path: root/win/tclWinInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-03-07 21:56:39 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-03-07 21:56:39 (GMT)
commit87bc374ad06e734afdba64c4af832a0fc89ae4cb (patch)
treec7eec21ad0a6f5318082759b6c2f365484128120 /win/tclWinInt.h
parentef5d1878ad7ba63402f4844d43696c184093b209 (diff)
downloadtcl-87bc374ad06e734afdba64c4af832a0fc89ae4cb.zip
tcl-87bc374ad06e734afdba64c4af832a0fc89ae4cb.tar.gz
tcl-87bc374ad06e734afdba64c4af832a0fc89ae4cb.tar.bz2
MSVC 6 does not have the %I modifier in sprintf
Diffstat (limited to 'win/tclWinInt.h')
-rw-r--r--win/tclWinInt.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/win/tclWinInt.h b/win/tclWinInt.h
index 5e28d19..c75084a 100644
--- a/win/tclWinInt.h
+++ b/win/tclWinInt.h
@@ -27,6 +27,12 @@
#define VER_PLATFORM_WIN32_CE 3
#endif
+#ifdef _WIN64
+# define TCL_I_MODIFIER "I"
+#else
+# define TCL_I_MODIFIER ""
+#endif
+
/*
* The following structure keeps track of whether we are using the
* multi-byte or the wide-character interfaces to the operating system.