mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
add definition for GCC style weak references
This commit is contained in:
parent
44bca66c59
commit
689e6f8a81
1 changed files with 6 additions and 0 deletions
|
|
@ -117,4 +117,10 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef PA_GCC_WEAKREF
|
||||||
|
#ifdef __GNUC__
|
||||||
|
#define PA_GCC_WEAKREF(x) __attribute__((weakref(#x)));
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue