mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-11 12:55:27 +08:00
libc.c: Include xlocale.h under macOS
This commit is contained in:
parent
c959bcbb57
commit
c53a494f52
@ -8,6 +8,11 @@
|
||||
#include <term.h>
|
||||
#include <unistd.h>
|
||||
|
||||
// LC_GLOBAL_LOCALE and locale_t are in xlocale.h on macOS
|
||||
#ifdef __APPLE__
|
||||
#include <xlocale.h>
|
||||
#endif
|
||||
|
||||
#define UNUSED(x) (void)(x)
|
||||
|
||||
size_t C_MB_CUR_MAX() { return MB_CUR_MAX; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user