From b662e23219c2e9537a5fcddb0d630516bf33964b Mon Sep 17 00:00:00 2001 From: lixianjing Date: Thu, 19 Dec 2024 17:43:51 +0800 Subject: [PATCH] add towlower in wchar32 --- src/tkc/wchar32.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tkc/wchar32.c b/src/tkc/wchar32.c index b7790c369..fb90f0b92 100644 --- a/src/tkc/wchar32.c +++ b/src/tkc/wchar32.c @@ -500,5 +500,9 @@ wchar_t* wmemset(wchar_t* s, wchar_t c, size_t n) { int iswspace(wint_t ch) { return ch == ' '; } + +int towlower(wint_t ch) { + return tolower(ch); +} #endif/*WITH_WCSXXX*/