From: Chris Tallon Date: Sun, 5 Nov 2006 15:53:05 +0000 (+0000) Subject: Change for GNU_SOURCE def X-Git-Tag: r0-2-5~3 X-Git-Url: https://git.vomp.tv/gitweb/?a=commitdiff_plain;h=9730bc7ade98169747952436cfcd2cfc1985954d;p=vompserver.git Change for GNU_SOURCE def --- diff --git a/Makefile b/Makefile index b4a05a0..5363bad 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri ### The C++ compiler and options: CXX ?= g++ -CXXFLAGS ?= -O2 -fPIC -Wall -Woverloaded-virtual -Werror -D_GNU_SOURCE +CXXFLAGS ?= -O2 -fPIC -Wall -Woverloaded-virtual -Werror ### The directory environment: @@ -42,7 +42,7 @@ PACKAGE = vdr-$(ARCHIVE) INCLUDES += -I$(VDRDIR)/include -I$(DVBDIR)/include -Iremux -Ilibdvbmpeg -DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' +DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' ### The object files (add further files here):