From: bbahnsen Date: Mon, 4 Dec 2006 17:01:58 +0000 (+0000) Subject: Do not check __STDC_VERSION__ for gcc. X-Git-Tag: edk2-stable201903~23830 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=6a138c666a94ea0ba709540eb2623d5866537e32 Do not check __STDC_VERSION__ for gcc. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2047 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Include/x64/ProcessorBind.h b/MdePkg/Include/x64/ProcessorBind.h index 4332b89fff..0d31352e39 100644 --- a/MdePkg/Include/x64/ProcessorBind.h +++ b/MdePkg/Include/x64/ProcessorBind.h @@ -70,7 +70,7 @@ #endif -#if (__STDC_VERSION__ < 199901L) +#if !defined(__GNUC__) && (__STDC_VERSION__ < 199901L) // // No ANSI C 2000 stdint.h integer width declarations, so define equivalents // diff --git a/Tools/CCode/Source/Include/X64/ProcessorBind.h b/Tools/CCode/Source/Include/X64/ProcessorBind.h index f865ce8790..8cbf4915f3 100644 --- a/Tools/CCode/Source/Include/X64/ProcessorBind.h +++ b/Tools/CCode/Source/Include/X64/ProcessorBind.h @@ -61,7 +61,7 @@ #endif -#if (__STDC_VERSION__ < 199901L) +#if !defined(__GNUC__) && (__STDC_VERSION__ < 199901L) // // No ANSI C 2000 stdint.h integer width declarations, so define equivalents //