mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
PA_WARN_REFERENCE works only for ELF targets
This commit is contained in:
parent
3853070a21
commit
ea15ca9862
1 changed files with 1 additions and 1 deletions
|
|
@ -208,7 +208,7 @@ typedef int pa_bool_t;
|
||||||
#define PA_PATH_SEP_CHAR '/'
|
#define PA_PATH_SEP_CHAR '/'
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#if defined(__GNUC__) && defined(__ELF__)
|
||||||
|
|
||||||
#define PA_WARN_REFERENCE(sym, msg) \
|
#define PA_WARN_REFERENCE(sym, msg) \
|
||||||
__asm__(".section .gnu.warning." #sym); \
|
__asm__(".section .gnu.warning." #sym); \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue