summaryrefslogtreecommitdiffstats
path: root/generic/tkInt.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkInt.h')
-rw-r--r--generic/tkInt.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h
index be1fa7b..07bf03c 100644
--- a/generic/tkInt.h
+++ b/generic/tkInt.h
@@ -132,6 +132,12 @@
# define TCL_Z_MODIFIER ""
# endif
#endif /* !TCL_Z_MODIFIER */
+#undef TCL_LL_MODIFIER
+#if defined(_WIN32) && (!defined(__USE_MINGW_ANSI_STDIO) || !__USE_MINGW_ANSI_STDIO)
+# define TCL_LL_MODIFIER "I64"
+#else
+# define TCL_LL_MODIFIER "ll"
+#endif
/*
* Opaque type declarations: