File: perl_langinfo.h

package info (click to toggle)
perl 5.28.1-6%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 115,032 kB
  • sloc: perl: 599,825; ansic: 593,575; sh: 68,835; pascal: 8,034; cpp: 4,103; makefile: 2,506; xml: 2,410; yacc: 1,120; sed: 6; lisp: 1
file content (190 lines) | stat: -rw-r--r-- 2,914 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
/* Replaces <langinfo.h>, and allows our code to work on systems that don't
 * have that. */

#ifndef PERL_LANGINFO_H
#define PERL_LANGINFO_H 1

#include "config.h"

#if defined(HAS_NL_LANGINFO) && defined(I_LANGINFO)
#   include <langinfo.h>
#endif

/* NOTE that this file is parsed by ext/XS-APItest/t/locale.t, so be careful
 * with changes */

/* If foo doesn't exist define it to a negative number. */

#ifndef CODESET
#  define CODESET -1
#endif
#ifndef D_T_FMT
#  define D_T_FMT -2
#endif
#ifndef D_FMT
#  define D_FMT -3
#endif
#ifndef T_FMT
#  define T_FMT -4
#endif
#ifndef T_FMT_AMPM
#  define T_FMT_AMPM -5
#endif
#ifndef AM_STR
#  define AM_STR -6
#endif
#ifndef PM_STR
#  define PM_STR -7
#endif
#ifndef DAY_1
#  define DAY_1 -8
#endif
#ifndef DAY_2
#  define DAY_2 -9
#endif
#ifndef DAY_3
#  define DAY_3 -10
#endif
#ifndef DAY_4
#  define DAY_4 -11
#endif
#ifndef DAY_5
#  define DAY_5 -12
#endif
#ifndef DAY_6
#  define DAY_6 -13
#endif
#ifndef DAY_7
#  define DAY_7 -14
#endif
#ifndef ABDAY_1
#  define ABDAY_1 -15
#endif
#ifndef ABDAY_2
#  define ABDAY_2 -16
#endif
#ifndef ABDAY_3
#  define ABDAY_3 -17
#endif
#ifndef ABDAY_4
#  define ABDAY_4 -18
#endif
#ifndef ABDAY_5
#  define ABDAY_5 -19
#endif
#ifndef ABDAY_6
#  define ABDAY_6 -20
#endif
#ifndef ABDAY_7
#  define ABDAY_7 -21
#endif
#ifndef MON_1
#  define MON_1 -22
#endif
#ifndef MON_2
#  define MON_2 -23
#endif
#ifndef MON_3
#  define MON_3 -24
#endif
#ifndef MON_4
#  define MON_4 -25
#endif
#ifndef MON_5
#  define MON_5 -26
#endif
#ifndef MON_6
#  define MON_6 -27
#endif
#ifndef MON_7
#  define MON_7 -28
#endif
#ifndef MON_8
#  define MON_8 -29
#endif
#ifndef MON_9
#  define MON_9 -30
#endif
#ifndef MON_10
#  define MON_10 -31
#endif
#ifndef MON_11
#  define MON_11 -32
#endif
#ifndef MON_12
#  define MON_12 -33
#endif
#ifndef ABMON_1
#  define ABMON_1 -34
#endif
#ifndef ABMON_2
#  define ABMON_2 -35
#endif
#ifndef ABMON_3
#  define ABMON_3 -36
#endif
#ifndef ABMON_4
#  define ABMON_4 -37
#endif
#ifndef ABMON_5
#  define ABMON_5 -38
#endif
#ifndef ABMON_6
#  define ABMON_6 -39
#endif
#ifndef ABMON_7
#  define ABMON_7 -40
#endif
#ifndef ABMON_8
#  define ABMON_8 -41
#endif
#ifndef ABMON_9
#  define ABMON_9 -42
#endif
#ifndef ABMON_10
#  define ABMON_10 -43
#endif
#ifndef ABMON_11
#  define ABMON_11 -44
#endif
#ifndef ABMON_12
#  define ABMON_12 -45
#endif
#ifndef ERA
#  define ERA -46
#endif
#ifndef ERA_D_FMT
#  define ERA_D_FMT -47
#endif
#ifndef ERA_D_T_FMT
#  define ERA_D_T_FMT -48
#endif
#ifndef ERA_T_FMT
#  define ERA_T_FMT -49
#endif
#ifndef ALT_DIGITS
#  define ALT_DIGITS -50
#endif
#ifndef RADIXCHAR
#  define RADIXCHAR -51
#endif
#ifndef THOUSEP
#  define THOUSEP -52
#endif
#ifndef YESEXPR
#  define YESEXPR -53
#endif
#ifndef YESSTR
#  define YESSTR -54
#endif
#ifndef NOEXPR
#  define NOEXPR -55
#endif
#ifndef NOSTR
#  define NOSTR -56
#endif
#ifndef CRNCYSTR
#  define CRNCYSTR -57
#endif

#endif