mirror of
https://github.com/openssl/openssl.git
synced 2025-02-17 14:32:04 +08:00
Explicitly #include <synchapi.h> is unnecessary
The header is already included by <windows.h> for WinSDK 8 or later. Actually this causes problem for WinSDK 7.1 (defaults for VS2010) that it does not have this header while SRW Locks do exist for Windows 7. CLA: trivial Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16603)
This commit is contained in:
parent
415e6ac804
commit
eeb612021e
@ -10,7 +10,6 @@
|
||||
#if defined(_WIN32)
|
||||
# include <windows.h>
|
||||
# if defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x600
|
||||
# include <synchapi.h>
|
||||
# define USE_RWLOCK
|
||||
# endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user