diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/pulse/gccmacro.h | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/pulse/gccmacro.h b/src/pulse/gccmacro.h index e85ecb66..57e80509 100644 --- a/src/pulse/gccmacro.h +++ b/src/pulse/gccmacro.h @@ -118,7 +118,7 @@  #endif  #ifndef PA_GCC_WEAKREF -#if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ > 1)) || (__GNUC__ > 4)) +#if defined(__GNUC__) && defined(__ELF__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ > 1)) || (__GNUC__ > 4))  /** Macro for usgae of GCC's weakref attribute */  #define PA_GCC_WEAKREF(x) __attribute__((weakref(#x)));  #endif | 
