diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-07-28 17:47:22 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-07-28 17:47:22 +0000 |
commit | d31182c1b36fdd117aa297588a880266a9f07be4 (patch) | |
tree | 391c2dd5d012b92651bc9684d250f6c5fba21896 | |
parent | 1d36ec02a55c7bab7b5738e146c8607177ca808b (diff) | |
download | edk2-d31182c1b36fdd117aa297588a880266a9f07be4.tar.gz edk2-d31182c1b36fdd117aa297588a880266a9f07be4.tar.bz2 edk2-d31182c1b36fdd117aa297588a880266a9f07be4.zip |
MdeModulePkg: Fix build error for UNIXGCC with IPF
#pragma pack with push/pop is not supported with all
GCC types.
Signed-off-by: jljusten
Reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12056 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxLibPrivate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxLibPrivate.h b/MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxLibPrivate.h index 3dfd03e417..31da89af0f 100644 --- a/MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxLibPrivate.h +++ b/MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxLibPrivate.h @@ -18,7 +18,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include <Uefi.h>
-#pragma pack(push, 1)
+#pragma pack(1)
//
// Below data structure is used for lockbox registration in SMST
@@ -48,7 +48,7 @@ typedef struct { LIST_ENTRY Link;
} SMM_LOCK_BOX_DATA;
-#pragma pack(pop)
+#pragma pack()
#endif
|