diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-21 07:48:31 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-21 07:48:31 (GMT) |
commit | fd9662ee1c86d86ba0a92a616b5821fd389551e1 (patch) | |
tree | fb7fc2ea8e88ce24750500bb4710fd7998e0e12a /win/tclWinPort.h | |
parent | 7f986a59bf53e05fac834aed3b3fb663669adadc (diff) | |
download | tcl-fd9662ee1c86d86ba0a92a616b5821fd389551e1.zip tcl-fd9662ee1c86d86ba0a92a616b5821fd389551e1.tar.gz tcl-fd9662ee1c86d86ba0a92a616b5821fd389551e1.tar.bz2 |
Fix [c975939973]: Usage of gnu_printf in latest mingw-w64
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r-- | win/tclWinPort.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h index 8641e5e..6bfbf0c 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 /* * We must specify the lower version we intend to support. |