Issue #1692 - dvb: fix DVB v3 builds

(cherry picked from commit 46704009e1)
This commit is contained in:
Adam Sutton 2013-04-10 21:06:20 +01:00
parent a69f4e66e6
commit 5bb45dcd51

View file

@ -1273,13 +1273,14 @@ dvb_fe_opts(th_dvb_adapter_t *tda, const char *which)
}
if(!strcmp(which, "delsys")) {
#if DVB_API_VERSION >= 5
if(c & FE_CAN_QPSK) {
#if DVB_API_VERSION >= 5
fe_opts_add(a, "SYS_DVBS", SYS_DVBS);
fe_opts_add(a, "SYS_DVBS2", SYS_DVBS2);
} else
#else
fe_opts_add(a, "SYS_DVBS", -1);
#endif
fe_opts_add(a, "SYS_UNDEFINED", SYS_UNDEFINED);
}
return a;
}