summaryrefslogtreecommitdiff
path: root/recman.cpp
diff options
context:
space:
mode:
authorJasmin Jessich <jasmin@anw.at>2017-05-21 04:07:46 +0200
committerJasmin Jessich <jasmin@anw.at>2017-05-21 04:08:34 +0200
commit30fef3dda362173844b4edb50294803e02308269 (patch)
tree5eb370c1bdb54a11f292096e65eb8e24a251b1db /recman.cpp
parent5f457e6d67133e2b7e7269efedbbe758227b44e3 (diff)
downloadvdr-plugin-live-30fef3dda362173844b4edb50294803e02308269.tar.gz
vdr-plugin-live-30fef3dda362173844b4edb50294803e02308269.tar.bz2
Fixed compilation with VDR 2.2.0
Diffstat (limited to 'recman.cpp')
-rw-r--r--recman.cpp4
1 files changed, 4 insertions, 0 deletions
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