add check for setlocale in C library
Microsoft CRT and glibc have setlocale, but bionic doesn't
This commit is contained in:
parent
d6783f8e2c
commit
4e14c9f59c
3 changed files with 26 additions and 0 deletions
7
src/check/check_setlocale.c
Normal file
7
src/check/check_setlocale.c
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#include <locale.h>
|
||||
|
||||
int main(int, char**) {
|
||||
setlocale(LC_CTYPE,"");
|
||||
setlocale(LC_MESSAGES,"");
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue