summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2018-08-29 15:55:13 (GMT)
committersebres <sebres@users.sourceforge.net>2018-08-29 15:55:13 (GMT)
commit265c9d416fb1297d507560a8bd9651c02e042b22 (patch)
tree07d444c7972b94eb1662064957877373555f8409
parentdb610f91eb22c4b49768bf828b6cd6a35dbb98f1 (diff)
downloadtcl-265c9d416fb1297d507560a8bd9651c02e042b22.zip
tcl-265c9d416fb1297d507560a8bd9651c02e042b22.tar.gz
tcl-265c9d416fb1297d507560a8bd9651c02e042b22.tar.bz2
partially cherry-picking of [5099a81b50], never reached 8.6, so for example build for MINGW breaks tests winpipe-8.1 etc, because "*" will be expanded.
-rw-r--r--win/tclAppInit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/win/tclAppInit.c b/win/tclAppInit.c
index e06eaf5..9c919fc 100644
--- a/win/tclAppInit.c
+++ b/win/tclAppInit.c
@@ -29,6 +29,10 @@ extern Tcl_PackageInitProc Tcltest_Init;
extern Tcl_PackageInitProc Tcltest_SafeInit;
#endif /* TCL_TEST */
+#if defined(__GNUC__)
+int _CRT_glob = 0;
+#endif /* __GNUC__ */
+
#if defined(STATIC_BUILD) && TCL_USE_STATIC_PACKAGES
extern Tcl_PackageInitProc Registry_Init;
extern Tcl_PackageInitProc Dde_Init;