1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Fix Mbed-TLS build when WIN32_LEAN_AND_MEAN macro is defined globally

Signed-off-by: Sergey Markelov <sergey@solidstatenetworks.com>
This commit is contained in:
Sergey Markelov
2024-08-14 15:06:03 -07:00
parent 70658db50a
commit 68c0e3d3a6
2 changed files with 4 additions and 0 deletions

View File

@@ -152,7 +152,9 @@ static int mbedtls_a64_crypto_sha256_determine_support(void)
return 1;
}
#elif defined(MBEDTLS_PLATFORM_IS_WINDOWS_ON_ARM64)
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#include <Windows.h>
#include <processthreadsapi.h>