mirror of
https://github.com/curl/curl.git
synced 2026-06-06 14:44:16 +03:00
idn: restore WINVER check
This commit is contained in:
parent
622ee3ee7a
commit
22fcb22f69
1 changed files with 2 additions and 1 deletions
|
|
@ -152,7 +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
|
||||
#if (!defined(_WIN32_WINNT) || _WIN32_WINNT < _WIN32_WINNT_VISTA) && \
|
||||
(!defined(WINVER) || WINVER < 0x600)
|
||||
WINBASEAPI int WINAPI IdnToAscii(DWORD dwFlags,
|
||||
const WCHAR *lpUnicodeCharStr,
|
||||
int cchUnicodeChar,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue