summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-09-30 14:07:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-09-30 14:07:20 (GMT)
commitb7a78b298890c157bd8b320d9b7db18a5c210d79 (patch)
tree6401839c8dc7a2b5f77639ce2f474e4c5cf9ffd0 /win
parent09b2762b8a6317ae6ef595df2c9dd239fd4749b3 (diff)
parent228c6fd96ff315b9d17a84b2b532f33853102168 (diff)
downloadtcl-b7a78b298890c157bd8b320d9b7db18a5c210d79.zip
tcl-b7a78b298890c157bd8b320d9b7db18a5c210d79.tar.gz
tcl-b7a78b298890c157bd8b320d9b7db18a5c210d79.tar.bz2
Disable command line globbing on MinGW compiles: this saves startup time, since the result of the glob is not used anywhere.
Diffstat (limited to 'win')
-rw-r--r--win/tclAppInit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/win/tclAppInit.c b/win/tclAppInit.c
index 88699d3..a6c1a67 100644
--- a/win/tclAppInit.c
+++ b/win/tclAppInit.c
@@ -34,6 +34,7 @@ extern Tcl_PackageInitProc Dde_SafeInit;
#endif
#ifdef TCL_BROKEN_MAINARGS
+int _CRT_glob = 0;
static void setargv(int *argcPtr, TCHAR ***argvPtr);
#endif /* TCL_BROKEN_MAINARGS */