diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-10-01 07:36:01 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-10-01 07:36:01 (GMT) |
commit | 35cf9f4ee4ab83151abd5dd4c2a77546d139ebd8 (patch) | |
tree | 2c72dd22bf538e9c355fd15cf66a53bd3e2f19bb /win/winMain.c | |
parent | 75b8c007b45089a87f9d222a78797c355a2ec289 (diff) | |
parent | 290c27f08beb8711f5d6d03206056779f13c9dde (diff) | |
download | tk-35cf9f4ee4ab83151abd5dd4c2a77546d139ebd8.zip tk-35cf9f4ee4ab83151abd5dd4c2a77546d139ebd8.tar.gz tk-35cf9f4ee4ab83151abd5dd4c2a77546d139ebd8.tar.bz2 |
Disable command line globbing on MinGW compiles, just as MSVC and MinGW-w64 don't enable command line globbing either by default.
Diffstat (limited to 'win/winMain.c')
-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 */ |