mirror of
https://github.com/janet-lang/janet
synced 2025-11-05 18:13:37 +00:00
BSD, use xlocale for thread safe functionality
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user