aboutsummaryrefslogtreecommitdiff
path: root/winsup/mingw/CRT_noglob.c
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/CRT_noglob.c')
-rw-r--r--winsup/mingw/CRT_noglob.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/winsup/mingw/CRT_noglob.c b/winsup/mingw/CRT_noglob.c
new file mode 100644
index 0000000..442820c
--- /dev/null
+++ b/winsup/mingw/CRT_noglob.c
@@ -0,0 +1,17 @@
+/*
+ * noglob.c
+ *
+ * This file defines _CRT_glob to have a value of 0, which will
+ * turn off command line globbing. It is compiled into a separate object
+ * file which you can add to your link line to turn off globbing like
+ * this:
+ *
+ * gcc -o foo.exe foo.o noglob.o
+ *
+ * $Revision$
+ * $Author$
+ * $Date$
+ *
+ */
+
+int _CRT_glob = 0;