| Index: firmware/lib/cgptlib/include/gpt.h
|
| diff --git a/firmware/lib/cgptlib/include/gpt.h b/firmware/lib/cgptlib/include/gpt.h
|
| index 1d5cb58df071ad3c4e2b91c82e311f53a872c96f..b55f921a56bcdc6dbdacdfa3f19b6fbe2bee6477 100644
|
| --- a/firmware/lib/cgptlib/include/gpt.h
|
| +++ b/firmware/lib/cgptlib/include/gpt.h
|
| @@ -12,9 +12,7 @@
|
|
|
| #include "sysincludes.h"
|
|
|
| -#ifdef _MSC_VER
|
| -#pragma pack(push,1) /* Support packing for MSVC. */
|
| -#endif
|
| +__pragma(pack(push,1)) /* Support packing for MSVC. */
|
|
|
| #define GPT_HEADER_SIGNATURE "EFI PART"
|
| #define GPT_HEADER_SIGNATURE_SIZE sizeof(GPT_HEADER_SIGNATURE)
|
| @@ -117,8 +115,6 @@ typedef struct {
|
|
|
| #define GPTENTRY_EXPECTED_SIZE 128
|
|
|
| -#ifdef _MSC_VER
|
| -#pragma pack(pop) /* Support packing for MSVC. */
|
| -#endif
|
| +__pragma(pack(pop)) /* Support packing for MSVC. */
|
|
|
| #endif /* VBOOT_REFERENCE_CGPTLIB_GPT_H_ */
|
|
|