summaryrefslogtreecommitdiffstats
path: root/libc/misc/fnmatch
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/fnmatch')
-rw-r--r--libc/misc/fnmatch/fnmatch.c5
-rw-r--r--libc/misc/fnmatch/fnmatch_old.c5
2 files changed, 0 insertions, 10 deletions
diff --git a/libc/misc/fnmatch/fnmatch.c b/libc/misc/fnmatch/fnmatch.c
index b70cfd46e..5ddfdc333 100644
--- a/libc/misc/fnmatch/fnmatch.c
+++ b/libc/misc/fnmatch/fnmatch.c
@@ -21,11 +21,6 @@
# include <config.h>
#endif
-/* Enable GNU extensions in fnmatch.h. */
-#ifndef _GNU_SOURCE
-# define _GNU_SOURCE
-#endif
-
#include <features.h>
#ifdef __UCLIBC__
# undef _LIBC
diff --git a/libc/misc/fnmatch/fnmatch_old.c b/libc/misc/fnmatch/fnmatch_old.c
index 47075e914..577e35676 100644
--- a/libc/misc/fnmatch/fnmatch_old.c
+++ b/libc/misc/fnmatch/fnmatch_old.c
@@ -19,11 +19,6 @@ Cambridge, MA 02139, USA. */
# include <config.h>
#endif
-/* Enable GNU extensions in fnmatch.h. */
-#ifndef _GNU_SOURCE
-# define _GNU_SOURCE
-#endif
-
#include <errno.h>
#include <fnmatch.h>
#include <ctype.h>