diff options
author | Ludovic Courtès <ludo@gnu.org> | 2008-08-20 19:31:46 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2008-08-20 19:31:46 +0200 |
commit | 417566ebc9dc51fc65b490a96213059e17994dde (patch) | |
tree | a30849be10e9ec38717344233b2e9b3f18bddbd2 | |
parent | 82d8d6d9e8ac6a2c36534d6085cd3f96d6278856 (diff) | |
download | guile-417566ebc9dc51fc65b490a96213059e17994dde.tar.gz |
Never define `_GNU_SOURCE' explicitly since `AC_USE_SYSTEM_EXTENSIONS'
takes care of it.
Conflicts:
ChangeLog
configure.in
libguile/eval.c
libguile/srfi-14.c
libguile/threads.c
-rw-r--r-- | libguile/ChangeLog | 6 | ||||
-rw-r--r-- | libguile/eval.c | 2 | ||||
-rw-r--r-- | libguile/filesys.c | 1 | ||||
-rw-r--r-- | libguile/gc.c | 2 | ||||
-rw-r--r-- | libguile/numbers.c | 3 | ||||
-rw-r--r-- | libguile/posix.c | 2 | ||||
-rw-r--r-- | libguile/stime.c | 3 | ||||
-rw-r--r-- | libguile/threads.c | 2 |
8 files changed, 8 insertions, 13 deletions
diff --git a/libguile/ChangeLog b/libguile/ChangeLog index 15e6b4cd5..518dcd466 100644 --- a/libguile/ChangeLog +++ b/libguile/ChangeLog @@ -1,3 +1,9 @@ +2008-08-20 Ludovic Courtès <ludo@gnu.org> + + * eval.c, filesys.c, gc.c, numbers.c, stime.c, threads.c: Don't + define `_GNU_SOURCE' explicitly as it's now defined in + <config.h> thanks to `AC_USE_SYSTEM_EXTENSIONS'. + 2008-08-19 Han-Wen Nienhuys <hanwen@lilypond.org> Ludovic Courtès <ludo@gnu.org> diff --git a/libguile/eval.c b/libguile/eval.c index 764935883..4defade1f 100644 --- a/libguile/eval.c +++ b/libguile/eval.c @@ -18,8 +18,6 @@ -#define _GNU_SOURCE - /* SECTION: This code is compiled once. */ diff --git a/libguile/filesys.c b/libguile/filesys.c index 0e90105ec..6536df849 100644 --- a/libguile/filesys.c +++ b/libguile/filesys.c @@ -19,7 +19,6 @@ /* See stime.c for comments on why _POSIX_C_SOURCE is not always defined. */ -#define _GNU_SOURCE /* ask glibc for everything */ #define _LARGEFILE64_SOURCE /* ask for stat64 etc */ #ifdef __hpux #define _POSIX_C_SOURCE 199506L /* for readdir_r */ diff --git a/libguile/gc.c b/libguile/gc.c index a29c86029..ce3cb54f8 100644 --- a/libguile/gc.c +++ b/libguile/gc.c @@ -15,8 +15,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#define _GNU_SOURCE - /* #define DEBUGINFO */ #if HAVE_CONFIG_H diff --git a/libguile/numbers.c b/libguile/numbers.c index fc57bf5c8..20eb16a26 100644 --- a/libguile/numbers.c +++ b/libguile/numbers.c @@ -40,9 +40,6 @@ */ -/* tell glibc (2.3) to give prototype for C99 trunc(), csqrt(), etc */ -#define _GNU_SOURCE - #if HAVE_CONFIG_H # include <config.h> #endif diff --git a/libguile/posix.c b/libguile/posix.c index 76dcd3d10..0bad2ee20 100644 --- a/libguile/posix.c +++ b/libguile/posix.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. +/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/libguile/stime.c b/libguile/stime.c index 8487b91ca..fa8b5851d 100644 --- a/libguile/stime.c +++ b/libguile/stime.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. +/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -31,7 +31,6 @@ what it takes away, and decide from that whether to use it, instead of hard coding __hpux. */ -#define _GNU_SOURCE /* ask glibc for everything, in particular strptime */ #ifndef _REENTRANT # define _REENTRANT /* ask solaris for gmtime_r prototype */ #endif diff --git a/libguile/threads.c b/libguile/threads.c index bf4ab165b..84c7bce7f 100644 --- a/libguile/threads.c +++ b/libguile/threads.c @@ -18,8 +18,6 @@ -#define _GNU_SOURCE - #include "libguile/_scm.h" #if HAVE_UNISTD_H |