mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
1d36ec02a5
commit
d31182c1b3
|
@ -18,7 +18,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
|
|
||||||
#include <Uefi.h>
|
#include <Uefi.h>
|
||||||
|
|
||||||
#pragma pack(push, 1)
|
#pragma pack(1)
|
||||||
|
|
||||||
//
|
//
|
||||||
// Below data structure is used for lockbox registration in SMST
|
// Below data structure is used for lockbox registration in SMST
|
||||||
|
@ -48,7 +48,7 @@ typedef struct {
|
||||||
LIST_ENTRY Link;
|
LIST_ENTRY Link;
|
||||||
} SMM_LOCK_BOX_DATA;
|
} SMM_LOCK_BOX_DATA;
|
||||||
|
|
||||||
#pragma pack(pop)
|
#pragma pack()
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue