commit | 4dd74f2993902ccc685cde69c8cdd5d7f05130ea | [log] [tgz] |
---|---|---|
author | Kirill Makurin <maiddaisuki@outlook.com> | Sun Jul 13 06:30:06 2025 +0900 |
committer | LIU Hao <lh_mouse@126.com> | Sun Jul 13 15:02:53 2025 +0800 |
tree | 8886b3a62c30f3664633a023a6110700805c2d28 | |
parent | 7010671fa8d79b473eee6a63a07d46278a9d617b [diff] |
crt: fix compilation of tests for mbrlen, mbrtowc and wcrtomb funtions Compilation of tests for mbrlen, mbrtowc and wcrtomb fails with UCRT. UCRT's mbstate_t is a structure and cannot be directly assigned a value. To fix this, define a function to set mbstate_t's conversion state. Signed-off-by: Kirill Makurin <maiddaisuki@outlook.com> Signed-off-by: LIU Hao <lh_mouse@126.com>