From: klu2 Date: Tue, 26 Dec 2006 02:48:15 +0000 (+0000) Subject: Fix some Linux's build issue. X-Git-Tag: edk2-stable201903~23739 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=a477a165ffb7061b917a588a041a2fcb7e055c47;hp=72b695f33b0f5056ad4706f65e50fbdda7406fe5 Fix some Linux's build issue. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2138 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Include/Ia32/ProcessorBind.h b/MdePkg/Include/Ia32/ProcessorBind.h index b0a991ef81..dd38e4958b 100644 --- a/MdePkg/Include/Ia32/ProcessorBind.h +++ b/MdePkg/Include/Ia32/ProcessorBind.h @@ -179,3 +179,4 @@ typedef INT32 INTN; #endif #endif + diff --git a/MdePkg/Include/x64/ProcessorBind.h b/MdePkg/Include/x64/ProcessorBind.h index 0d31352e39..34b35a89b8 100644 --- a/MdePkg/Include/x64/ProcessorBind.h +++ b/MdePkg/Include/x64/ProcessorBind.h @@ -26,8 +26,9 @@ // // Make sure we are useing the correct packing rules per EFI specification // +#ifndef __GNUC__ #pragma pack() - +#endif #if _MSC_EXTENSIONS