From c6b50101d2e3a47b42a12351ce4e300ddc4c3094 Mon Sep 17 00:00:00 2001 From: Frank Neumann Date: Sun, 7 May 2017 16:26:26 +0200 Subject: Lock out VDR versions < 2.3.4 --- epgsearch.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'epgsearch.c') diff --git a/epgsearch.c b/epgsearch.c index 7ac44da..4681fa3 100644 --- a/epgsearch.c +++ b/epgsearch.c @@ -69,6 +69,10 @@ The project's page is at http://winni.vdr-developer.org/epgsearch #include "confdloader.h" #include "pending_notifications.h" +#if defined(APIVERSNUM) && APIVERSNUM < 20304 +#error "VDR-2.3.4 API version or greater is required!" +#endif + static const char VERSION[] = "2.3.1"; static const char DESCRIPTION[] = trNOOP("search the EPG for repeats and more"); -- cgit v1.2.3