diff options
author | Andrew Fish <afish@apple.com> | 2014-09-09 21:59:08 +0000 |
---|---|---|
committer | darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-09-09 21:59:08 +0000 |
commit | c21e7a7832f76260a27c5bde30f9593355909279 (patch) | |
tree | 3764ae132e6aca4a3bef8461c535bf576879b315 /StdLib/Include/sys | |
parent | 1e9b2bddff2217eb23bf9eb5d1052ecfebc39204 (diff) | |
download | edk2-platforms-c21e7a7832f76260a27c5bde30f9593355909279.tar.xz |
StdLib: Changes needed to support XCODE5
I had to make the following changes to make this build work: >build -p AppPkg/AppPkg.dsc -a X64 -t XCODE5
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Andrew Fish <afish@apple.com>
Reviewed-by: Daryl McDaniel <daryl.mcdaniel@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16081 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLib/Include/sys')
-rw-r--r-- | StdLib/Include/sys/cdefs_aout.h | 10 |
1 files changed, 5 insertions, 5 deletions
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__ */
|