summaryrefslogtreecommitdiff
path: root/StdLib/Include
diff options
context:
space:
mode:
Diffstat (limited to 'StdLib/Include')
-rw-r--r--StdLib/Include/sys/cdefs_aout.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/StdLib/Include/sys/cdefs_aout.h b/StdLib/Include/sys/cdefs_aout.h
index 2749918..2eb0a90 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__ */