Skip to content

Commit 25ef93e

Browse files
committed
Exclude less common Windows API.
Fixes symbol redefinition in tests. Signed-off-by: irwir <irwir@users.noreply.github.com>
1 parent 7f4ae42 commit 25ef93e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

include/tf-psa-crypto/build_info.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@
8888
#endif
8989

9090
#if defined(_WIN32) && !defined(EFIX64) && !defined(EFI32)
91+
#if !defined(WIN32_LEAN_AND_MEAN)
92+
#define WIN32_LEAN_AND_MEAN
93+
#endif
9194
#include <winsock2.h>
9295
#endif
9396

0 commit comments

Comments
 (0)