From df31d32b411022d130b078de177cfa40b7bf6cde Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sun, 22 Jan 2006 19:35:08 +0000 Subject: Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA is a useless attempt --- libpthread/linuxthreads.old/join.c | 1 - libpthread/linuxthreads.old/libc_pthread_init.c | 1 - libpthread/linuxthreads.old/locale.c | 1 - libpthread/linuxthreads.old/manager.c | 1 - libpthread/linuxthreads.old/pthread.c | 1 - libpthread/linuxthreads.old/semaphore.c | 1 - libpthread/linuxthreads.old/specific.c | 1 - libpthread/linuxthreads_db/Makefile.in | 1 - 8 files changed, 8 deletions(-) (limited to 'libpthread') diff --git a/libpthread/linuxthreads.old/join.c b/libpthread/linuxthreads.old/join.c index a1172fa34..6a8a9d982 100644 --- a/libpthread/linuxthreads.old/join.c +++ b/libpthread/linuxthreads.old/join.c @@ -15,7 +15,6 @@ /* Thread termination and joining */ #include -#define __USE_GNU #include #include #include diff --git a/libpthread/linuxthreads.old/libc_pthread_init.c b/libpthread/linuxthreads.old/libc_pthread_init.c index e8dd2e975..0ef3b47fc 100644 --- a/libpthread/linuxthreads.old/libc_pthread_init.c +++ b/libpthread/linuxthreads.old/libc_pthread_init.c @@ -17,7 +17,6 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#define _GNU_SOURCE #include #include #include diff --git a/libpthread/linuxthreads.old/locale.c b/libpthread/linuxthreads.old/locale.c index c3ebbc285..c0879d0ce 100644 --- a/libpthread/linuxthreads.old/locale.c +++ b/libpthread/linuxthreads.old/locale.c @@ -15,7 +15,6 @@ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#define _GNU_SOURCE #include #include "pthread.h" #include "internals.h" diff --git a/libpthread/linuxthreads.old/manager.c b/libpthread/linuxthreads.old/manager.c index 33e05f216..81ab0d336 100644 --- a/libpthread/linuxthreads.old/manager.c +++ b/libpthread/linuxthreads.old/manager.c @@ -19,7 +19,6 @@ #define __getpagesize getpagesize #include -#define __USE_GNU #include #include #include diff --git a/libpthread/linuxthreads.old/pthread.c b/libpthread/linuxthreads.old/pthread.c index d7411f04b..e902aa987 100644 --- a/libpthread/linuxthreads.old/pthread.c +++ b/libpthread/linuxthreads.old/pthread.c @@ -16,7 +16,6 @@ #define __FORCE_GLIBC #include -#define __USE_GNU #include #include /* for h_errno */ #include diff --git a/libpthread/linuxthreads.old/semaphore.c b/libpthread/linuxthreads.old/semaphore.c index 0a156e123..10b609c4a 100644 --- a/libpthread/linuxthreads.old/semaphore.c +++ b/libpthread/linuxthreads.old/semaphore.c @@ -15,7 +15,6 @@ /* Semaphores a la POSIX 1003.1b */ #include -#define __USE_GNU #include #include "pthread.h" #include "semaphore.h" diff --git a/libpthread/linuxthreads.old/specific.c b/libpthread/linuxthreads.old/specific.c index 509ee6665..b6ca94389 100644 --- a/libpthread/linuxthreads.old/specific.c +++ b/libpthread/linuxthreads.old/specific.c @@ -15,7 +15,6 @@ /* Thread-specific data */ #include -#define __USE_GNU #include #include #include diff --git a/libpthread/linuxthreads_db/Makefile.in b/libpthread/linuxthreads_db/Makefile.in index 49bc02eb6..1bdd1a906 100644 --- a/libpthread/linuxthreads_db/Makefile.in +++ b/libpthread/linuxthreads_db/Makefile.in @@ -7,7 +7,6 @@ # Get the thread include dependencies and shared object name CFLAGS-linuxthreads_db := -DLIBPTHREAD_SO="\"libpthread.so.$(MAJOR_VERSION)\"" -CFLAGS-linuxthreads_db += -D_GNU_SOURCE LDFLAGS-libthread_db.so := $(LDFLAGS_NOSTRIP) -s --warn-unresolved-symbols -- cgit v1.2.3