summaryrefslogtreecommitdiff
path: root/timerconflict.c
diff options
context:
space:
mode:
Diffstat (limited to 'timerconflict.c')
-rw-r--r--timerconflict.c4
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