]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Do not check __STDC_VERSION__ for gcc.
authorbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 4 Dec 2006 17:01:58 +0000 (17:01 +0000)
committerbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 4 Dec 2006 17:01:58 +0000 (17:01 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2047 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/x64/ProcessorBind.h
Tools/CCode/Source/Include/X64/ProcessorBind.h

index 4332b89fffb9d12466a983bf780bfcd34b8cb53d..0d31352e39d7c2cfc9a0f72fc543aabd07025167 100644 (file)
@@ -70,7 +70,7 @@
 #endif\r
 \r
 \r
 #endif\r
 \r
 \r
-#if (__STDC_VERSION__ < 199901L)\r
+#if !defined(__GNUC__) && (__STDC_VERSION__ < 199901L)\r
   //\r
   // No ANSI C 2000 stdint.h integer width declarations, so define equivalents\r
   //\r
   //\r
   // No ANSI C 2000 stdint.h integer width declarations, so define equivalents\r
   //\r
index f865ce8790b25b3de9eb434638e050ad814a44df..8cbf4915f35f23168cd0b0bdbabd33b5179d0400 100644 (file)
@@ -61,7 +61,7 @@
 #endif\r
 \r
 \r
 #endif\r
 \r
 \r
-#if (__STDC_VERSION__ < 199901L)\r
+#if !defined(__GNUC__) && (__STDC_VERSION__ < 199901L)\r
   //\r
   // No ANSI C 2000 stdint.h integer width declarations, so define equivalents\r
   //\r
   //\r
   // No ANSI C 2000 stdint.h integer width declarations, so define equivalents\r
   //\r