From: Lennart Poettering Date: Fri, 13 Feb 2009 17:03:21 +0000 (+0100) Subject: add definition for GCC style weak references X-Git-Tag: submit/2.0-panda/20130828.192557~2212 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=689e6f8a811e9fb00928bc57f2acbb859ac3923a;p=profile%2Fivi%2Fpulseaudio-panda.git add definition for GCC style weak references --- diff --git a/src/pulse/gccmacro.h b/src/pulse/gccmacro.h index 0f751c0..8d9d4f0 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