summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorFrank Schmirler <vdr@schmirler.de>2017-09-30 21:31:48 +0200
committerFrank Schmirler <vdr@schmirler.de>2017-09-30 21:31:48 +0200
commite2a9b979d3fb92967c7a6a8221e674eb7e55c813 (patch)
treeb625d6266ab3a77f613bde1112919d791b162b3e /server
parent644078220b04362e46f6934104ce9e0018572dda (diff)
downloadvdr-plugin-streamdev-master.tar.gz
vdr-plugin-streamdev-master.tar.bz2
fixed compilation for VDR 2.3.7 (thanks to Jasmin J)HEADmaster
Diffstat (limited to 'server')
-rw-r--r--server/connectionVTP.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/connectionVTP.c b/server/connectionVTP.c
index 1b8dd96..346ca45 100644
--- a/server/connectionVTP.c
+++ b/server/connectionVTP.c
@@ -41,7 +41,9 @@ private:
enum eStates { Channel, Event, Title, Subtitle, Description, Vps, Content, Rating,
EndEvent, EndChannel, EndEPG };
cConnectionVTP *m_Client;
+#if APIVERSNUM < 20300
cSchedulesLock *m_SchedulesLock;
+#endif
const cSchedules *m_Schedules;
const cSchedule *m_Schedule;
const cEvent *m_Event;
@@ -210,7 +212,9 @@ cLSTEHandler::cLSTEHandler(cConnectionVTP *Client, const char *Option):
cLSTEHandler::~cLSTEHandler()
{
+#if APIVERSNUM < 20300
delete m_SchedulesLock;
+#endif
}
bool cLSTEHandler::Next(bool &Last)