am idn: drop checking for WINVER in addition to _WIN32_WINNT

This commit is contained in:
Viktor Szakats 2025-07-20 23:31:07 +02:00
parent ac404436f2
commit 6a7be6c56c
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -2834,8 +2834,7 @@ AS_HELP_STRING([--without-winidn], [disable Windows native IDN]),
AC_LANG_PROGRAM([[
#include <windows.h>
]],[[
#if (!defined(_WIN32_WINNT) || _WIN32_WINNT < 0x600) && \
(!defined(WINVER) || WINVER < 0x600)
#if !defined(_WIN32_WINNT) || _WIN32_WINNT < 0x600
WINBASEAPI int WINAPI IdnToUnicode(DWORD dwFlags,
const WCHAR *lpASCIICharStr,
int cchASCIIChar,