mirror of
https://github.com/curl/curl.git
synced 2026-06-06 21:24:15 +03:00
use _WIN32_WINNT_VISTA instead of literal
This commit is contained in:
parent
1074d6d727
commit
c35c99c98e
2 changed files with 3 additions and 3 deletions
|
|
@ -152,8 +152,8 @@ static CURLcode mac_ascii_to_idn(const char *in, char **out)
|
|||
#ifdef USE_WIN32_IDN
|
||||
/* using Windows kernel32 and normaliz libraries. */
|
||||
|
||||
#if (!defined(_WIN32_WINNT) || _WIN32_WINNT < 0x600) && \
|
||||
(!defined(WINVER) || WINVER < 0x600)
|
||||
#if (!defined(_WIN32_WINNT) || _WIN32_WINNT < _WIN32_WINNT_VISTA) && \
|
||||
(!defined(WINVER) || WINVER < _WIN32_WINNT_VISTA)
|
||||
WINBASEAPI int WINAPI IdnToAscii(DWORD dwFlags,
|
||||
const WCHAR *lpUnicodeCharStr,
|
||||
int cchUnicodeChar,
|
||||
|
|
|
|||
|
|
@ -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