X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=StdLib%2FInclude%2Fsys%2Fcdefs_aout.h;h=2eb0a90266738265426e2fb32eab4e466601c746;hp=274991875ac2147b5e67a4f9bd49b5b1261a0ac8;hb=c21e7a7832f76260a27c5bde30f9593355909279;hpb=1e9b2bddff2217eb23bf9eb5d1052ecfebc39204 diff --git a/StdLib/Include/sys/cdefs_aout.h b/StdLib/Include/sys/cdefs_aout.h index 274991875a..2eb0a90266 100644 --- a/StdLib/Include/sys/cdefs_aout.h +++ b/StdLib/Include/sys/cdefs_aout.h @@ -44,12 +44,12 @@ #define __weak_extern(sym) /* NOTHING */ #define __weak_reference(sym) /* NOTHING */ - #if !defined(__CC_ARM) - #define __warn_references(sym,msg) \ - __asm(".stabs \"" msg "\",30,0,0,0"); \ - __asm(".stabs \"_" #sym "\",1,0,0,0"); - #else + #if defined(__CC_ARM) || defined(__APPLE__) #define __warn_references(sym,msg) + #else + #define __warn_references(sym,msg) \ + __asm(".stabs \"" msg "\",30,0,0,0"); \ + __asm(".stabs \"_" #sym "\",1,0,0,0"); #endif #endif #else /* __STDC__ */