add check for setlocale in C library

Microsoft CRT and glibc have setlocale, but bionic doesn't
This commit is contained in:
tildearrow 2024-06-09 04:27:48 -05:00
parent d6783f8e2c
commit 4e14c9f59c
3 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,7 @@
#include <locale.h>
int main(int, char**) {
setlocale(LC_CTYPE,"");
setlocale(LC_MESSAGES,"");
return 0;
}