11929
fix build without READER_NAGRA_MERLIN
fix build without READER_NAGRA_MERLIN (12af82a1) · Commits · common / oscam · GitLab
The cak7type member is only defined in struct s_reader when READER_NAGRA_MERLIN is enabled. Wrap all cak7type references in icc_async.c and…
git.streamboard.tv
The cak7type member is only defined in struct s_reader when
READER_NAGRA_MERLIN is enabled. Wrap all cak7type references
in icc_async.c and reader-nagra-common.c with the same ifdef
guard to fix compilation errors when building without
READER_NAGRA_MERLIN support.
The reader-nagra-common.c functions are shared between both
READER_NAGRA and READER_NAGRA_MERLIN. The else block (standard
NAGRA code) is always compiled and used by READER_NAGRA, while
the cak7type checks are only needed for READER_NAGRA_MERLIN.
Fixes:
error: 'struct s_reader' has no member named 'cak7type'
introduced in 28f2598b
