summaryrefslogtreecommitdiff
path: root/src/nonstd/__load_locale.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nonstd/__load_locale.c')
-rw-r--r--src/nonstd/__load_locale.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nonstd/__load_locale.c b/src/nonstd/__load_locale.c
new file mode 100644
index 00000000..193aa333
--- /dev/null
+++ b/src/nonstd/__load_locale.c
@@ -0,0 +1,4 @@
+#include <nonstd/locale.h>
+
+#define __load_locale(_loc, _mask, _name) \
+ ((char * (*)(struct __locale *, int, const char *))__libc(LOAD_LOCALE))(_loc, _mask, _name)