]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/x64/ProcessorBind.h
Fix some Linux's build issue.
[mirror_edk2.git] / MdePkg / Include / x64 / ProcessorBind.h
index 4332b89fffb9d12466a983bf780bfcd34b8cb53d..34b35a89b8dcf488d4f924061d2e815202a41b40 100644 (file)
@@ -26,8 +26,9 @@
 //\r
 // Make sure we are useing the correct packing rules per EFI specification\r
 //\r
+#ifndef __GNUC__\r
 #pragma pack()\r
-\r
+#endif\r
 \r
 #if _MSC_EXTENSIONS \r
     \r
@@ -70,7 +71,7 @@
 #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