From 66800d34e31eb0ee0212ea3649eea7322b3a2f33 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Tue, 6 Sep 2005 17:29:20 +0000 Subject: [PATCH] Sort out _GNU_SOURCE define --- Makefile | 2 +- main.cc | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index bba406e..7751a58 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ STRIP = /opt/crosstool/powerpc-405-linux-gnu/gcc-2.95.3-glibc-2.2.5/bin/powerpc- CXX = $(CC) INCLUDES = -I../jpeg-6b -CXXFLAGS = -g -O0 -Wall -Woverloaded-virtual -Werror $(INCLUDES) +CXXFLAGS = -g -O0 -Wall -Woverloaded-virtual -Werror -D_GNU_SOURCE $(INCLUDES) LDFLAGS = -Wall -static LIBPATHS = diff --git a/main.cc b/main.cc index 6b6f21f..0d6e4a6 100644 --- a/main.cc +++ b/main.cc @@ -18,10 +18,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef _GNU_SOURCE -#define _GNU_SOURCE -#endif - #include #include #include -- 2.39.5