1 /* Copyright (C) 2006, 2008, 2014 Free Software Foundation, Inc.
3 * This library is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Lesser General Public License
5 * as published by the Free Software Foundation; either version 3 of
6 * the License, or (at your option) any later version.
8 * This library is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
13 * You should have received a copy of the GNU Lesser General Public
14 * License along with this library; if not, write to the Free Software
15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19 /* A list of all available locale categories, not including `ALL'. */
22 /* The six standard categories, as defined in IEEE Std 1003.1-2001. */
23 SCM_DEFINE_LOCALE_CATEGORY (COLLATE
)
24 SCM_DEFINE_LOCALE_CATEGORY (CTYPE
)
26 #if defined(LC_MESSAGES) && !(defined(LC_MAX) && LC_MESSAGES > LC_MAX)
27 /* MinGW doesn't have `LC_MESSAGES'. libintl.h might define
28 `LC_MESSAGES' for MinGW to an arbitrary large value which we cannot
29 use in a call to `setlocale'. */
30 SCM_DEFINE_LOCALE_CATEGORY (MESSAGES
)
33 SCM_DEFINE_LOCALE_CATEGORY (MONETARY
)
34 SCM_DEFINE_LOCALE_CATEGORY (NUMERIC
)
35 SCM_DEFINE_LOCALE_CATEGORY (TIME
)
37 /* Additional non-standard categories. */
39 SCM_DEFINE_LOCALE_CATEGORY (PAPER
)
42 SCM_DEFINE_LOCALE_CATEGORY (NAME
)
45 SCM_DEFINE_LOCALE_CATEGORY (ADDRESS
)
48 SCM_DEFINE_LOCALE_CATEGORY (TELEPHONE
)
51 SCM_DEFINE_LOCALE_CATEGORY (MEASUREMENT
)
53 #ifdef LC_IDENTIFICATION
54 SCM_DEFINE_LOCALE_CATEGORY (IDENTIFICATION
)