mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
treewide: only define feature macros when the feature is available
Most feature checks already use #ifdef, and do not care about
the value of the macro. Convert all feature checks to do that,
and simplify the meson build scripts by replacing
if cond
cdata.set('X', 1)
endif
with
cdata.set('X', cond)
This commit is contained in:
parent
140378efd6
commit
15e7a61aa7
15 changed files with 49 additions and 83 deletions
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#if !HAVE_SIGABBREV_NP
|
||||
#ifndef HAVE_SIGABBREV_NP
|
||||
#include <stddef.h>
|
||||
#include <signal.h>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue