mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -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
|
||||
|
||||
#ifndef PA_GCC_WEAKREF
|
||||
#ifdef __GNUC__
|
||||
#if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ > 1)) || (__GNUC__ > 4))
|
||||
/** Macro for usgae of GCC's weakref attribute */
|
||||
#define PA_GCC_WEAKREF(x) __attribute__((weakref(#x)));
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue