8709720
From ce74c3ab559d579c37ad8ac29ddfc188d2f3ba26 Mon Sep 17 00:00:00 2001
8709720
From: Jasmin Jessich <jasmin@anw.at>
8709720
Date: Sun, 11 Jun 2017 21:01:01 +0200
8709720
Subject: [PATCH] Fixed compilation for vdr 2.3.7
8709720
8709720
---
8709720
 server/connectionVTP.c | 4 ++++
8709720
 1 file changed, 4 insertions(+)
8709720
8709720
diff --git a/server/connectionVTP.c b/server/connectionVTP.c
8709720
index 1b8dd96..346ca45 100644
8709720
--- a/server/connectionVTP.c
8709720
+++ b/server/connectionVTP.c
8709720
@@ -41,7 +41,9 @@ private:
8709720
 	enum eStates { Channel, Event, Title, Subtitle, Description, Vps, Content, Rating,
8709720
 	               EndEvent, EndChannel, EndEPG };
8709720
 	cConnectionVTP    *m_Client;
8709720
+#if APIVERSNUM < 20300
8709720
 	cSchedulesLock    *m_SchedulesLock;
8709720
+#endif
8709720
 	const cSchedules  *m_Schedules;
8709720
 	const cSchedule   *m_Schedule;
8709720
 	const cEvent      *m_Event;
8709720
@@ -210,7 +212,9 @@ cLSTEHandler::cLSTEHandler(cConnectionVTP *Client, const char *Option):
8709720
 
8709720
 cLSTEHandler::~cLSTEHandler()
8709720
 {
8709720
+#if APIVERSNUM < 20300
8709720
 	delete m_SchedulesLock;
8709720
+#endif
8709720
 }
8709720
 
8709720
 bool cLSTEHandler::Next(bool &Last)
8709720
-- 
8709720
2.7.4
8709720