From f00a0d4a06e59a65d1bd1b48cc1dcb1c1355ba7e Mon Sep 17 00:00:00 2001 From: Frank Neumann Date: Sun, 7 May 2017 17:15:11 +0200 Subject: Lock to VDR version 2.2.0. --- epgsearch.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3