summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Mair <amair.sob@googlemail.com>2015-09-21 06:00:09 (GMT)
committerAndreas Mair <amair.sob@googlemail.com>2015-09-21 06:00:09 (GMT)
commit77d10faec3c7b0abe25ba3b161dc3b4e2cad042b (patch)
treef9740d22ebd59e85d1c7023ccb546d3c909f26f1
parentbcd6790df6e680fed067b6f1c237aec9a6c03e52 (diff)
downloadvdr-plugin-extrecmenu-master.tar.gz
vdr-plugin-extrecmenu-master.tar.bz2
Compile again under VDR < 2.3.1.HEADmaster
-rw-r--r--tools.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools.c b/tools.c
index caf4cd1..c1fc22a 100644
--- a/tools.c
+++ b/tools.c
@@ -206,7 +206,11 @@ bool MoveRename(const char *OldName,const char *NewName,cRecording *Recording,bo
// --- myRecListItem ----------------------------------------------------------
bool myRecListItem::SortByName=false;
+#if VDRVERSNUM >= 20301
myRecListItem::myRecListItem(const cRecording *Recording)
+#else
+myRecListItem::myRecListItem(cRecording *Recording)
+#endif
{
recording=(cRecording *)Recording;
filename=strdup(recording->FileName());