VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2024-11-13 09:36:06 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2024-11-13 09:36:06 +0100
commit951c8d210b7a648a9b3bdb13e0cb0435d26ce850 (patch)
tree560c79389795574a7d2883daa59d3e981fa62e34 /src
parent75152f7dc0279c9468bfa08e283f1b0b9d87d9cc (diff)
downloadVeraCrypt-master.tar.gz
VeraCrypt-master.zip
Use portable alignment macro to be compatible with Linux/macOSHEADmaster
Diffstat (limited to 'src')
-rw-r--r--src/Boot/Windows/BootCommon.h3
1 files changed, 2 insertions, 1 deletions
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
@@ -16,2 +16,3 @@
#include "Common/Password.h"
+#include "Crypto/config.h"
#include "BootDefs.h"
@@ -60,3 +61,3 @@ typedef struct
uint32 HeaderSaltCrc32;
- __declspec(align(8)) PasswordLegacy BootPassword;
+ CRYPTOPP_ALIGN_DATA(8) PasswordLegacy BootPassword;
uint64 HiddenSystemPartitionStart;