From a477a165ffb7061b917a588a041a2fcb7e055c47 Mon Sep 17 00:00:00 2001 From: klu2 Date: Tue, 26 Dec 2006 02:48:15 +0000 Subject: [PATCH 1/1] Fix some Linux's build issue. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2138 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Ia32/ProcessorBind.h | 1 + MdePkg/Include/x64/ProcessorBind.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.2