tests: Use NUL instead of /dev/null on MinGW.
[bpt/guile.git] / libguile / locale-categories.h
CommitLineData
c5cd474d 1/* Copyright (C) 2006, 2008 Free Software Foundation, Inc.
5b3a39c7
LC
2 *
3 * This library is free software; you can redistribute it and/or
53befeb7
NJ
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.
5b3a39c7 7 *
53befeb7
NJ
8 * This library is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
5b3a39c7
LC
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
53befeb7
NJ
15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
16 * 02110-1301 USA
5b3a39c7
LC
17 */
18
19/* A list of all available locale categories, not including `ALL'. */
20
21
22/* The six standard categories, as defined in IEEE Std 1003.1-2001. */
23SCM_DEFINE_LOCALE_CATEGORY (COLLATE)
24SCM_DEFINE_LOCALE_CATEGORY (CTYPE)
c5cd474d
LC
25
26#ifdef LC_MESSAGES
27/* MinGW doesn't have `LC_MESSAGES'. */
5b3a39c7 28SCM_DEFINE_LOCALE_CATEGORY (MESSAGES)
c5cd474d
LC
29#endif
30
5b3a39c7
LC
31SCM_DEFINE_LOCALE_CATEGORY (MONETARY)
32SCM_DEFINE_LOCALE_CATEGORY (NUMERIC)
33SCM_DEFINE_LOCALE_CATEGORY (TIME)
34
35/* Additional non-standard categories. */
36#ifdef LC_PAPER
37SCM_DEFINE_LOCALE_CATEGORY (PAPER)
38#endif
39#ifdef LC_NAME
40SCM_DEFINE_LOCALE_CATEGORY (NAME)
41#endif
42#ifdef LC_ADDRESS
43SCM_DEFINE_LOCALE_CATEGORY (ADDRESS)
44#endif
45#ifdef LC_TELEPHONE
46SCM_DEFINE_LOCALE_CATEGORY (TELEPHONE)
47#endif
48#ifdef LC_MEASUREMENT
49SCM_DEFINE_LOCALE_CATEGORY (MEASUREMENT)
50#endif
51#ifdef LC_IDENTIFICATION
52SCM_DEFINE_LOCALE_CATEGORY (IDENTIFICATION)
53#endif