Fix the MS-Windows build broken by SAFE_ALLOCA changes.
[emacs.git] / nt / inc / langinfo.h
blobc8bbe86d3ee4098aa2bd02c64b47040a1c7985b3
1 /* Replacement langinfo.h file for building GNU Emacs on Windows.
3 Copyright (C) 2006-2014 Free Software Foundation, Inc.
5 This file is part of GNU Emacs.
7 GNU Emacs is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
12 GNU Emacs is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20 #ifndef _LANGINFO_H
21 #define _LANGINFO_H
23 #include <nl_types.h>
25 enum {
26 CODESET,
27 DAY_1, DAY_2, DAY_3, DAY_4, DAY_5, DAY_6, DAY_7,
28 MON_1, MON_2, MON_3, MON_4, MON_5, MON_6, MON_7, MON_8, MON_9, MON_10,
29 MON_11, MON_12,
31 /* Number of enumerated values. */
32 _NL_NUM
35 #define CODESET CODESET
37 #define DAY_1 DAY_1
38 #define DAY_2 DAY_2
39 #define DAY_3 DAY_3
40 #define DAY_4 DAY_4
41 #define DAY_5 DAY_5
42 #define DAY_6 DAY_6
43 #define DAY_7 DAY_7
45 #define MON_1 MON_1
46 #define MON_2 MON_2
47 #define MON_3 MON_3
48 #define MON_4 MON_4
49 #define MON_5 MON_5
50 #define MON_6 MON_6
51 #define MON_7 MON_7
52 #define MON_8 MON_8
53 #define MON_9 MON_9
54 #define MON_10 MON_10
55 #define MON_11 MON_11
56 #define MON_12 MON_12
58 extern char *nl_langinfo (nl_item);
60 #endif /* _LANGINFO_H */