From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 0410921C9E7C9 for ; Tue, 4 Jul 2017 22:56:07 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP; 04 Jul 2017 22:57:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,310,1496127600"; d="scan'208";a="874856215" Received: from shwde7172.ccr.corp.intel.com ([10.239.9.14]) by FMSMGA003.fm.intel.com with ESMTP; 04 Jul 2017 22:57:46 -0700 From: Liming Gao To: edk2-devel@lists.01.org Cc: Michael Kinney Date: Wed, 5 Jul 2017 13:57:25 +0800 Message-Id: <1499234245-6968-1-git-send-email-liming.gao@intel.com> X-Mailer: git-send-email 2.8.0.windows.1 Subject: [Patch] MdePkg: Declare _ReturnAddress() in Base.h for MSFT tool chain X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2017 05:56:08 -0000 https://bugzilla.tianocore.org/show_bug.cgi?id=590 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao Cc: Michael Kinney --- MdePkg/Include/Base.h | 1 + 1 file changed, 1 insertion(+) diff --git a/MdePkg/Include/Base.h b/MdePkg/Include/Base.h index 21a603a..02140a5 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. -- 2.8.0.windows.1