diff options
author | horchi <vdr@jwendel.de> | 2017-06-11 18:08:02 +0200 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2017-06-11 18:08:02 +0200 |
commit | f414acdadb344f39285e26f0ce8861764efadde1 (patch) | |
tree | 2f4e11e7df22c5ee9240be49a4d16205e9a5146b /update.c | |
parent | 62b7aaad6475576fa8f0b415612054d36da74fc3 (diff) | |
download | vdr-plugin-epg2vdr-f414acdadb344f39285e26f0ce8861764efadde1.tar.gz vdr-plugin-epg2vdr-f414acdadb344f39285e26f0ce8861764efadde1.tar.bz2 |
2017-06-11: version 1.1.68 (horchi)\n - change: Added lock macros for easier handling the vdr versions\n\n1.1.68
Diffstat (limited to 'update.c')
-rw-r--r-- | update.c | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -10,6 +10,7 @@ #include <vdr/videodir.h> #include <vdr/tools.h> +#include "lib/vdrlocks.h" #include "lib/xml.h" #include "epg2vdr.h" #include "update.h" @@ -1624,12 +1625,13 @@ int cUpdate::refreshEpg(const char* forChannelId, int maxTries) if (timerChanges) { -#if defined (APIVERSNUM) && (APIVERSNUM >= 20301) - LOCK_TIMERS_WRITE; - cTimers* timers = Timers; -#else - cTimers* timers = &Timers; -#endif +//#if defined (APIVERSNUM) && (APIVERSNUM >= 20301) + GET_TIMERS_WRITE(timers); + // LOCK_TIMERS_WRITE; + // cTimers* timers = Timers; +// #else +// cTimers* timers = &Timers; +// #endif timers->SetModified(); } |