summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-10 00:29:24 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-10 00:29:24 +0000
commitea0cc5b36c0dcc5a9b5994e8d8ecf3e848eeb3a0 (patch)
treee341b0481ed621a21ce114897e7ee6575fb91d46 /libc/misc
parentc5598b733a285fd27ccd59bfa74da1b445f35572 (diff)
just define _GNU_SOURCE
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/fnmatch/fnmatch.c2
-rw-r--r--libc/misc/fnmatch/fnmatch_old.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/fnmatch/fnmatch.c b/libc/misc/fnmatch/fnmatch.c
index 2dafebe18..d5d3e753b 100644
--- a/libc/misc/fnmatch/fnmatch.c
+++ b/libc/misc/fnmatch/fnmatch.c
@@ -25,7 +25,7 @@
/* Enable GNU extensions in fnmatch.h. */
#ifndef _GNU_SOURCE
-# define _GNU_SOURCE 1
+# define _GNU_SOURCE
#endif
#include <features.h>
diff --git a/libc/misc/fnmatch/fnmatch_old.c b/libc/misc/fnmatch/fnmatch_old.c
index 384756569..2762b3930 100644
--- a/libc/misc/fnmatch/fnmatch_old.c
+++ b/libc/misc/fnmatch/fnmatch_old.c
@@ -21,7 +21,7 @@ Cambridge, MA 02139, USA. */
/* Enable GNU extensions in fnmatch.h. */
#ifndef _GNU_SOURCE
-# define _GNU_SOURCE 1
+# define _GNU_SOURCE
#endif
#include <errno.h>