summaryrefslogtreecommitdiff
path: root/libc/misc/regex
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/regex')
-rw-r--r--libc/misc/regex/regex.c1
-rw-r--r--libc/misc/regex/regex_old.c4
2 files changed, 0 insertions, 5 deletions
diff --git a/libc/misc/regex/regex.c b/libc/misc/regex/regex.c
index 56737b7bc..3e53a2ea6 100644
--- a/libc/misc/regex/regex.c
+++ b/libc/misc/regex/regex.c
@@ -23,7 +23,6 @@
#endif
/* uClibc addons */
-#define _GNU_SOURCE
#include <features.h>
#ifdef __UCLIBC__
diff --git a/libc/misc/regex/regex_old.c b/libc/misc/regex/regex_old.c
index bb8aa762a..0ff756ff5 100644
--- a/libc/misc/regex/regex_old.c
+++ b/libc/misc/regex/regex_old.c
@@ -22,7 +22,6 @@
/* To exclude some unwanted junk.... */
#undef emacs
-#define _GNU_SOURCE
#include <features.h>
#ifdef __UCLIBC__
# undef _LIBC
@@ -49,9 +48,6 @@ libc_hidden_proto(abort)
#pragma alloca
#endif
-#undef _GNU_SOURCE
-#define _GNU_SOURCE
-
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif