summaryrefslogtreecommitdiff
path: root/eepg.c
diff options
context:
space:
mode:
Diffstat (limited to 'eepg.c')
-rw-r--r--eepg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eepg.c b/eepg.c
index 5ae992d..70a1134 100644
--- a/eepg.c
+++ b/eepg.c
@@ -52,7 +52,7 @@
#include <stdarg.h>
-#if APIVERSNUM < 10401
+#if defined(APIVERSNUM) && APIVERSNUM < 10401
#error You need at least VDR API version 1.4.1 for this plugin
#endif
#if APIVERSNUM < 10507