diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-10-01 07:43:14 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-10-01 07:43:14 (GMT) |
commit | 51e920d3efaeb56425901e8a65ce6e2afdd70cb8 (patch) | |
tree | 5dced4e448decbfe399943fdb4cf43536f111f07 /win | |
parent | 7eeeb73d38a530b1fa81dc9738db59bbd1baa416 (diff) | |
download | tk-51e920d3efaeb56425901e8a65ce6e2afdd70cb8.zip tk-51e920d3efaeb56425901e8a65ce6e2afdd70cb8.tar.gz tk-51e920d3efaeb56425901e8a65ce6e2afdd70cb8.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')
-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 eea7004..01a5e23 100644 --- a/win/winMain.c +++ b/win/winMain.c @@ -16,6 +16,10 @@ #undef WIN32_LEAN_AND_MEAN #include <locale.h> +#if defined(__GNUC__) +int _CRT_glob = 0; +#endif /* __GNUC__ */ + /* * The following declarations refer to internal Tk routines. These interfaces * are available for use, but are not supported. |