summaryrefslogtreecommitdiff
path: root/dvbdevice.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-10-25 13:58:20 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2009-10-25 13:58:20 +0100
commit2fc5e35eb9dfac4e1156b2c70faad2f5e8cace06 (patch)
treee867eaf78d37550b929376bf9352b4753b1bdc7a /dvbdevice.h
parent611625ca3dc4fb7c87d9911c92f883d8b01832fd (diff)
downloadvdr-2fc5e35eb9dfac4e1156b2c70faad2f5e8cace06.tar.gz
vdr-2fc5e35eb9dfac4e1156b2c70faad2f5e8cace06.tar.bz2
Only checking DVB_API_VERSION to be >=5 in order to stay compileable in case the DVB API version number is increased
Diffstat (limited to 'dvbdevice.h')
-rw-r--r--dvbdevice.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/dvbdevice.h b/dvbdevice.h
index e3e28d02..3e35d91a 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.8 2009/06/06 11:16:47 kls Exp $
+ * $Id: dvbdevice.h 2.9 2009/10/25 13:58:20 kls Exp $
*/
#ifndef __DVBDEVICE_H
@@ -16,8 +16,8 @@
#include "device.h"
#include "dvbspu.h"
-#if DVB_API_VERSION != 5 || DVB_API_VERSION_MINOR != 0
-#error VDR requires Linux DVB driver API version 5.0!
+#if DVB_API_VERSION < 5
+#error VDR requires Linux DVB driver API version 5.0 or higher!
#endif
#define MAXDVBDEVICES 8