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)
commit228c6fd96ff315b9d17a84b2b532f33853102168 (patch)
tree30f7c5f2d95567c16f34a014302bf7bc4cb77500
parent3b36134fe4997423da879edc4f400e411a702901 (diff)
downloadtcl-228c6fd96ff315b9d17a84b2b532f33853102168.zip
tcl-228c6fd96ff315b9d17a84b2b532f33853102168.tar.gz
tcl-228c6fd96ff315b9d17a84b2b532f33853102168.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__ */