Only checking DVB_API_VERSION to be >=5 in order to stay compileable in case the DVB API version number is increased

This commit is contained in:
Klaus Schmidinger
2009-10-25 13:58:20 +01:00
parent 611625ca3d
commit 2fc5e35eb9
2 changed files with 7 additions and 4 deletions

View File

@@ -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