diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2013-10-01 07:36:01 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2013-10-01 07:36:01 (GMT) |
commit | 7ac2a2cfa455f5a5cb21b7b8ea830e8a7f3ab1ed (patch) | |
tree | 2c72dd22bf538e9c355fd15cf66a53bd3e2f19bb /win | |
parent | 3ff6c5740b20a82af555436fa5cd30dab48a5cda (diff) | |
parent | 3f8549f7585ef83ac90f169c78b0b3e53a9e460b (diff) | |
download | tk-7ac2a2cfa455f5a5cb21b7b8ea830e8a7f3ab1ed.zip tk-7ac2a2cfa455f5a5cb21b7b8ea830e8a7f3ab1ed.tar.gz tk-7ac2a2cfa455f5a5cb21b7b8ea830e8a7f3ab1ed.tar.bz2 |
Disable command line globbing on MinGW compiles, just as MSVC and MinGW-w64 don't enable command line globbing either by default.
FossilOrigin-Name: 8ad56ea4e8f5bbedba5acf71db6e21b6041c630f
Diffstat (limited to 'win')
-rw-r--r-- | win/winMain.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/win/winMain.c b/win/winMain.c index a7308cf..36dbea9 100644 --- a/win/winMain.c +++ b/win/winMain.c @@ -20,6 +20,10 @@ #include <stdlib.h> #include <tchar.h> +#if defined(__GNUC__) +int _CRT_glob = 0; +#endif /* __GNUC__ */ + #ifdef TK_TEST extern Tcl_PackageInitProc Tktest_Init; #endif /* TK_TEST */ |