mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:31:41 +03:00
windows: target version macro tidy-ups
- autotools: stop checking for `WINVER` to detect thread-safety. To sync with implementation in `easy_lock.h` and with cmake. - replace numeric version with `_WIN32_WINNT_VISTA`. - `_WIN32_WINNT_VISTA` is always defined via `setup-win32.h`, don't check for it. Closes #17981
This commit is contained in:
parent
1074d6d727
commit
24f8442e6a
5 changed files with 5 additions and 7 deletions
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
#ifdef _WIN32
|
||||
|
||||
#if defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x600 && \
|
||||
#if defined(_WIN32_WINNT) && _WIN32_WINNT >= _WIN32_WINNT_VISTA && \
|
||||
!defined(CURL_WINDOWS_UWP)
|
||||
# define HAVE_WIN_BCRYPTGENRANDOM
|
||||
# include <bcrypt.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue