-
Notifications
You must be signed in to change notification settings - Fork 16
/
config-uclibc.h
226 lines (178 loc) · 5.49 KB
/
config-uclibc.h
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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
/* config-uclibc.h. config.h replacement for i386 and x86_64 Linux uClibc; xstatic; Darwin (macOS) */
/* config.h.in. Generated automatically from configure.in by autoheader. */
/* Define if using alloca.c. */
/* #undef C_ALLOCA */
/* Define if type char is unsigned and you are not using gcc. */
#ifndef __CHAR_UNSIGNED__
/* #undef __CHAR_UNSIGNED__ */
#endif
/* Define to empty if the keyword does not work. */
/* #undef const */
/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
This function is required for alloca.c support on those systems. */
/* #undef CRAY_STACKSEG_END */
/* Define if you have alloca, as a function or macro. */
#define HAVE_ALLOCA 1
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
#define HAVE_ALLOCA_H 1
/* Define if you have the ANSI # stringizing operator in cpp. */
/* #undef HAVE_STRINGIZE */
/* Define to `unsigned' if <sys/types.h> doesn't define. */
/* #undef size_t */
/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
automatically deduced at run-time.
STACK_DIRECTION > 0 => grows toward higher addresses
STACK_DIRECTION < 0 => grows toward lower addresses
STACK_DIRECTION = 0 => direction of growth unknown
*/
/* #undef STACK_DIRECTION */
/* Define if you have the ANSI C header files. */
/* #undef STDC_HEADERS */
/* A type name of a signed integral type of exactly 16 bits. Always defined.
*/
#define PTS_INT16_T short
/* A type name of a signed integral type of exactly 32 bits. Always defined.
*/
#define PTS_INT32_T int
/* A type name of a signed integral type of exactly 64 bits. Maybe left
* 0-defined.
*/
#define PTS_INT64_T long long
/* A type name of a signed integral type of exactly 128 bits. Maybe left
* 0-defined.
*/
#define PTS_INT128_T 0
/* A type name of a signed integral type which has space to hold a pointer.
* Always defined.
*/
#define PTS_INTP_T int
/* Imp: document this
*/
#define PTS_INTP_OK 1
/* Imp: document this
*/
/* #undef PTS_mode_t */
/* Imp: document this
*/
/* #undef PTS_off_t */
/* Imp: document this
*/
/* #undef PTS_pid_t */
/* Imp: document this
*/
#define PTS_size_t unsigned int
/* Just a dummy, non-existent type.
*/
/* #undef PTS_size_tt */
/* Imp: document this
*/
/* #undef PTS_uid_t */
/* Imp: document this
*/
/* #undef PTS_gid_t */
/* Imp: document this
*/
/* #undef PTS_dev_t */
/* Does the C compiler support prototypes?
*/
#define HAVE_PROTOTYPES 1
/* Define to empty if the keyword does not work.
*/
/* #undef volatile */
/* Imp: document this
*/
#define HAVE_strcpy_in_string 1
/* Imp: document this
*/
/* #undef HAVE_strcpy_in_strings */
/* Imp: document these
*/
/* #undef HAVE_MEMCMPY_BUILTIN */
#define HAVE_getc_in_stdio 1
#define HAVE_fgetc_in_stdio 1
#define HAVE_putc_in_stdio 1
#define HAVE_fputc_in_stdio 1
#define HAVE_atoi_in_stdlib 1
/* #undef HAVE_malloc_in_malloc */
#define HAVE_malloc_in_stdlib 1
#define HAVE_memcpy_in_stringxs 1
#define HAVE_sprintf_in_stdio 1
#define HAVE_write_in_unistd 1
#define HAVE_system_in_stdlib 1
#define HAVE_lstat_in_sys_stat 1
#define HAVE_PTS_STDC 1
/* #undef HAVE_SWITCH_ENUM_BUG */
#define HAVE_ASCII_SYSTEM 1
#define PTS_CFG_P_TMPDIR "/tmp"
/** "" or ".16", so composing "%.16g" for printing doubles with printf(3)
* will just print enough digits
*/
#define PTS_CFG_PRINTFGLEN ".16"
/* Is the file c_gcc.cpp required for gcc when linking C++ programs? */
#define HAVE_PTS_C_LGCC_CPP_REQUIRED 1
/* #undef HAVE_PTS_C_LGCC3_CPP_REQUIRED */
/** Does the C library have a working vsnprintf()? */
/* #undef HAVE_PTS_VSNPRINTF */
/* #undef HAVE_PTS_VSNPRINTF_OLD */
/* #undef HAVE_PTS_VSNPRINTF_C99 */
/** What shell does the C library system(3) function call? */
#define HAVE_PTS_SYSTEMF 1
/* #undef HAVE_PTS_SYSTEMF_WIN32 */
#define HAVE_PTS_SYSTEMF_UNIX 1
/* #undef HAVE_PTS_SYSTEMF_OTHER */
/** popen("...","wb") and "rb" works binary */
/* #undef HAVE_PTS_POPEN_B */
/** popen("...","w") and "r" works binary */
#define HAVE_PTS_POPEN_ 1
/* The number of bytes in a __int64. */
#define SIZEOF___INT64 0
/* The number of bytes in a bool. */
#define SIZEOF_BOOL 1
/* The number of bytes in a char. */
#define SIZEOF_CHAR 1
/* The number of bytes in a char *. */
#define SIZEOF_CHAR_P 4
/* The number of bytes in a int. */
#define SIZEOF_INT 4
/* The number of bytes in a long. */
#define SIZEOF_LONG 4
/* The number of bytes in a long long. */
#define SIZEOF_LONG_LONG 8
/* The number of bytes in a short. */
#define SIZEOF_SHORT 2
/* The number of bytes in a very long. */
#define SIZEOF_VERY_LONG 0
/* The number of bytes in a void *. */
#define SIZEOF_VOID_P 4
/* Can have static const int VARNAME=1; inside a class { ... } ? */
#define HAVE_STATIC_CONST 1
/* sam2p-specific */
#define USE_BUILTIN_ZIP 1
#define USE_BUILTIN_FAXE 1
#define USE_BUILTIN_LZW 1
#define USE_IN_GIF 1
#define USE_OUT_GIF 1
/* All above are for i386. This fixes it for amd64 in gcc and clang. */
#if defined(_LP64) || \
defined(__LP64__) || \
defined(__amd64) || \
defined(__amd64__) || \
defined(__x86_64) || \
defined(__x86_64__) || \
__POINTER_WIDTH__ == 64 || \
__PTRDIFF_WIDTH__ == 64 || \
__SIZE_WIDTH__ == 64
# undef PTS_INTP_T
# define PTS_INTP_T long
# undef PTS_INT64_T
# define PTS_INT64_T long
# undef PTS_size_t
# define PTS_size_t unsigned long
# undef SIZEOF_CHAR_P
# define SIZEOF_CHAR_P 8
# undef SIZEOF_LONG
# define SIZEOF_LONG 8
# undef SIZEOF_VOID_P
# define SIZEOF_VOID_P 8
#endif