Merge branch 'master' into boehm-demers-weiser-gc
[bpt/guile.git] / libguile / locale-categories.h
1 /* Copyright (C) 2006, 2008 Free Software Foundation, Inc.
2 *
3 * This library is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Lesser General Public
5 * License as published by the Free Software Foundation; either
6 * version 2.1 of the License, or (at your option) any later version.
7 *
8 * This library is distributed in the hope that it will be useful,
9 * but 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.
12 *
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 02110-1301 USA
16 */
17
18 /* A list of all available locale categories, not including `ALL'. */
19
20
21 /* The six standard categories, as defined in IEEE Std 1003.1-2001. */
22 SCM_DEFINE_LOCALE_CATEGORY (COLLATE)
23 SCM_DEFINE_LOCALE_CATEGORY (CTYPE)
24
25 #ifdef LC_MESSAGES
26 /* MinGW doesn't have `LC_MESSAGES'. */
27 SCM_DEFINE_LOCALE_CATEGORY (MESSAGES)
28 #endif
29
30 SCM_DEFINE_LOCALE_CATEGORY (MONETARY)
31 SCM_DEFINE_LOCALE_CATEGORY (NUMERIC)
32 SCM_DEFINE_LOCALE_CATEGORY (TIME)
33
34 /* Additional non-standard categories. */
35 #ifdef LC_PAPER
36 SCM_DEFINE_LOCALE_CATEGORY (PAPER)
37 #endif
38 #ifdef LC_NAME
39 SCM_DEFINE_LOCALE_CATEGORY (NAME)
40 #endif
41 #ifdef LC_ADDRESS
42 SCM_DEFINE_LOCALE_CATEGORY (ADDRESS)
43 #endif
44 #ifdef LC_TELEPHONE
45 SCM_DEFINE_LOCALE_CATEGORY (TELEPHONE)
46 #endif
47 #ifdef LC_MEASUREMENT
48 SCM_DEFINE_LOCALE_CATEGORY (MEASUREMENT)
49 #endif
50 #ifdef LC_IDENTIFICATION
51 SCM_DEFINE_LOCALE_CATEGORY (IDENTIFICATION)
52 #endif