#ifndef _XLOCALE_H_
#define _XLOCALE_H_
#include <sys/cdefs.h>
#ifndef _USE_EXTENDED_LOCALES_
#define _USE_EXTENDED_LOCALES_
#endif
#include <_locale.h>
#include <_xlocale.h>
#define LC_ALL_MASK ( LC_COLLATE_MASK \
| LC_CTYPE_MASK \
| LC_MESSAGES_MASK \
| LC_MONETARY_MASK \
| LC_NUMERIC_MASK \
| LC_TIME_MASK )
#define LC_COLLATE_MASK (1 << 0)
#define LC_CTYPE_MASK (1 << 1)
#define LC_MESSAGES_MASK (1 << 2)
#define LC_MONETARY_MASK (1 << 3)
#define LC_NUMERIC_MASK (1 << 4)
#define LC_TIME_MASK (1 << 5)
#define _LC_NUM_MASK 6
#define _LC_LAST_MASK (1 << (_LC_NUM_MASK - 1))
#define LC_GLOBAL_LOCALE ((locale_t)-1)
#define LC_C_LOCALE ((locale_t)NULL)
#ifdef MB_CUR_MAX
#undef MB_CUR_MAX
#define MB_CUR_MAX (___mb_cur_max())
#ifndef MB_CUR_MAX_L
#define MB_CUR_MAX_L(x) (___mb_cur_max_l(x))
#endif
#endif
__BEGIN_DECLS
extern const locale_t _c_locale;
locale_t duplocale(locale_t);
int freelocale(locale_t);
struct lconv * localeconv_l(locale_t);
locale_t newlocale(int, __const char *, locale_t);
__const char * querylocale(int, locale_t);
locale_t uselocale(locale_t);
__END_DECLS
#ifndef __DARWIN_XLOCALE_PRIVATE
#ifdef _CTYPE_H_
#include <xlocale/_ctype.h>
#endif
#ifdef __WCTYPE_H_
#include <xlocale/__wctype.h>
#endif
#ifdef _INTTYPES_H_
#include <xlocale/_inttypes.h>
#endif
#ifdef _LANGINFO_H_
#include <xlocale/_langinfo.h>
#endif
#ifdef _MONETARY_H_
#include <xlocale/_monetary.h>
#endif
#ifdef _REGEX_H_
#include <xlocale/_regex.h>
#endif
#ifdef _STDIO_H_
#include <xlocale/_stdio.h>
#endif
#ifdef _STDLIB_H_
#include <xlocale/_stdlib.h>
#endif
#ifdef _STRING_H_
#include <xlocale/_string.h>
#endif
#ifdef _TIME_H_
#include <xlocale/_time.h>
#endif
#ifdef _WCHAR_H_
#include <xlocale/_wchar.h>
#endif
#ifdef _WCTYPE_H_
#include <xlocale/_wctype.h>
#endif
#endif
#endif