commit | 68c0e3d3a6715e8654481b5c57f7c3fa029ca26d | [log] [tgz] |
---|---|---|
author | Sergey Markelov <sergey@solidstatenetworks.com> | Wed Aug 14 15:06:03 2024 -0700 |
committer | Sergey Markelov <sergey@solidstatenetworks.com> | Wed Aug 14 15:22:37 2024 -0700 |
tree | 50bd6a6d743af8968b3d810f41b5db6c6840ca7d | |
parent | 70658db50a741117bd88bc698496e31274d732ae [diff] [blame] |
Fix Mbed-TLS build when WIN32_LEAN_AND_MEAN macro is defined globally Signed-off-by: Sergey Markelov <sergey@solidstatenetworks.com>
diff --git a/library/sha256.c b/library/sha256.c index 8b2c345..159accc 100644 --- a/library/sha256.c +++ b/library/sha256.c
@@ -152,7 +152,9 @@ 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>