Revert "am idn: drop checking for WINVER in addition to _WIN32_WINNT"

This reverts commit 4fcbd994039e71753910e8f9fee12857c689aa2d.
This commit is contained in:
Viktor Szakats 2025-07-21 11:44:07 +02:00
parent 93e350af51
commit 622ee3ee7a
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

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