diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-01-16 12:53:38 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-01-16 12:53:38 +0100 |
commit | f1b0011a101eed6f4b475c4077f79b0c2af8d019 (patch) | |
tree | 64201a9c0353f54636b48fa2a21f48a5a28acf4d /dvbdevice.c | |
parent | 41f185b000d17b3b6ffddbe8e0a738869a92260f (diff) | |
download | vdr-f1b0011a101eed6f4b475c4077f79b0c2af8d019.tar.gz vdr-f1b0011a101eed6f4b475c4077f79b0c2af8d019.tar.bz2 |
Improved the way DVB_API_VERSION is checked
Diffstat (limited to 'dvbdevice.c')
-rw-r--r-- | dvbdevice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbdevice.c b/dvbdevice.c index fa7306b1..7a6c7508 100644 --- a/dvbdevice.c +++ b/dvbdevice.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbdevice.c 2.57 2012/01/16 12:43:33 kls Exp $ + * $Id: dvbdevice.c 2.58 2012/01/16 12:52:01 kls Exp $ */ #include "dvbdevice.h" @@ -1130,7 +1130,7 @@ bool cDvbDevice::QueryDeliverySystems(int fd_frontend) LOG_ERROR; return false; } -#if DVB_API_VERSION > 5 || DVB_API_VERSION_MINOR >= 5 +#if (DVB_API_VERSION << 8 | DVB_API_VERSION_MINOR) >= 0x0505 dtv_property Frontend[1]; memset(&Frontend, 0, sizeof(Frontend)); dtv_properties CmdSeq; |