mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
don't try to use weakref stuff on older compilers that don't really support it
This commit is contained in:
parent
205b0ba08e
commit
d69bd0339f
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef PA_GCC_WEAKREF
|
#ifndef PA_GCC_WEAKREF
|
||||||
#ifdef __GNUC__
|
#if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ > 1)) || (__GNUC__ > 4))
|
||||||
/** Macro for usgae of GCC's weakref attribute */
|
/** Macro for usgae of GCC's weakref attribute */
|
||||||
#define PA_GCC_WEAKREF(x) __attribute__((weakref(#x)));
|
#define PA_GCC_WEAKREF(x) __attribute__((weakref(#x)));
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue