mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse: only define PA_LIKELY when not already defined
New pulse makes this define visible.
This commit is contained in:
parent
4778b5911e
commit
3f4be40f30
1 changed files with 2 additions and 0 deletions
|
|
@ -51,8 +51,10 @@ extern "C" {
|
|||
#define pa_streq(a,b) (!strcmp((a),(b)))
|
||||
#define pa_strneq(a,b,n) (!strncmp((a),(b),(n)))
|
||||
|
||||
#ifndef PA_LIKELY
|
||||
#define PA_UNLIKELY SPA_UNLIKELY
|
||||
#define PA_LIKELY SPA_LIKELY
|
||||
#endif
|
||||
#define PA_MIN SPA_MIN
|
||||
#define PA_MAX SPA_MAX
|
||||
#define pa_assert spa_assert
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue