mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
added defines for large file support to Makefile as required by VDR 1.7.4+
This commit is contained in:
parent
b5bd22e7bd
commit
d794d83854
@ -107,6 +107,7 @@ Anssi Hannula
|
||||
|
||||
wirbel
|
||||
for pointing out that section filtering is optional for VDR devices
|
||||
for reporting a problem with Makefile defines in VDR 1.7.4+
|
||||
|
||||
Jori Hamalainen
|
||||
for extensive testing while making stream compatible to Network Media Tank
|
||||
|
2
HISTORY
2
HISTORY
@ -1,6 +1,8 @@
|
||||
VDR Plugin 'streamdev' Revision History
|
||||
---------------------------------------
|
||||
|
||||
- added defines for large file support to Makefile as required by VDR 1.7.4+
|
||||
(reported by wirbel@vdrportal)
|
||||
- added Slovak translation (thanks to Milan Hrala)
|
||||
- fixed regression from fix for switching between encrypted channels. It was
|
||||
no longer possible to receive multiple (FTA) streams from the same
|
||||
|
7
Makefile
7
Makefile
@ -1,7 +1,7 @@
|
||||
#
|
||||
# Makefile for a Video Disk Recorder plugin
|
||||
#
|
||||
# $Id: Makefile,v 1.19 2009/07/01 10:46:15 schmirl Exp $
|
||||
# $Id: Makefile,v 1.20 2009/11/04 11:12:20 schmirl Exp $
|
||||
|
||||
# The official name of this plugin.
|
||||
# This name will be used in the '-P...' option of VDR to load the plugin.
|
||||
@ -31,6 +31,7 @@ TMPDIR = /tmp
|
||||
### The version number of VDR (taken from VDR's "config.h"):
|
||||
|
||||
APIVERSION = $(shell grep 'define APIVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g')
|
||||
APIVERSNUM = $(shell grep 'define APIVERSNUM ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g')
|
||||
|
||||
### The name of the distribution archive:
|
||||
|
||||
@ -43,6 +44,10 @@ INCLUDES += -I$(VDRDIR)/include -I.
|
||||
|
||||
DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
|
||||
|
||||
ifeq ($(shell test $(APIVERSNUM) -ge 10704; echo $$?),0)
|
||||
DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
|
||||
endif
|
||||
|
||||
### The object files (add further files here):
|
||||
|
||||
COMMONOBJS = common.o \
|
||||
|
Loading…
Reference in New Issue
Block a user