Explicitly #include <synchapi.h> is unnecessary
authorKelvin Lee <kiyolee@gmail.com>
Tue, 14 Sep 2021 07:55:50 +0000 (17:55 +1000)
committerTomas Mraz <tomas@openssl.org>
Thu, 23 Sep 2021 12:07:18 +0000 (14:07 +0200)
commiteeb612021e220de734e1ff08499f42bb962c3916
tree33caa9667f57ed3fbd90e69f26ab92bdb91a07c6
parent415e6ac80405e13b20b083315747e431274fbd33
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)
crypto/threads_win.c