From: leslie Date: Wed, 14 Jan 2009 15:56:58 +0000 (+0100) Subject: vdr-1.7.3 readdir compatibility glue X-Git-Tag: 0.9.2~70 X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=37cf04104c11cb6ad1054b638e4648cdb7c84de6;p=sasc-ng.git vdr-1.7.3 readdir compatibility glue --- diff --git a/Makefile b/Makefile index fee8353..05fc2e9 100644 --- a/Makefile +++ b/Makefile @@ -100,6 +100,12 @@ ifeq ($(strip $(HASLOCALE)),) OBJS += i18n.o endif +### VDR version dependant + +ifneq ($(shell if test $(APIVERSNUM) -ge 010703; then echo "*"; fi),) + SHAREDDEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE +endif + # # generic stuff #