1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-18 14:44:48 +00:00

BSD, use xlocale for thread safe functionality

This commit is contained in:
Calvin Rose 2024-05-18 14:11:05 -05:00
parent af232ef729
commit e6b73f8cd1

View File

@ -38,10 +38,13 @@
#include <string.h>
#include <sys/stat.h>
#include <signal.h>
#include <locale.h>
#ifdef JANET_BSD
#include <sys/sysctl.h>
#include <xlocale.h>
#else
#include <locale.h>
#endif
#ifdef JANET_LINUX