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 'newlib/libc/posix/glob.c')
-rw-r--r--newlib/libc/posix/glob.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/posix/glob.c b/newlib/libc/posix/glob.c
index 4dafe71aa..977a5a4f8 100644
--- a/newlib/libc/posix/glob.c
+++ b/newlib/libc/posix/glob.c
@@ -30,6 +30,10 @@
* SUCH DAMAGE.
*/
+#ifdef __CYGWIN__
+#define _NO_GLOB /* Cygwin provides its own glob. */
+#endif
+
#ifndef _NO_GLOB
#if defined(LIBC_SCCS) && !defined(lint)