diff options
author | kamel5 <kamel5 (at) gmx (dot) net> | 2018-03-08 13:30:41 +0100 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-01-27 11:30:01 +0100 |
commit | bf2937d86c316edb716c6fe1bdb97e7c706f675c (patch) | |
tree | fa8878241e876ee18fe417de51fc26cea1f76f6a /timerconflict.c | |
parent | 6ae27238afa33e17dece7311c4728b5c1f2f83b2 (diff) | |
download | vdr-plugin-tvguide-bf2937d86c316edb716c6fe1bdb97e7c706f675c.tar.gz vdr-plugin-tvguide-bf2937d86c316edb716c6fe1bdb97e7c706f675c.tar.bz2 |
Cosmetic changes / SwitchTimer& operator / std:min,std:max
Diffstat (limited to 'timerconflict.c')
-rw-r--r-- | timerconflict.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/timerconflict.c b/timerconflict.c index 79f2ce4..1312f7f 100644 --- a/timerconflict.c +++ b/timerconflict.c @@ -86,7 +86,7 @@ void cTVGuideTimerConflicts::CalculateConflicts(void) { cTimeInterval *unionSet = NULL;
int numTimers = conflicts[i]->timerIDs.size();
for (int j=0; j < numTimers; j++) {
-#if defined (APIVERSNUM) && (APIVERSNUM >= 20301)
+#if VDRVERSNUM >= 20301
LOCK_TIMERS_READ;
const cTimer *timer = Timers->Get(conflicts[i]->timerIDs[j]);
#else
@@ -110,7 +110,7 @@ void cTVGuideTimerConflicts::CalculateConflicts(void) { cTimeInterval *intersect = NULL;
for (int j=0; j < numTimers; j++) {
-#if defined (APIVERSNUM) && (APIVERSNUM >= 20301)
+#if VDRVERSNUM >= 20301
LOCK_TIMERS_READ;
const cTimer *timer = Timers->Get(conflicts[i]->timerIDs[j]);
#else
|