From: Chris Tallon Date: Tue, 6 Sep 2005 17:29:20 +0000 (+0000) Subject: Sort out _GNU_SOURCE define X-Git-Tag: r0-0-14~22 X-Git-Url: https://git.vomp.tv/gitweb/?a=commitdiff_plain;h=66800d34e31eb0ee0212ea3649eea7322b3a2f33;p=vompclient.git Sort out _GNU_SOURCE define --- 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