]> www.vanbest.org Git - sasc-ng.git/commitdiff
vdr-1.7.3 readdir compatibility glue
authorleslie <unknown>
Wed, 14 Jan 2009 15:56:58 +0000 (16:56 +0100)
committerleslie <unknown>
Wed, 14 Jan 2009 15:56:58 +0000 (16:56 +0100)
Makefile

index fee835304f64fe5985a0161d1cb5733b46d95c0d..05fc2e92250d6ab88944a5c320ab9f115063e0c9 100644 (file)
--- 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
 #