Commit | Line | Data |
---|---|---|
f7416781 KW |
1 | /* Replaces <langinfo.h>, and allows our code to work on systems that don't |
2 | * have that. */ | |
3 | ||
4 | #ifndef PERL_LANGINFO_H | |
5 | #define PERL_LANGINFO_H 1 | |
6 | ||
7 | #include "config.h" | |
8 | ||
9 | #if defined(HAS_NL_LANGINFO) && defined(I_LANGINFO) | |
10 | # include <langinfo.h> | |
11 | #endif | |
12 | ||
13 | /* NOTE that this file is parsed by ext/XS-APItest/t/locale.t, so be careful | |
14 | * with changes */ | |
15 | ||
6c34d5cd | 16 | /* If foo doesn't exist define it to a negative number. */ |
f7416781 | 17 | |
4e6826bf KW |
18 | #ifndef CODESET |
19 | # define CODESET -1 | |
20 | #endif | |
21 | #ifndef D_T_FMT | |
22 | # define D_T_FMT -2 | |
23 | #endif | |
24 | #ifndef D_FMT | |
25 | # define D_FMT -3 | |
26 | #endif | |
27 | #ifndef T_FMT | |
28 | # define T_FMT -4 | |
29 | #endif | |
30 | #ifndef T_FMT_AMPM | |
31 | # define T_FMT_AMPM -5 | |
32 | #endif | |
33 | #ifndef AM_STR | |
34 | # define AM_STR -6 | |
35 | #endif | |
36 | #ifndef PM_STR | |
37 | # define PM_STR -7 | |
38 | #endif | |
39 | #ifndef DAY_1 | |
40 | # define DAY_1 -8 | |
41 | #endif | |
42 | #ifndef DAY_2 | |
43 | # define DAY_2 -9 | |
44 | #endif | |
45 | #ifndef DAY_3 | |
46 | # define DAY_3 -10 | |
47 | #endif | |
48 | #ifndef DAY_4 | |
49 | # define DAY_4 -11 | |
50 | #endif | |
51 | #ifndef DAY_5 | |
52 | # define DAY_5 -12 | |
53 | #endif | |
54 | #ifndef DAY_6 | |
55 | # define DAY_6 -13 | |
56 | #endif | |
57 | #ifndef DAY_7 | |
58 | # define DAY_7 -14 | |
59 | #endif | |
60 | #ifndef ABDAY_1 | |
61 | # define ABDAY_1 -15 | |
62 | #endif | |
63 | #ifndef ABDAY_2 | |
64 | # define ABDAY_2 -16 | |
65 | #endif | |
66 | #ifndef ABDAY_3 | |
67 | # define ABDAY_3 -17 | |
68 | #endif | |
69 | #ifndef ABDAY_4 | |
70 | # define ABDAY_4 -18 | |
71 | #endif | |
72 | #ifndef ABDAY_5 | |
73 | # define ABDAY_5 -19 | |
74 | #endif | |
75 | #ifndef ABDAY_6 | |
76 | # define ABDAY_6 -20 | |
77 | #endif | |
78 | #ifndef ABDAY_7 | |
79 | # define ABDAY_7 -21 | |
80 | #endif | |
81 | #ifndef MON_1 | |
82 | # define MON_1 -22 | |
83 | #endif | |
84 | #ifndef MON_2 | |
85 | # define MON_2 -23 | |
86 | #endif | |
87 | #ifndef MON_3 | |
88 | # define MON_3 -24 | |
89 | #endif | |
90 | #ifndef MON_4 | |
91 | # define MON_4 -25 | |
92 | #endif | |
93 | #ifndef MON_5 | |
94 | # define MON_5 -26 | |
95 | #endif | |
96 | #ifndef MON_6 | |
97 | # define MON_6 -27 | |
98 | #endif | |
99 | #ifndef MON_7 | |
100 | # define MON_7 -28 | |
101 | #endif | |
102 | #ifndef MON_8 | |
103 | # define MON_8 -29 | |
104 | #endif | |
105 | #ifndef MON_9 | |
106 | # define MON_9 -30 | |
107 | #endif | |
108 | #ifndef MON_10 | |
109 | # define MON_10 -31 | |
110 | #endif | |
111 | #ifndef MON_11 | |
112 | # define MON_11 -32 | |
113 | #endif | |
114 | #ifndef MON_12 | |
115 | # define MON_12 -33 | |
116 | #endif | |
117 | #ifndef ABMON_1 | |
118 | # define ABMON_1 -34 | |
119 | #endif | |
120 | #ifndef ABMON_2 | |
121 | # define ABMON_2 -35 | |
122 | #endif | |
123 | #ifndef ABMON_3 | |
124 | # define ABMON_3 -36 | |
125 | #endif | |
126 | #ifndef ABMON_4 | |
127 | # define ABMON_4 -37 | |
128 | #endif | |
129 | #ifndef ABMON_5 | |
130 | # define ABMON_5 -38 | |
131 | #endif | |
132 | #ifndef ABMON_6 | |
133 | # define ABMON_6 -39 | |
134 | #endif | |
135 | #ifndef ABMON_7 | |
136 | # define ABMON_7 -40 | |
137 | #endif | |
138 | #ifndef ABMON_8 | |
139 | # define ABMON_8 -41 | |
140 | #endif | |
141 | #ifndef ABMON_9 | |
142 | # define ABMON_9 -42 | |
143 | #endif | |
144 | #ifndef ABMON_10 | |
145 | # define ABMON_10 -43 | |
146 | #endif | |
147 | #ifndef ABMON_11 | |
148 | # define ABMON_11 -44 | |
149 | #endif | |
150 | #ifndef ABMON_12 | |
151 | # define ABMON_12 -45 | |
152 | #endif | |
153 | #ifndef ERA | |
154 | # define ERA -46 | |
155 | #endif | |
156 | #ifndef ERA_D_FMT | |
157 | # define ERA_D_FMT -47 | |
158 | #endif | |
159 | #ifndef ERA_D_T_FMT | |
160 | # define ERA_D_T_FMT -48 | |
161 | #endif | |
162 | #ifndef ERA_T_FMT | |
163 | # define ERA_T_FMT -49 | |
164 | #endif | |
165 | #ifndef ALT_DIGITS | |
166 | # define ALT_DIGITS -50 | |
167 | #endif | |
168 | #ifndef RADIXCHAR | |
169 | # define RADIXCHAR -51 | |
170 | #endif | |
171 | #ifndef THOUSEP | |
172 | # define THOUSEP -52 | |
173 | #endif | |
174 | #ifndef YESEXPR | |
175 | # define YESEXPR -53 | |
176 | #endif | |
177 | #ifndef YESSTR | |
178 | # define YESSTR -54 | |
179 | #endif | |
180 | #ifndef NOEXPR | |
181 | # define NOEXPR -55 | |
182 | #endif | |
183 | #ifndef NOSTR | |
184 | # define NOSTR -56 | |
185 | #endif | |
186 | #ifndef CRNCYSTR | |
187 | # define CRNCYSTR -57 | |
f7416781 KW |
188 | #endif |
189 | ||
190 | #endif |