summaryrefslogtreecommitdiff
path: root/eepg.c
diff options
context:
space:
mode:
authorDime <dime@dime-dell-system-xps-l702x.ein-sof.net.mk>2012-05-16 11:24:24 (GMT)
committerDimitar Petrovski <dimeptr@gmail.com>2012-05-18 07:22:26 (GMT)
commitaa7d6a705d56f11c327ebe4c09a8a0a0f517e8fd (patch)
treead7368654327c3ae9fbc96a601956042ea56c8bf /eepg.c
parent23260abbe50c8315663b4f63fdaed38c26372a29 (diff)
downloadvdr-plugin-eepg-aa7d6a705d56f11c327ebe4c09a8a0a0f517e8fd.tar.gz
vdr-plugin-eepg-aa7d6a705d56f11c327ebe4c09a8a0a0f517e8fd.tar.bz2
add defines to compile wit VDR < 1.7.26
Diffstat (limited to 'eepg.c')
-rw-r--r--eepg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/eepg.c b/eepg.c
index 5624478..4bfd5d7 100644
--- a/eepg.c
+++ b/eepg.c
@@ -4497,9 +4497,11 @@ bool cPluginEEPG::Start (void)
for (int i = 0; i < NumberOfAvailableSources; i++)
isyslog ("EEPG: Available sources:%s.", *cSource::ToString (AvailableSources[i]));
- closedir(ConfigDir);
+#if APIVERSNUM > 10725
new cEEpgHandler();
+#endif
+ closedir(ConfigDir);
return true;
}