diff options
-rw-r--r-- | src/pulse/gccmacro.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pulse/gccmacro.h b/src/pulse/gccmacro.h index 0f751c03..8d9d4f02 100644 --- a/src/pulse/gccmacro.h +++ b/src/pulse/gccmacro.h @@ -117,4 +117,10 @@ #endif #endif +#ifndef PA_GCC_WEAKREF +#ifdef __GNUC__ +#define PA_GCC_WEAKREF(x) __attribute__((weakref(#x))); +#endif +#endif + #endif |