diff options
author | Kelvin Lee <kiyolee@gmail.com> | 2021-09-14 09:55:50 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-09-23 14:07:18 +0200 |
commit | eeb612021e220de734e1ff08499f42bb962c3916 (patch) | |
tree | 33caa9667f57ed3fbd90e69f26ab92bdb91a07c6 /crypto/threads_win.c | |
parent | increase x509 code coverage metrics (diff) | |
download | openssl-eeb612021e220de734e1ff08499f42bb962c3916.tar.xz openssl-eeb612021e220de734e1ff08499f42bb962c3916.zip |
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)
Diffstat (limited to 'crypto/threads_win.c')
-rw-r--r-- | crypto/threads_win.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/threads_win.c b/crypto/threads_win.c index fdc32a2a54..d65b3826d9 100644 --- a/crypto/threads_win.c +++ b/crypto/threads_win.c @@ -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 |