diff options
author | Liming Gao <liming.gao@intel.com> | 2017-07-05 13:57:07 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2017-07-11 21:36:45 +0800 |
commit | ed6da357a30666cfccfd2539d88e6171710084b7 (patch) | |
tree | 525c6952cca20d300ee4990d8b650ac9b1eb2277 /MdePkg | |
parent | c6ab9aecb71bcdb78cc1e13ba3f5a74bc895d4db (diff) | |
download | edk2-ed6da357a30666cfccfd2539d88e6171710084b7.tar.gz edk2-ed6da357a30666cfccfd2539d88e6171710084b7.tar.bz2 edk2-ed6da357a30666cfccfd2539d88e6171710084b7.zip |
MdePkg: Declare _ReturnAddress() in Base.h for MSFT tool chain
https://bugzilla.tianocore.org/show_bug.cgi?id=590
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Include/Base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MdePkg/Include/Base.h b/MdePkg/Include/Base.h index 21a603a903..02140a5ac2 100644 --- a/MdePkg/Include/Base.h +++ b/MdePkg/Include/Base.h @@ -1213,6 +1213,7 @@ typedef UINTN RETURN_STATUS; (SIGNATURE_32 (A, B, C, D) | ((UINT64) (SIGNATURE_32 (E, F, G, H)) << 32))
#if defined(_MSC_EXTENSIONS) && !defined (__INTEL_COMPILER) && !defined (MDE_CPU_EBC)
+ void * _ReturnAddress(void);
#pragma intrinsic(_ReturnAddress)
/**
Get the return address of the calling function.
|