1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Windows: Add support for x86 and x64 build for driver and binaries using Visual Studio 2019

We also enable Control Flow Guard and Spectre Mitigation
This commit is contained in:
Mounir IDRASSI
2024-09-08 17:14:31 +02:00
parent 66ce6998b6
commit 4a8f068ba5
26 changed files with 2518 additions and 168 deletions

View File

@@ -108,6 +108,12 @@ typedef unsigned __int64 uint64;
#define LL(x) x##ui64
#endif
#if _MSC_VER > 1900
#define VC_CDECL __cdecl // this is needed because Windows driver on VS2019 uses stdcall for build
#else
#define VC_CDECL
#endif
#pragma warning( disable : 4201 ) // disable: 4201 nonstandard extension used : nameless struct/union
#pragma warning( disable : 4324 ) // disable: 4324 structure was padded due to __declspec(align())