| Index: firmware/lib/include/vboot_struct.h
|
| diff --git a/firmware/lib/include/vboot_struct.h b/firmware/lib/include/vboot_struct.h
|
| index b33e46d568585b8d5e327de80270ca8c28d87dbe..e6240c7144598b5114959bdba71f7c15f5bd4a82 100644
|
| --- a/firmware/lib/include/vboot_struct.h
|
| +++ b/firmware/lib/include/vboot_struct.h
|
| @@ -11,7 +11,9 @@
|
|
|
| #include "sysincludes.h"
|
|
|
| -PACK_START /* Support packing for MSVC */
|
| +#ifdef _MSC_VER
|
| +#pragma pack(push, 1) /* Support packing for MSVC. */
|
| +#endif
|
|
|
| /* Public key data */
|
| typedef struct VbPublicKey {
|
| @@ -131,7 +133,8 @@ typedef struct VbKernelPreambleHeader {
|
|
|
| #define EXPECTED_VBKERNELPREAMBLEHEADER_SIZE 96
|
|
|
| -
|
| -PACK_STOP /* Support packing for MSVC */
|
| +#ifdef _MSC_VER
|
| +#pragma pack(pop) /* Support packing for MSVC. */
|
| +#endif
|
|
|
| #endif /* VBOOT_REFERENCE_VBOOT_STRUCT_H_ */
|
|
|