summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2006-12-26 02:48:15 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2006-12-26 02:48:15 +0000
commita477a165ffb7061b917a588a041a2fcb7e055c47 (patch)
treec31c24668e51359aada099c2509a1605c9d33002
parent72b695f33b0f5056ad4706f65e50fbdda7406fe5 (diff)
downloadedk2-a477a165ffb7061b917a588a041a2fcb7e055c47.zip
edk2-a477a165ffb7061b917a588a041a2fcb7e055c47.tar.gz
edk2-a477a165ffb7061b917a588a041a2fcb7e055c47.tar.bz2
Fix some Linux's build issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2138 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdePkg/Include/Ia32/ProcessorBind.h1
-rw-r--r--MdePkg/Include/x64/ProcessorBind.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/MdePkg/Include/Ia32/ProcessorBind.h b/MdePkg/Include/Ia32/ProcessorBind.h
index b0a991e..dd38e49 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 0d31352..34b35a8 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