mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-09 13:30:06 -05:00
Unknown preprocessor symbols are replaced with 0 in preprocessor
conditionals, so if `__has_attribute()` is not supported, then
the condition will be the following:
if 0 && 0(__cleanup__)
which is syntactically incorrect.
So split the condition and only check `__has_attribute()` if
it exists.
Fixes:
|
||
|---|---|---|
| .. | ||
| buffer | ||
| control | ||
| debug | ||
| filter-graph | ||
| graph | ||
| interfaces/audio | ||
| monitor | ||
| node | ||
| param | ||
| pod | ||
| support | ||
| utils | ||