mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
fix CLAMP_LIKELY/UNLIKELY definition
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2036 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
ecf349dc6c
commit
3c17c7d442
2 changed files with 4 additions and 4 deletions
|
|
@ -79,8 +79,8 @@
|
|||
|
||||
#ifndef PA_LIKELY
|
||||
#ifdef __GNUC__
|
||||
#define PA_LIKELY(x) __builtin_expect((x),1)
|
||||
#define PA_UNLIKELY(x) __builtin_expect((x),0)
|
||||
#define PA_LIKELY(x) (__builtin_expect((x),1))
|
||||
#define PA_UNLIKELY(x) (__builtin_expect((x),0))
|
||||
#else
|
||||
#define PA_LIKELY(x) (x)
|
||||
#define PA_UNLIKELY(x) (x)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue