From a6a8e8145e9f62bae6f37bb23ced96190bacc6e0 Mon Sep 17 00:00:00 2001
From: Alain Magloire <alain@qnx.com>
Date: Tue, 13 Jul 2004 14:15:46 +0000
Subject: [PATCH] +2004-07-12  Tom Tromey  <tromey@redhat.com> + +       *
 library/Makefile (CFLAGS): Define _GNU_SOURCE.

---
 core/org.eclipse.cdt.core.linux/ChangeLog     |   4 ++++
 .../library/Makefile                          |   2 +-
 .../os/linux/x86/libpty.so                    | Bin 9208 -> 10133 bytes
 .../os/linux/x86/libspawner.so                | Bin 13206 -> 13801 bytes
 4 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/core/org.eclipse.cdt.core.linux/ChangeLog b/core/org.eclipse.cdt.core.linux/ChangeLog
index b9cef642acc..f4fe5ee30be 100644
--- a/core/org.eclipse.cdt.core.linux/ChangeLog
+++ b/core/org.eclipse.cdt.core.linux/ChangeLog
@@ -1,3 +1,7 @@
+2004-07-12  Tom Tromey  <tromey@redhat.com>
+
+	* library/Makefile (CFLAGS): Define _GNU_SOURCE.
+
 2004-03-25 David Inglis
 	
 	Added platform attribute to processlist extension
diff --git a/core/org.eclipse.cdt.core.linux/library/Makefile b/core/org.eclipse.cdt.core.linux/library/Makefile
index 8b5010ac532..a27ddf67987 100644
--- a/core/org.eclipse.cdt.core.linux/library/Makefile
+++ b/core/org.eclipse.cdt.core.linux/library/Makefile
@@ -13,7 +13,7 @@ JDK_OS_INCLUDES= $(JAVA_HOME)/include/$(OS)
 
 CC=gcc
 CPPFLAGS = -I. -I$(JDK_INCLUDES) -I$(JDK_OS_INCLUDES)
-CFLAGS +=-fpic -D_REENTRANT
+CFLAGS +=-fpic -D_REENTRANT -D_GNU_SOURCE
 
 INSTALL_DIR = ../os/$(OS)/$(ARCH)
 
diff --git a/core/org.eclipse.cdt.core.linux/os/linux/x86/libpty.so b/core/org.eclipse.cdt.core.linux/os/linux/x86/libpty.so
index b1477a6d7efe7079543b57578d6f4896a5490f71..388ec4d4769dfa5d1b25ef814b96ecae00a9ab72 100644
GIT binary patch
diff --git a/core/org.eclipse.cdt.core.linux/os/linux/x86/libspawner.so b/core/org.eclipse.cdt.core.linux/os/linux/x86/libspawner.so
index dc9c532785eea626b6ab44c9f13c4e3e074e7351..3755c35a56001651fb1feeafcbe90adedfc12978 100644
GIT binary patch
