1
0
mirror of https://github.com/janet-lang/janet synced 2024-07-05 19:43:14 +00:00

Include locale.h and xlocale.h on some platforms.

This commit is contained in:
Calvin Rose 2024-05-19 17:40:39 -05:00
parent 58ccb66659
commit 2637b33957

View File

@ -46,6 +46,7 @@
#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(JANET_APPLE)
/* It seems only some bsds use this header for xlocale */
#include <locale.h>
#include <xlocale.h>
#define JANET_EXTENDED_LOCALE
#else