From 775bebc37223f6de7d648c77ea949944192a428e Mon Sep 17 00:00:00 2001 From: qwang12 Date: Thu, 11 Sep 2008 02:25:30 +0000 Subject: [PATCH] GCC clean. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5873 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Foundation/Include/IndustryStandard/Tpm12.h | 4 ++++ 1 file changed, 4 insertions(+) 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_