#include <xlocale.h> header on OS X

This commit is contained in:
Thomas Krijnen
2015-02-20 22:02:22 +00:00
parent 8c7346a669
commit ab4d3b8cad
+3
View File
@@ -49,6 +49,9 @@ void init_locale() {
}
}
#else
#ifdef __APPLE__
#include <xlocale.h>
#endif
static locale_t locale = (locale_t) 0;
void init_locale() {
if (locale == (locale_t) 0) {