From 622ee3ee7a558e77b05e1dffc80feacd26224bea Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 21 Jul 2025 11:44:07 +0200 Subject: [PATCH] Revert "am idn: drop checking for WINVER in addition to _WIN32_WINNT" This reverts commit 4fcbd994039e71753910e8f9fee12857c689aa2d. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index faf8321338..16f14cbc61 100644 --- a/configure.ac +++ b/configure.ac @@ -2834,7 +2834,8 @@ AS_HELP_STRING([--without-winidn], [disable Windows native IDN]), AC_LANG_PROGRAM([[ #include ]],[[ - #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,