summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-21 08:54:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-21 08:54:58 (GMT)
commit2119ee5eb73d55cc417be2146168a9892187e409 (patch)
tree12ecf3e6db2e2b6a050892b1bd5d8397b1d92162 /win/tclWinPort.h
parentb502cdbf572fbb9aaa188167489f6b0ab38a7ed5 (diff)
parent8514e602485031cf491be2482dc2aedf558e7c07 (diff)
downloadtcl-2119ee5eb73d55cc417be2146168a9892187e409.zip
tcl-2119ee5eb73d55cc417be2146168a9892187e409.tar.gz
tcl-2119ee5eb73d55cc417be2146168a9892187e409.tar.bz2
Merge 8.7
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r--win/tclWinPort.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index 78559f5..eb04245 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -18,6 +18,10 @@
/* See [Bug 3354324]: file mtime sets wrong time */
# define __MINGW_USE_VC2005_COMPAT
#endif
+#if !defined(__USE_MINGW_ANSI_STDIO)
+/* See [Bug c975939973]: Usage of gnu_printf in latest mingw-w64 */
+# define __USE_MINGW_ANSI_STDIO 0
+#endif
#if defined(_MSC_VER) && defined(_WIN64) && !defined(STATIC_BUILD) \
&& !defined(MP_32BIT) && !defined(MP_64BIT)
# define MP_64BIT