]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Base.h
SecurityPkg/Pkcs7Verify: Add the comments to address security problem
[mirror_edk2.git] / MdePkg / Include / Base.h
index 5b311f6648e6e46c6daaf8a7849b41920101992d..02140a5ac2eea335d6aa330d0e4c4b113424c229 100644 (file)
@@ -91,7 +91,7 @@ VERIFY_SIZE_OF (__VERIFY_UINT32_ENUM_SIZE, 4);
 //  if the /OPT:REF linker option is used. We defined a macro as this is a\r
 //  a non standard extension\r
 //\r
-#if defined(_MSC_EXTENSIONS) && !defined (MDE_CPU_EBC)\r
+#if defined(_MSC_EXTENSIONS) && _MSC_VER < 1800 && !defined (MDE_CPU_EBC)\r
   ///\r
   /// Remove global variable from the linked image if there are no references to\r
   /// it after all compiler and linker optimizations have been performed.\r
@@ -1213,6 +1213,7 @@ typedef UINTN RETURN_STATUS;
     (SIGNATURE_32 (A, B, C, D) | ((UINT64) (SIGNATURE_32 (E, F, G, H)) << 32))\r
 \r
 #if defined(_MSC_EXTENSIONS) && !defined (__INTEL_COMPILER) && !defined (MDE_CPU_EBC)\r
+  void * _ReturnAddress(void);\r
   #pragma intrinsic(_ReturnAddress)\r
   /**\r
     Get the return address of the calling function.\r