summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-10-01 07:32:49 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-10-01 07:32:49 (GMT)
commit0e85ea7738df8da2aa053411a351db327d04f8e8 (patch)
tree868c31daf2a0214a299da76652b5874db312d2ae
parenta567d4cd88f2fb3d6feeebcfa4d6ddf984e4cb70 (diff)
downloadtk-0e85ea7738df8da2aa053411a351db327d04f8e8.zip
tk-0e85ea7738df8da2aa053411a351db327d04f8e8.tar.gz
tk-0e85ea7738df8da2aa053411a351db327d04f8e8.tar.bz2
Disable command line globbing on MinGW compiles, just as MSVC and MinGW-w64 don't enable command line globbing either by default. (Accidently cleared execute permission on two files)
-rw-r--r--[-rwxr-xr-x]unix/configure0
-rw-r--r--[-rwxr-xr-x]win/configure0
-rw-r--r--win/winMain.c4
3 files changed, 4 insertions, 0 deletions
diff --git a/unix/configure b/unix/configure
index 654b67d..654b67d 100755..100644
--- a/unix/configure
+++ b/unix/configure
diff --git a/win/configure b/win/configure
index 13fdf4b..13fdf4b 100755..100644
--- a/win/configure
+++ b/win/configure
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.