From 951c8d210b7a648a9b3bdb13e0cb0435d26ce850 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Wed, 13 Nov 2024 09:36:06 +0100 Subject: Use portable alignment macro to be compatible with Linux/macOS --- src/Boot/Windows/BootCommon.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Boot/Windows/BootCommon.h b/src/Boot/Windows/BootCommon.h index c17058b8..0e6c973c 100644 --- a/src/Boot/Windows/BootCommon.h +++ b/src/Boot/Windows/BootCommon.h @@ -14,6 +14,7 @@ #define TC_HEADER_Boot_BootCommon #include "Common/Password.h" +#include "Crypto/config.h" #include "BootDefs.h" // The user will be advised to upgrade the rescue disk if upgrading from the following or any previous version @@ -58,7 +59,7 @@ typedef struct uint16 CryptoInfoOffset; uint16 CryptoInfoLength; uint32 HeaderSaltCrc32; - __declspec(align(8)) PasswordLegacy BootPassword; + CRYPTOPP_ALIGN_DATA(8) PasswordLegacy BootPassword; uint64 HiddenSystemPartitionStart; uint64 DecoySystemPartitionStart; uint32 Flags; -- cgit v1.2.3