From 37cf04104c11cb6ad1054b638e4648cdb7c84de6 Mon Sep 17 00:00:00 2001 From: leslie Date: Wed, 14 Jan 2009 16:56:58 +0100 Subject: [PATCH] vdr-1.7.3 readdir compatibility glue --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) 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 # -- 2.39.5