summaryrefslogtreecommitdiff
path: root/channeljump.c
diff options
context:
space:
mode:
Diffstat (limited to 'channeljump.c')
-rw-r--r--channeljump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channeljump.c b/channeljump.c
index 8793217..7e641f5 100644
--- a/channeljump.c
+++ b/channeljump.c
@@ -11,7 +11,7 @@ cChannelJump::cChannelJump(cChannelGroups *channelGroups) {
pixmapText = NULL;
channel = 0;
if (!tvguideConfig.hideLastGroup) {
-#if defined (APIVERSNUM) && (APIVERSNUM >= 20301)
+#if VDRVERSNUM >= 20301
LOCK_CHANNELS_READ;
maxChannels = Channels->MaxNumber();
#else