diff options
Diffstat (limited to 'epgsearch.c')
-rw-r--r-- | epgsearch.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/epgsearch.c b/epgsearch.c index ca06e83..6ab0489 100644 --- a/epgsearch.c +++ b/epgsearch.c @@ -69,7 +69,11 @@ The project's page is at http://winni.vdr-developer.org/epgsearch #include "confdloader.h" #include "pending_notifications.h" -static const char VERSION[] = "2.2.0"; +#if defined(APIVERSNUM) && (APIVERSNUM < 20200 || APIVERSNUM > 20300) +#error "VDR-2.2.0 API version is required!" +#endif + +statir const char VERSION[] = "2.2.0"; static const char DESCRIPTION[] = trNOOP("search the EPG for repeats and more"); // globals |