Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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 000000000..442820cd8
--- /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;