From 30fef3dda362173844b4edb50294803e02308269 Mon Sep 17 00:00:00 2001 From: Jasmin Jessich Date: Sun, 21 May 2017 04:07:46 +0200 Subject: Fixed compilation with VDR 2.2.0 --- recman.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'recman.cpp') diff --git a/recman.cpp b/recman.cpp index 082bf61..fe0bc72 100644 --- a/recman.cpp +++ b/recman.cpp @@ -26,8 +26,12 @@ namespace vdrlive { std::tr1::shared_ptr< RecordingsTree > RecordingsManager::m_recTree; std::tr1::shared_ptr< RecordingsList > RecordingsManager::m_recList; std::tr1::shared_ptr< DirectoryList > RecordingsManager::m_recDirs; +#if VDRVERSNUM >= 20301 time_t RecordingsManager::m_recordingsState = 0; string RecordingsManager::m_UpdateFileName; +#else + int RecordingsManager::m_recordingsState = 0; +#endif // The RecordingsManager holds a VDR lock on the // Recordings. Additionally the singleton instance of -- cgit v1.2.3