summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-22 09:23:49 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-22 09:23:49 (GMT)
commitc41f6053680bfa7bf4537af890349ddf5b543d33 (patch)
treefb97eb4ba3a7624a6e9faf5675c243c66fbcf231 /generic/tcl.h
parente250b6f551523bf4b6fb9ae110bac1279d5eb581 (diff)
downloadtcl-c41f6053680bfa7bf4537af890349ddf5b543d33.zip
tcl-c41f6053680bfa7bf4537af890349ddf5b543d33.tar.gz
tcl-c41f6053680bfa7bf4537af890349ddf5b543d33.tar.bz2
(cherry-pick): Fix [c975939973]: Usage of gnu_printf in latest mingw-w64.
Change (internal, windows-only) TCL_I_MODIFIER to TCL_Z_MODIFIER, since that's how it's called in Tcl 8.7 and up
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index d7d064c..3232734 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -354,7 +354,7 @@ typedef long LONG;
*/
#if !defined(TCL_WIDE_INT_TYPE)&&!defined(TCL_WIDE_INT_IS_LONG)
-# if defined(__WIN32__)
+# if defined(__WIN32__) && (!defined(__USE_MINGW_ANSI_STDIO) || !__USE_MINGW_ANSI_STDIO)
# define TCL_WIDE_INT_TYPE __int64
# ifdef __BORLANDC__
# define TCL_LL_MODIFIER "L"