mirror of
https://github.com/curl/curl.git
synced 2026-06-06 21:34:17 +03:00
idn: drop checking for WINVER in addition to _WIN32_WINNT
This commit is contained in:
parent
ba22647a35
commit
ac404436f2
1 changed files with 1 additions and 2 deletions
|
|
@ -152,8 +152,7 @@ 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 < _WIN32_WINNT_VISTA) && \
|
||||
(!defined(WINVER) || WINVER < _WIN32_WINNT_VISTA)
|
||||
#if !defined(_WIN32_WINNT) || _WIN32_WINNT < _WIN32_WINNT_VISTA
|
||||
WINBASEAPI int WINAPI IdnToAscii(DWORD dwFlags,
|
||||
const WCHAR *lpUnicodeCharStr,
|
||||
int cchUnicodeChar,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue