summaryrefslogtreecommitdiff
path: root/dvbdevice.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-01-16 12:53:38 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-01-16 12:53:38 +0100
commitf1b0011a101eed6f4b475c4077f79b0c2af8d019 (patch)
tree64201a9c0353f54636b48fa2a21f48a5a28acf4d /dvbdevice.h
parent41f185b000d17b3b6ffddbe8e0a738869a92260f (diff)
downloadvdr-f1b0011a101eed6f4b475c4077f79b0c2af8d019.tar.gz
vdr-f1b0011a101eed6f4b475c4077f79b0c2af8d019.tar.bz2
Improved the way DVB_API_VERSION is checked
Diffstat (limited to 'dvbdevice.h')
-rw-r--r--dvbdevice.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbdevice.h b/dvbdevice.h
index 96dfa421..b8e0e2df 100644
--- a/dvbdevice.h
+++ b/dvbdevice.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbdevice.h 2.21 2012/01/13 11:32:45 kls Exp $
+ * $Id: dvbdevice.h 2.22 2012/01/16 12:51:39 kls Exp $
*/
#ifndef __DVBDEVICE_H
@@ -14,7 +14,7 @@
#include <linux/dvb/version.h>
#include "device.h"
-#if DVB_API_VERSION < 5 || (DVB_API_VERSION == 5 && DVB_API_VERSION_MINOR < 3)
+#if (DVB_API_VERSION << 8 | DVB_API_VERSION_MINOR) < 0x0503
#error VDR requires Linux DVB driver API version 5.3 or higher!
#endif