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)
commit71b4090ae02441f5b4d00e4dbc2f1bcde3450673 (patch)
treec7eec21ad0a6f5318082759b6c2f365484128120 /win/tclWinInt.h
parentd67302e94fb352aa9ccd2937dedc696214a279ae (diff)
downloadtcl-71b4090ae02441f5b4d00e4dbc2f1bcde3450673.zip
tcl-71b4090ae02441f5b4d00e4dbc2f1bcde3450673.tar.gz
tcl-71b4090ae02441f5b4d00e4dbc2f1bcde3450673.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.