diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2021-12-26 08:21:02 +0100 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2021-12-26 13:45:09 +0100 |
commit | de219b2b77dba06815869823789458581500ca03 (patch) | |
tree | 524179ffc38e8b7c028d7242b686b4f1b240249b /decoders/ds2408 | |
parent | 819e508972da02a0dcff7f81178f0283546a9afd (diff) | |
download | libsigrokdecode-de219b2b77dba06815869823789458581500ca03.tar.gz libsigrokdecode-de219b2b77dba06815869823789458581500ca03.zip |
ir_irmp: wrapper lib, silence warnings in "Windows or Unix" condition
Platform detection in the external IRMP library works best when either
the WIN32 or the unix identifiers are provided, which the sigrokdecode
build environment derives from other identifiers which are more reliably
available.
It turns out that other external dependencies like glib or Python may
provide some of these identifiers, too. Which results in the compiler
warning about symbols' redefinition. Only define derived identifiers
when they haven't been provided yet.
This amends commit ab88bae1c7b9.
Diffstat (limited to 'decoders/ds2408')
0 files changed, 0 insertions, 0 deletions