From 4c131caa7d8cfbd412e5b30f9c95a9a6338e9d6e Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Tue, 28 Jul 2020 12:30:12 +0200 Subject: api: honor locale when comparing case-insensitive MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Quote from MSDN: > You will need to call setlocale for _wcsicmp to work with Latin 1 > characters. The C locale is in effect by default, so, for example, ä > will not compare equal to Ä. Signed-off-by: Simon Rozman --- api/pch.h | 1 + 1 file changed, 1 insertion(+) (limited to 'api/pch.h') diff --git a/api/pch.h b/api/pch.h index 5767deb..1e0b311 100644 --- a/api/pch.h +++ b/api/pch.h @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3-59-g8ed1b