mirror of
https://github.com/janet-lang/janet
synced 2025-06-30 09:02:53 +00:00
BSD, use xlocale for thread safe functionality
This commit is contained in:
parent
af232ef729
commit
e6b73f8cd1
@ -38,10 +38,13 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <locale.h>
|
|
||||||
|
|
||||||
#ifdef JANET_BSD
|
#ifdef JANET_BSD
|
||||||
#include <sys/sysctl.h>
|
#include <sys/sysctl.h>
|
||||||
|
#include <xlocale.h>
|
||||||
|
#else
|
||||||
|
#include <locale.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef JANET_LINUX
|
#ifdef JANET_LINUX
|
||||||
|
Loading…
x
Reference in New Issue
Block a user