summaryrefslogtreecommitdiff
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
parentc5598b733a285fd27ccd59bfa74da1b445f35572 (diff)
just define _GNU_SOURCE
-rw-r--r--libc/misc/fnmatch/fnmatch.c2
-rw-r--r--libc/misc/fnmatch/fnmatch_old.c2
-rw-r--r--libc/sysdeps/linux/frv/crtreloc.c2
3 files changed, 3 insertions, 3 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>
diff --git a/libc/sysdeps/linux/frv/crtreloc.c b/libc/sysdeps/linux/frv/crtreloc.c
index 8d20e967e..de67bc312 100644
--- a/libc/sysdeps/linux/frv/crtreloc.c
+++ b/libc/sysdeps/linux/frv/crtreloc.c
@@ -26,7 +26,7 @@ License along with the GNU C Library; see the file COPYING.LIB. If
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */
-#define _GNU_SOURCE 1
+#define _GNU_SOURCE
#include <sys/types.h>
#include <link.h>