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

@ -6157,7 +6157,7 @@ Video Disk Recorder Revision History
Reinhard Nissl).
- Implemented full handling of subtitling descriptors (thanks to Mikko Tuumanen).
2009-10-18: Version 1.7.10
2009-10-25: Version 1.7.10
- Updated the Italian OSD texts (thanks to Diego Pierotto).
- Fixed wrong bracketing in cChannel::SubtitlingType() etc.
@ -6167,3 +6167,6 @@ Video Disk Recorder Revision History
- Changed the project's URLs and email to tvdr.de.
- Added Lithuanian language translations (thanks to Valdemaras Pipiras).
- Updated Chinese language texts (thanks to Nan Feng).
- Only checking DVB_API_VERSION to be >=5 in order to stay compileable in case
the DVB API version number is increased (the API claims to always be backward
compatible).

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