diff options
author | jyao1 <jyao1> | 2013-09-22 01:56:37 +0000 |
---|---|---|
committer | jyao1 <jyao1@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-09-22 01:56:37 +0000 |
commit | e9a1e37f588c03ec4f0cccc27c21fd0d7066fa57 (patch) | |
tree | a09a069111bdbec42f04e245c91b0a72caffcdae | |
parent | 0d28d286bf4dc3a9a294ea3f49fbf17e5181ffb4 (diff) | |
download | edk2-platforms-e9a1e37f588c03ec4f0cccc27c21fd0d7066fa57.tar.xz |
Resolve GCC build error, where #pragma pack(push[, id], <n>) is not supported.
signed off by: jiewen.yao@intel.com
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14691 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdePkg/Include/IndustryStandard/Tpm20.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Include/IndustryStandard/Tpm20.h b/MdePkg/Include/IndustryStandard/Tpm20.h index a159953cf8..5074d899d0 100644 --- a/MdePkg/Include/IndustryStandard/Tpm20.h +++ b/MdePkg/Include/IndustryStandard/Tpm20.h @@ -22,7 +22,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include <IndustryStandard/Tpm12.h>
-#pragma pack (push, 1)
+#pragma pack (1)
// Annex A Algorithm Constants
@@ -1804,6 +1804,6 @@ typedef struct { TPM_RC responseCode;
} TPM2_RESPONSE_HEADER;
-#pragma pack (pop)
+#pragma pack ()
#endif
|