1 /* Replacement langinfo.h file for building GNU Emacs on Windows.
2 
3 Copyright (C) 2006-2021 Free Software Foundation, Inc.
4 
5 This file is part of GNU Emacs.
6 
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 (at
10 your option) any later version.
11 
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.
16 
17 You should have received a copy of the GNU General Public License
18 along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.  */
19 
20 #ifndef _LANGINFO_H
21 #define _LANGINFO_H
22 
23 #include <nl_types.h>
24 
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,
30   _NL_PAPER_WIDTH, _NL_PAPER_HEIGHT,
31 
32   /* Number of enumerated values.  */
33   _NL_NUM
34 };
35 
36 #define CODESET CODESET
37 
38 #define DAY_1	DAY_1
39 #define DAY_2	DAY_2
40 #define DAY_3	DAY_3
41 #define DAY_4	DAY_4
42 #define DAY_5	DAY_5
43 #define DAY_6	DAY_6
44 #define DAY_7	DAY_7
45 
46 #define MON_1	MON_1
47 #define MON_2	MON_2
48 #define MON_3	MON_3
49 #define MON_4	MON_4
50 #define MON_5	MON_5
51 #define MON_6	MON_6
52 #define MON_7	MON_7
53 #define MON_8	MON_8
54 #define MON_9	MON_9
55 #define MON_10	MON_10
56 #define MON_11	MON_11
57 #define MON_12	MON_12
58 
59 #define _NL_PAPER_WIDTH  _NL_PAPER_WIDTH
60 #define _NL_PAPER_HEIGHT _NL_PAPER_HEIGHT
61 
62 extern char *nl_langinfo (nl_item);
63 
64 #endif /* _LANGINFO_H */
65