summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-09-30 14:03:56 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-09-30 14:03:56 (GMT)
commitc5f68dde5ce0d27b393903b3b7e14f76c1bbf986 (patch)
tree30f7c5f2d95567c16f34a014302bf7bc4cb77500
parent878c0cff52534d7f7c6879b32ce80915f52f8a08 (diff)
downloadtcl-c5f68dde5ce0d27b393903b3b7e14f76c1bbf986.zip
tcl-c5f68dde5ce0d27b393903b3b7e14f76c1bbf986.tar.gz
tcl-c5f68dde5ce0d27b393903b3b7e14f76c1bbf986.tar.bz2
Disable command line globbing on MinGW compiles: this saves startup time, since the result of the glob is not used anywhere.
-rw-r--r--win/tclAppInit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/win/tclAppInit.c b/win/tclAppInit.c
index 0edd2c3..251a610 100644
--- a/win/tclAppInit.c
+++ b/win/tclAppInit.c
@@ -24,6 +24,7 @@ extern Tcl_PackageInitProc TclObjTest_Init;
#endif /* TCL_TEST */
#if defined(__GNUC__)
+int _CRT_glob = 0;
static void setargv(int *argcPtr, char ***argvPtr);
#endif /* __GNUC__ */