Use __alias__ instead of alias in the definition of __strong_reference().
Submitted by: jdp
This commit is contained in:
parent
c4b5781296
commit
603ed0f30d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=58256
@ -154,7 +154,7 @@
|
|||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#define __strong_reference(sym,aliassym) \
|
#define __strong_reference(sym,aliassym) \
|
||||||
extern __typeof (sym) aliassym __attribute__ ((alias (#sym)));
|
extern __typeof (sym) aliassym __attribute__ ((__alias__ (#sym)));
|
||||||
#ifdef __ELF__
|
#ifdef __ELF__
|
||||||
#ifdef __STDC__
|
#ifdef __STDC__
|
||||||
#define __weak_reference(sym,alias) \
|
#define __weak_reference(sym,alias) \
|
||||||
|
Loading…
Reference in New Issue
Block a user