summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg/Foundation/Include
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-11 02:25:30 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-11 02:25:30 +0000
commit775bebc37223f6de7d648c77ea949944192a428e (patch)
treea033b61575bf576c389955c010cb581996a2f503 /EdkCompatibilityPkg/Foundation/Include
parentd4589db67b6f32d8fc512f21b1d64bac2baa56c5 (diff)
downloadedk2-platforms-775bebc37223f6de7d648c77ea949944192a428e.tar.xz
GCC clean.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5873 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg/Foundation/Include')
-rw-r--r--EdkCompatibilityPkg/Foundation/Include/IndustryStandard/Tpm12.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Include/IndustryStandard/Tpm12.h b/EdkCompatibilityPkg/Foundation/Include/IndustryStandard/Tpm12.h
index e81008743c..2a2ed869fc 100644
--- a/EdkCompatibilityPkg/Foundation/Include/IndustryStandard/Tpm12.h
+++ b/EdkCompatibilityPkg/Foundation/Include/IndustryStandard/Tpm12.h
@@ -28,8 +28,10 @@ Abstract:
// Structures are all packed on 1-byte alignment
//
+#ifndef __GNUC__
#pragma pack (push)
#pragma pack (1)
+#endif
//
// Part 2, section 2.2: Basic types & Helper redefinitions
@@ -1839,6 +1841,8 @@ typedef struct tdTPM_RSP_COMMAND_HDR {
TPM_RESULT returnCode;
} TPM_RSP_COMMAND_HDR;
+#ifndef __GNUC__
#pragma pack (pop)
+#endif
#endif // _TPM12_H_