diff options
-rw-r--r-- | src/pulse/gccmacro.h (renamed from src/pulsecore/gccmacro.h) | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/pulsecore/gccmacro.h b/src/pulse/gccmacro.h index f94a8c45..5a2a250f 100644 --- a/src/pulsecore/gccmacro.h +++ b/src/pulse/gccmacro.h @@ -77,13 +77,12 @@ #endif #endif -#ifndef PA_LIKELY +#ifndef PA_GCC_DEPRECATED #ifdef __GNUC__ -#define PA_LIKELY(x) (__builtin_expect(!!(x),1)) -#define PA_UNLIKELY(x) (__builtin_expect((x),0)) +#define PA_GCC_DEPRECATED __attribute__ ((deprecated)) #else -#define PA_LIKELY(x) (x) -#define PA_UNLIKELY(x) (x) +/** This function is deprecated **/ +#define PA_GCC_DEPRECATED #endif #endif |