Commit | Line | Data |
---|---|---|
840565a7 | 1 | /* This file was produced by running the config_h.SH script, which |
3789aae2 | 2 | * gets its values from undef, which is generally produced by |
a835ef8a NIS |
3 | * running Configure. |
4 | * | |
5 | * Feel free to modify any of this as the need arises. Note, however, | |
6 | * that running config_h.SH again will wipe out any changes you've made. | |
3789aae2 | 7 | * For a more permanent change edit undef and rerun config_h.SH. |
a835ef8a NIS |
8 | */ |
9 | ||
840565a7 | 10 | /* Package name : perl5 |
07ba5892 | 11 | * Source directory : |
f65cb320 | 12 | * Configuration time: Tue Oct 17 08:44:03 2017 |
ec2a15bb | 13 | * Configured by : shay |
924b3ec4 | 14 | * Target system : |
a835ef8a NIS |
15 | */ |
16 | ||
17 | #ifndef _config_h_ | |
18 | #define _config_h_ | |
19 | ||
924b3ec4 GS |
20 | /* LOC_SED: |
21 | * This symbol holds the complete pathname to the sed program. | |
a835ef8a | 22 | */ |
924b3ec4 | 23 | #define LOC_SED "" /**/ |
a835ef8a | 24 | |
a835ef8a NIS |
25 | /* HAS_ALARM: |
26 | * This symbol, if defined, indicates that the alarm routine is | |
27 | * available. | |
28 | */ | |
1018e26f | 29 | #define HAS_ALARM /**/ |
a835ef8a | 30 | |
f65cb320 SH |
31 | /* HAS_CBRT: |
32 | * This symbol, if defined, indicates that the cbrt() (cube root) | |
33 | * function is available. | |
34 | */ | |
35 | /*#define HAS_CBRT / **/ | |
36 | ||
a835ef8a NIS |
37 | /* HAS_CHOWN: |
38 | * This symbol, if defined, indicates that the chown routine is | |
39 | * available. | |
40 | */ | |
f3b9bb7d | 41 | /*#define HAS_CHOWN / **/ |
a835ef8a NIS |
42 | |
43 | /* HAS_CHROOT: | |
44 | * This symbol, if defined, indicates that the chroot routine is | |
45 | * available. | |
46 | */ | |
f3b9bb7d | 47 | /*#define HAS_CHROOT / **/ |
a835ef8a NIS |
48 | |
49 | /* HAS_CHSIZE: | |
50 | * This symbol, if defined, indicates that the chsize routine is available | |
51 | * to truncate files. You might need a -lx to get this routine. | |
52 | */ | |
53 | #define HAS_CHSIZE /**/ | |
54 | ||
4b7e285e JD |
55 | /* HAS_CRYPT: |
56 | * This symbol, if defined, indicates that the crypt routine is available | |
57 | * to encrypt passwords and the like. | |
58 | */ | |
840565a7 | 59 | #define HAS_CRYPT /**/ |
4b7e285e | 60 | |
040f0b05 SH |
61 | /* HAS_CTERMID: |
62 | * This symbol, if defined, indicates that the ctermid routine is | |
63 | * available to generate filename for terminal. | |
64 | */ | |
f3b9bb7d | 65 | /*#define HAS_CTERMID / **/ |
040f0b05 | 66 | |
a835ef8a NIS |
67 | /* HAS_CUSERID: |
68 | * This symbol, if defined, indicates that the cuserid routine is | |
69 | * available to get character login names. | |
70 | */ | |
f3b9bb7d | 71 | /*#define HAS_CUSERID / **/ |
a835ef8a NIS |
72 | |
73 | /* HAS_DBL_DIG: | |
74 | * This symbol, if defined, indicates that this system's <float.h> | |
75 | * or <limits.h> defines the symbol DBL_DIG, which is the number | |
76 | * of significant digits in a double precision number. If this | |
77 | * symbol is not defined, a guess of 15 is usually pretty good. | |
78 | */ | |
79 | #define HAS_DBL_DIG /**/ | |
80 | ||
81 | /* HAS_DIFFTIME: | |
82 | * This symbol, if defined, indicates that the difftime routine is | |
83 | * available. | |
84 | */ | |
85 | #define HAS_DIFFTIME /**/ | |
86 | ||
87 | /* HAS_DLERROR: | |
88 | * This symbol, if defined, indicates that the dlerror routine is | |
89 | * available to return a string describing the last error that | |
90 | * occurred from a call to dlopen(), dlclose() or dlsym(). | |
91 | */ | |
92 | #define HAS_DLERROR /**/ | |
93 | ||
94 | /* HAS_DUP2: | |
95 | * This symbol, if defined, indicates that the dup2 routine is | |
96 | * available to duplicate file descriptors. | |
97 | */ | |
98 | #define HAS_DUP2 /**/ | |
99 | ||
100 | /* HAS_FCHMOD: | |
101 | * This symbol, if defined, indicates that the fchmod routine is available | |
102 | * to change mode of opened files. If unavailable, use chmod(). | |
103 | */ | |
f3b9bb7d | 104 | /*#define HAS_FCHMOD / **/ |
a835ef8a NIS |
105 | |
106 | /* HAS_FCHOWN: | |
107 | * This symbol, if defined, indicates that the fchown routine is available | |
108 | * to change ownership of opened files. If unavailable, use chown(). | |
109 | */ | |
f3b9bb7d | 110 | /*#define HAS_FCHOWN / **/ |
a835ef8a NIS |
111 | |
112 | /* HAS_FCNTL: | |
113 | * This symbol, if defined, indicates to the C program that | |
114 | * the fcntl() function exists. | |
115 | */ | |
f3b9bb7d | 116 | /*#define HAS_FCNTL / **/ |
a835ef8a NIS |
117 | |
118 | /* HAS_FGETPOS: | |
119 | * This symbol, if defined, indicates that the fgetpos routine is | |
120 | * available to get the file position indicator, similar to ftell(). | |
121 | */ | |
122 | #define HAS_FGETPOS /**/ | |
123 | ||
a835ef8a NIS |
124 | /* HAS_FLOCK: |
125 | * This symbol, if defined, indicates that the flock routine is | |
126 | * available to do file locking. | |
127 | */ | |
128 | #define HAS_FLOCK /**/ | |
129 | ||
130 | /* HAS_FORK: | |
131 | * This symbol, if defined, indicates that the fork routine is | |
132 | * available. | |
133 | */ | |
f3b9bb7d | 134 | /*#define HAS_FORK / **/ |
a835ef8a NIS |
135 | |
136 | /* HAS_FSETPOS: | |
137 | * This symbol, if defined, indicates that the fsetpos routine is | |
138 | * available to set the file position indicator, similar to fseek(). | |
139 | */ | |
140 | #define HAS_FSETPOS /**/ | |
141 | ||
142 | /* HAS_GETTIMEOFDAY: | |
143 | * This symbol, if defined, indicates that the gettimeofday() system | |
144 | * call is available for a sub-second accuracy clock. Usually, the file | |
145 | * <sys/resource.h> needs to be included (see I_SYS_RESOURCE). | |
146 | * The type "Timeval" should be used to refer to "struct timeval". | |
147 | */ | |
57ab3dfe | 148 | #define HAS_GETTIMEOFDAY /**/ |
a835ef8a NIS |
149 | #ifdef HAS_GETTIMEOFDAY |
150 | #define Timeval struct timeval /* Structure used by gettimeofday() */ | |
151 | #endif | |
152 | ||
153 | /* HAS_GETGROUPS: | |
154 | * This symbol, if defined, indicates that the getgroups() routine is | |
155 | * available to get the list of process groups. If unavailable, multiple | |
156 | * groups are probably not supported. | |
157 | */ | |
f3b9bb7d | 158 | /*#define HAS_GETGROUPS / **/ |
a835ef8a | 159 | |
a835ef8a NIS |
160 | /* HAS_GETLOGIN: |
161 | * This symbol, if defined, indicates that the getlogin routine is | |
162 | * available to get the login name. | |
163 | */ | |
e34ffe5a | 164 | #define HAS_GETLOGIN /**/ |
a835ef8a | 165 | |
924b3ec4 | 166 | /* HAS_GETPGID: |
f65cb320 | 167 | * This symbol, if defined, indicates to the C program that |
924b3ec4 GS |
168 | * the getpgid(pid) function is available to get the |
169 | * process group id. | |
170 | */ | |
f3b9bb7d | 171 | /*#define HAS_GETPGID / **/ |
924b3ec4 | 172 | |
a835ef8a NIS |
173 | /* HAS_GETPGRP2: |
174 | * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX) | |
175 | * routine is available to get the current process group. | |
176 | */ | |
f3b9bb7d | 177 | /*#define HAS_GETPGRP2 / **/ |
a835ef8a NIS |
178 | |
179 | /* HAS_GETPPID: | |
180 | * This symbol, if defined, indicates that the getppid routine is | |
181 | * available to get the parent process ID. | |
182 | */ | |
f3b9bb7d | 183 | /*#define HAS_GETPPID / **/ |
a835ef8a NIS |
184 | |
185 | /* HAS_GETPRIORITY: | |
186 | * This symbol, if defined, indicates that the getpriority routine is | |
187 | * available to get a process's priority. | |
188 | */ | |
f3b9bb7d | 189 | /*#define HAS_GETPRIORITY / **/ |
a835ef8a | 190 | |
924b3ec4 GS |
191 | /* HAS_INET_ATON: |
192 | * This symbol, if defined, indicates to the C program that the | |
193 | * inet_aton() function is available to parse IP address "dotted-quad" | |
194 | * strings. | |
a835ef8a | 195 | */ |
f3b9bb7d | 196 | /*#define HAS_INET_ATON / **/ |
a835ef8a NIS |
197 | |
198 | /* HAS_KILLPG: | |
199 | * This symbol, if defined, indicates that the killpg routine is available | |
200 | * to kill process groups. If unavailable, you probably should use kill | |
201 | * with a negative process number. | |
202 | */ | |
542cb85f | 203 | #define HAS_KILLPG /**/ |
a835ef8a NIS |
204 | |
205 | /* HAS_LINK: | |
206 | * This symbol, if defined, indicates that the link routine is | |
207 | * available to create hard links. | |
208 | */ | |
6b980173 | 209 | #define HAS_LINK /**/ |
a835ef8a NIS |
210 | |
211 | /* HAS_LOCALECONV: | |
212 | * This symbol, if defined, indicates that the localeconv routine is | |
213 | * available for numeric and monetary formatting conventions. | |
214 | */ | |
215 | #define HAS_LOCALECONV /**/ | |
216 | ||
217 | /* HAS_LOCKF: | |
218 | * This symbol, if defined, indicates that the lockf routine is | |
219 | * available to do file locking. | |
220 | */ | |
f3b9bb7d | 221 | /*#define HAS_LOCKF / **/ |
a835ef8a NIS |
222 | |
223 | /* HAS_LSTAT: | |
224 | * This symbol, if defined, indicates that the lstat routine is | |
225 | * available to do file stats on symbolic links. | |
226 | */ | |
f3b9bb7d | 227 | /*#define HAS_LSTAT / **/ |
a835ef8a NIS |
228 | |
229 | /* HAS_MBLEN: | |
230 | * This symbol, if defined, indicates that the mblen routine is available | |
231 | * to find the number of bytes in a multibye character. | |
232 | */ | |
233 | #define HAS_MBLEN /**/ | |
234 | ||
235 | /* HAS_MBSTOWCS: | |
236 | * This symbol, if defined, indicates that the mbstowcs routine is | |
93c08870 | 237 | * available to convert a multibyte string into a wide character string. |
a835ef8a NIS |
238 | */ |
239 | #define HAS_MBSTOWCS /**/ | |
240 | ||
241 | /* HAS_MBTOWC: | |
242 | * This symbol, if defined, indicates that the mbtowc routine is available | |
93c08870 | 243 | * to convert a multibyte to a wide character. |
a835ef8a NIS |
244 | */ |
245 | #define HAS_MBTOWC /**/ | |
246 | ||
a835ef8a NIS |
247 | /* HAS_MKDIR: |
248 | * This symbol, if defined, indicates that the mkdir routine is available | |
249 | * to create directories. Otherwise you should fork off a new process to | |
250 | * exec /bin/mkdir. | |
251 | */ | |
252 | #define HAS_MKDIR /**/ | |
253 | ||
254 | /* HAS_MKFIFO: | |
255 | * This symbol, if defined, indicates that the mkfifo routine is | |
256 | * available to create FIFOs. Otherwise, mknod should be able to | |
257 | * do it for you. However, if mkfifo is there, mknod might require | |
258 | * super-user privileges which mkfifo will not. | |
259 | */ | |
f3b9bb7d | 260 | /*#define HAS_MKFIFO / **/ |
a835ef8a NIS |
261 | |
262 | /* HAS_MKTIME: | |
263 | * This symbol, if defined, indicates that the mktime routine is | |
264 | * available. | |
265 | */ | |
266 | #define HAS_MKTIME /**/ | |
267 | ||
ac135a7c GS |
268 | /* HAS_MSYNC: |
269 | * This symbol, if defined, indicates that the msync system call is | |
270 | * available to synchronize a mapped file. | |
271 | */ | |
f3b9bb7d | 272 | /*#define HAS_MSYNC / **/ |
ac135a7c GS |
273 | |
274 | /* HAS_MUNMAP: | |
275 | * This symbol, if defined, indicates that the munmap system call is | |
276 | * available to unmap a region, usually mapped by mmap(). | |
277 | */ | |
f3b9bb7d | 278 | /*#define HAS_MUNMAP / **/ |
ac135a7c | 279 | |
a835ef8a NIS |
280 | /* HAS_NICE: |
281 | * This symbol, if defined, indicates that the nice routine is | |
282 | * available. | |
283 | */ | |
f3b9bb7d | 284 | /*#define HAS_NICE / **/ |
a835ef8a | 285 | |
a835ef8a NIS |
286 | /* HAS_PATHCONF: |
287 | * This symbol, if defined, indicates that pathconf() is available | |
288 | * to determine file-system related limits and options associated | |
289 | * with a given filename. | |
290 | */ | |
291 | /* HAS_FPATHCONF: | |
292 | * This symbol, if defined, indicates that pathconf() is available | |
293 | * to determine file-system related limits and options associated | |
294 | * with a given open file descriptor. | |
295 | */ | |
f3b9bb7d | 296 | /*#define HAS_PATHCONF / **/ |
297 | /*#define HAS_FPATHCONF / **/ | |
a835ef8a NIS |
298 | |
299 | /* HAS_PAUSE: | |
300 | * This symbol, if defined, indicates that the pause routine is | |
301 | * available to suspend a process until a signal is received. | |
302 | */ | |
303 | #define HAS_PAUSE /**/ | |
304 | ||
305 | /* HAS_PIPE: | |
306 | * This symbol, if defined, indicates that the pipe routine is | |
307 | * available to create an inter-process channel. | |
308 | */ | |
309 | #define HAS_PIPE /**/ | |
310 | ||
4b7e285e JD |
311 | /* HAS_POLL: |
312 | * This symbol, if defined, indicates that the poll routine is | |
313 | * available to poll active file descriptors. Please check I_POLL and | |
314 | * I_SYS_POLL to know which header should be included as well. | |
315 | */ | |
f3b9bb7d | 316 | /*#define HAS_POLL / **/ |
4b7e285e | 317 | |
a835ef8a NIS |
318 | /* HAS_READDIR: |
319 | * This symbol, if defined, indicates that the readdir routine is | |
320 | * available to read directory entries. You may have to include | |
321 | * <dirent.h>. See I_DIRENT. | |
322 | */ | |
323 | #define HAS_READDIR /**/ | |
324 | ||
325 | /* HAS_SEEKDIR: | |
326 | * This symbol, if defined, indicates that the seekdir routine is | |
327 | * available. You may have to include <dirent.h>. See I_DIRENT. | |
328 | */ | |
329 | #define HAS_SEEKDIR /**/ | |
330 | ||
331 | /* HAS_TELLDIR: | |
332 | * This symbol, if defined, indicates that the telldir routine is | |
333 | * available. You may have to include <dirent.h>. See I_DIRENT. | |
334 | */ | |
335 | #define HAS_TELLDIR /**/ | |
336 | ||
337 | /* HAS_REWINDDIR: | |
338 | * This symbol, if defined, indicates that the rewinddir routine is | |
339 | * available. You may have to include <dirent.h>. See I_DIRENT. | |
340 | */ | |
341 | #define HAS_REWINDDIR /**/ | |
342 | ||
343 | /* HAS_READLINK: | |
344 | * This symbol, if defined, indicates that the readlink routine is | |
345 | * available to read the value of a symbolic link. | |
346 | */ | |
f3b9bb7d | 347 | /*#define HAS_READLINK / **/ |
a835ef8a | 348 | |
f65cb320 SH |
349 | /* HAS_REGCOMP: |
350 | * This symbol, if defined, indicates that the regcomp() routine is | |
351 | * available to do some regular patern matching (usually on POSIX.2 | |
352 | * conforming systems). | |
353 | */ | |
354 | /*#define HAS_REGCOMP / * POSIX.2 */ | |
355 | ||
a835ef8a NIS |
356 | /* HAS_RENAME: |
357 | * This symbol, if defined, indicates that the rename routine is available | |
358 | * to rename files. Otherwise you should do the unlink(), link(), unlink() | |
359 | * trick. | |
360 | */ | |
361 | #define HAS_RENAME /**/ | |
362 | ||
363 | /* HAS_RMDIR: | |
364 | * This symbol, if defined, indicates that the rmdir routine is | |
365 | * available to remove directories. Otherwise you should fork off a | |
366 | * new process to exec /bin/rmdir. | |
367 | */ | |
368 | #define HAS_RMDIR /**/ | |
369 | ||
a835ef8a NIS |
370 | /* HAS_SELECT: |
371 | * This symbol, if defined, indicates that the select routine is | |
372 | * available to select active file descriptors. If the timeout field | |
373 | * is used, <sys/time.h> may need to be included. | |
374 | */ | |
375 | #define HAS_SELECT /**/ | |
376 | ||
a835ef8a NIS |
377 | /* HAS_SETEGID: |
378 | * This symbol, if defined, indicates that the setegid routine is available | |
379 | * to change the effective gid of the current program. | |
380 | */ | |
f3b9bb7d | 381 | /*#define HAS_SETEGID / **/ |
a835ef8a NIS |
382 | |
383 | /* HAS_SETEUID: | |
384 | * This symbol, if defined, indicates that the seteuid routine is available | |
385 | * to change the effective uid of the current program. | |
386 | */ | |
f3b9bb7d | 387 | /*#define HAS_SETEUID / **/ |
a835ef8a | 388 | |
4b7e285e JD |
389 | /* HAS_SETGROUPS: |
390 | * This symbol, if defined, indicates that the setgroups() routine is | |
391 | * available to set the list of process groups. If unavailable, multiple | |
392 | * groups are probably not supported. | |
393 | */ | |
f3b9bb7d | 394 | /*#define HAS_SETGROUPS / **/ |
4b7e285e | 395 | |
a835ef8a NIS |
396 | /* HAS_SETLINEBUF: |
397 | * This symbol, if defined, indicates that the setlinebuf routine is | |
398 | * available to change stderr or stdout from block-buffered or unbuffered | |
399 | * to a line-buffered mode. | |
400 | */ | |
f3b9bb7d | 401 | /*#define HAS_SETLINEBUF / **/ |
a835ef8a NIS |
402 | |
403 | /* HAS_SETLOCALE: | |
404 | * This symbol, if defined, indicates that the setlocale routine is | |
405 | * available to handle locale-specific ctype implementations. | |
406 | */ | |
407 | #define HAS_SETLOCALE /**/ | |
408 | ||
924b3ec4 GS |
409 | /* HAS_SETPGID: |
410 | * This symbol, if defined, indicates that the setpgid(pid, gpid) | |
411 | * routine is available to set process group ID. | |
412 | */ | |
f3b9bb7d | 413 | /*#define HAS_SETPGID / **/ |
924b3ec4 | 414 | |
a835ef8a NIS |
415 | /* HAS_SETPGRP2: |
416 | * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX) | |
417 | * routine is available to set the current process group. | |
418 | */ | |
f3b9bb7d | 419 | /*#define HAS_SETPGRP2 / **/ |
a835ef8a NIS |
420 | |
421 | /* HAS_SETPRIORITY: | |
422 | * This symbol, if defined, indicates that the setpriority routine is | |
423 | * available to set a process's priority. | |
424 | */ | |
f3b9bb7d | 425 | /*#define HAS_SETPRIORITY / **/ |
a835ef8a NIS |
426 | |
427 | /* HAS_SETREGID: | |
428 | * This symbol, if defined, indicates that the setregid routine is | |
429 | * available to change the real and effective gid of the current | |
430 | * process. | |
431 | */ | |
432 | /* HAS_SETRESGID: | |
433 | * This symbol, if defined, indicates that the setresgid routine is | |
434 | * available to change the real, effective and saved gid of the current | |
435 | * process. | |
436 | */ | |
f3b9bb7d | 437 | /*#define HAS_SETREGID / **/ |
438 | /*#define HAS_SETRESGID / **/ | |
a835ef8a NIS |
439 | |
440 | /* HAS_SETREUID: | |
441 | * This symbol, if defined, indicates that the setreuid routine is | |
442 | * available to change the real and effective uid of the current | |
443 | * process. | |
444 | */ | |
445 | /* HAS_SETRESUID: | |
446 | * This symbol, if defined, indicates that the setresuid routine is | |
447 | * available to change the real, effective and saved uid of the current | |
448 | * process. | |
449 | */ | |
f3b9bb7d | 450 | /*#define HAS_SETREUID / **/ |
451 | /*#define HAS_SETRESUID / **/ | |
a835ef8a NIS |
452 | |
453 | /* HAS_SETRGID: | |
454 | * This symbol, if defined, indicates that the setrgid routine is available | |
455 | * to change the real gid of the current program. | |
456 | */ | |
f3b9bb7d | 457 | /*#define HAS_SETRGID / **/ |
a835ef8a NIS |
458 | |
459 | /* HAS_SETRUID: | |
460 | * This symbol, if defined, indicates that the setruid routine is available | |
461 | * to change the real uid of the current program. | |
462 | */ | |
f3b9bb7d | 463 | /*#define HAS_SETRUID / **/ |
a835ef8a NIS |
464 | |
465 | /* HAS_SETSID: | |
466 | * This symbol, if defined, indicates that the setsid routine is | |
467 | * available to set the process group ID. | |
468 | */ | |
f3b9bb7d | 469 | /*#define HAS_SETSID / **/ |
a835ef8a | 470 | |
f65cb320 SH |
471 | /* HAS_STAT: |
472 | * This symbol, if defined, indicates that the stat routine is | |
473 | * available to get file status. | |
474 | */ | |
475 | #define HAS_STAT /**/ | |
476 | ||
924b3ec4 GS |
477 | /* HAS_STRCOLL: |
478 | * This symbol, if defined, indicates that the strcoll routine is | |
479 | * available to compare strings using collating information. | |
a835ef8a | 480 | */ |
924b3ec4 GS |
481 | #define HAS_STRCOLL /**/ |
482 | ||
a835ef8a NIS |
483 | /* HAS_STRTOD: |
484 | * This symbol, if defined, indicates that the strtod routine is | |
485 | * available to provide better numeric string conversion than atof(). | |
486 | */ | |
487 | #define HAS_STRTOD /**/ | |
488 | ||
489 | /* HAS_STRTOL: | |
490 | * This symbol, if defined, indicates that the strtol routine is available | |
491 | * to provide better numeric string conversion than atoi() and friends. | |
492 | */ | |
493 | #define HAS_STRTOL /**/ | |
494 | ||
a835ef8a NIS |
495 | /* HAS_STRXFRM: |
496 | * This symbol, if defined, indicates that the strxfrm() routine is | |
497 | * available to transform strings. | |
498 | */ | |
499 | #define HAS_STRXFRM /**/ | |
500 | ||
501 | /* HAS_SYMLINK: | |
502 | * This symbol, if defined, indicates that the symlink routine is available | |
503 | * to create symbolic links. | |
504 | */ | |
f3b9bb7d | 505 | /*#define HAS_SYMLINK / **/ |
a835ef8a NIS |
506 | |
507 | /* HAS_SYSCALL: | |
508 | * This symbol, if defined, indicates that the syscall routine is | |
509 | * available to call arbitrary system calls. If undefined, that's tough. | |
510 | */ | |
f3b9bb7d | 511 | /*#define HAS_SYSCALL / **/ |
a835ef8a NIS |
512 | |
513 | /* HAS_SYSCONF: | |
514 | * This symbol, if defined, indicates that sysconf() is available | |
515 | * to determine system related limits and options. | |
516 | */ | |
f3b9bb7d | 517 | /*#define HAS_SYSCONF / **/ |
a835ef8a NIS |
518 | |
519 | /* HAS_SYSTEM: | |
520 | * This symbol, if defined, indicates that the system routine is | |
521 | * available to issue a shell command. | |
522 | */ | |
523 | #define HAS_SYSTEM /**/ | |
524 | ||
525 | /* HAS_TCGETPGRP: | |
526 | * This symbol, if defined, indicates that the tcgetpgrp routine is | |
527 | * available to get foreground process group ID. | |
528 | */ | |
f3b9bb7d | 529 | /*#define HAS_TCGETPGRP / **/ |
a835ef8a NIS |
530 | |
531 | /* HAS_TCSETPGRP: | |
532 | * This symbol, if defined, indicates that the tcsetpgrp routine is | |
533 | * available to set foreground process group ID. | |
534 | */ | |
f3b9bb7d | 535 | /*#define HAS_TCSETPGRP / **/ |
a835ef8a | 536 | |
a835ef8a NIS |
537 | /* HAS_TRUNCATE: |
538 | * This symbol, if defined, indicates that the truncate routine is | |
539 | * available to truncate files. | |
540 | */ | |
f3b9bb7d | 541 | /*#define HAS_TRUNCATE / **/ |
a835ef8a NIS |
542 | |
543 | /* HAS_TZNAME: | |
544 | * This symbol, if defined, indicates that the tzname[] array is | |
545 | * available to access timezone names. | |
546 | */ | |
bbda9c9d | 547 | #define HAS_TZNAME /**/ |
a835ef8a NIS |
548 | |
549 | /* HAS_UMASK: | |
550 | * This symbol, if defined, indicates that the umask routine is | |
551 | * available to set and get the value of the file creation mask. | |
552 | */ | |
553 | #define HAS_UMASK /**/ | |
554 | ||
b8a524e9 NIS |
555 | /* HAS_USLEEP: |
556 | * This symbol, if defined, indicates that the usleep routine is | |
557 | * available to let the process sleep on a sub-second accuracy. | |
558 | */ | |
f3b9bb7d | 559 | /*#define HAS_USLEEP / **/ |
b8a524e9 | 560 | |
a835ef8a NIS |
561 | /* HAS_WAIT4: |
562 | * This symbol, if defined, indicates that wait4() exists. | |
563 | */ | |
f3b9bb7d | 564 | /*#define HAS_WAIT4 / **/ |
a835ef8a NIS |
565 | |
566 | /* HAS_WAITPID: | |
567 | * This symbol, if defined, indicates that the waitpid routine is | |
568 | * available to wait for child process. | |
569 | */ | |
f55ee38a | 570 | #define HAS_WAITPID /**/ |
a835ef8a NIS |
571 | |
572 | /* HAS_WCSTOMBS: | |
573 | * This symbol, if defined, indicates that the wcstombs routine is | |
574 | * available to convert wide character strings to multibyte strings. | |
575 | */ | |
576 | #define HAS_WCSTOMBS /**/ | |
577 | ||
578 | /* HAS_WCTOMB: | |
579 | * This symbol, if defined, indicates that the wctomb routine is available | |
93c08870 | 580 | * to convert a wide character to a multibyte. |
a835ef8a NIS |
581 | */ |
582 | #define HAS_WCTOMB /**/ | |
583 | ||
4b7e285e JD |
584 | /* Groups_t: |
585 | * This symbol holds the type used for the second argument to | |
586 | * getgroups() and setgroups(). Usually, this is the same as | |
587 | * gidtype (gid_t) , but sometimes it isn't. | |
f65cb320 SH |
588 | * It can be int, ushort, gid_t, etc... |
589 | * It may be necessary to include <sys/types.h> to get any | |
4b7e285e JD |
590 | * typedef'ed information. This is only required if you have |
591 | * getgroups() or setgroups().. | |
592 | */ | |
593 | #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS) | |
594 | #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */ | |
595 | #endif | |
596 | ||
28e8609d | 597 | /* I_ARPA_INET: |
327c3667 GS |
598 | * This symbol, if defined, indicates to the C program that it should |
599 | * include <arpa/inet.h> to get inet_addr and friends declarations. | |
28e8609d | 600 | */ |
327c3667 | 601 | #define I_ARPA_INET /**/ |
28e8609d | 602 | |
924b3ec4 GS |
603 | /* I_DBM: |
604 | * This symbol, if defined, indicates that <dbm.h> exists and should | |
605 | * be included. | |
a835ef8a | 606 | */ |
924b3ec4 GS |
607 | /* I_RPCSVC_DBM: |
608 | * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and | |
609 | * should be included. | |
a835ef8a | 610 | */ |
f3b9bb7d | 611 | /*#define I_DBM / **/ |
30f6094b | 612 | /*#define I_RPCSVC_DBM / **/ |
a835ef8a | 613 | |
a835ef8a NIS |
614 | /* I_DLFCN: |
615 | * This symbol, if defined, indicates that <dlfcn.h> exists and should | |
616 | * be included. | |
617 | */ | |
618 | #define I_DLFCN /**/ | |
619 | ||
620 | /* I_FCNTL: | |
621 | * This manifest constant tells the C program to include <fcntl.h>. | |
622 | */ | |
623 | #define I_FCNTL /**/ | |
624 | ||
625 | /* I_FLOAT: | |
626 | * This symbol, if defined, indicates to the C program that it should | |
627 | * include <float.h> to get definition of symbols like DBL_MAX or | |
628 | * DBL_MIN, i.e. machine dependent floating point values. | |
629 | */ | |
630 | #define I_FLOAT /**/ | |
631 | ||
ec6c7eee SH |
632 | /* I_GDBM: |
633 | * This symbol, if defined, indicates that <gdbm.h> exists and should | |
634 | * be included. | |
635 | */ | |
f3b9bb7d | 636 | /*#define I_GDBM / **/ |
ec6c7eee | 637 | |
a835ef8a NIS |
638 | /* I_LIMITS: |
639 | * This symbol, if defined, indicates to the C program that it should | |
640 | * include <limits.h> to get definition of symbols like WORD_BIT or | |
641 | * LONG_MAX, i.e. machine dependant limitations. | |
642 | */ | |
643 | #define I_LIMITS /**/ | |
644 | ||
924b3ec4 GS |
645 | /* I_LOCALE: |
646 | * This symbol, if defined, indicates to the C program that it should | |
647 | * include <locale.h>. | |
648 | */ | |
649 | #define I_LOCALE /**/ | |
650 | ||
a835ef8a NIS |
651 | /* I_MATH: |
652 | * This symbol, if defined, indicates to the C program that it should | |
653 | * include <math.h>. | |
654 | */ | |
655 | #define I_MATH /**/ | |
656 | ||
657 | /* I_MEMORY: | |
658 | * This symbol, if defined, indicates to the C program that it should | |
659 | * include <memory.h>. | |
660 | */ | |
f3b9bb7d | 661 | /*#define I_MEMORY / **/ |
a835ef8a | 662 | |
a835ef8a NIS |
663 | /* I_NETINET_IN: |
664 | * This symbol, if defined, indicates to the C program that it should | |
665 | * include <netinet/in.h>. Otherwise, you may try <sys/in.h>. | |
666 | */ | |
f3b9bb7d | 667 | /*#define I_NETINET_IN / **/ |
a835ef8a | 668 | |
a835ef8a NIS |
669 | /* I_STRING: |
670 | * This symbol, if defined, indicates to the C program that it should | |
671 | * include <string.h> (USG systems) instead of <strings.h> (BSD systems). | |
672 | */ | |
673 | #define I_STRING /**/ | |
674 | ||
675 | /* I_SYS_DIR: | |
676 | * This symbol, if defined, indicates to the C program that it should | |
677 | * include <sys/dir.h>. | |
678 | */ | |
f3b9bb7d | 679 | /*#define I_SYS_DIR / **/ |
a835ef8a NIS |
680 | |
681 | /* I_SYS_FILE: | |
682 | * This symbol, if defined, indicates to the C program that it should | |
683 | * include <sys/file.h> to get definition of R_OK and friends. | |
684 | */ | |
f3b9bb7d | 685 | /*#define I_SYS_FILE / **/ |
a835ef8a NIS |
686 | |
687 | /* I_SYS_IOCTL: | |
688 | * This symbol, if defined, indicates that <sys/ioctl.h> exists and should | |
689 | * be included. Otherwise, include <sgtty.h> or <termio.h>. | |
690 | */ | |
b8a524e9 NIS |
691 | /* I_SYS_SOCKIO: |
692 | * This symbol, if defined, indicates the <sys/sockio.h> should be included | |
693 | * to get socket ioctl options, like SIOCATMARK. | |
694 | */ | |
f3b9bb7d | 695 | /*#define I_SYS_IOCTL / **/ |
696 | /*#define I_SYS_SOCKIO / **/ | |
a835ef8a NIS |
697 | |
698 | /* I_SYS_NDIR: | |
699 | * This symbol, if defined, indicates to the C program that it should | |
700 | * include <sys/ndir.h>. | |
701 | */ | |
f3b9bb7d | 702 | /*#define I_SYS_NDIR / **/ |
a835ef8a NIS |
703 | |
704 | /* I_SYS_PARAM: | |
705 | * This symbol, if defined, indicates to the C program that it should | |
706 | * include <sys/param.h>. | |
707 | */ | |
f3b9bb7d | 708 | /*#define I_SYS_PARAM / **/ |
a835ef8a | 709 | |
4b7e285e JD |
710 | /* I_SYS_POLL: |
711 | * This symbol, if defined, indicates that the program may include | |
712 | * <sys/poll.h>. When I_POLL is also defined, it's probably safest | |
713 | * to only include <poll.h>. | |
714 | */ | |
f3b9bb7d | 715 | /*#define I_SYS_POLL / **/ |
4b7e285e | 716 | |
a835ef8a NIS |
717 | /* I_SYS_RESOURCE: |
718 | * This symbol, if defined, indicates to the C program that it should | |
719 | * include <sys/resource.h>. | |
720 | */ | |
f3b9bb7d | 721 | /*#define I_SYS_RESOURCE / **/ |
a835ef8a NIS |
722 | |
723 | /* I_SYS_SELECT: | |
724 | * This symbol, if defined, indicates to the C program that it should | |
725 | * include <sys/select.h> in order to get definition of struct timeval. | |
726 | */ | |
f3b9bb7d | 727 | /*#define I_SYS_SELECT / **/ |
a835ef8a | 728 | |
924b3ec4 GS |
729 | /* I_SYS_STAT: |
730 | * This symbol, if defined, indicates to the C program that it should | |
731 | * include <sys/stat.h>. | |
732 | */ | |
733 | #define I_SYS_STAT /**/ | |
734 | ||
a835ef8a NIS |
735 | /* I_SYS_TIMES: |
736 | * This symbol, if defined, indicates to the C program that it should | |
737 | * include <sys/times.h>. | |
738 | */ | |
f3b9bb7d | 739 | /*#define I_SYS_TIMES / **/ |
a835ef8a | 740 | |
be44fb0e GS |
741 | /* I_SYS_TYPES: |
742 | * This symbol, if defined, indicates to the C program that it should | |
743 | * include <sys/types.h>. | |
744 | */ | |
745 | #define I_SYS_TYPES /**/ | |
746 | ||
a835ef8a NIS |
747 | /* I_SYS_UN: |
748 | * This symbol, if defined, indicates to the C program that it should | |
749 | * include <sys/un.h> to get UNIX domain socket definitions. | |
750 | */ | |
f3b9bb7d | 751 | /*#define I_SYS_UN / **/ |
a835ef8a NIS |
752 | |
753 | /* I_SYS_WAIT: | |
754 | * This symbol, if defined, indicates to the C program that it should | |
755 | * include <sys/wait.h>. | |
756 | */ | |
f3b9bb7d | 757 | /*#define I_SYS_WAIT / **/ |
a835ef8a | 758 | |
a835ef8a NIS |
759 | /* I_UNISTD: |
760 | * This symbol, if defined, indicates to the C program that it should | |
761 | * include <unistd.h>. | |
762 | */ | |
f3b9bb7d | 763 | /*#define I_UNISTD / **/ |
a835ef8a NIS |
764 | |
765 | /* I_UTIME: | |
766 | * This symbol, if defined, indicates to the C program that it should | |
767 | * include <utime.h>. | |
768 | */ | |
769 | #define I_UTIME /**/ | |
770 | ||
924b3ec4 GS |
771 | /* I_VALUES: |
772 | * This symbol, if defined, indicates to the C program that it should | |
773 | * include <values.h> to get definition of symbols like MINFLOAT or | |
774 | * MAXLONG, i.e. machine dependant limitations. Probably, you | |
775 | * should use <limits.h> instead, if it is available. | |
776 | */ | |
f3b9bb7d | 777 | /*#define I_VALUES / **/ |
924b3ec4 | 778 | |
a835ef8a NIS |
779 | /* I_VFORK: |
780 | * This symbol, if defined, indicates to the C program that it should | |
781 | * include vfork.h. | |
782 | */ | |
f3b9bb7d | 783 | /*#define I_VFORK / **/ |
784 | ||
f65cb320 SH |
785 | /* STDCHAR: |
786 | * This symbol is defined to be the type of char used in stdio.h. | |
787 | * It has the values "unsigned char" or "char". | |
788 | */ | |
789 | #define STDCHAR char /**/ | |
790 | ||
f65cb320 SH |
791 | /* INTSIZE: |
792 | * This symbol contains the value of sizeof(int) so that the C | |
793 | * preprocessor can make decisions based on it. | |
bbda9c9d | 794 | */ |
f65cb320 SH |
795 | /* LONGSIZE: |
796 | * This symbol contains the value of sizeof(long) so that the C | |
797 | * preprocessor can make decisions based on it. | |
3bf969c5 | 798 | */ |
f65cb320 SH |
799 | /* SHORTSIZE: |
800 | * This symbol contains the value of sizeof(short) so that the C | |
801 | * preprocessor can make decisions based on it. | |
802 | */ | |
803 | #define INTSIZE 4 /**/ | |
804 | #define LONGSIZE 4 /**/ | |
805 | #define SHORTSIZE 2 /**/ | |
3bf969c5 | 806 | |
449287ba SH |
807 | /* MULTIARCH: |
808 | * This symbol, if defined, signifies that the build | |
809 | * process will produce some binary files that are going to be | |
810 | * used in a cross-platform environment. This is the case for | |
811 | * example with the NeXT "fat" binaries that contain executables | |
812 | * for several CPUs. | |
813 | */ | |
814 | /*#define MULTIARCH / **/ | |
815 | ||
f65cb320 SH |
816 | /* HAS_QUAD: |
817 | * This symbol, if defined, tells that there's a 64-bit integer type, | |
818 | * Quad_t, and its unsigned counterpart, Uquad_t. QUADKIND will be one | |
819 | * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, QUAD_IS_INT64_T, | |
820 | * or QUAD_IS___INT64. | |
840565a7 | 821 | */ |
f65cb320 SH |
822 | #define HAS_QUAD /**/ |
823 | #ifdef HAS_QUAD | |
824 | # define Quad_t long long /**/ | |
825 | # define Uquad_t unsigned long long /**/ | |
826 | # define QUADKIND 3 /**/ | |
827 | # define QUAD_IS_INT 1 | |
828 | # define QUAD_IS_LONG 2 | |
829 | # define QUAD_IS_LONG_LONG 3 | |
830 | # define QUAD_IS_INT64_T 4 | |
831 | # define QUAD_IS___INT64 5 | |
832 | #endif | |
a835ef8a | 833 | |
f65cb320 SH |
834 | /* HAS_ACCESSX: |
835 | * This symbol, if defined, indicates that the accessx routine is | |
836 | * available to do extended access checks. | |
b40906a9 | 837 | */ |
f65cb320 | 838 | /*#define HAS_ACCESSX / **/ |
b40906a9 | 839 | |
f65cb320 SH |
840 | /* HAS_EACCESS: |
841 | * This symbol, if defined, indicates that the eaccess routine is | |
842 | * available to do extended access checks. | |
b40906a9 | 843 | */ |
f65cb320 | 844 | /*#define HAS_EACCESS / **/ |
b40906a9 | 845 | |
f65cb320 SH |
846 | /* I_SYS_ACCESS: |
847 | * This symbol, if defined, indicates to the C program that it should | |
848 | * include <sys/access.h>. | |
3bf969c5 | 849 | */ |
f65cb320 | 850 | /*#define I_SYS_ACCESS / **/ |
a835ef8a | 851 | |
f65cb320 SH |
852 | /* I_SYS_SECURITY: |
853 | * This symbol, if defined, indicates to the C program that it should | |
854 | * include <sys/security.h>. | |
2bf3754c | 855 | */ |
f65cb320 SH |
856 | /*#define I_SYS_SECURITY / **/ |
857 | ||
858 | /* MEM_ALIGNBYTES: | |
859 | * This symbol contains the number of bytes required to align a | |
860 | * double, or a long double when applicable. Usual values are 2, | |
861 | * 4 and 8. The default is eight, for safety. For cross-compiling | |
862 | * or multiarch support, Configure will set a minimum of 8. | |
2bf3754c | 863 | */ |
f65cb320 | 864 | #define MEM_ALIGNBYTES 8 |
2bf3754c | 865 | |
840565a7 SH |
866 | /* BYTEORDER: |
867 | * This symbol holds the hexadecimal constant defined in byteorder, | |
868 | * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc... | |
869 | * If the compiler supports cross-compiling or multiple-architecture | |
93c08870 | 870 | * binaries, use compiler-defined macros to |
840565a7 | 871 | * determine the byte order. |
b40906a9 | 872 | */ |
1b2243c7 | 873 | #if defined(MULTIARCH) |
840565a7 SH |
874 | # ifdef __LITTLE_ENDIAN__ |
875 | # if LONGSIZE == 4 | |
876 | # define BYTEORDER 0x1234 | |
877 | # else | |
878 | # if LONGSIZE == 8 | |
879 | # define BYTEORDER 0x12345678 | |
880 | # endif | |
881 | # endif | |
882 | # else | |
883 | # ifdef __BIG_ENDIAN__ | |
884 | # if LONGSIZE == 4 | |
885 | # define BYTEORDER 0x4321 | |
886 | # else | |
887 | # if LONGSIZE == 8 | |
888 | # define BYTEORDER 0x87654321 | |
889 | # endif | |
890 | # endif | |
891 | # endif | |
892 | # endif | |
465b7da9 | 893 | #else |
840565a7 | 894 | #define BYTEORDER 0x1234 /* large digits for MSB */ |
93c08870 | 895 | #endif |
b40906a9 | 896 | |
840565a7 SH |
897 | /* CHARBITS: |
898 | * This symbol contains the size of a char, so that the C preprocessor | |
899 | * can make decisions based on it. | |
b40906a9 | 900 | */ |
840565a7 | 901 | #define CHARBITS 8 /**/ |
b40906a9 | 902 | |
f65cb320 SH |
903 | /* CASTI32: |
904 | * This symbol is defined if the C compiler can cast negative | |
905 | * or large floating point numbers to 32-bit ints. | |
2bf3754c | 906 | */ |
f65cb320 | 907 | #define CASTI32 /**/ |
2bf3754c | 908 | |
f65cb320 SH |
909 | /* CASTNEGFLOAT: |
910 | * This symbol is defined if the C compiler can cast negative | |
911 | * numbers to unsigned longs, ints and shorts. | |
2bf3754c | 912 | */ |
f65cb320 SH |
913 | /* CASTFLAGS: |
914 | * This symbol contains flags that say what difficulties the compiler | |
915 | * has casting odd floating values to unsigned long: | |
916 | * 0 = ok | |
917 | * 1 = couldn't cast < 0 | |
918 | * 2 = couldn't cast >= 0x80000000 | |
919 | * 4 = couldn't cast in argument expression list | |
2bf3754c | 920 | */ |
f65cb320 SH |
921 | #define CASTNEGFLOAT /**/ |
922 | #define CASTFLAGS 0 /**/ | |
2bf3754c | 923 | |
f65cb320 SH |
924 | /* VOID_CLOSEDIR: |
925 | * This symbol, if defined, indicates that the closedir() routine | |
926 | * does not return a value. | |
2bf3754c | 927 | */ |
f65cb320 | 928 | /*#define VOID_CLOSEDIR / **/ |
2bf3754c | 929 | |
f65cb320 SH |
930 | /* HAS_FD_SET: |
931 | * This symbol, when defined, indicates presence of the fd_set typedef | |
932 | * in <sys/types.h> | |
3bf969c5 | 933 | */ |
f65cb320 | 934 | #define HAS_FD_SET /**/ |
3bf969c5 | 935 | |
f65cb320 SH |
936 | /* Gconvert: |
937 | * This preprocessor macro is defined to convert a floating point | |
938 | * number to a string without a trailing decimal point. This | |
939 | * emulates the behavior of sprintf("%g"), but is sometimes much more | |
940 | * efficient. If gconvert() is not available, but gcvt() drops the | |
941 | * trailing decimal point, then gcvt() is used. If all else fails, | |
942 | * a macro using sprintf("%g") is used. Arguments for the Gconvert | |
943 | * macro are: value, number of digits, whether trailing zeros should | |
944 | * be retained, and the output buffer. | |
945 | * The usual values are: | |
946 | * d_Gconvert='gconvert((x),(n),(t),(b))' | |
947 | * d_Gconvert='gcvt((x),(n),(b))' | |
948 | * d_Gconvert='sprintf((b),"%.*g",(n),(x))' | |
949 | * The last two assume trailing zeros should not be kept. | |
b40906a9 | 950 | */ |
f65cb320 | 951 | #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x)) |
b40906a9 | 952 | |
f65cb320 SH |
953 | /* HAS_GETPAGESIZE: |
954 | * This symbol, if defined, indicates that the getpagesize system call | |
955 | * is available to get system page size, which is the granularity of | |
956 | * many memory management calls. | |
6310baff | 957 | */ |
f65cb320 SH |
958 | /*#define HAS_GETPAGESIZE / **/ |
959 | ||
960 | /* HAS_GNULIBC: | |
961 | * This symbol, if defined, indicates to the C program that | |
962 | * the GNU C library is being used. A better check is to use | |
963 | * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc. | |
2bf3754c | 964 | */ |
f65cb320 SH |
965 | /*#define HAS_GNULIBC / **/ |
966 | #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE) | |
967 | # define _GNU_SOURCE | |
968 | #endif | |
2bf3754c | 969 | |
f65cb320 SH |
970 | /* HAS_ISASCII: |
971 | * This manifest constant lets the C program know that isascii | |
972 | * is available. | |
93c08870 | 973 | */ |
f65cb320 | 974 | #define HAS_ISASCII /**/ |
93c08870 | 975 | |
f65cb320 SH |
976 | /* HAS_LCHOWN: |
977 | * This symbol, if defined, indicates that the lchown routine is | |
978 | * available to operate on a symbolic link (instead of following the | |
979 | * link). | |
3bf969c5 | 980 | */ |
f65cb320 | 981 | /*#define HAS_LCHOWN / **/ |
840565a7 | 982 | |
f65cb320 SH |
983 | /* HAS_OPEN3: |
984 | * This manifest constant lets the C program know that the three | |
985 | * argument form of open(2) is available. | |
3bf969c5 | 986 | */ |
f65cb320 | 987 | /*#define HAS_OPEN3 / **/ |
3bf969c5 | 988 | |
f65cb320 SH |
989 | /* HAS_SIGACTION: |
990 | * This symbol, if defined, indicates that Vr4's sigaction() routine | |
991 | * is available. | |
3635cd84 | 992 | */ |
f65cb320 | 993 | /*#define HAS_SIGACTION / **/ |
3635cd84 | 994 | |
f65cb320 SH |
995 | /* HAS_SIGINFO_SI_ERRNO: |
996 | * This symbol, if defined, indicates that siginfo_t has the | |
997 | * si_errno member | |
2bf3754c | 998 | */ |
f65cb320 SH |
999 | /* HAS_SIGINFO_SI_PID: |
1000 | * This symbol, if defined, indicates that siginfo_t has the | |
1001 | * si_pid member | |
2bf3754c | 1002 | */ |
f65cb320 SH |
1003 | /* HAS_SIGINFO_SI_UID: |
1004 | * This symbol, if defined, indicates that siginfo_t has the | |
1005 | * si_uid member | |
3bf969c5 | 1006 | */ |
f65cb320 SH |
1007 | /* HAS_SIGINFO_SI_ADDR: |
1008 | * This symbol, if defined, indicates that siginfo_t has the | |
1009 | * si_addr member | |
3bf969c5 | 1010 | */ |
f65cb320 SH |
1011 | /* HAS_SIGINFO_SI_STATUS: |
1012 | * This symbol, if defined, indicates that siginfo_t has the | |
1013 | * si_status member | |
3635cd84 | 1014 | */ |
f65cb320 SH |
1015 | /* HAS_SIGINFO_SI_BAND: |
1016 | * This symbol, if defined, indicates that siginfo_t has the | |
1017 | * si_band member | |
8839b9e4 | 1018 | */ |
f65cb320 SH |
1019 | /* HAS_SIGINFO_SI_VALUE: |
1020 | * This symbol, if defined, indicates that siginfo_t has the | |
1021 | * si_value member | |
93c08870 | 1022 | */ |
f65cb320 SH |
1023 | /*#define HAS_SIGINFO_SI_ERRNO / **/ |
1024 | /*#define HAS_SIGINFO_SI_PID / **/ | |
1025 | /*#define HAS_SIGINFO_SI_UID / **/ | |
1026 | /*#define HAS_SIGINFO_SI_ADDR / **/ | |
1027 | /*#define HAS_SIGINFO_SI_STATUS / **/ | |
1028 | /*#define HAS_SIGINFO_SI_BAND / **/ | |
1029 | /*#define HAS_SIGINFO_SI_VALUE / **/ | |
93c08870 | 1030 | |
f65cb320 SH |
1031 | /* HAS_SIGSETJMP: |
1032 | * This variable indicates to the C program that the sigsetjmp() | |
1033 | * routine is available to save the calling process's registers | |
1034 | * and stack environment for later use by siglongjmp(), and | |
1035 | * to optionally save the process's signal mask. See | |
1036 | * Sigjmp_buf, Sigsetjmp, and Siglongjmp. | |
2bf3754c | 1037 | */ |
f65cb320 SH |
1038 | /* Sigjmp_buf: |
1039 | * This is the buffer type to be used with Sigsetjmp and Siglongjmp. | |
2bf3754c | 1040 | */ |
f65cb320 SH |
1041 | /* Sigsetjmp: |
1042 | * This macro is used in the same way as sigsetjmp(), but will invoke | |
1043 | * traditional setjmp() if sigsetjmp isn't available. | |
1044 | * See HAS_SIGSETJMP. | |
a8a15001 | 1045 | */ |
f65cb320 SH |
1046 | /* Siglongjmp: |
1047 | * This macro is used in the same way as siglongjmp(), but will invoke | |
1048 | * traditional longjmp() if siglongjmp isn't available. | |
1049 | * See HAS_SIGSETJMP. | |
a8a15001 | 1050 | */ |
f65cb320 SH |
1051 | /*#define HAS_SIGSETJMP / **/ |
1052 | #ifdef HAS_SIGSETJMP | |
1053 | #define Sigjmp_buf sigjmp_buf | |
1054 | #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask)) | |
1055 | #define Siglongjmp(buf,retval) siglongjmp((buf),(retval)) | |
1056 | #else | |
1057 | #define Sigjmp_buf jmp_buf | |
1058 | #define Sigsetjmp(buf,save_mask) setjmp((buf)) | |
1059 | #define Siglongjmp(buf,retval) longjmp((buf),(retval)) | |
1060 | #endif | |
a8a15001 | 1061 | |
f65cb320 SH |
1062 | /* HAS_STATIC_INLINE: |
1063 | * This symbol, if defined, indicates that the C compiler supports | |
1064 | * C99-style static inline. That is, the function can't be called | |
1065 | * from another translation unit. | |
2bf3754c | 1066 | */ |
f65cb320 SH |
1067 | /* PERL_STATIC_INLINE: |
1068 | * This symbol gives the best-guess incantation to use for static | |
1069 | * inline functions. If HAS_STATIC_INLINE is defined, this will | |
1070 | * give C99-style inline. If HAS_STATIC_INLINE is not defined, | |
1071 | * this will give a plain 'static'. It will always be defined | |
1072 | * to something that gives static linkage. | |
1073 | * Possibilities include | |
1074 | * static inline (c99) | |
1075 | * static __inline__ (gcc -ansi) | |
1076 | * static __inline (MSVC) | |
1077 | * static _inline (older MSVC) | |
1078 | * static (c89 compilers) | |
ec6c7eee | 1079 | */ |
f65cb320 SH |
1080 | #define HAS_STATIC_INLINE /**/ |
1081 | #define PERL_STATIC_INLINE static __inline__ /**/ | |
ec6c7eee | 1082 | |
f65cb320 SH |
1083 | /* USE_STDIO_PTR: |
1084 | * This symbol is defined if the _ptr and _cnt fields (or similar) | |
1085 | * of the stdio FILE structure can be used to access the stdio buffer | |
1086 | * for a file handle. If this is defined, then the FILE_ptr(fp) | |
1087 | * and FILE_cnt(fp) macros will also be defined and should be used | |
1088 | * to access these fields. | |
2bf3754c | 1089 | */ |
f65cb320 SH |
1090 | /* FILE_ptr: |
1091 | * This macro is used to access the _ptr field (or equivalent) of the | |
1092 | * FILE structure pointed to by its argument. This macro will always be | |
1093 | * defined if USE_STDIO_PTR is defined. | |
a8a15001 | 1094 | */ |
f65cb320 SH |
1095 | /* STDIO_PTR_LVALUE: |
1096 | * This symbol is defined if the FILE_ptr macro can be used as an | |
1097 | * lvalue. | |
a8a15001 | 1098 | */ |
f65cb320 SH |
1099 | /* FILE_cnt: |
1100 | * This macro is used to access the _cnt field (or equivalent) of the | |
1101 | * FILE structure pointed to by its argument. This macro will always be | |
1102 | * defined if USE_STDIO_PTR is defined. | |
2bf3754c | 1103 | */ |
f65cb320 SH |
1104 | /* STDIO_CNT_LVALUE: |
1105 | * This symbol is defined if the FILE_cnt macro can be used as an | |
1106 | * lvalue. | |
3bf969c5 | 1107 | */ |
f65cb320 SH |
1108 | /* STDIO_PTR_LVAL_SETS_CNT: |
1109 | * This symbol is defined if using the FILE_ptr macro as an lvalue | |
1110 | * to increase the pointer by n has the side effect of decreasing the | |
1111 | * value of File_cnt(fp) by n. | |
3bf969c5 | 1112 | */ |
f65cb320 SH |
1113 | /* STDIO_PTR_LVAL_NOCHANGE_CNT: |
1114 | * This symbol is defined if using the FILE_ptr macro as an lvalue | |
1115 | * to increase the pointer by n leaves File_cnt(fp) unchanged. | |
2bf3754c | 1116 | */ |
f65cb320 SH |
1117 | #define USE_STDIO_PTR /**/ |
1118 | #ifdef USE_STDIO_PTR | |
1119 | #define FILE_ptr(fp) ((fp)->_ptr) | |
1120 | #define STDIO_PTR_LVALUE /**/ | |
1121 | #define FILE_cnt(fp) ((fp)->_cnt) | |
1122 | #define STDIO_CNT_LVALUE /**/ | |
1123 | /*#define STDIO_PTR_LVAL_SETS_CNT / **/ | |
1124 | #define STDIO_PTR_LVAL_NOCHANGE_CNT /**/ | |
1125 | #endif | |
2bf3754c | 1126 | |
f65cb320 SH |
1127 | /* USE_STDIO_BASE: |
1128 | * This symbol is defined if the _base field (or similar) of the | |
1129 | * stdio FILE structure can be used to access the stdio buffer for | |
1130 | * a file handle. If this is defined, then the FILE_base(fp) macro | |
1131 | * will also be defined and should be used to access this field. | |
1132 | * Also, the FILE_bufsiz(fp) macro will be defined and should be used | |
1133 | * to determine the number of bytes in the buffer. USE_STDIO_BASE | |
1134 | * will never be defined unless USE_STDIO_PTR is. | |
3bf969c5 | 1135 | */ |
f65cb320 SH |
1136 | /* FILE_base: |
1137 | * This macro is used to access the _base field (or equivalent) of the | |
1138 | * FILE structure pointed to by its argument. This macro will always be | |
1139 | * defined if USE_STDIO_BASE is defined. | |
3bf969c5 | 1140 | */ |
f65cb320 SH |
1141 | /* FILE_bufsiz: |
1142 | * This macro is used to determine the number of bytes in the I/O | |
1143 | * buffer pointed to by _base field (or equivalent) of the FILE | |
1144 | * structure pointed to its argument. This macro will always be defined | |
1145 | * if USE_STDIO_BASE is defined. | |
2bf3754c | 1146 | */ |
f65cb320 SH |
1147 | #define USE_STDIO_BASE /**/ |
1148 | #ifdef USE_STDIO_BASE | |
1149 | #define FILE_base(fp) ((fp)->_base) | |
1150 | #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base) | |
1151 | #endif | |
2bf3754c | 1152 | |
f65cb320 SH |
1153 | /* DOUBLESIZE: |
1154 | * This symbol contains the size of a double, so that the C preprocessor | |
1155 | * can make decisions based on it. | |
2bf3754c | 1156 | */ |
f65cb320 | 1157 | #define DOUBLESIZE 8 /**/ |
2bf3754c | 1158 | |
f65cb320 SH |
1159 | /* I_TIME: |
1160 | * This symbol, if defined, indicates to the C program that it should | |
1161 | * include <time.h>. | |
a8a15001 | 1162 | */ |
f65cb320 SH |
1163 | /* I_SYS_TIME: |
1164 | * This symbol, if defined, indicates to the C program that it should | |
1165 | * include <sys/time.h>. | |
a8a15001 | 1166 | */ |
f65cb320 SH |
1167 | /* I_SYS_TIME_KERNEL: |
1168 | * This symbol, if defined, indicates to the C program that it should | |
1169 | * include <sys/time.h> with KERNEL defined. | |
2bf3754c | 1170 | */ |
f65cb320 SH |
1171 | /* HAS_TM_TM_ZONE: |
1172 | * This symbol, if defined, indicates to the C program that | |
1173 | * the struct tm has a tm_zone field. | |
3bf969c5 | 1174 | */ |
f65cb320 SH |
1175 | /* HAS_TM_TM_GMTOFF: |
1176 | * This symbol, if defined, indicates to the C program that | |
1177 | * the struct tm has a tm_gmtoff field. | |
3bf969c5 | 1178 | */ |
f65cb320 SH |
1179 | #define I_TIME /**/ |
1180 | /*#define I_SYS_TIME / **/ | |
1181 | /*#define I_SYS_TIME_KERNEL / **/ | |
1182 | /*#define HAS_TM_TM_ZONE / **/ | |
1183 | /*#define HAS_TM_TM_GMTOFF / **/ | |
3bf969c5 | 1184 | |
f65cb320 SH |
1185 | /* VAL_O_NONBLOCK: |
1186 | * This symbol is to be used during open() or fcntl(F_SETFL) to turn on | |
1187 | * non-blocking I/O for the file descriptor. Note that there is no way | |
1188 | * back, i.e. you cannot turn it blocking again this way. If you wish to | |
1189 | * alternatively switch between blocking and non-blocking, use the | |
1190 | * ioctl(FIOSNBIO) call instead, but that is not supported by all devices. | |
3bf969c5 | 1191 | */ |
f65cb320 SH |
1192 | /* VAL_EAGAIN: |
1193 | * This symbol holds the errno error code set by read() when no data was | |
1194 | * present on the non-blocking file descriptor. | |
2bf3754c | 1195 | */ |
f65cb320 SH |
1196 | /* RD_NODATA: |
1197 | * This symbol holds the return code from read() when no data is present | |
1198 | * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is | |
1199 | * not defined, then you can't distinguish between no data and EOF by | |
1200 | * issuing a read(). You'll have to find another way to tell for sure! | |
a8a15001 | 1201 | */ |
f65cb320 SH |
1202 | /* EOF_NONBLOCK: |
1203 | * This symbol, if defined, indicates to the C program that a read() on | |
1204 | * a non-blocking file descriptor will return 0 on EOF, and not the value | |
1205 | * held in RD_NODATA (-1 usually, in that case!). | |
2bf3754c | 1206 | */ |
f65cb320 SH |
1207 | #define VAL_O_NONBLOCK O_NONBLOCK |
1208 | #define VAL_EAGAIN EAGAIN | |
1209 | #define RD_NODATA -1 | |
1210 | #define EOF_NONBLOCK | |
2bf3754c | 1211 | |
f65cb320 SH |
1212 | /* PTRSIZE: |
1213 | * This symbol contains the size of a pointer, so that the C preprocessor | |
1214 | * can make decisions based on it. It will be sizeof(void *) if | |
1215 | * the compiler supports (void *); otherwise it will be | |
1216 | * sizeof(char *). | |
a8a15001 | 1217 | */ |
f65cb320 | 1218 | #define PTRSIZE 4 /**/ |
a8a15001 | 1219 | |
f65cb320 SH |
1220 | /* Drand01: |
1221 | * This macro is to be used to generate uniformly distributed | |
1222 | * random numbers over the range [0., 1.[. You may have to supply | |
1223 | * an 'extern double drand48();' in your program since SunOS 4.1.3 | |
1224 | * doesn't provide you with anything relevant in its headers. | |
1225 | * See HAS_DRAND48_PROTO. | |
a8a15001 | 1226 | */ |
f65cb320 SH |
1227 | /* Rand_seed_t: |
1228 | * This symbol defines the type of the argument of the | |
1229 | * random seed function. | |
a8a15001 | 1230 | */ |
f65cb320 SH |
1231 | /* seedDrand01: |
1232 | * This symbol defines the macro to be used in seeding the | |
1233 | * random number generator (see Drand01). | |
a8a15001 | 1234 | */ |
f65cb320 SH |
1235 | /* RANDBITS: |
1236 | * This symbol indicates how many bits are produced by the | |
1237 | * function used to generate normalized random numbers. | |
1238 | * Values include 15, 16, 31, and 48. | |
3bf969c5 | 1239 | */ |
f65cb320 SH |
1240 | #define Drand01() Perl_drand48() /**/ |
1241 | #define Rand_seed_t U32 /**/ | |
1242 | #define seedDrand01(x) Perl_drand48_init((Rand_seed_t)x) /**/ | |
1243 | #define RANDBITS 48 /**/ | |
3bf969c5 | 1244 | |
f65cb320 SH |
1245 | /* SSize_t: |
1246 | * This symbol holds the type used by functions that return | |
1247 | * a count of bytes or an error condition. It must be a signed type. | |
1248 | * It is usually ssize_t, but may be long or int, etc. | |
1249 | * It may be necessary to include <sys/types.h> or <unistd.h> | |
1250 | * to get any typedef'ed information. | |
1251 | * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t). | |
2bf3754c | 1252 | */ |
f65cb320 | 1253 | #define SSize_t int /* signed count of bytes */ |
2bf3754c | 1254 | |
f65cb320 SH |
1255 | /* EBCDIC: |
1256 | * This symbol, if defined, indicates that this system uses | |
1257 | * EBCDIC encoding. | |
2bf3754c | 1258 | */ |
f65cb320 | 1259 | /*#define EBCDIC / **/ |
2bf3754c | 1260 | |
f65cb320 SH |
1261 | /* ARCHLIB: |
1262 | * This variable, if defined, holds the name of the directory in | |
1263 | * which the user wants to put architecture-dependent public | |
1264 | * library files for perl5. It is most often a local directory | |
1265 | * such as /usr/local/lib. Programs using this variable must be | |
1266 | * prepared to deal with filename expansion. If ARCHLIB is the | |
1267 | * same as PRIVLIB, it is not defined, since presumably the | |
1268 | * program already searches PRIVLIB. | |
2bf3754c | 1269 | */ |
f65cb320 SH |
1270 | /* ARCHLIB_EXP: |
1271 | * This symbol contains the ~name expanded version of ARCHLIB, to be used | |
1272 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
2bf3754c | 1273 | */ |
f65cb320 SH |
1274 | #define ARCHLIB "c:\\perl\\lib" /**/ |
1275 | /*#define ARCHLIB_EXP "" / **/ | |
1276 | ||
1277 | /* BIN: | |
1278 | * This symbol holds the path of the bin directory where the package will | |
1279 | * be installed. Program must be prepared to deal with ~name substitution. | |
2bf3754c | 1280 | */ |
f65cb320 SH |
1281 | /* BIN_EXP: |
1282 | * This symbol is the filename expanded version of the BIN symbol, for | |
1283 | * programs that do not want to deal with that at run-time. | |
2bf3754c | 1284 | */ |
f65cb320 SH |
1285 | /* PERL_RELOCATABLE_INC: |
1286 | * This symbol, if defined, indicates that we'd like to relocate entries | |
1287 | * in @INC at run time based on the location of the perl binary. | |
2bf3754c | 1288 | */ |
f65cb320 SH |
1289 | #define BIN "c:\\perl\\bin" /**/ |
1290 | #define BIN_EXP "c:\\perl\\bin" /**/ | |
1291 | #define PERL_RELOCATABLE_INC "undef" /**/ | |
2bf3754c | 1292 | |
f65cb320 SH |
1293 | /* PERL_INC_VERSION_LIST: |
1294 | * This variable specifies the list of subdirectories in over | |
1295 | * which perl.c:incpush() and lib/lib.pm will automatically | |
1296 | * search when adding directories to @INC, in a format suitable | |
1297 | * for a C initialization string. See the inc_version_list entry | |
1298 | * in Porting/Glossary for more details. | |
3bf969c5 | 1299 | */ |
f65cb320 | 1300 | /*#define PERL_INC_VERSION_LIST 0 / **/ |
3bf969c5 | 1301 | |
f65cb320 SH |
1302 | /* INSTALL_USR_BIN_PERL: |
1303 | * This symbol, if defined, indicates that Perl is to be installed | |
1304 | * also as /usr/bin/perl. | |
3bf969c5 | 1305 | */ |
f65cb320 SH |
1306 | /*#define INSTALL_USR_BIN_PERL / **/ |
1307 | ||
1308 | /* PERL_OTHERLIBDIRS: | |
1309 | * This variable contains a colon-separated set of paths for the perl | |
1310 | * binary to search for additional library files or modules. | |
1311 | * These directories will be tacked to the end of @INC. | |
1312 | * Perl will automatically search below each path for version- | |
1313 | * and architecture-specific directories. See PERL_INC_VERSION_LIST | |
1314 | * for more details. | |
3bf969c5 | 1315 | */ |
f65cb320 | 1316 | /*#define PERL_OTHERLIBDIRS "" / **/ |
3bf969c5 | 1317 | |
f65cb320 SH |
1318 | /* PRIVLIB: |
1319 | * This symbol contains the name of the private library for this package. | |
1320 | * The library is private in the sense that it needn't be in anyone's | |
1321 | * execution path, but it should be accessible by the world. The program | |
1322 | * should be prepared to do ~ expansion. | |
3bf969c5 | 1323 | */ |
f65cb320 SH |
1324 | /* PRIVLIB_EXP: |
1325 | * This symbol contains the ~name expanded version of PRIVLIB, to be used | |
1326 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
3bf969c5 | 1327 | */ |
f65cb320 SH |
1328 | #define PRIVLIB "c:\\perl\\lib" /**/ |
1329 | #define PRIVLIB_EXP (PerlEnv_lib_path(PERL_VERSION_STRING, NULL)) /**/ | |
3bf969c5 | 1330 | |
f65cb320 SH |
1331 | /* SITEARCH: |
1332 | * This symbol contains the name of the private library for this package. | |
1333 | * The library is private in the sense that it needn't be in anyone's | |
1334 | * execution path, but it should be accessible by the world. The program | |
1335 | * should be prepared to do ~ expansion. | |
1336 | * The standard distribution will put nothing in this directory. | |
1337 | * After perl has been installed, users may install their own local | |
1338 | * architecture-dependent modules in this directory with | |
1339 | * MakeMaker Makefile.PL | |
1340 | * or equivalent. See INSTALL for details. | |
2bf3754c | 1341 | */ |
f65cb320 SH |
1342 | /* SITEARCH_EXP: |
1343 | * This symbol contains the ~name expanded version of SITEARCH, to be used | |
1344 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
1345 | */ | |
1346 | #define SITEARCH "c:\\perl\\site\\lib" /**/ | |
1347 | /*#define SITEARCH_EXP "" / **/ | |
2bf3754c | 1348 | |
f65cb320 SH |
1349 | /* SITELIB: |
1350 | * This symbol contains the name of the private library for this package. | |
1351 | * The library is private in the sense that it needn't be in anyone's | |
1352 | * execution path, but it should be accessible by the world. The program | |
1353 | * should be prepared to do ~ expansion. | |
1354 | * The standard distribution will put nothing in this directory. | |
1355 | * After perl has been installed, users may install their own local | |
1356 | * architecture-independent modules in this directory with | |
1357 | * MakeMaker Makefile.PL | |
1358 | * or equivalent. See INSTALL for details. | |
a8a15001 | 1359 | */ |
f65cb320 SH |
1360 | /* SITELIB_EXP: |
1361 | * This symbol contains the ~name expanded version of SITELIB, to be used | |
1362 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
b40906a9 | 1363 | */ |
f65cb320 SH |
1364 | /* SITELIB_STEM: |
1365 | * This define is SITELIB_EXP with any trailing version-specific component | |
1366 | * removed. The elements in inc_version_list (inc_version_list.U) can | |
1367 | * be tacked onto this variable to generate a list of directories to search. | |
2bf3754c | 1368 | */ |
f65cb320 SH |
1369 | #define SITELIB "c:\\perl\\site\\lib" /**/ |
1370 | #define SITELIB_EXP (PerlEnv_sitelib_path(PERL_VERSION_STRING, NULL)) /**/ | |
1371 | #define SITELIB_STEM "" /**/ | |
2bf3754c | 1372 | |
f65cb320 SH |
1373 | /* PERL_VENDORARCH: |
1374 | * If defined, this symbol contains the name of a private library. | |
1375 | * The library is private in the sense that it needn't be in anyone's | |
1376 | * execution path, but it should be accessible by the world. | |
1377 | * It may have a ~ on the front. | |
1378 | * The standard distribution will put nothing in this directory. | |
1379 | * Vendors who distribute perl may wish to place their own | |
1380 | * architecture-dependent modules and extensions in this directory with | |
1381 | * MakeMaker Makefile.PL INSTALLDIRS=vendor | |
1382 | * or equivalent. See INSTALL for details. | |
2bf3754c | 1383 | */ |
f65cb320 SH |
1384 | /* PERL_VENDORARCH_EXP: |
1385 | * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used | |
1386 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
2bf3754c | 1387 | */ |
f65cb320 SH |
1388 | /*#define PERL_VENDORARCH "" / **/ |
1389 | /*#define PERL_VENDORARCH_EXP "" / **/ | |
2bf3754c | 1390 | |
f65cb320 SH |
1391 | /* PERL_VENDORLIB_EXP: |
1392 | * This symbol contains the ~name expanded version of VENDORLIB, to be used | |
1393 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
3bf969c5 | 1394 | */ |
f65cb320 SH |
1395 | /* PERL_VENDORLIB_STEM: |
1396 | * This define is PERL_VENDORLIB_EXP with any trailing version-specific component | |
1397 | * removed. The elements in inc_version_list (inc_version_list.U) can | |
1398 | * be tacked onto this variable to generate a list of directories to search. | |
3bf969c5 | 1399 | */ |
f65cb320 SH |
1400 | /*#define PERL_VENDORLIB_EXP "" / **/ |
1401 | /*#define PERL_VENDORLIB_STEM "" / **/ | |
3bf969c5 | 1402 | |
f65cb320 SH |
1403 | /* OSNAME: |
1404 | * This symbol contains the name of the operating system, as determined | |
1405 | * by Configure. You shouldn't rely on it too much; the specific | |
1406 | * feature tests from Configure are generally more reliable. | |
3bf969c5 | 1407 | */ |
f65cb320 SH |
1408 | /* OSVERS: |
1409 | * This symbol contains the version of the operating system, as determined | |
1410 | * by Configure. You shouldn't rely on it too much; the specific | |
1411 | * feature tests from Configure are generally more reliable. | |
3bf969c5 | 1412 | */ |
f65cb320 SH |
1413 | #define OSNAME "MSWin32" /**/ |
1414 | #define OSVERS "6.1" /**/ | |
3bf969c5 | 1415 | |
f65cb320 SH |
1416 | /* CAT2: |
1417 | * This macro concatenates 2 tokens together. | |
3bf969c5 | 1418 | */ |
f65cb320 SH |
1419 | /* STRINGIFY: |
1420 | * This macro surrounds its token with double quotes. | |
2bf3754c | 1421 | */ |
f65cb320 SH |
1422 | #if 42 == 1 |
1423 | #define CAT2(a,b) a/**/b | |
1424 | #undef STRINGIFY | |
1425 | #define STRINGIFY(a) "a" | |
1426 | #endif | |
1427 | #if 42 == 42 | |
1428 | #define PeRl_CaTiFy(a, b) a ## b | |
1429 | #define PeRl_StGiFy(a) #a | |
1430 | #define CAT2(a,b) PeRl_CaTiFy(a,b) | |
1431 | #define StGiFy(a) PeRl_StGiFy(a) | |
1432 | #undef STRINGIFY | |
1433 | #define STRINGIFY(a) PeRl_StGiFy(a) | |
1434 | #endif | |
1435 | #if 42 != 1 && 42 != 42 | |
1436 | #include "Bletch: How does this C preprocessor concatenate tokens?" | |
1437 | #endif | |
2bf3754c | 1438 | |
f65cb320 SH |
1439 | /* CPPSTDIN: |
1440 | * This symbol contains the first part of the string which will invoke | |
1441 | * the C preprocessor on the standard input and produce to standard | |
1442 | * output. Typical value of "cc -E" or "/lib/cpp", but it can also | |
1443 | * call a wrapper. See CPPRUN. | |
69c7879f | 1444 | */ |
f65cb320 SH |
1445 | /* CPPMINUS: |
1446 | * This symbol contains the second part of the string which will invoke | |
1447 | * the C preprocessor on the standard input and produce to standard | |
1448 | * output. This symbol will have the value "-" if CPPSTDIN needs a minus | |
1449 | * to specify standard input, otherwise the value is "". | |
2bf3754c | 1450 | */ |
f65cb320 SH |
1451 | /* CPPRUN: |
1452 | * This symbol contains the string which will invoke a C preprocessor on | |
1453 | * the standard input and produce to standard output. It needs to end | |
1454 | * with CPPLAST, after all other preprocessor flags have been specified. | |
1455 | * The main difference with CPPSTDIN is that this program will never be a | |
1456 | * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is | |
1457 | * available directly to the user. Note that it may well be different from | |
1458 | * the preprocessor used to compile the C program. | |
2bf3754c | 1459 | */ |
f65cb320 SH |
1460 | /* CPPLAST: |
1461 | * This symbol is intended to be used along with CPPRUN in the same manner | |
1462 | * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "". | |
2bf3754c | 1463 | */ |
f65cb320 SH |
1464 | #define CPPSTDIN "gcc -E" |
1465 | #define CPPMINUS "-" | |
1466 | #define CPPRUN "gcc -E" | |
1467 | #define CPPLAST "" | |
2bf3754c | 1468 | |
f65cb320 SH |
1469 | /* HAS_ACCESS: |
1470 | * This manifest constant lets the C program know that the access() | |
1471 | * system call is available to check for accessibility using real UID/GID. | |
1472 | * (always present on UNIX.) | |
2bf3754c | 1473 | */ |
f65cb320 | 1474 | #define HAS_ACCESS /**/ |
2bf3754c | 1475 | |
f65cb320 SH |
1476 | |
1477 | /* The HASATTRIBUTE_* defines are left undefined here because they vary from | |
1478 | * one version of GCC to another. Instead, they are defined on the basis of | |
1479 | * the compiler version in <perl.h>. | |
3bf969c5 | 1480 | */ |
f65cb320 SH |
1481 | /* HASATTRIBUTE_FORMAT: |
1482 | * Can we handle GCC attribute for checking printf-style formats | |
3bf969c5 | 1483 | */ |
f65cb320 SH |
1484 | /* PRINTF_FORMAT_NULL_OK: |
1485 | * Allows __printf__ format to be null when checking printf-style | |
3bf969c5 | 1486 | */ |
f65cb320 SH |
1487 | /* HASATTRIBUTE_MALLOC: |
1488 | * Can we handle GCC attribute for malloc-style functions. | |
3bf969c5 | 1489 | */ |
f65cb320 SH |
1490 | /* HASATTRIBUTE_NONNULL: |
1491 | * Can we handle GCC attribute for nonnull function parms. | |
3bf969c5 | 1492 | */ |
f65cb320 SH |
1493 | /* HASATTRIBUTE_NORETURN: |
1494 | * Can we handle GCC attribute for functions that do not return | |
3bf969c5 | 1495 | */ |
f65cb320 SH |
1496 | /* HASATTRIBUTE_PURE: |
1497 | * Can we handle GCC attribute for pure functions | |
2bf3754c | 1498 | */ |
f65cb320 SH |
1499 | /* HASATTRIBUTE_UNUSED: |
1500 | * Can we handle GCC attribute for unused variables and arguments | |
2bf3754c | 1501 | */ |
f65cb320 SH |
1502 | /* HASATTRIBUTE_DEPRECATED: |
1503 | * Can we handle GCC attribute for marking deprecated APIs | |
69c7879f | 1504 | */ |
f65cb320 SH |
1505 | /* HASATTRIBUTE_WARN_UNUSED_RESULT: |
1506 | * Can we handle GCC attribute for warning on unused results | |
a8a15001 | 1507 | */ |
f65cb320 SH |
1508 | /*#define HASATTRIBUTE_DEPRECATED / **/ |
1509 | /*#define HASATTRIBUTE_FORMAT / **/ | |
1510 | /*#define PRINTF_FORMAT_NULL_OK / **/ | |
1511 | /*#define HASATTRIBUTE_NORETURN / **/ | |
1512 | /*#define HASATTRIBUTE_MALLOC / **/ | |
1513 | /*#define HASATTRIBUTE_NONNULL / **/ | |
1514 | /*#define HASATTRIBUTE_PURE / **/ | |
1515 | /*#define HASATTRIBUTE_UNUSED / **/ | |
1516 | /*#define HASATTRIBUTE_WARN_UNUSED_RESULT / **/ | |
a8a15001 | 1517 | |
f65cb320 SH |
1518 | /* HAS_BACKTRACE: |
1519 | * This symbol, if defined, indicates that the backtrace() routine is | |
1520 | * available to get a stack trace. The <execinfo.h> header must be | |
1521 | * included to use this routine. | |
a8a15001 | 1522 | */ |
f65cb320 SH |
1523 | /*#define HAS_BACKTRACE / **/ |
1524 | ||
1525 | /* HASCONST: | |
1526 | * This symbol, if defined, indicates that this C compiler knows about | |
1527 | * the const type. There is no need to actually test for that symbol | |
1528 | * within your programs. The mere use of the "const" keyword will | |
1529 | * trigger the necessary tests. | |
a8a15001 | 1530 | */ |
f65cb320 SH |
1531 | #define HASCONST /**/ |
1532 | #ifndef HASCONST | |
1533 | #define const | |
1534 | #endif | |
a8a15001 | 1535 | |
f65cb320 SH |
1536 | /* HAS_CSH: |
1537 | * This symbol, if defined, indicates that the C-shell exists. | |
a8a15001 | 1538 | */ |
f65cb320 SH |
1539 | /* CSH: |
1540 | * This symbol, if defined, contains the full pathname of csh. | |
a8a15001 | 1541 | */ |
f65cb320 SH |
1542 | /*#define HAS_CSH / **/ |
1543 | #ifdef HAS_CSH | |
1544 | #define CSH "" /**/ | |
1545 | #endif | |
a8a15001 | 1546 | |
f65cb320 SH |
1547 | /* HAS_DLADDR: |
1548 | * This symbol, if defined, indicates that the dladdr() routine is | |
1549 | * available to query dynamic linker information for an address. | |
1550 | * The <dlfcn.h> header must be included to use this routine. | |
2bf3754c | 1551 | */ |
f65cb320 | 1552 | /*#define HAS_DLADDR / **/ |
2bf3754c | 1553 | |
f65cb320 SH |
1554 | /* SETUID_SCRIPTS_ARE_SECURE_NOW: |
1555 | * This symbol, if defined, indicates that the bug that prevents | |
1556 | * setuid scripts from being secure is not present in this kernel. | |
3bf969c5 | 1557 | */ |
f65cb320 SH |
1558 | /* DOSUID: |
1559 | * This symbol, if defined, indicates that the C program should | |
1560 | * check the script that it is executing for setuid/setgid bits, and | |
1561 | * attempt to emulate setuid/setgid on systems that have disabled | |
1562 | * setuid #! scripts because the kernel can't do it securely. | |
1563 | * It is up to the package designer to make sure that this emulation | |
1564 | * is done securely. Among other things, it should do an fstat on | |
1565 | * the script it just opened to make sure it really is a setuid/setgid | |
1566 | * script, it should make sure the arguments passed correspond exactly | |
1567 | * to the argument on the #! line, and it should not trust any | |
1568 | * subprocesses to which it must pass the filename rather than the | |
1569 | * file descriptor of the script to be executed. | |
3bf969c5 | 1570 | */ |
f65cb320 SH |
1571 | /*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/ |
1572 | /*#define DOSUID / **/ | |
3bf969c5 | 1573 | |
f65cb320 SH |
1574 | /* HAS_ENDGRENT: |
1575 | * This symbol, if defined, indicates that the getgrent routine is | |
1576 | * available for finalizing sequential access of the group database. | |
3bf969c5 | 1577 | */ |
f65cb320 SH |
1578 | /*#define HAS_ENDGRENT / **/ |
1579 | ||
1580 | /* HAS_ENDHOSTENT: | |
1581 | * This symbol, if defined, indicates that the endhostent() routine is | |
1582 | * available to close whatever was being used for host queries. | |
3bf969c5 | 1583 | */ |
f65cb320 | 1584 | /*#define HAS_ENDHOSTENT / **/ |
3bf969c5 | 1585 | |
f65cb320 SH |
1586 | /* HAS_ENDNETENT: |
1587 | * This symbol, if defined, indicates that the endnetent() routine is | |
1588 | * available to close whatever was being used for network queries. | |
3bf969c5 | 1589 | */ |
f65cb320 SH |
1590 | /*#define HAS_ENDNETENT / **/ |
1591 | ||
1592 | /* HAS_ENDPROTOENT: | |
1593 | * This symbol, if defined, indicates that the endprotoent() routine is | |
1594 | * available to close whatever was being used for protocol queries. | |
3bf969c5 | 1595 | */ |
f65cb320 | 1596 | /*#define HAS_ENDPROTOENT / **/ |
3bf969c5 | 1597 | |
f65cb320 SH |
1598 | /* HAS_ENDPWENT: |
1599 | * This symbol, if defined, indicates that the getgrent routine is | |
1600 | * available for finalizing sequential access of the passwd database. | |
2bf3754c | 1601 | */ |
f65cb320 | 1602 | /*#define HAS_ENDPWENT / **/ |
2bf3754c | 1603 | |
f65cb320 SH |
1604 | /* HAS_ENDSERVENT: |
1605 | * This symbol, if defined, indicates that the endservent() routine is | |
1606 | * available to close whatever was being used for service queries. | |
a8a15001 | 1607 | */ |
f65cb320 SH |
1608 | /*#define HAS_ENDSERVENT / **/ |
1609 | ||
1610 | /* FLEXFILENAMES: | |
1611 | * This symbol, if defined, indicates that the system supports filenames | |
1612 | * longer than 14 characters. | |
a8a15001 | 1613 | */ |
f65cb320 SH |
1614 | #define FLEXFILENAMES /**/ |
1615 | ||
1616 | /* HAS_GETGRENT: | |
1617 | * This symbol, if defined, indicates that the getgrent routine is | |
1618 | * available for sequential access of the group database. | |
1619 | */ | |
1620 | /*#define HAS_GETGRENT / **/ | |
1621 | ||
1622 | /* HAS_GETHOSTBYADDR: | |
1623 | * This symbol, if defined, indicates that the gethostbyaddr() routine is | |
1624 | * available to look up hosts by their IP addresses. | |
1625 | */ | |
1626 | #define HAS_GETHOSTBYADDR /**/ | |
1627 | ||
1628 | /* HAS_GETHOSTBYNAME: | |
1629 | * This symbol, if defined, indicates that the gethostbyname() routine is | |
1630 | * available to look up host names in some data base or other. | |
1631 | */ | |
1632 | #define HAS_GETHOSTBYNAME /**/ | |
1633 | ||
1634 | /* HAS_GETHOSTENT: | |
1635 | * This symbol, if defined, indicates that the gethostent() routine is | |
1636 | * available to look up host names in some data base or another. | |
1637 | */ | |
1638 | /*#define HAS_GETHOSTENT / **/ | |
1639 | ||
1640 | /* HAS_GETHOSTNAME: | |
1641 | * This symbol, if defined, indicates that the C program may use the | |
1642 | * gethostname() routine to derive the host name. See also HAS_UNAME | |
1643 | * and PHOSTNAME. | |
1644 | */ | |
1645 | /* HAS_UNAME: | |
1646 | * This symbol, if defined, indicates that the C program may use the | |
1647 | * uname() routine to derive the host name. See also HAS_GETHOSTNAME | |
1648 | * and PHOSTNAME. | |
1649 | */ | |
1650 | /* PHOSTNAME: | |
1651 | * This symbol, if defined, indicates the command to feed to the | |
1652 | * popen() routine to derive the host name. See also HAS_GETHOSTNAME | |
1653 | * and HAS_UNAME. Note that the command uses a fully qualified path, | |
1654 | * so that it is safe even if used by a process with super-user | |
1655 | * privileges. | |
1656 | */ | |
1657 | /* HAS_PHOSTNAME: | |
1658 | * This symbol, if defined, indicates that the C program may use the | |
1659 | * contents of PHOSTNAME as a command to feed to the popen() routine | |
1660 | * to derive the host name. | |
1661 | */ | |
1662 | #define HAS_GETHOSTNAME /**/ | |
1663 | #define HAS_UNAME /**/ | |
1664 | /*#define HAS_PHOSTNAME / **/ | |
1665 | #ifdef HAS_PHOSTNAME | |
1666 | #define PHOSTNAME "" /* How to get the host name */ | |
1667 | #endif | |
1668 | ||
1669 | /* HAS_GETNETBYADDR: | |
1670 | * This symbol, if defined, indicates that the getnetbyaddr() routine is | |
1671 | * available to look up networks by their IP addresses. | |
1672 | */ | |
1673 | /*#define HAS_GETNETBYADDR / **/ | |
1674 | ||
1675 | /* HAS_GETNETBYNAME: | |
1676 | * This symbol, if defined, indicates that the getnetbyname() routine is | |
1677 | * available to look up networks by their names. | |
1678 | */ | |
1679 | /*#define HAS_GETNETBYNAME / **/ | |
1680 | ||
1681 | /* HAS_GETNETENT: | |
1682 | * This symbol, if defined, indicates that the getnetent() routine is | |
1683 | * available to look up network names in some data base or another. | |
1684 | */ | |
1685 | /*#define HAS_GETNETENT / **/ | |
1686 | ||
1687 | /* HAS_GETPROTOENT: | |
1688 | * This symbol, if defined, indicates that the getprotoent() routine is | |
1689 | * available to look up protocols in some data base or another. | |
1690 | */ | |
1691 | /*#define HAS_GETPROTOENT / **/ | |
1692 | ||
1693 | /* HAS_GETPGRP: | |
1694 | * This symbol, if defined, indicates that the getpgrp routine is | |
1695 | * available to get the current process group. | |
1696 | */ | |
1697 | /* USE_BSD_GETPGRP: | |
1698 | * This symbol, if defined, indicates that getpgrp needs one | |
1699 | * arguments whereas USG one needs none. | |
1700 | */ | |
1701 | /*#define HAS_GETPGRP / **/ | |
1702 | /*#define USE_BSD_GETPGRP / **/ | |
1703 | ||
1704 | /* HAS_GETPROTOBYNAME: | |
1705 | * This symbol, if defined, indicates that the getprotobyname() | |
1706 | * routine is available to look up protocols by their name. | |
1707 | */ | |
1708 | /* HAS_GETPROTOBYNUMBER: | |
1709 | * This symbol, if defined, indicates that the getprotobynumber() | |
1710 | * routine is available to look up protocols by their number. | |
1711 | */ | |
1712 | #define HAS_GETPROTOBYNAME /**/ | |
1713 | #define HAS_GETPROTOBYNUMBER /**/ | |
1714 | ||
1715 | /* HAS_GETPWENT: | |
1716 | * This symbol, if defined, indicates that the getpwent routine is | |
1717 | * available for sequential access of the passwd database. | |
1718 | * If this is not available, the older getpw() function may be available. | |
1719 | */ | |
1720 | /*#define HAS_GETPWENT / **/ | |
1721 | ||
1722 | /* HAS_GETSERVENT: | |
1723 | * This symbol, if defined, indicates that the getservent() routine is | |
1724 | * available to look up network services in some data base or another. | |
1725 | */ | |
1726 | /*#define HAS_GETSERVENT / **/ | |
a8a15001 | 1727 | |
2bf3754c SH |
1728 | /* HAS_GETSERVBYNAME: |
1729 | * This symbol, if defined, indicates that the getservbyname() | |
1730 | * routine is available to look up services by their name. | |
1731 | */ | |
1732 | /* HAS_GETSERVBYPORT: | |
1733 | * This symbol, if defined, indicates that the getservbyport() | |
1734 | * routine is available to look up services by their port. | |
1735 | */ | |
1736 | #define HAS_GETSERVBYNAME /**/ | |
1737 | #define HAS_GETSERVBYPORT /**/ | |
1738 | ||
2bf3754c SH |
1739 | /* HAS_HTONL: |
1740 | * This symbol, if defined, indicates that the htonl() routine (and | |
1741 | * friends htons() ntohl() ntohs()) are available to do network | |
1742 | * order byte swapping. | |
1743 | */ | |
1744 | /* HAS_HTONS: | |
1745 | * This symbol, if defined, indicates that the htons() routine (and | |
1746 | * friends htonl() ntohl() ntohs()) are available to do network | |
1747 | * order byte swapping. | |
1748 | */ | |
1749 | /* HAS_NTOHL: | |
1750 | * This symbol, if defined, indicates that the ntohl() routine (and | |
1751 | * friends htonl() htons() ntohs()) are available to do network | |
1752 | * order byte swapping. | |
1753 | */ | |
1754 | /* HAS_NTOHS: | |
1755 | * This symbol, if defined, indicates that the ntohs() routine (and | |
1756 | * friends htonl() htons() ntohl()) are available to do network | |
1757 | * order byte swapping. | |
1758 | */ | |
1759 | #define HAS_HTONL /**/ | |
1760 | #define HAS_HTONS /**/ | |
1761 | #define HAS_NTOHL /**/ | |
1762 | #define HAS_NTOHS /**/ | |
1763 | ||
f65cb320 SH |
1764 | /* HAS_LONG_DOUBLE: |
1765 | * This symbol will be defined if the C compiler supports long | |
1766 | * doubles. | |
a8a15001 | 1767 | */ |
f65cb320 SH |
1768 | /* LONG_DOUBLESIZE: |
1769 | * This symbol contains the size of a long double, so that the | |
1770 | * C preprocessor can make decisions based on it. It is only | |
1771 | * defined if the system supports long doubles. Note that this | |
1772 | * is sizeof(long double), which may include unused bytes. | |
a8a15001 | 1773 | */ |
f65cb320 SH |
1774 | /* HAS_LDEXPL: |
1775 | * This symbol, if defined, indicates that the ldexpl routine is | |
1776 | * available to shift a long double floating-point number | |
1777 | * by an integral power of 2. | |
93c08870 SH |
1778 | */ |
1779 | /* LONG_DOUBLEKIND: | |
1780 | * LONG_DOUBLEKIND will be one of | |
1781 | * LONG_DOUBLE_IS_DOUBLE | |
1782 | * LONG_DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN | |
1783 | * LONG_DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN | |
1784 | * LONG_DOUBLE_IS_X86_80_BIT_LITTLE_ENDIAN | |
1785 | * LONG_DOUBLE_IS_X86_80_BIT_BIG_ENDIAN | |
3118d7d6 JH |
1786 | * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_LE |
1787 | * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_BE | |
1788 | * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_BE | |
1789 | * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_LE | |
f65cb320 | 1790 | * LONG_DOUBLE_IS_VAX_H_FLOAT |
93c08870 SH |
1791 | * LONG_DOUBLE_IS_UNKNOWN_FORMAT |
1792 | * It is only defined if the system supports long doubles. | |
1793 | */ | |
f65cb320 SH |
1794 | /* LONG_DOUBLE_STYLE_IEEE: |
1795 | * This symbol, if defined, indicates that the long double | |
1796 | * is any of the IEEE 754 style long doubles: | |
1797 | * LONG_DOUBLE_STYLE_IEEE_STD, LONG_DOUBLE_STYLE_IEEE_EXTENDED, | |
1798 | * LONG_DOUBLE_STYLE_IEEE_DOUBLEDOUBLE. | |
1799 | */ | |
1800 | /* LONG_DOUBLE_STYLE_IEEE_DOUBLEDOUBLE: | |
1801 | * This symbol, if defined, indicates that the long double is | |
1802 | * the 128-bit double-double. | |
1803 | */ | |
1804 | /* LONG_DOUBLE_STYLE_IEEE_EXTENDED: | |
1805 | * This symbol, if defined, indicates that the long double is | |
1806 | * the 80-bit IEEE 754. Note that despite the 'extended' this | |
1807 | * is less than the 'std', since this is an extension of | |
1808 | * the double precision. | |
1809 | */ | |
1810 | /* LONG_DOUBLE_STYLE_IEEE_STD: | |
1811 | * This symbol, if defined, indicates that the long double is | |
1812 | * the 128-bit IEEE 754. | |
1813 | */ | |
1814 | /* LONG_DOUBLE_STYLE_VAX: | |
1815 | * This symbol, if defined, indicates that the long double is | |
1816 | * the 128-bit VAX format H. | |
1817 | */ | |
93c08870 | 1818 | /*#define HAS_LDEXPL / **/ |
2bf3754c SH |
1819 | #define HAS_LONG_DOUBLE /**/ |
1820 | #ifdef HAS_LONG_DOUBLE | |
1821 | #define LONG_DOUBLESIZE 12 /**/ | |
93c08870 SH |
1822 | #define LONG_DOUBLEKIND 3 /**/ |
1823 | #define LONG_DOUBLE_IS_DOUBLE 0 | |
1824 | #define LONG_DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN 1 | |
1825 | #define LONG_DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN 2 | |
1826 | #define LONG_DOUBLE_IS_X86_80_BIT_LITTLE_ENDIAN 3 | |
1827 | #define LONG_DOUBLE_IS_X86_80_BIT_BIG_ENDIAN 4 | |
3118d7d6 JH |
1828 | #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_LE 5 |
1829 | #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_BE 6 | |
1830 | #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_BE 7 | |
1831 | #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_LE 8 | |
f65cb320 | 1832 | #define LONG_DOUBLE_IS_VAX_H_FLOAT 9 |
93c08870 | 1833 | #define LONG_DOUBLE_IS_UNKNOWN_FORMAT -1 |
f65cb320 SH |
1834 | #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LITTLE_ENDIAN LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_LE /* back-compat */ |
1835 | #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BIG_ENDIAN LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_BE /* back-compat */ | |
1836 | #undef LONG_DOUBLE_STYLE_IEEE | |
1837 | #undef LONG_DOUBLE_STYLE_IEEE_DOUBLEDOUBLE | |
1838 | #define LONG_DOUBLE_STYLE_IEEE_EXTENDED | |
1839 | #undef LONG_DOUBLE_STYLE_IEEE_STD | |
1840 | #undef LONG_DOUBLE_STYLE_VAX | |
2bf3754c SH |
1841 | #endif |
1842 | ||
1843 | /* HAS_LONG_LONG: | |
1844 | * This symbol will be defined if the C compiler supports long long. | |
1845 | */ | |
1846 | /* LONGLONGSIZE: | |
1847 | * This symbol contains the size of a long long, so that the | |
1848 | * C preprocessor can make decisions based on it. It is only | |
1849 | * defined if the system supports long long. | |
1850 | */ | |
1851 | #define HAS_LONG_LONG /**/ | |
1852 | #ifdef HAS_LONG_LONG | |
1853 | #define LONGLONGSIZE 8 /**/ | |
1854 | #endif | |
1855 | ||
2bf3754c SH |
1856 | /* HAS_MKSTEMP: |
1857 | * This symbol, if defined, indicates that the mkstemp routine is | |
1858 | * available to exclusively create and open a uniquely named | |
1859 | * temporary file. | |
1860 | */ | |
f33b2f58 | 1861 | #if __MINGW64_VERSION_MAJOR >= 4 |
1862 | #define HAS_MKSTEMP | |
1863 | #endif | |
2bf3754c SH |
1864 | |
1865 | /* HAS_MMAP: | |
1866 | * This symbol, if defined, indicates that the mmap system call is | |
1867 | * available to map a file into memory. | |
1868 | */ | |
1869 | /* Mmap_t: | |
1870 | * This symbol holds the return type of the mmap() system call | |
1871 | * (and simultaneously the type of the first argument). | |
1872 | * Usually set to 'void *' or 'caddr_t'. | |
1873 | */ | |
1874 | /*#define HAS_MMAP / **/ | |
1875 | #define Mmap_t void * /**/ | |
1876 | ||
1877 | /* HAS_MSG: | |
1878 | * This symbol, if defined, indicates that the entire msg*(2) library is | |
1879 | * supported (IPC mechanism based on message queues). | |
1880 | */ | |
1881 | /*#define HAS_MSG / **/ | |
1882 | ||
2bf3754c SH |
1883 | /* HAS_SEM: |
1884 | * This symbol, if defined, indicates that the entire sem*(2) library is | |
1885 | * supported. | |
1886 | */ | |
1887 | /*#define HAS_SEM / **/ | |
1888 | ||
1889 | /* HAS_SETGRENT: | |
1890 | * This symbol, if defined, indicates that the setgrent routine is | |
1891 | * available for initializing sequential access of the group database. | |
1892 | */ | |
1893 | /*#define HAS_SETGRENT / **/ | |
1894 | ||
2bf3754c SH |
1895 | /* HAS_SETHOSTENT: |
1896 | * This symbol, if defined, indicates that the sethostent() routine is | |
1897 | * available. | |
1898 | */ | |
1899 | /*#define HAS_SETHOSTENT / **/ | |
1900 | ||
2bf3754c SH |
1901 | /* HAS_SETNETENT: |
1902 | * This symbol, if defined, indicates that the setnetent() routine is | |
1903 | * available. | |
1904 | */ | |
1905 | /*#define HAS_SETNETENT / **/ | |
1906 | ||
2bf3754c SH |
1907 | /* HAS_SETPROTOENT: |
1908 | * This symbol, if defined, indicates that the setprotoent() routine is | |
1909 | * available. | |
1910 | */ | |
1911 | /*#define HAS_SETPROTOENT / **/ | |
1912 | ||
1913 | /* HAS_SETPGRP: | |
1914 | * This symbol, if defined, indicates that the setpgrp routine is | |
1915 | * available to set the current process group. | |
1916 | */ | |
1917 | /* USE_BSD_SETPGRP: | |
1918 | * This symbol, if defined, indicates that setpgrp needs two | |
1919 | * arguments whereas USG one needs none. See also HAS_SETPGID | |
1920 | * for a POSIX interface. | |
1921 | */ | |
1922 | /*#define HAS_SETPGRP / **/ | |
1923 | /*#define USE_BSD_SETPGRP / **/ | |
1924 | ||
2bf3754c SH |
1925 | /* HAS_SETPWENT: |
1926 | * This symbol, if defined, indicates that the setpwent routine is | |
1927 | * available for initializing sequential access of the passwd database. | |
1928 | */ | |
1929 | /*#define HAS_SETPWENT / **/ | |
1930 | ||
2bf3754c SH |
1931 | /* HAS_SETSERVENT: |
1932 | * This symbol, if defined, indicates that the setservent() routine is | |
1933 | * available. | |
1934 | */ | |
1935 | /*#define HAS_SETSERVENT / **/ | |
1936 | ||
2bf3754c SH |
1937 | /* HAS_SETVBUF: |
1938 | * This symbol, if defined, indicates that the setvbuf routine is | |
1939 | * available to change buffering on an open stdio stream. | |
1940 | * to a line-buffered mode. | |
1941 | */ | |
1942 | #define HAS_SETVBUF /**/ | |
1943 | ||
1944 | /* HAS_SHM: | |
1945 | * This symbol, if defined, indicates that the entire shm*(2) library is | |
1946 | * supported. | |
1947 | */ | |
1948 | /*#define HAS_SHM / **/ | |
1949 | ||
1950 | /* Shmat_t: | |
1951 | * This symbol holds the return type of the shmat() system call. | |
1952 | * Usually set to 'void *' or 'char *'. | |
1953 | */ | |
1954 | /* HAS_SHMAT_PROTOTYPE: | |
1955 | * This symbol, if defined, indicates that the sys/shm.h includes | |
1956 | * a prototype for shmat(). Otherwise, it is up to the program to | |
1957 | * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess, | |
1958 | * but not always right so it should be emitted by the program only | |
1959 | * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. | |
1960 | */ | |
1961 | #define Shmat_t void * /**/ | |
1962 | /*#define HAS_SHMAT_PROTOTYPE / **/ | |
1963 | ||
f65cb320 SH |
1964 | /* HAS_SOCKET: |
1965 | * This symbol, if defined, indicates that the BSD socket interface is | |
1966 | * supported. | |
2bf3754c SH |
1967 | */ |
1968 | /* HAS_SOCKETPAIR: | |
1969 | * This symbol, if defined, indicates that the BSD socketpair() call is | |
1970 | * supported. | |
1971 | */ | |
2bf3754c SH |
1972 | /* HAS_SOCKADDR_SA_LEN: |
1973 | * This symbol, if defined, indicates that the struct sockaddr | |
1974 | * structure has a member called sa_len, indicating the length of | |
1975 | * the structure. | |
1976 | */ | |
1977 | /* HAS_SOCKADDR_IN6: | |
1978 | * This symbol, if defined, indicates the availability of | |
1979 | * struct sockaddr_in6; | |
1980 | */ | |
1981 | /* HAS_SIN6_SCOPE_ID: | |
1982 | * This symbol, if defined, indicates that the struct sockaddr_in6 | |
1983 | * structure has a member called sin6_scope_id. | |
1984 | */ | |
1985 | /* HAS_IP_MREQ: | |
1986 | * This symbol, if defined, indicates the availability of | |
1987 | * struct ip_mreq; | |
1988 | */ | |
ec2a15bb SH |
1989 | /* HAS_IP_MREQ_SOURCE: |
1990 | * This symbol, if defined, indicates the availability of | |
1991 | * struct ip_mreq_source; | |
1992 | */ | |
2bf3754c SH |
1993 | /* HAS_IPV6_MREQ: |
1994 | * This symbol, if defined, indicates the availability of | |
1995 | * struct ipv6_mreq; | |
1996 | */ | |
ec2a15bb SH |
1997 | /* HAS_IPV6_MREQ_SOURCE: |
1998 | * This symbol, if defined, indicates the availability of | |
1999 | * struct ipv6_mreq_source; | |
2000 | */ | |
2bf3754c SH |
2001 | #define HAS_SOCKET /**/ |
2002 | /*#define HAS_SOCKETPAIR / **/ | |
2003 | /*#define HAS_SOCKADDR_SA_LEN / **/ | |
2bf3754c SH |
2004 | /*#define HAS_SOCKADDR_IN6 / **/ |
2005 | #define HAS_SIN6_SCOPE_ID /**/ | |
2006 | /*#define HAS_IP_MREQ / **/ | |
ec2a15bb | 2007 | /*#define HAS_IP_MREQ_SOURCE / **/ |
2bf3754c | 2008 | /*#define HAS_IPV6_MREQ / **/ |
ec2a15bb | 2009 | /*#define HAS_IPV6_MREQ_SOURCE / **/ |
2bf3754c | 2010 | |
2bf3754c SH |
2011 | /* USE_STAT_BLOCKS: |
2012 | * This symbol is defined if this system has a stat structure declaring | |
2013 | * st_blksize and st_blocks. | |
2014 | */ | |
2015 | #ifndef USE_STAT_BLOCKS | |
2016 | /*#define USE_STAT_BLOCKS / **/ | |
2017 | #endif | |
2018 | ||
2bf3754c SH |
2019 | /* HAS_STRERROR: |
2020 | * This symbol, if defined, indicates that the strerror routine is | |
2021 | * available to translate error numbers to strings. See the writeup | |
2022 | * of Strerror() in this file before you try to define your own. | |
2023 | */ | |
2024 | /* HAS_SYS_ERRLIST: | |
2025 | * This symbol, if defined, indicates that the sys_errlist array is | |
2026 | * available to translate error numbers to strings. The extern int | |
2027 | * sys_nerr gives the size of that table. | |
2028 | */ | |
2029 | /* Strerror: | |
2030 | * This preprocessor symbol is defined as a macro if strerror() is | |
2031 | * not available to translate error numbers to strings but sys_errlist[] | |
2032 | * array is there. | |
2033 | */ | |
2034 | #define HAS_STRERROR /**/ | |
2035 | #define HAS_SYS_ERRLIST /**/ | |
2036 | #define Strerror(e) strerror(e) | |
2037 | ||
2bf3754c SH |
2038 | /* HAS_STRTOUL: |
2039 | * This symbol, if defined, indicates that the strtoul routine is | |
2040 | * available to provide conversion of strings to unsigned long. | |
2041 | */ | |
2042 | #define HAS_STRTOUL /**/ | |
2043 | ||
2bf3754c SH |
2044 | /* HAS_UNION_SEMUN: |
2045 | * This symbol, if defined, indicates that the union semun is | |
2046 | * defined by including <sys/sem.h>. If not, the user code | |
2047 | * probably needs to define it as: | |
2048 | * union semun { | |
2049 | * int val; | |
2050 | * struct semid_ds *buf; | |
2051 | * unsigned short *array; | |
2052 | * } | |
0543dcd8 | 2053 | */ |
2bf3754c SH |
2054 | /* USE_SEMCTL_SEMUN: |
2055 | * This symbol, if defined, indicates that union semun is | |
2056 | * used for semctl IPC_STAT. | |
27bdbd07 | 2057 | */ |
2bf3754c SH |
2058 | /* USE_SEMCTL_SEMID_DS: |
2059 | * This symbol, if defined, indicates that struct semid_ds * is | |
2060 | * used for semctl IPC_STAT. | |
840565a7 SH |
2061 | */ |
2062 | #define HAS_UNION_SEMUN /**/ | |
2063 | /*#define USE_SEMCTL_SEMUN / **/ | |
2064 | /*#define USE_SEMCTL_SEMID_DS / **/ | |
2065 | ||
2066 | /* HAS_VFORK: | |
2067 | * This symbol, if defined, indicates that vfork() exists. | |
2068 | */ | |
2069 | /*#define HAS_VFORK / **/ | |
2070 | ||
2071 | /* HAS_PSEUDOFORK: | |
2072 | * This symbol, if defined, indicates that an emulation of the | |
2073 | * fork routine is available. | |
2074 | */ | |
2075 | /*#define HAS_PSEUDOFORK / **/ | |
2076 | ||
2077 | /* Signal_t: | |
2078 | * This symbol's value is either "void" or "int", corresponding to the | |
2079 | * appropriate return type of a signal handler. Thus, you can declare | |
2080 | * a signal handler using "Signal_t (*handler)()", and define the | |
2081 | * handler using "Signal_t handler(sig)". | |
2082 | */ | |
2083 | #define Signal_t void /* Signal handler's return type */ | |
2084 | ||
f65cb320 SH |
2085 | /* I_DIRENT: |
2086 | * This symbol, if defined, indicates to the C program that it should | |
2087 | * include <dirent.h>. Using this symbol also triggers the definition | |
2088 | * of the Direntry_t define which ends up being 'struct dirent' or | |
2089 | * 'struct direct' depending on the availability of <dirent.h>. | |
2bf3754c | 2090 | */ |
f65cb320 SH |
2091 | /* DIRNAMLEN: |
2092 | * This symbol, if defined, indicates to the C program that the length | |
2093 | * of directory entry names is provided by a d_namlen field. Otherwise | |
2094 | * you need to do strlen() on the d_name field. | |
2bf3754c | 2095 | */ |
f65cb320 SH |
2096 | /* Direntry_t: |
2097 | * This symbol is set to 'struct direct' or 'struct dirent' depending on | |
2098 | * whether dirent is available or not. You should use this pseudo type to | |
2099 | * portably declare your directory entries. | |
2bf3754c | 2100 | */ |
f65cb320 SH |
2101 | #define I_DIRENT /**/ |
2102 | #define DIRNAMLEN /**/ | |
2103 | #define Direntry_t struct direct | |
2bf3754c | 2104 | |
f65cb320 SH |
2105 | /* I_EXECINFO: |
2106 | * This symbol, if defined, indicates to the C program that it should | |
2107 | * include <execinfo.h> for backtrace() support. | |
93c08870 SH |
2108 | */ |
2109 | /*#define I_EXECINFO / **/ | |
2110 | ||
840565a7 SH |
2111 | /* I_GRP: |
2112 | * This symbol, if defined, indicates to the C program that it should | |
2113 | * include <grp.h>. | |
ec6c7eee | 2114 | */ |
840565a7 SH |
2115 | /* GRPASSWD: |
2116 | * This symbol, if defined, indicates to the C program that struct group | |
2117 | * in <grp.h> contains gr_passwd. | |
ec6c7eee | 2118 | */ |
840565a7 SH |
2119 | /*#define I_GRP / **/ |
2120 | /*#define GRPASSWD / **/ | |
2121 | ||
2122 | /* I_NDBM: | |
2123 | * This symbol, if defined, indicates that <ndbm.h> exists and should | |
2124 | * be included. | |
ec6c7eee | 2125 | */ |
840565a7 SH |
2126 | /* I_GDBMNDBM: |
2127 | * This symbol, if defined, indicates that <gdbm/ndbm.h> exists and should | |
2128 | * be included. This was the location of the ndbm.h compatibility file | |
2129 | * in RedHat 7.1. | |
ec6c7eee | 2130 | */ |
840565a7 SH |
2131 | /* I_GDBM_NDBM: |
2132 | * This symbol, if defined, indicates that <gdbm-ndbm.h> exists and should | |
2133 | * be included. This is the location of the ndbm.h compatibility file | |
2134 | * in Debian 4.0. | |
2135 | */ | |
2136 | /* NDBM_H_USES_PROTOTYPES: | |
2137 | * This symbol, if defined, indicates that <ndbm.h> uses real ANSI C | |
2138 | * prototypes instead of K&R style function declarations without any | |
2139 | * parameter information. While ANSI C prototypes are supported in C++, | |
2140 | * K&R style function declarations will yield errors. | |
2141 | */ | |
2142 | /* GDBMNDBM_H_USES_PROTOTYPES: | |
2143 | * This symbol, if defined, indicates that <gdbm/ndbm.h> uses real ANSI C | |
2144 | * prototypes instead of K&R style function declarations without any | |
2145 | * parameter information. While ANSI C prototypes are supported in C++, | |
2146 | * K&R style function declarations will yield errors. | |
2147 | */ | |
2148 | /* GDBM_NDBM_H_USES_PROTOTYPES: | |
2149 | * This symbol, if defined, indicates that <gdbm-ndbm.h> uses real ANSI C | |
2150 | * prototypes instead of K&R style function declarations without any | |
2151 | * parameter information. While ANSI C prototypes are supported in C++, | |
2152 | * K&R style function declarations will yield errors. | |
2153 | */ | |
2154 | /*#define I_NDBM / **/ | |
2155 | /*#define I_GDBMNDBM / **/ | |
2156 | /*#define I_GDBM_NDBM / **/ | |
2157 | /*#define NDBM_H_USES_PROTOTYPES / **/ | |
2158 | /*#define GDBMNDBM_H_USES_PROTOTYPES / **/ | |
2159 | /*#define GDBM_NDBM_H_USES_PROTOTYPES / **/ | |
ec6c7eee | 2160 | |
840565a7 SH |
2161 | /* I_NETDB: |
2162 | * This symbol, if defined, indicates that <netdb.h> exists and | |
2163 | * should be included. | |
ec6c7eee | 2164 | */ |
840565a7 | 2165 | /*#define I_NETDB / **/ |
ec6c7eee | 2166 | |
840565a7 SH |
2167 | /* I_NET_ERRNO: |
2168 | * This symbol, if defined, indicates that <net/errno.h> exists and | |
2169 | * should be included. | |
ec6c7eee | 2170 | */ |
840565a7 SH |
2171 | /*#define I_NET_ERRNO / **/ |
2172 | ||
2173 | /* I_PWD: | |
2174 | * This symbol, if defined, indicates to the C program that it should | |
2175 | * include <pwd.h>. | |
ec6c7eee | 2176 | */ |
840565a7 SH |
2177 | /* PWQUOTA: |
2178 | * This symbol, if defined, indicates to the C program that struct passwd | |
2179 | * contains pw_quota. | |
ec6c7eee | 2180 | */ |
840565a7 SH |
2181 | /* PWAGE: |
2182 | * This symbol, if defined, indicates to the C program that struct passwd | |
2183 | * contains pw_age. | |
ec6c7eee | 2184 | */ |
840565a7 SH |
2185 | /* PWCHANGE: |
2186 | * This symbol, if defined, indicates to the C program that struct passwd | |
2187 | * contains pw_change. | |
2188 | */ | |
2189 | /* PWCLASS: | |
2190 | * This symbol, if defined, indicates to the C program that struct passwd | |
2191 | * contains pw_class. | |
2192 | */ | |
2193 | /* PWEXPIRE: | |
2194 | * This symbol, if defined, indicates to the C program that struct passwd | |
2195 | * contains pw_expire. | |
2196 | */ | |
2197 | /* PWCOMMENT: | |
2198 | * This symbol, if defined, indicates to the C program that struct passwd | |
2199 | * contains pw_comment. | |
2200 | */ | |
2201 | /* PWGECOS: | |
2202 | * This symbol, if defined, indicates to the C program that struct passwd | |
2203 | * contains pw_gecos. | |
2204 | */ | |
2205 | /* PWPASSWD: | |
2206 | * This symbol, if defined, indicates to the C program that struct passwd | |
2207 | * contains pw_passwd. | |
2208 | */ | |
2209 | /*#define I_PWD / **/ | |
2210 | /*#define PWQUOTA / **/ | |
2211 | /*#define PWAGE / **/ | |
2212 | /*#define PWCHANGE / **/ | |
2213 | /*#define PWCLASS / **/ | |
2214 | /*#define PWEXPIRE / **/ | |
2215 | /*#define PWCOMMENT / **/ | |
2216 | /*#define PWGECOS / **/ | |
2217 | /*#define PWPASSWD / **/ | |
ec6c7eee | 2218 | |
840565a7 SH |
2219 | /* I_SYSUIO: |
2220 | * This symbol, if defined, indicates that <sys/uio.h> exists and | |
2221 | * should be included. | |
ec6c7eee | 2222 | */ |
2bf3754c SH |
2223 | /*#define I_SYSUIO / **/ |
2224 | ||
93c08870 SH |
2225 | /* I_TERMIO: |
2226 | * This symbol, if defined, indicates that the program should include | |
2227 | * <termio.h> rather than <sgtty.h>. There are also differences in | |
2228 | * the ioctl() calls that depend on the value of this symbol. | |
2229 | */ | |
2230 | /* I_TERMIOS: | |
2231 | * This symbol, if defined, indicates that the program should include | |
2232 | * the POSIX termios.h rather than sgtty.h or termio.h. | |
2233 | * There are also differences in the ioctl() calls that depend on the | |
2234 | * value of this symbol. | |
2235 | */ | |
2236 | /* I_SGTTY: | |
2237 | * This symbol, if defined, indicates that the program should include | |
2238 | * <sgtty.h> rather than <termio.h>. There are also differences in | |
2239 | * the ioctl() calls that depend on the value of this symbol. | |
2240 | */ | |
2241 | /*#define I_TERMIO / **/ | |
2242 | /*#define I_TERMIOS / **/ | |
2243 | /*#define I_SGTTY / **/ | |
2244 | ||
2bf3754c SH |
2245 | /* Free_t: |
2246 | * This variable contains the return type of free(). It is usually | |
2247 | * void, but occasionally int. | |
2248 | */ | |
2249 | /* Malloc_t: | |
2250 | * This symbol is the type of pointer returned by malloc and realloc. | |
2251 | */ | |
2252 | #define Malloc_t void * /**/ | |
2253 | #define Free_t void /**/ | |
2254 | ||
2255 | /* PERL_MALLOC_WRAP: | |
2256 | * This symbol, if defined, indicates that we'd like malloc wrap checks. | |
2257 | */ | |
2258 | #define PERL_MALLOC_WRAP /**/ | |
2259 | ||
2260 | /* MYMALLOC: | |
2261 | * This symbol, if defined, indicates that we're using our own malloc. | |
2262 | */ | |
2263 | /*#define MYMALLOC / **/ | |
2264 | ||
f65cb320 SH |
2265 | /* SH_PATH: |
2266 | * This symbol contains the full pathname to the shell used on this | |
2267 | * on this system to execute Bourne shell scripts. Usually, this will be | |
2268 | * /bin/sh, though it's possible that some systems will have /bin/ksh, | |
2269 | * /bin/pdksh, /bin/ash, /bin/bash, or even something such as | |
2270 | * D:/bin/sh.exe. | |
840565a7 SH |
2271 | */ |
2272 | #define SH_PATH "cmd /x /c" /**/ | |
2273 | ||
2274 | /* SIG_NAME: | |
2275 | * This symbol contains a list of signal names in order of | |
2276 | * signal number. This is intended | |
2277 | * to be used as a static array initialization, like this: | |
2278 | * char *sig_name[] = { SIG_NAME }; | |
2279 | * The signals in the list are separated with commas, and each signal | |
2280 | * is surrounded by double quotes. There is no leading SIG in the signal | |
2281 | * name, i.e. SIGQUIT is known as "QUIT". | |
2282 | * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn, | |
2283 | * etc., where nn is the actual signal number (e.g. NUM37). | |
2284 | * The signal number for sig_name[i] is stored in sig_num[i]. | |
2285 | * The last element is 0 to terminate the list with a NULL. This | |
2286 | * corresponds to the 0 at the end of the sig_name_init list. | |
2287 | * Note that this variable is initialized from the sig_name_init, | |
2288 | * not from sig_name (which is unused). | |
2289 | */ | |
2290 | /* SIG_NUM: | |
2291 | * This symbol contains a list of signal numbers, in the same order as the | |
2292 | * SIG_NAME list. It is suitable for static array initialization, as in: | |
2293 | * int sig_num[] = { SIG_NUM }; | |
2294 | * The signals in the list are separated with commas, and the indices | |
2295 | * within that list and the SIG_NAME list match, so it's easy to compute | |
2296 | * the signal name from a number or vice versa at the price of a small | |
2297 | * dynamic linear lookup. | |
2298 | * Duplicates are allowed, but are moved to the end of the list. | |
2299 | * The signal number corresponding to sig_name[i] is sig_number[i]. | |
2300 | * if (i < NSIG) then sig_number[i] == i. | |
2301 | * The last element is 0, corresponding to the 0 at the end of | |
2302 | * the sig_name_init list. | |
2303 | * Note that this variable is initialized from the sig_num_init, | |
2304 | * not from sig_num (which is unused). | |
2305 | */ | |
2bf3754c SH |
2306 | /* SIG_SIZE: |
2307 | * This variable contains the number of elements of the SIG_NAME | |
2308 | * and SIG_NUM arrays, excluding the final NULL entry. | |
2309 | */ | |
2310 | #define SIG_NAME "ZERO", "HUP", "INT", "QUIT", "ILL", "NUM05", "NUM06", "NUM07", "FPE", "KILL", "NUM10", "SEGV", "NUM12", "PIPE", "ALRM", "TERM", "NUM16", "NUM17", "NUM18", "NUM19", "CHLD", "BREAK", "ABRT", "STOP", "NUM24", "CONT", "CLD", 0 /**/ | |
2311 | #define SIG_NUM 0, 1, 2, 21, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 20, 0 /**/ | |
2312 | #define SIG_SIZE 27 /**/ | |
2313 | ||
f65cb320 SH |
2314 | /* USE_CROSS_COMPILE: |
2315 | * This symbol, if defined, indicates that Perl is being cross-compiled. | |
2bf3754c | 2316 | */ |
f65cb320 SH |
2317 | /* PERL_TARGETARCH: |
2318 | * This symbol, if defined, indicates the target architecture | |
2319 | * Perl has been cross-compiled to. Undefined if not a cross-compile. | |
2bf3754c | 2320 | */ |
f65cb320 SH |
2321 | #ifndef USE_CROSS_COMPILE |
2322 | /*#define USE_CROSS_COMPILE / **/ | |
2323 | #define PERL_TARGETARCH "" /**/ | |
2324 | #endif | |
2bf3754c | 2325 | |
f65cb320 SH |
2326 | /* PERL_USE_DEVEL: |
2327 | * This symbol, if defined, indicates that Perl was configured with | |
2328 | * -Dusedevel, to enable development features. This should not be | |
2329 | * done for production builds. | |
2bf3754c | 2330 | */ |
f65cb320 | 2331 | /*#define PERL_USE_DEVEL / **/ |
2bf3754c | 2332 | |
f65cb320 SH |
2333 | /* HAS_ATOLF: |
2334 | * This symbol, if defined, indicates that the atolf routine is | |
2335 | * available to convert strings into long doubles. | |
2bf3754c | 2336 | */ |
f65cb320 | 2337 | /*#define HAS_ATOLF / **/ |
2bf3754c | 2338 | |
f65cb320 SH |
2339 | /* HAS_ATOLL: |
2340 | * This symbol, if defined, indicates that the atoll routine is | |
2341 | * available to convert strings into long longs. | |
2bf3754c | 2342 | */ |
f65cb320 | 2343 | /*#define HAS_ATOLL / **/ |
2bf3754c | 2344 | |
f65cb320 SH |
2345 | /* HAS__FWALK: |
2346 | * This symbol, if defined, indicates that the _fwalk system call is | |
2347 | * available to apply a function to all the file handles. | |
2bf3754c | 2348 | */ |
f65cb320 | 2349 | /*#define HAS__FWALK / **/ |
2bf3754c | 2350 | |
f65cb320 SH |
2351 | /* HAS_ACOSH: |
2352 | * This symbol, if defined, indicates that the acosh routine is | |
2353 | * available to do the inverse hyperbolic cosine function. | |
2bf3754c | 2354 | */ |
f65cb320 | 2355 | /*#define HAS_ACOSH / **/ |
2bf3754c | 2356 | |
f65cb320 SH |
2357 | /* HAS_AINTL: |
2358 | * This symbol, if defined, indicates that the aintl routine is | |
2359 | * available. If copysignl is also present we can emulate modfl. | |
2bf3754c | 2360 | */ |
f65cb320 | 2361 | /*#define HAS_AINTL / **/ |
2bf3754c | 2362 | |
f65cb320 SH |
2363 | /* HAS_ASINH: |
2364 | * This symbol, if defined, indicates that the asinh routine is | |
2365 | * available to do the inverse hyperbolic sine function. | |
2bf3754c | 2366 | */ |
f65cb320 | 2367 | /*#define HAS_ASINH / **/ |
2bf3754c | 2368 | |
f65cb320 SH |
2369 | /* HAS_ATANH: |
2370 | * This symbol, if defined, indicates that the atanh routine is | |
2371 | * available to do the inverse hyperbolic tangent function. | |
2bf3754c | 2372 | */ |
f65cb320 | 2373 | /*#define HAS_ATANH / **/ |
2bf3754c | 2374 | |
f65cb320 SH |
2375 | /* HAS_BUILTIN_CHOOSE_EXPR: |
2376 | * Can we handle GCC builtin for compile-time ternary-like expressions | |
2bf3754c | 2377 | */ |
f65cb320 SH |
2378 | /* HAS_BUILTIN_EXPECT: |
2379 | * Can we handle GCC builtin for telling that certain values are more | |
2380 | * likely | |
2bf3754c | 2381 | */ |
f65cb320 SH |
2382 | /*#define HAS_BUILTIN_EXPECT / **/ |
2383 | /*#define HAS_BUILTIN_CHOOSE_EXPR / **/ | |
2bf3754c | 2384 | |
f65cb320 SH |
2385 | /* HAS_C99_VARIADIC_MACROS: |
2386 | * If defined, the compiler supports C99 variadic macros. | |
ec6c7eee | 2387 | */ |
f3b9bb7d | 2388 | /*#define HAS_C99_VARIADIC_MACROS / **/ |
ec6c7eee SH |
2389 | |
2390 | /* HAS_CLASS: | |
2391 | * This symbol, if defined, indicates that the class routine is | |
2392 | * available to classify doubles. Available for example in AIX. | |
2393 | * The returned values are defined in <float.h> and are: | |
2394 | * | |
2395 | * FP_PLUS_NORM Positive normalized, nonzero | |
2396 | * FP_MINUS_NORM Negative normalized, nonzero | |
2397 | * FP_PLUS_DENORM Positive denormalized, nonzero | |
2398 | * FP_MINUS_DENORM Negative denormalized, nonzero | |
2399 | * FP_PLUS_ZERO +0.0 | |
2400 | * FP_MINUS_ZERO -0.0 | |
2401 | * FP_PLUS_INF +INF | |
2402 | * FP_MINUS_INF -INF | |
2403 | * FP_NANS Signaling Not a Number (NaNS) | |
2404 | * FP_NANQ Quiet Not a Number (NaNQ) | |
2405 | */ | |
f3b9bb7d | 2406 | /*#define HAS_CLASS / **/ |
ec6c7eee SH |
2407 | |
2408 | /* HAS_CLEARENV: | |
2409 | * This symbol, if defined, indicates that the clearenv () routine is | |
2410 | * available for use. | |
2411 | */ | |
f3b9bb7d | 2412 | /*#define HAS_CLEARENV / **/ |
ec6c7eee SH |
2413 | |
2414 | /* HAS_STRUCT_CMSGHDR: | |
2415 | * This symbol, if defined, indicates that the struct cmsghdr | |
2416 | * is supported. | |
2417 | */ | |
f3b9bb7d | 2418 | /*#define HAS_STRUCT_CMSGHDR / **/ |
ec6c7eee | 2419 | |
f65cb320 SH |
2420 | /* HAS_COPYSIGN: |
2421 | * This symbol, if defined, indicates that the copysign routine is | |
2422 | * available to do the copysign function. | |
2423 | */ | |
2424 | /*#define HAS_COPYSIGN / **/ | |
2425 | ||
ec6c7eee SH |
2426 | /* HAS_COPYSIGNL: |
2427 | * This symbol, if defined, indicates that the copysignl routine is | |
2428 | * available. If aintl is also present we can emulate modfl. | |
2429 | */ | |
f3b9bb7d | 2430 | /*#define HAS_COPYSIGNL / **/ |
ec6c7eee SH |
2431 | |
2432 | /* USE_CPLUSPLUS: | |
2433 | * This symbol, if defined, indicates that a C++ compiler was | |
2434 | * used to compiled Perl and will be used to compile extensions. | |
2435 | */ | |
f3b9bb7d | 2436 | /*#define USE_CPLUSPLUS / **/ |
ec6c7eee SH |
2437 | |
2438 | /* HAS_DBMINIT_PROTO: | |
2439 | * This symbol, if defined, indicates that the system provides | |
2440 | * a prototype for the dbminit() function. Otherwise, it is up | |
2441 | * to the program to supply one. A good guess is | |
2442 | * extern int dbminit(char *); | |
2443 | */ | |
f3b9bb7d | 2444 | /*#define HAS_DBMINIT_PROTO / **/ |
ec6c7eee SH |
2445 | |
2446 | /* HAS_DIR_DD_FD: | |
2447 | * This symbol, if defined, indicates that the the DIR* dirstream | |
2448 | * structure contains a member variable named dd_fd. | |
2449 | */ | |
f3b9bb7d | 2450 | /*#define HAS_DIR_DD_FD / **/ |
ec6c7eee SH |
2451 | |
2452 | /* HAS_DIRFD: | |
2453 | * This manifest constant lets the C program know that dirfd | |
2454 | * is available. | |
2455 | */ | |
f3b9bb7d | 2456 | /*#define HAS_DIRFD / **/ |
ec6c7eee SH |
2457 | |
2458 | /* DLSYM_NEEDS_UNDERSCORE: | |
2459 | * This symbol, if defined, indicates that we need to prepend an | |
2460 | * underscore to the symbol name before calling dlsym(). This only | |
2461 | * makes sense if you *have* dlsym, which we will presume is the | |
2462 | * case if you're using dl_dlopen.xs. | |
2463 | */ | |
f3b9bb7d | 2464 | /*#define DLSYM_NEEDS_UNDERSCORE / **/ |
ec6c7eee | 2465 | |
f65cb320 SH |
2466 | /* HAS_ERF: |
2467 | * This symbol, if defined, indicates that the erf routine is | |
2468 | * available to do the error function. | |
2469 | */ | |
2470 | /*#define HAS_ERF / **/ | |
2471 | ||
2472 | /* HAS_ERFC: | |
2473 | * This symbol, if defined, indicates that the erfc routine is | |
2474 | * available to do the complementary error function. | |
2475 | */ | |
2476 | /*#define HAS_ERFC / **/ | |
2477 | ||
2478 | /* HAS_EXP2: | |
2479 | * This symbol, if defined, indicates that the exp2 routine is | |
2480 | * available to do the 2**x function. | |
2481 | */ | |
2482 | /*#define HAS_EXP2 / **/ | |
2483 | ||
2484 | /* HAS_EXPM1: | |
2485 | * This symbol, if defined, indicates that the expm1 routine is | |
2486 | * available to do the exp(x) - 1 when x is near 1 function. | |
2487 | */ | |
2488 | /*#define HAS_EXPM1 / **/ | |
2489 | ||
ec6c7eee SH |
2490 | /* HAS_FAST_STDIO: |
2491 | * This symbol, if defined, indicates that the "fast stdio" | |
2492 | * is available to manipulate the stdio buffers directly. | |
2493 | */ | |
2494 | #define HAS_FAST_STDIO /**/ | |
2495 | ||
2496 | /* HAS_FCHDIR: | |
2497 | * This symbol, if defined, indicates that the fchdir routine is | |
2498 | * available to change directory using a file descriptor. | |
2499 | */ | |
f3b9bb7d | 2500 | /*#define HAS_FCHDIR / **/ |
ec6c7eee SH |
2501 | |
2502 | /* FCNTL_CAN_LOCK: | |
2503 | * This symbol, if defined, indicates that fcntl() can be used | |
2504 | * for file locking. Normally on Unix systems this is defined. | |
2505 | * It may be undefined on VMS. | |
2506 | */ | |
f3b9bb7d | 2507 | /*#define FCNTL_CAN_LOCK / **/ |
ec6c7eee | 2508 | |
f65cb320 SH |
2509 | /* HAS_FDCLOSE: |
2510 | * This symbol, if defined, indicates that the fdclose routine is | |
2511 | * available to free a FILE structure without closing the underlying | |
2512 | * file descriptor. This function appeared in FreeBSD 10.2. | |
2513 | */ | |
2514 | /*#define HAS_FDCLOSE / **/ | |
2515 | ||
2516 | /* HAS_FDIM: | |
2517 | * This symbol, if defined, indicates that the fdim routine is | |
2518 | * available to do the positive difference function. | |
2519 | */ | |
2520 | /*#define HAS_FDIM / **/ | |
2521 | ||
93c08870 SH |
2522 | /* HAS_FEGETROUND: |
2523 | * This symbol, if defined, indicates that the fegetround routine is | |
2524 | * available to return the macro corresponding to the current rounding | |
2525 | * mode. | |
2526 | */ | |
2527 | /*#define HAS_FEGETROUND / **/ | |
2528 | ||
ec6c7eee SH |
2529 | /* HAS_FINITE: |
2530 | * This symbol, if defined, indicates that the finite routine is | |
2531 | * available to check whether a double is finite (non-infinity non-NaN). | |
2532 | */ | |
f3b9bb7d | 2533 | /*#define HAS_FINITE / **/ |
ec6c7eee SH |
2534 | |
2535 | /* HAS_FINITEL: | |
2536 | * This symbol, if defined, indicates that the finitel routine is | |
2537 | * available to check whether a long double is finite | |
2538 | * (non-infinity non-NaN). | |
2539 | */ | |
f3b9bb7d | 2540 | /*#define HAS_FINITEL / **/ |
ec6c7eee SH |
2541 | |
2542 | /* HAS_FLOCK_PROTO: | |
2543 | * This symbol, if defined, indicates that the system provides | |
2544 | * a prototype for the flock() function. Otherwise, it is up | |
2545 | * to the program to supply one. A good guess is | |
2546 | * extern int flock(int, int); | |
2547 | */ | |
2548 | #define HAS_FLOCK_PROTO /**/ | |
2549 | ||
f65cb320 SH |
2550 | /* HAS_FMA: |
2551 | * This symbol, if defined, indicates that the fma routine is | |
2552 | * available to do the multiply-add function. | |
2553 | */ | |
2554 | /*#define HAS_FMA / **/ | |
2555 | ||
2556 | /* HAS_FMAX: | |
2557 | * This symbol, if defined, indicates that the fmax routine is | |
2558 | * available to do the maximum function. | |
2559 | */ | |
2560 | /*#define HAS_FMAX / **/ | |
2561 | ||
2562 | /* HAS_FMIN: | |
2563 | * This symbol, if defined, indicates that the fmin routine is | |
2564 | * available to do the minimum function. | |
2565 | */ | |
2566 | /*#define HAS_FMIN / **/ | |
2567 | ||
ec6c7eee SH |
2568 | /* HAS_FP_CLASS: |
2569 | * This symbol, if defined, indicates that the fp_class routine is | |
2570 | * available to classify doubles. Available for example in Digital UNIX. | |
2571 | * The returned values are defined in <math.h> and are: | |
2572 | * | |
2573 | * FP_SNAN Signaling NaN (Not-a-Number) | |
2574 | * FP_QNAN Quiet NaN (Not-a-Number) | |
2575 | * FP_POS_INF +infinity | |
2576 | * FP_NEG_INF -infinity | |
2577 | * FP_POS_NORM Positive normalized | |
2578 | * FP_NEG_NORM Negative normalized | |
2579 | * FP_POS_DENORM Positive denormalized | |
2580 | * FP_NEG_DENORM Negative denormalized | |
2581 | * FP_POS_ZERO +0.0 (positive zero) | |
2582 | * FP_NEG_ZERO -0.0 (negative zero) | |
2583 | */ | |
f3b9bb7d | 2584 | /*#define HAS_FP_CLASS / **/ |
ec6c7eee | 2585 | |
93c08870 SH |
2586 | /* HAS_FP_CLASSL: |
2587 | * This symbol, if defined, indicates that the fp_classl routine is | |
2588 | * available to classify long doubles. Available for example in | |
2589 | * Digital UNIX. See for possible values HAS_FP_CLASS. | |
2590 | */ | |
2591 | /*#define HAS_FP_CLASSL / **/ | |
2592 | ||
ec6c7eee SH |
2593 | /* HAS_FPCLASS: |
2594 | * This symbol, if defined, indicates that the fpclass routine is | |
2595 | * available to classify doubles. Available for example in Solaris/SVR4. | |
2596 | * The returned values are defined in <ieeefp.h> and are: | |
2597 | * | |
2598 | * FP_SNAN signaling NaN | |
2599 | * FP_QNAN quiet NaN | |
2600 | * FP_NINF negative infinity | |
2601 | * FP_PINF positive infinity | |
2602 | * FP_NDENORM negative denormalized non-zero | |
2603 | * FP_PDENORM positive denormalized non-zero | |
2604 | * FP_NZERO negative zero | |
2605 | * FP_PZERO positive zero | |
2606 | * FP_NNORM negative normalized non-zero | |
2607 | * FP_PNORM positive normalized non-zero | |
2608 | */ | |
f3b9bb7d | 2609 | /*#define HAS_FPCLASS / **/ |
ec6c7eee SH |
2610 | |
2611 | /* HAS_FPCLASSIFY: | |
2612 | * This symbol, if defined, indicates that the fpclassify routine is | |
2613 | * available to classify doubles. Available for example in HP-UX. | |
2614 | * The returned values are defined in <math.h> and are | |
2615 | * | |
2616 | * FP_NORMAL Normalized | |
2617 | * FP_ZERO Zero | |
2618 | * FP_INFINITE Infinity | |
2619 | * FP_SUBNORMAL Denormalized | |
2620 | * FP_NAN NaN | |
2621 | * | |
2622 | */ | |
93c08870 SH |
2623 | /* HAS_FP_CLASSIFY: |
2624 | * This symbol, if defined, indicates that the fp_classify routine is | |
2625 | * available to classify doubles. The values are defined in <math.h> | |
2626 | * | |
2627 | * FP_NORMAL Normalized | |
2628 | * FP_ZERO Zero | |
2629 | * FP_INFINITE Infinity | |
2630 | * FP_SUBNORMAL Denormalized | |
2631 | * FP_NAN NaN | |
2632 | * | |
2633 | */ | |
2634 | /*#define HAS_FPCLASSIFY / **/ | |
2635 | /*#define HAS_FP_CLASSIFY / **/ | |
ec6c7eee SH |
2636 | |
2637 | /* HAS_FPCLASSL: | |
2638 | * This symbol, if defined, indicates that the fpclassl routine is | |
2639 | * available to classify long doubles. Available for example in IRIX. | |
2640 | * The returned values are defined in <ieeefp.h> and are: | |
2641 | * | |
2642 | * FP_SNAN signaling NaN | |
2643 | * FP_QNAN quiet NaN | |
2644 | * FP_NINF negative infinity | |
2645 | * FP_PINF positive infinity | |
2646 | * FP_NDENORM negative denormalized non-zero | |
2647 | * FP_PDENORM positive denormalized non-zero | |
2648 | * FP_NZERO negative zero | |
2649 | * FP_PZERO positive zero | |
2650 | * FP_NNORM negative normalized non-zero | |
2651 | * FP_PNORM positive normalized non-zero | |
2652 | */ | |
f3b9bb7d | 2653 | /*#define HAS_FPCLASSL / **/ |
ec6c7eee | 2654 | |
93c08870 SH |
2655 | /* HAS_FPGETROUND: |
2656 | * This symbol, if defined, indicates that the fpgetround routine is | |
2657 | * available to get the floating point rounding mode. | |
2658 | */ | |
2659 | /*#define HAS_FPGETROUND / **/ | |
2660 | ||
ec6c7eee SH |
2661 | /* HAS_FPOS64_T: |
2662 | * This symbol will be defined if the C compiler supports fpos64_t. | |
2663 | */ | |
f3b9bb7d | 2664 | /*#define HAS_FPOS64_T / **/ |
ec6c7eee SH |
2665 | |
2666 | /* HAS_FREXPL: | |
2667 | * This symbol, if defined, indicates that the frexpl routine is | |
2668 | * available to break a long double floating-point number into | |
2669 | * a normalized fraction and an integral power of 2. | |
2670 | */ | |
f3b9bb7d | 2671 | /*#define HAS_FREXPL / **/ |
ec6c7eee | 2672 | |
ea442100 JH |
2673 | /* HAS_STRUCT_FS_DATA: |
2674 | * This symbol, if defined, indicates that the struct fs_data | |
2675 | * to do statfs() is supported. | |
2676 | */ | |
2677 | /*#define HAS_STRUCT_FS_DATA / **/ | |
2678 | ||
f65cb320 SH |
2679 | /* HAS_FCHMODAT: |
2680 | * This symbol is defined if the fchmodat() routine is available. | |
2681 | */ | |
2682 | /* HAS_LINKAT: | |
2683 | * This symbol is defined if the linkat() routine is available. | |
2684 | */ | |
2685 | /* HAS_OPENAT: | |
2686 | * This symbol is defined if the openat() routine is available. | |
2687 | */ | |
2688 | /* HAS_RENAMEAT: | |
2689 | * This symbol is defined if the renameat() routine is available. | |
2690 | */ | |
2691 | /* HAS_UNLINKAT: | |
2692 | * This symbol is defined if the unlinkat() routine is available. | |
2693 | */ | |
2694 | /*#define HAS_FCHMODAT / **/ | |
2695 | /*#define HAS_LINKAT / **/ | |
2696 | /*#define HAS_OPENAT / **/ | |
2697 | /*#define HAS_RENAMEAT / **/ | |
2698 | /*#define HAS_UNLINKAT / **/ | |
2699 | ||
ec6c7eee SH |
2700 | /* HAS_FSEEKO: |
2701 | * This symbol, if defined, indicates that the fseeko routine is | |
2702 | * available to fseek beyond 32 bits (useful for ILP32 hosts). | |
2703 | */ | |
f3b9bb7d | 2704 | /*#define HAS_FSEEKO / **/ |
ec6c7eee | 2705 | |
ea442100 JH |
2706 | /* HAS_FSTATFS: |
2707 | * This symbol, if defined, indicates that the fstatfs routine is | |
2708 | * available to stat filesystems by file descriptors. | |
2709 | */ | |
2710 | /*#define HAS_FSTATFS / **/ | |
2711 | ||
ec6c7eee SH |
2712 | /* HAS_FSYNC: |
2713 | * This symbol, if defined, indicates that the fsync routine is | |
2714 | * available to write a file's modified data and attributes to | |
2715 | * permanent storage. | |
2716 | */ | |
f3b9bb7d | 2717 | /*#define HAS_FSYNC / **/ |
ec6c7eee SH |
2718 | |
2719 | /* HAS_FTELLO: | |
2720 | * This symbol, if defined, indicates that the ftello routine is | |
2721 | * available to ftell beyond 32 bits (useful for ILP32 hosts). | |
2722 | */ | |
f3b9bb7d | 2723 | /*#define HAS_FTELLO / **/ |
ec6c7eee SH |
2724 | |
2725 | /* HAS_FUTIMES: | |
2726 | * This symbol, if defined, indicates that the futimes routine is | |
2727 | * available to change file descriptor time stamps with struct timevals. | |
2728 | */ | |
f3b9bb7d | 2729 | /*#define HAS_FUTIMES / **/ |
2730 | ||
f65cb320 SH |
2731 | /* HAS_GAI_STRERROR: |
2732 | * This symbol, if defined, indicates that the gai_strerror routine | |
2733 | * is available to translate error codes returned by getaddrinfo() | |
2734 | * into human readable strings. | |
2735 | */ | |
2736 | /*#define HAS_GAI_STRERROR / **/ | |
2737 | ||
f3b9bb7d | 2738 | /* HAS_GETADDRINFO: |
2739 | * This symbol, if defined, indicates that the getaddrinfo() function | |
2740 | * is available for use. | |
2741 | */ | |
2742 | /*#define HAS_GETADDRINFO / **/ | |
ec6c7eee SH |
2743 | |
2744 | /* HAS_GETCWD: | |
2745 | * This symbol, if defined, indicates that the getcwd routine is | |
2746 | * available to get the current working directory. | |
2747 | */ | |
2748 | #define HAS_GETCWD /**/ | |
2749 | ||
2750 | /* HAS_GETESPWNAM: | |
2751 | * This symbol, if defined, indicates that the getespwnam system call is | |
840565a7 | 2752 | * available to retrieve enhanced (shadow) password entries by name. |
ec6c7eee | 2753 | */ |
f3b9bb7d | 2754 | /*#define HAS_GETESPWNAM / **/ |
ec6c7eee | 2755 | |
ea442100 JH |
2756 | /* HAS_GETFSSTAT: |
2757 | * This symbol, if defined, indicates that the getfsstat routine is | |
2758 | * available to stat filesystems in bulk. | |
2759 | */ | |
2760 | /*#define HAS_GETFSSTAT / **/ | |
2761 | ||
ec6c7eee SH |
2762 | /* HAS_GETITIMER: |
2763 | * This symbol, if defined, indicates that the getitimer routine is | |
2764 | * available to return interval timers. | |
2765 | */ | |
f3b9bb7d | 2766 | /*#define HAS_GETITIMER / **/ |
ec6c7eee | 2767 | |
ea442100 JH |
2768 | /* HAS_GETMNT: |
2769 | * This symbol, if defined, indicates that the getmnt routine is | |
2770 | * available to get filesystem mount info by filename. | |
2771 | */ | |
2772 | /*#define HAS_GETMNT / **/ | |
2773 | ||
2774 | /* HAS_GETMNTENT: | |
2775 | * This symbol, if defined, indicates that the getmntent routine is | |
2776 | * available to iterate through mounted file systems to get their info. | |
2777 | */ | |
2778 | /*#define HAS_GETMNTENT / **/ | |
2779 | ||
f3b9bb7d | 2780 | /* HAS_GETNAMEINFO: |
2781 | * This symbol, if defined, indicates that the getnameinfo() function | |
2782 | * is available for use. | |
2783 | */ | |
2784 | /*#define HAS_GETNAMEINFO / **/ | |
ec6c7eee SH |
2785 | |
2786 | /* HAS_GETPRPWNAM: | |
2787 | * This symbol, if defined, indicates that the getprpwnam system call is | |
2788 | * available to retrieve protected (shadow) password entries by name. | |
2789 | */ | |
f3b9bb7d | 2790 | /*#define HAS_GETPRPWNAM / **/ |
ec6c7eee SH |
2791 | |
2792 | /* HAS_GETSPNAM: | |
2793 | * This symbol, if defined, indicates that the getspnam system call is | |
2794 | * available to retrieve SysV shadow password entries by name. | |
2795 | */ | |
f3b9bb7d | 2796 | /*#define HAS_GETSPNAM / **/ |
ec6c7eee | 2797 | |
ea442100 JH |
2798 | /* HAS_HASMNTOPT: |
2799 | * This symbol, if defined, indicates that the hasmntopt routine is | |
2800 | * available to query the mount options of file systems. | |
2801 | */ | |
2802 | /*#define HAS_HASMNTOPT / **/ | |
2803 | ||
f65cb320 SH |
2804 | /* HAS_HYPOT: |
2805 | * This symbol, if defined, indicates that the hypot routine is | |
2806 | * available to do the hypotenuse function. | |
2807 | */ | |
2808 | /*#define HAS_HYPOT / **/ | |
2809 | ||
2810 | /* HAS_ILOGB: | |
2811 | * This symbol, if defined, indicates that the ilogb routine is | |
2812 | * available to get integer exponent of a floating-point value. | |
2813 | */ | |
2814 | /*#define HAS_ILOGB / **/ | |
2815 | ||
ec6c7eee SH |
2816 | /* HAS_ILOGBL: |
2817 | * This symbol, if defined, indicates that the ilogbl routine is | |
2818 | * available. If scalbnl is also present we can emulate frexpl. | |
2819 | */ | |
f3b9bb7d | 2820 | /*#define HAS_ILOGBL / **/ |
2821 | ||
2822 | /* HAS_INETNTOP: | |
2823 | * This symbol, if defined, indicates that the inet_ntop() function | |
2824 | * is available to parse IPv4 and IPv6 strings. | |
2825 | */ | |
2826 | /*#define HAS_INETNTOP / **/ | |
2827 | ||
2828 | /* HAS_INETPTON: | |
2829 | * This symbol, if defined, indicates that the inet_pton() function | |
2830 | * is available to parse IPv4 and IPv6 strings. | |
2831 | */ | |
2832 | /*#define HAS_INETPTON / **/ | |
ec6c7eee SH |
2833 | |
2834 | /* HAS_INT64_T: | |
2835 | * This symbol will defined if the C compiler supports int64_t. | |
2836 | * Usually the <inttypes.h> needs to be included, but sometimes | |
2837 | * <sys/types.h> is enough. | |
2838 | */ | |
f3b9bb7d | 2839 | /*#define HAS_INT64_T / **/ |
ec6c7eee | 2840 | |
2bf3754c | 2841 | /* HAS_ISBLANK: |
ec2a15bb | 2842 | * This manifest constant lets the C program know that isblank |
2bf3754c SH |
2843 | * is available. |
2844 | */ | |
2845 | /*#define HAS_ISBLANK / **/ | |
2846 | ||
ec6c7eee SH |
2847 | /* HAS_ISFINITE: |
2848 | * This symbol, if defined, indicates that the isfinite routine is | |
2849 | * available to check whether a double is finite (non-infinity non-NaN). | |
2850 | */ | |
f3b9bb7d | 2851 | /*#define HAS_ISFINITE / **/ |
ec6c7eee | 2852 | |
93c08870 SH |
2853 | /* HAS_ISFINITEL: |
2854 | * This symbol, if defined, indicates that the isfinitel routine is | |
2855 | * available to check whether a long double is finite. | |
2856 | * (non-infinity non-NaN). | |
2857 | */ | |
2858 | /*#define HAS_ISFINITEL / **/ | |
2859 | ||
ec6c7eee SH |
2860 | /* HAS_ISINF: |
2861 | * This symbol, if defined, indicates that the isinf routine is | |
2862 | * available to check whether a double is an infinity. | |
2863 | */ | |
f3b9bb7d | 2864 | /*#define HAS_ISINF / **/ |
ec6c7eee | 2865 | |
93c08870 SH |
2866 | /* HAS_ISINFL: |
2867 | * This symbol, if defined, indicates that the isinfl routine is | |
2868 | * available to check whether a long double is an infinity. | |
2869 | */ | |
2870 | /*#define HAS_ISINFL / **/ | |
2871 | ||
f65cb320 SH |
2872 | /* HAS_ISLESS: |
2873 | * This symbol, if defined, indicates that the isless routine is | |
2874 | * available to do the isless function. | |
2875 | */ | |
2876 | /*#define HAS_ISLESS / **/ | |
2877 | ||
ec6c7eee SH |
2878 | /* HAS_ISNAN: |
2879 | * This symbol, if defined, indicates that the isnan routine is | |
2880 | * available to check whether a double is a NaN. | |
2881 | */ | |
2882 | #define HAS_ISNAN /**/ | |
2883 | ||
2884 | /* HAS_ISNANL: | |
2885 | * This symbol, if defined, indicates that the isnanl routine is | |
2886 | * available to check whether a long double is a NaN. | |
2887 | */ | |
f3b9bb7d | 2888 | /*#define HAS_ISNANL / **/ |
ec6c7eee | 2889 | |
f65cb320 SH |
2890 | /* HAS_ISNORMAL: |
2891 | * This symbol, if defined, indicates that the isnormal routine is | |
2892 | * available to check whether a double is normal (non-zero normalized). | |
2893 | */ | |
2894 | /*#define HAS_ISNORMAL / **/ | |
2895 | ||
93c08870 SH |
2896 | /* HAS_J0: |
2897 | * This symbol, if defined, indicates to the C program that the | |
2898 | * j0() function is available for Bessel functions of the first | |
2899 | * kind of the order zero, for doubles. | |
2900 | */ | |
2901 | /* HAS_J0L: | |
2902 | * This symbol, if defined, indicates to the C program that the | |
2903 | * j0l() function is available for Bessel functions of the first | |
2904 | * kind of the order zero, for long doubles. | |
2905 | */ | |
2906 | /*#define HAS_J0 / **/ | |
2907 | /*#define HAS_J0L / **/ | |
2908 | ||
f65cb320 SH |
2909 | /* HAS_LC_MONETARY_2008: |
2910 | * This symbol, if defined, indicates that the localeconv routine is | |
2911 | * available and has the additional members added in POSIX 1003.1-2008. | |
2912 | */ | |
2913 | /*#define HAS_LC_MONETARY_2008 / **/ | |
2914 | ||
ec6c7eee SH |
2915 | /* HAS_LDBL_DIG: |
2916 | * This symbol, if defined, indicates that this system's <float.h> | |
2917 | * or <limits.h> defines the symbol LDBL_DIG, which is the number | |
2918 | * of significant digits in a long double precision number. Unlike | |
2919 | * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined. | |
2920 | */ | |
2921 | #define HAS_LDBL_DIG /**/ | |
2922 | ||
f65cb320 SH |
2923 | /* HAS_LGAMMA: |
2924 | * This symbol, if defined, indicates that the lgamma routine is | |
2925 | * available to do the log gamma function. See also HAS_TGAMMA and | |
2926 | * HAS_LGAMMA_R. | |
2927 | */ | |
2928 | /*#define HAS_LGAMMA / **/ | |
2929 | ||
2930 | /* HAS_LGAMMA_R: | |
2931 | * This symbol, if defined, indicates that the lgamma_r routine is | |
2932 | * available to do the log gamma function without using the global | |
2933 | * signgam variable. | |
2934 | */ | |
2935 | /*#define HAS_LGAMMA_R / **/ | |
2936 | ||
ec6c7eee SH |
2937 | /* LIBM_LIB_VERSION: |
2938 | * This symbol, if defined, indicates that libm exports _LIB_VERSION | |
2939 | * and that math.h defines the enum to manipulate it. | |
2940 | */ | |
f3b9bb7d | 2941 | /*#define LIBM_LIB_VERSION / **/ |
ec6c7eee | 2942 | |
f65cb320 SH |
2943 | /* HAS_LLRINT: |
2944 | * This symbol, if defined, indicates that the llrint routine is | |
2945 | * available to return the long long value closest to a double | |
2946 | * (according to the current rounding mode). | |
2947 | */ | |
2948 | /*#define HAS_LLRINT / **/ | |
2949 | ||
2950 | /* HAS_LLRINTL: | |
2951 | * This symbol, if defined, indicates that the llrintl routine is | |
2952 | * available to return the long long value closest to a long double | |
2953 | * (according to the current rounding mode). | |
2954 | */ | |
2955 | /*#define HAS_LLRINTL / **/ | |
2956 | ||
2957 | /* HAS_LLROUND: | |
2958 | * This symbol, if defined, indicates that the llround routine is | |
2959 | * available to return the nearest long long value. | |
2960 | */ | |
2961 | /*#define HAS_LLROUND / **/ | |
2962 | ||
2963 | /* HAS_LLROUNDL: | |
2964 | * This symbol, if defined, indicates that the llroundl routine is | |
2965 | * available to return the nearest long long value away from zero of | |
2966 | * the long double argument value. | |
2967 | */ | |
2968 | /*#define HAS_LLROUNDL / **/ | |
2969 | ||
2970 | /* HAS_LOG1P: | |
2971 | * This symbol, if defined, indicates that the log1p routine is | |
2972 | * available to do the logarithm of 1 plus argument function. | |
2973 | */ | |
2974 | /*#define HAS_LOG1P / **/ | |
2975 | ||
2976 | /* HAS_LOG2: | |
2977 | * This symbol, if defined, indicates that the log2 routine is | |
2978 | * available to do the log2 function. | |
2979 | */ | |
2980 | /*#define HAS_LOG2 / **/ | |
2981 | ||
2982 | /* HAS_LOGB: | |
2983 | * This symbol, if defined, indicates that the logb routine is | |
2984 | * available to do the logb function. | |
2985 | */ | |
2986 | /*#define HAS_LOGB / **/ | |
2987 | ||
2988 | /* HAS_LRINT: | |
2989 | * This symbol, if defined, indicates that the lrint routine is | |
2990 | * available to return the integral value closest to a double | |
2991 | * (according to the current rounding mode). | |
2992 | */ | |
2993 | /*#define HAS_LRINT / **/ | |
2994 | ||
2995 | /* HAS_LRINTL: | |
2996 | * This symbol, if defined, indicates that the lrintl routine is | |
2997 | * available to return the integral value closest to a long double | |
2998 | * (according to the current rounding mode). | |
2999 | */ | |
3000 | /*#define HAS_LRINTL / **/ | |
3001 | ||
3002 | /* HAS_LROUND: | |
3003 | * This symbol, if defined, indicates that the lround routine is | |
3004 | * available to return the nearest integral value. | |
3005 | */ | |
3006 | /*#define HAS_LROUND / **/ | |
3007 | ||
3008 | /* HAS_LROUNDL: | |
3009 | * This symbol, if defined, indicates that the lroundl routine is | |
3010 | * available to return the nearest integral value away from zero of | |
3011 | * the long double argument value. | |
3012 | */ | |
3013 | /*#define HAS_LROUNDL / **/ | |
3014 | ||
ec6c7eee SH |
3015 | /* HAS_MADVISE: |
3016 | * This symbol, if defined, indicates that the madvise system call is | |
3017 | * available to map a file into memory. | |
3018 | */ | |
f3b9bb7d | 3019 | /*#define HAS_MADVISE / **/ |
ec6c7eee SH |
3020 | |
3021 | /* HAS_MALLOC_SIZE: | |
3022 | * This symbol, if defined, indicates that the malloc_size | |
3023 | * routine is available for use. | |
3024 | */ | |
f3b9bb7d | 3025 | /*#define HAS_MALLOC_SIZE / **/ |
ec6c7eee SH |
3026 | |
3027 | /* HAS_MALLOC_GOOD_SIZE: | |
3028 | * This symbol, if defined, indicates that the malloc_good_size | |
3029 | * routine is available for use. | |
3030 | */ | |
f3b9bb7d | 3031 | /*#define HAS_MALLOC_GOOD_SIZE / **/ |
ec6c7eee | 3032 | |
f65cb320 SH |
3033 | /* HAS_MEMMEM: |
3034 | * This symbol, if defined, indicates that the memmem routine is | |
3035 | * available to return a pointer to the start of the first occurance | |
3036 | * of a substring in a memory area (or NULL if not found). | |
3037 | */ | |
3038 | /*#define HAS_MEMMEM / **/ | |
3039 | ||
3040 | /* HAS_MEMRCHR: | |
3041 | * This symbol, if defined, indicates that the memrchr routine is | |
3042 | * available to return a pointer to the last occurrence of a byte in | |
3043 | * a memory area (or NULL if not found). | |
3044 | */ | |
3045 | /*#define HAS_MEMRCHR / **/ | |
3046 | ||
ec6c7eee SH |
3047 | /* HAS_MKDTEMP: |
3048 | * This symbol, if defined, indicates that the mkdtemp routine is | |
3049 | * available to exclusively create a uniquely named temporary directory. | |
3050 | */ | |
f3b9bb7d | 3051 | /*#define HAS_MKDTEMP / **/ |
ec6c7eee SH |
3052 | |
3053 | /* HAS_MKSTEMPS: | |
3054 | * This symbol, if defined, indicates that the mkstemps routine is | |
840565a7 | 3055 | * available to exclusively create and open a uniquely named |
ec6c7eee SH |
3056 | * (with a suffix) temporary file. |
3057 | */ | |
f3b9bb7d | 3058 | /*#define HAS_MKSTEMPS / **/ |
ec6c7eee SH |
3059 | |
3060 | /* HAS_MODFL: | |
3061 | * This symbol, if defined, indicates that the modfl routine is | |
3062 | * available to split a long double x into a fractional part f and | |
3063 | * an integer part i such that |f| < 1.0 and (f + i) = x. | |
3064 | */ | |
3065 | /* HAS_MODFL_PROTO: | |
3066 | * This symbol, if defined, indicates that the system provides | |
3067 | * a prototype for the modfl() function. Otherwise, it is up | |
3068 | * to the program to supply one. | |
3069 | */ | |
f3b9bb7d | 3070 | /*#define HAS_MODFL / **/ |
3071 | /*#define HAS_MODFL_PROTO / **/ | |
ec6c7eee SH |
3072 | |
3073 | /* HAS_MPROTECT: | |
3074 | * This symbol, if defined, indicates that the mprotect system call is | |
3075 | * available to modify the access protection of a memory mapped file. | |
3076 | */ | |
f3b9bb7d | 3077 | /*#define HAS_MPROTECT / **/ |
ec6c7eee SH |
3078 | |
3079 | /* HAS_STRUCT_MSGHDR: | |
3080 | * This symbol, if defined, indicates that the struct msghdr | |
3081 | * is supported. | |
3082 | */ | |
f3b9bb7d | 3083 | /*#define HAS_STRUCT_MSGHDR / **/ |
ec6c7eee | 3084 | |
f65cb320 SH |
3085 | /* HAS_NAN: |
3086 | * This symbol, if defined, indicates that the nan routine is | |
3087 | * available to generate NaN. | |
3088 | */ | |
3089 | /*#define HAS_NAN / **/ | |
3090 | ||
3091 | /* HAS_NEARBYINT: | |
3092 | * This symbol, if defined, indicates that the nearbyint routine is | |
3093 | * available to return the integral value closest to (according to | |
3094 | * the current rounding mode) to x. | |
3095 | */ | |
3096 | /*#define HAS_NEARBYINT / **/ | |
3097 | ||
3098 | /* HAS_NEWLOCALE: | |
3099 | * This symbol, if defined, indicates that the newlocale routine is | |
3100 | * available to return a new locale object or modify an existing | |
3101 | * locale object. | |
3102 | */ | |
3103 | /* HAS_FREELOCALE: | |
3104 | * This symbol, if defined, indicates that the freelocale routine is | |
3105 | * available to deallocates the resources associated with a locale object. | |
3106 | */ | |
3107 | /* HAS_USELOCALE: | |
3108 | * This symbol, if defined, indicates that the uselocale routine is | |
3109 | * available to set the current locale for the calling thread. | |
3110 | */ | |
3111 | /* HAS_QUERYLOCALE: | |
3112 | * This symbol, if defined, indicates that the querylocale routine is | |
3113 | * available to return the name of the locale for a category mask. | |
3114 | */ | |
3115 | /* I_XLOCALE: | |
3116 | * This symbol, if defined, indicates to the C program that it should | |
3117 | * include <xlocale.h> to get uselocale() and its friends. | |
3118 | */ | |
3119 | /*#define HAS_NEWLOCALE / **/ | |
3120 | /*#define HAS_FREELOCALE / **/ | |
3121 | /*#define HAS_USELOCALE / **/ | |
3122 | /*#define HAS_QUERYLOCALE / **/ | |
3123 | /*#define I_XLOCALE / **/ | |
3124 | ||
3125 | /* HAS_NEXTAFTER: | |
3126 | * This symbol, if defined, indicates that the nextafter routine is | |
3127 | * available to return the next machine representable double from | |
3128 | * x in direction y. | |
3129 | */ | |
3130 | /*#define HAS_NEXTAFTER / **/ | |
3131 | ||
3132 | /* HAS_NEXTTOWARD: | |
3133 | * This symbol, if defined, indicates that the nexttoward routine is | |
3134 | * available to return the next machine representable long double from | |
3135 | * x in direction y. | |
3136 | */ | |
3137 | /*#define HAS_NEXTTOWARD / **/ | |
3138 | ||
ec6c7eee SH |
3139 | /* HAS_NL_LANGINFO: |
3140 | * This symbol, if defined, indicates that the nl_langinfo routine is | |
3141 | * available to return local data. You will also need <langinfo.h> | |
3142 | * and therefore I_LANGINFO. | |
3143 | */ | |
f3b9bb7d | 3144 | /*#define HAS_NL_LANGINFO / **/ |
ec6c7eee SH |
3145 | |
3146 | /* HAS_OFF64_T: | |
3147 | * This symbol will be defined if the C compiler supports off64_t. | |
3148 | */ | |
f3b9bb7d | 3149 | /*#define HAS_OFF64_T / **/ |
ec6c7eee | 3150 | |
840565a7 SH |
3151 | /* HAS_PRCTL: |
3152 | * This symbol, if defined, indicates that the prctl routine is | |
3153 | * available to set process title. | |
f65cb320 SH |
3154 | * Note that there are at least two prctl variants: Linux and Irix. |
3155 | * While they are somewhat similar, they are incompatible. | |
840565a7 SH |
3156 | */ |
3157 | /* HAS_PRCTL_SET_NAME: | |
3158 | * This symbol, if defined, indicates that the prctl routine is | |
3159 | * available to set process title and supports PR_SET_NAME. | |
3160 | */ | |
3161 | /*#define HAS_PRCTL / **/ | |
3162 | /*#define HAS_PRCTL_SET_NAME / **/ | |
3163 | ||
ec6c7eee SH |
3164 | /* HAS_PROCSELFEXE: |
3165 | * This symbol is defined if PROCSELFEXE_PATH is a symlink | |
3166 | * to the absolute pathname of the executing program. | |
3167 | */ | |
3168 | /* PROCSELFEXE_PATH: | |
3169 | * If HAS_PROCSELFEXE is defined this symbol is the filename | |
3170 | * of the symbolic link pointing to the absolute pathname of | |
3171 | * the executing program. | |
3172 | */ | |
f3b9bb7d | 3173 | /*#define HAS_PROCSELFEXE / **/ |
ec6c7eee SH |
3174 | #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH) |
3175 | #define PROCSELFEXE_PATH /**/ | |
3176 | #endif | |
3177 | ||
3178 | /* HAS_PTHREAD_ATTR_SETSCOPE: | |
3179 | * This symbol, if defined, indicates that the pthread_attr_setscope | |
3180 | * system call is available to set the contention scope attribute of | |
3181 | * a thread attribute object. | |
3182 | */ | |
f3b9bb7d | 3183 | /*#define HAS_PTHREAD_ATTR_SETSCOPE / **/ |
ec6c7eee | 3184 | |
93c08870 SH |
3185 | /* HAS_PTRDIFF_T: |
3186 | * This symbol will be defined if the C compiler supports ptrdiff_t. | |
3187 | */ | |
3188 | #define HAS_PTRDIFF_T /**/ | |
3189 | ||
ec6c7eee SH |
3190 | /* HAS_READV: |
3191 | * This symbol, if defined, indicates that the readv routine is | |
3192 | * available to do gather reads. You will also need <sys/uio.h> | |
3193 | * and there I_SYSUIO. | |
3194 | */ | |
f3b9bb7d | 3195 | /*#define HAS_READV / **/ |
ec6c7eee SH |
3196 | |
3197 | /* HAS_RECVMSG: | |
3198 | * This symbol, if defined, indicates that the recvmsg routine is | |
3199 | * available to send structured socket messages. | |
3200 | */ | |
f3b9bb7d | 3201 | /*#define HAS_RECVMSG / **/ |
ec6c7eee | 3202 | |
f65cb320 SH |
3203 | /* HAS_REMAINDER: |
3204 | * This symbol, if defined, indicates that the remainder routine is | |
3205 | * available to return the floating-point remainder. | |
3206 | */ | |
3207 | /*#define HAS_REMAINDER / **/ | |
3208 | ||
3209 | /* HAS_REMQUO: | |
3210 | * This symbol, if defined, indicates that the remquo routine is | |
3211 | * available to return the remainder and part of quotient. | |
3212 | */ | |
3213 | /*#define HAS_REMQUO / **/ | |
3214 | ||
3215 | /* HAS_RINT: | |
3216 | * This symbol, if defined, indicates that the rint routine is | |
3217 | * available to return the nearest integral value to x as double | |
3218 | * using the current rounding mode. | |
3219 | */ | |
3220 | /*#define HAS_RINT / **/ | |
3221 | ||
3222 | /* HAS_ROUND: | |
3223 | * This symbol, if defined, indicates that the round routine is | |
3224 | * available to round to nearest integer, away from zero. | |
3225 | */ | |
3226 | /*#define HAS_ROUND / **/ | |
3227 | ||
ec6c7eee SH |
3228 | /* HAS_SBRK_PROTO: |
3229 | * This symbol, if defined, indicates that the system provides | |
3230 | * a prototype for the sbrk() function. Otherwise, it is up | |
3231 | * to the program to supply one. Good guesses are | |
3232 | * extern void* sbrk(int); | |
3233 | * extern void* sbrk(size_t); | |
3234 | */ | |
f3b9bb7d | 3235 | /*#define HAS_SBRK_PROTO / **/ |
ec6c7eee | 3236 | |
f65cb320 SH |
3237 | /* HAS_SCALBN: |
3238 | * This symbol, if defined, indicates that the scalbn routine is | |
3239 | * available to multiply floating-point number by integral power | |
3240 | * of radix. | |
3241 | */ | |
3242 | /*#define HAS_SCALBN / **/ | |
3243 | ||
ec6c7eee SH |
3244 | /* HAS_SCALBNL: |
3245 | * This symbol, if defined, indicates that the scalbnl routine is | |
3246 | * available. If ilogbl is also present we can emulate frexpl. | |
3247 | */ | |
f3b9bb7d | 3248 | /*#define HAS_SCALBNL / **/ |
ec6c7eee SH |
3249 | |
3250 | /* HAS_SENDMSG: | |
3251 | * This symbol, if defined, indicates that the sendmsg routine is | |
3252 | * available to send structured socket messages. | |
3253 | */ | |
f3b9bb7d | 3254 | /*#define HAS_SENDMSG / **/ |
ec6c7eee SH |
3255 | |
3256 | /* HAS_SETITIMER: | |
3257 | * This symbol, if defined, indicates that the setitimer routine is | |
3258 | * available to set interval timers. | |
3259 | */ | |
f3b9bb7d | 3260 | /*#define HAS_SETITIMER / **/ |
ec6c7eee SH |
3261 | |
3262 | /* HAS_SETPROCTITLE: | |
3263 | * This symbol, if defined, indicates that the setproctitle routine is | |
3264 | * available to set process title. | |
3265 | */ | |
f3b9bb7d | 3266 | /*#define HAS_SETPROCTITLE / **/ |
ec6c7eee | 3267 | |
ec6c7eee SH |
3268 | /* HAS_SIGNBIT: |
3269 | * This symbol, if defined, indicates that the signbit routine is | |
3270 | * available to check if the given number has the sign bit set. | |
3271 | * This should include correct testing of -0.0. This will only be set | |
3272 | * if the signbit() routine is safe to use with the NV type used internally | |
3273 | * in perl. Users should call Perl_signbit(), which will be #defined to | |
3274 | * the system's signbit() function or macro if this symbol is defined. | |
3275 | */ | |
f3b9bb7d | 3276 | /*#define HAS_SIGNBIT / **/ |
ec6c7eee SH |
3277 | |
3278 | /* HAS_SIGPROCMASK: | |
3279 | * This symbol, if defined, indicates that the sigprocmask | |
3280 | * system call is available to examine or change the signal mask | |
3281 | * of the calling process. | |
3282 | */ | |
f3b9bb7d | 3283 | /*#define HAS_SIGPROCMASK / **/ |
ec6c7eee SH |
3284 | |
3285 | /* USE_SITECUSTOMIZE: | |
3286 | * This symbol, if defined, indicates that sitecustomize should | |
3287 | * be used. | |
3288 | */ | |
3289 | #ifndef USE_SITECUSTOMIZE | |
f3b9bb7d | 3290 | /*#define USE_SITECUSTOMIZE / **/ |
ec6c7eee SH |
3291 | #endif |
3292 | ||
ec6c7eee SH |
3293 | /* HAS_SOCKATMARK: |
3294 | * This symbol, if defined, indicates that the sockatmark routine is | |
3295 | * available to test whether a socket is at the out-of-band mark. | |
3296 | */ | |
f3b9bb7d | 3297 | /*#define HAS_SOCKATMARK / **/ |
ec6c7eee SH |
3298 | |
3299 | /* HAS_SOCKATMARK_PROTO: | |
3300 | * This symbol, if defined, indicates that the system provides | |
3301 | * a prototype for the sockatmark() function. Otherwise, it is up | |
3302 | * to the program to supply one. A good guess is | |
3303 | * extern int sockatmark(int); | |
3304 | */ | |
f3b9bb7d | 3305 | /*#define HAS_SOCKATMARK_PROTO / **/ |
ec6c7eee SH |
3306 | |
3307 | /* HAS_SOCKS5_INIT: | |
3308 | * This symbol, if defined, indicates that the socks5_init routine is | |
3309 | * available to initialize SOCKS 5. | |
3310 | */ | |
f3b9bb7d | 3311 | /*#define HAS_SOCKS5_INIT / **/ |
ec6c7eee | 3312 | |
ec6c7eee SH |
3313 | /* HAS_SQRTL: |
3314 | * This symbol, if defined, indicates that the sqrtl routine is | |
3315 | * available to do long double square roots. | |
3316 | */ | |
f3b9bb7d | 3317 | /*#define HAS_SQRTL / **/ |
ec6c7eee SH |
3318 | |
3319 | /* HAS_SETRESGID_PROTO: | |
3320 | * This symbol, if defined, indicates that the system provides | |
3321 | * a prototype for the setresgid() function. Otherwise, it is up | |
3322 | * to the program to supply one. Good guesses are | |
3323 | * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid); | |
3324 | */ | |
f3b9bb7d | 3325 | /*#define HAS_SETRESGID_PROTO / **/ |
ec6c7eee SH |
3326 | |
3327 | /* HAS_SETRESUID_PROTO: | |
3328 | * This symbol, if defined, indicates that the system provides | |
3329 | * a prototype for the setresuid() function. Otherwise, it is up | |
3330 | * to the program to supply one. Good guesses are | |
3331 | * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid); | |
3332 | */ | |
f3b9bb7d | 3333 | /*#define HAS_SETRESUID_PROTO / **/ |
ec6c7eee | 3334 | |
ea442100 JH |
3335 | /* HAS_STRUCT_STATFS_F_FLAGS: |
3336 | * This symbol, if defined, indicates that the struct statfs | |
3337 | * does have the f_flags member containing the mount flags of | |
3338 | * the filesystem containing the file. | |
3339 | * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3), | |
3340 | * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not | |
3341 | * have statfs() and struct statfs, they have ustat() and getmnt() | |
3342 | * with struct ustat and struct fs_data. | |
3343 | */ | |
3344 | /*#define HAS_STRUCT_STATFS_F_FLAGS / **/ | |
3345 | ||
3346 | /* HAS_STRUCT_STATFS: | |
3347 | * This symbol, if defined, indicates that the struct statfs | |
3348 | * to do statfs() is supported. | |
3349 | */ | |
3350 | /*#define HAS_STRUCT_STATFS / **/ | |
3351 | ||
3352 | /* HAS_FSTATVFS: | |
3353 | * This symbol, if defined, indicates that the fstatvfs routine is | |
3354 | * available to stat filesystems by file descriptors. | |
3355 | */ | |
3356 | /*#define HAS_FSTATVFS / **/ | |
3357 | ||
f65cb320 SH |
3358 | /* HAS_STRERROR_L: |
3359 | * This symbol, if defined, indicates that the strerror_l routine is | |
3360 | * available to return the error message for a given errno value in | |
3361 | * a particular locale (identified by a locale_t object). | |
3362 | */ | |
3363 | /*#define HAS_STRERROR_L / **/ | |
3364 | ||
ec6c7eee SH |
3365 | /* HAS_STRFTIME: |
3366 | * This symbol, if defined, indicates that the strftime routine is | |
3367 | * available to do time formatting. | |
3368 | */ | |
3369 | #define HAS_STRFTIME /**/ | |
3370 | ||
3371 | /* HAS_STRLCAT: | |
3372 | * This symbol, if defined, indicates that the strlcat () routine is | |
3373 | * available to do string concatenation. | |
3374 | */ | |
f3b9bb7d | 3375 | /*#define HAS_STRLCAT / **/ |
ec6c7eee SH |
3376 | |
3377 | /* HAS_STRLCPY: | |
3378 | * This symbol, if defined, indicates that the strlcpy () routine is | |
3379 | * available to do string copying. | |
3380 | */ | |
f3b9bb7d | 3381 | /*#define HAS_STRLCPY / **/ |
ec6c7eee SH |
3382 | |
3383 | /* HAS_STRTOLD: | |
3384 | * This symbol, if defined, indicates that the strtold routine is | |
3385 | * available to convert strings to long doubles. | |
3386 | */ | |
f3b9bb7d | 3387 | /*#define HAS_STRTOLD / **/ |
ec6c7eee SH |
3388 | |
3389 | /* HAS_STRTOLL: | |
3390 | * This symbol, if defined, indicates that the strtoll routine is | |
3391 | * available to convert strings to long longs. | |
3392 | */ | |
f3b9bb7d | 3393 | /*#define HAS_STRTOLL / **/ |
ec6c7eee SH |
3394 | |
3395 | /* HAS_STRTOQ: | |
3396 | * This symbol, if defined, indicates that the strtoq routine is | |
3397 | * available to convert strings to long longs (quads). | |
3398 | */ | |
f3b9bb7d | 3399 | /*#define HAS_STRTOQ / **/ |
ec6c7eee SH |
3400 | |
3401 | /* HAS_STRTOULL: | |
3402 | * This symbol, if defined, indicates that the strtoull routine is | |
3403 | * available to convert strings to unsigned long longs. | |
3404 | */ | |
f3b9bb7d | 3405 | /*#define HAS_STRTOULL / **/ |
ec6c7eee SH |
3406 | |
3407 | /* HAS_STRTOUQ: | |
3408 | * This symbol, if defined, indicates that the strtouq routine is | |
3409 | * available to convert strings to unsigned long longs (quads). | |
3410 | */ | |
f3b9bb7d | 3411 | /*#define HAS_STRTOUQ / **/ |
ec6c7eee SH |
3412 | |
3413 | /* HAS_SYSCALL_PROTO: | |
3414 | * This symbol, if defined, indicates that the system provides | |
3415 | * a prototype for the syscall() function. Otherwise, it is up | |
3416 | * to the program to supply one. Good guesses are | |
3417 | * extern int syscall(int, ...); | |
3418 | * extern int syscall(long, ...); | |
3419 | */ | |
f3b9bb7d | 3420 | /*#define HAS_SYSCALL_PROTO / **/ |
ec6c7eee SH |
3421 | |
3422 | /* HAS_TELLDIR_PROTO: | |
3423 | * This symbol, if defined, indicates that the system provides | |
3424 | * a prototype for the telldir() function. Otherwise, it is up | |
3425 | * to the program to supply one. A good guess is | |
3426 | * extern long telldir(DIR*); | |
3427 | */ | |
3428 | #define HAS_TELLDIR_PROTO /**/ | |
3429 | ||
f65cb320 SH |
3430 | /* HAS_TGAMMA: |
3431 | * This symbol, if defined, indicates that the tgamma routine is | |
3432 | * available to do the gamma function. See also HAS_LGAMMA. | |
3433 | */ | |
3434 | /*#define HAS_TGAMMA / **/ | |
3435 | ||
955d1b3d SH |
3436 | /* HAS_CTIME64: |
3437 | * This symbol, if defined, indicates that the ctime64 () routine is | |
3438 | * available to do the 64bit variant of ctime () | |
3439 | */ | |
3440 | /* HAS_LOCALTIME64: | |
3441 | * This symbol, if defined, indicates that the localtime64 () routine is | |
3442 | * available to do the 64bit variant of localtime () | |
3443 | */ | |
3444 | /* HAS_GMTIME64: | |
3445 | * This symbol, if defined, indicates that the gmtime64 () routine is | |
3446 | * available to do the 64bit variant of gmtime () | |
3447 | */ | |
3448 | /* HAS_MKTIME64: | |
3449 | * This symbol, if defined, indicates that the mktime64 () routine is | |
3450 | * available to do the 64bit variant of mktime () | |
3451 | */ | |
3452 | /* HAS_DIFFTIME64: | |
3453 | * This symbol, if defined, indicates that the difftime64 () routine is | |
3454 | * available to do the 64bit variant of difftime () | |
3455 | */ | |
3456 | /* HAS_ASCTIME64: | |
3457 | * This symbol, if defined, indicates that the asctime64 () routine is | |
3458 | * available to do the 64bit variant of asctime () | |
3459 | */ | |
f3b9bb7d | 3460 | /*#define HAS_CTIME64 / **/ |
3461 | /*#define HAS_LOCALTIME64 / **/ | |
3462 | /*#define HAS_GMTIME64 / **/ | |
3463 | /*#define HAS_MKTIME64 / **/ | |
3464 | /*#define HAS_DIFFTIME64 / **/ | |
3465 | /*#define HAS_ASCTIME64 / **/ | |
955d1b3d | 3466 | |
4b7e285e JD |
3467 | /* HAS_TIMEGM: |
3468 | * This symbol, if defined, indicates that the timegm routine is | |
3469 | * available to do the opposite of gmtime () | |
3470 | */ | |
f3b9bb7d | 3471 | /*#define HAS_TIMEGM / **/ |
4b7e285e | 3472 | |
f65cb320 SH |
3473 | /* HAS_TRUNC: |
3474 | * This symbol, if defined, indicates that the trunc routine is | |
3475 | * available to round doubles towards zero. | |
3476 | */ | |
3477 | /*#define HAS_TRUNC / **/ | |
3478 | ||
93c08870 SH |
3479 | /* HAS_TRUNCL: |
3480 | * This symbol, if defined, indicates that the truncl routine is | |
3481 | * available. If copysignl is also present we can emulate modfl. | |
3482 | */ | |
3483 | /*#define HAS_TRUNCL / **/ | |
3484 | ||
ec6c7eee SH |
3485 | /* U32_ALIGNMENT_REQUIRED: |
3486 | * This symbol, if defined, indicates that you must access | |
3487 | * character data through U32-aligned pointers. | |
3488 | */ | |
3489 | #ifndef U32_ALIGNMENT_REQUIRED | |
3490 | #define U32_ALIGNMENT_REQUIRED /**/ | |
3491 | #endif | |
3492 | ||
3493 | /* HAS_UALARM: | |
3494 | * This symbol, if defined, indicates that the ualarm routine is | |
3495 | * available to do alarms with microsecond granularity. | |
3496 | */ | |
f3b9bb7d | 3497 | /*#define HAS_UALARM / **/ |
ec6c7eee SH |
3498 | |
3499 | /* HAS_UNORDERED: | |
3500 | * This symbol, if defined, indicates that the unordered routine is | |
3501 | * available to check whether two doubles are unordered | |
3502 | * (effectively: whether either of them is NaN) | |
3503 | */ | |
f3b9bb7d | 3504 | /*#define HAS_UNORDERED / **/ |
ec6c7eee SH |
3505 | |
3506 | /* HAS_UNSETENV: | |
3507 | * This symbol, if defined, indicates that the unsetenv () routine is | |
3508 | * available for use. | |
3509 | */ | |
f3b9bb7d | 3510 | /*#define HAS_UNSETENV / **/ |
ec6c7eee SH |
3511 | |
3512 | /* HAS_USLEEP_PROTO: | |
3513 | * This symbol, if defined, indicates that the system provides | |
3514 | * a prototype for the usleep() function. Otherwise, it is up | |
3515 | * to the program to supply one. A good guess is | |
3516 | * extern int usleep(useconds_t); | |
3517 | */ | |
f3b9bb7d | 3518 | /*#define HAS_USLEEP_PROTO / **/ |
ec6c7eee | 3519 | |
ea442100 JH |
3520 | /* HAS_USTAT: |
3521 | * This symbol, if defined, indicates that the ustat system call is | |
3522 | * available to query file system statistics by dev_t. | |
3523 | */ | |
3524 | /*#define HAS_USTAT / **/ | |
3525 | ||
93c08870 SH |
3526 | /* HAS_WCSCMP: |
3527 | * This symbol, if defined, indicates that the wcscmp routine is | |
3528 | * available to compare two wide character strings. | |
3529 | */ | |
3530 | #define HAS_WCSCMP /**/ | |
3531 | ||
3532 | /* HAS_WCSXFRM: | |
3533 | * This symbol, if defined, indicates that the wcsxfrm routine is | |
3534 | * available to tranform a wide character string for wcscmp(). | |
3535 | */ | |
3536 | #define HAS_WCSXFRM /**/ | |
3537 | ||
ec6c7eee SH |
3538 | /* HAS_WRITEV: |
3539 | * This symbol, if defined, indicates that the writev routine is | |
3540 | * available to do scatter writes. | |
3541 | */ | |
f3b9bb7d | 3542 | /*#define HAS_WRITEV / **/ |
ec6c7eee | 3543 | |
458ea8f7 SH |
3544 | /* DEFAULT_INC_EXCLUDES_DOT: |
3545 | * This symbol, if defined, removes the legacy default behavior of | |
3546 | * including '.' at the end of @INC. | |
3547 | */ | |
f65cb320 | 3548 | #define DEFAULT_INC_EXCLUDES_DOT /**/ |
458ea8f7 | 3549 | |
ec6c7eee SH |
3550 | /* USE_DYNAMIC_LOADING: |
3551 | * This symbol, if defined, indicates that dynamic loading of | |
3552 | * some sort is available. | |
3553 | */ | |
3554 | #define USE_DYNAMIC_LOADING /**/ | |
3555 | ||
3556 | /* FFLUSH_NULL: | |
449287ba SH |
3557 | * This symbol, if defined, tells that fflush(NULL) correctly |
3558 | * flushes all pending stdio output without side effects. In | |
3559 | * particular, on some platforms calling fflush(NULL) *still* | |
3560 | * corrupts STDIN if it is a pipe. | |
ec6c7eee SH |
3561 | */ |
3562 | /* FFLUSH_ALL: | |
3563 | * This symbol, if defined, tells that to flush | |
3564 | * all pending stdio output one must loop through all | |
3565 | * the stdio file handles stored in an array and fflush them. | |
3566 | * Note that if fflushNULL is defined, fflushall will not | |
3567 | * even be probed for and will be left undefined. | |
3568 | */ | |
3569 | #define FFLUSH_NULL /**/ | |
f3b9bb7d | 3570 | /*#define FFLUSH_ALL / **/ |
ec6c7eee SH |
3571 | |
3572 | /* I_ASSERT: | |
3573 | * This symbol, if defined, indicates that <assert.h> exists and | |
3574 | * could be included by the C program to get the assert() macro. | |
3575 | */ | |
3576 | #define I_ASSERT /**/ | |
3577 | ||
93c08870 SH |
3578 | /* I_BFD: |
3579 | * This symbol, if defined, indicates that <bfd.h> exists and | |
3580 | * can be included. | |
3581 | */ | |
3582 | /*#define I_BFD / **/ | |
3583 | ||
ec6c7eee SH |
3584 | /* I_CRYPT: |
3585 | * This symbol, if defined, indicates that <crypt.h> exists and | |
3586 | * should be included. | |
3587 | */ | |
f3b9bb7d | 3588 | /*#define I_CRYPT / **/ |
ec6c7eee SH |
3589 | |
3590 | /* DB_Prefix_t: | |
3591 | * This symbol contains the type of the prefix structure element | |
3592 | * in the <db.h> header file. In older versions of DB, it was | |
3593 | * int, while in newer ones it is u_int32_t. | |
3594 | */ | |
3595 | /* DB_Hash_t: | |
3596 | * This symbol contains the type of the prefix structure element | |
3597 | * in the <db.h> header file. In older versions of DB, it was | |
3598 | * int, while in newer ones it is size_t. | |
3599 | */ | |
3600 | /* DB_VERSION_MAJOR_CFG: | |
3601 | * This symbol, if defined, defines the major version number of | |
3602 | * Berkeley DB found in the <db.h> header when Perl was configured. | |
3603 | */ | |
3604 | /* DB_VERSION_MINOR_CFG: | |
3605 | * This symbol, if defined, defines the minor version number of | |
3606 | * Berkeley DB found in the <db.h> header when Perl was configured. | |
3607 | * For DB version 1 this is always 0. | |
3608 | */ | |
3609 | /* DB_VERSION_PATCH_CFG: | |
3610 | * This symbol, if defined, defines the patch version number of | |
3611 | * Berkeley DB found in the <db.h> header when Perl was configured. | |
3612 | * For DB version 1 this is always 0. | |
3613 | */ | |
3614 | #define DB_Hash_t int /**/ | |
3615 | #define DB_Prefix_t int /**/ | |
3616 | #define DB_VERSION_MAJOR_CFG 0 /**/ | |
3617 | #define DB_VERSION_MINOR_CFG 0 /**/ | |
3618 | #define DB_VERSION_PATCH_CFG 0 /**/ | |
3619 | ||
93c08870 SH |
3620 | /* I_FENV: |
3621 | * This symbol, if defined, indicates to the C program that it should | |
3622 | * include <fenv.h> to get the floating point environment definitions. | |
3623 | */ | |
3624 | /*#define I_FENV / **/ | |
3625 | ||
ec6c7eee SH |
3626 | /* I_FP: |
3627 | * This symbol, if defined, indicates that <fp.h> exists and | |
3628 | * should be included. | |
3629 | */ | |
f3b9bb7d | 3630 | /*#define I_FP / **/ |
ec6c7eee SH |
3631 | |
3632 | /* I_FP_CLASS: | |
3633 | * This symbol, if defined, indicates that <fp_class.h> exists and | |
3634 | * should be included. | |
3635 | */ | |
f3b9bb7d | 3636 | /*#define I_FP_CLASS / **/ |
ec6c7eee SH |
3637 | |
3638 | /* I_IEEEFP: | |
3639 | * This symbol, if defined, indicates that <ieeefp.h> exists and | |
3640 | * should be included. | |
3641 | */ | |
f3b9bb7d | 3642 | /*#define I_IEEEFP / **/ |
ec6c7eee SH |
3643 | |
3644 | /* I_INTTYPES: | |
3645 | * This symbol, if defined, indicates to the C program that it should | |
3646 | * include <inttypes.h>. | |
3647 | */ | |
f3b9bb7d | 3648 | /*#define I_INTTYPES / **/ |
ec6c7eee SH |
3649 | |
3650 | /* I_LANGINFO: | |
3651 | * This symbol, if defined, indicates that <langinfo.h> exists and | |
3652 | * should be included. | |
3653 | */ | |
f3b9bb7d | 3654 | /*#define I_LANGINFO / **/ |
ec6c7eee SH |
3655 | |
3656 | /* I_LIBUTIL: | |
3657 | * This symbol, if defined, indicates that <libutil.h> exists and | |
3658 | * should be included. | |
3659 | */ | |
f3b9bb7d | 3660 | /*#define I_LIBUTIL / **/ |
ec6c7eee | 3661 | |
4b7e285e JD |
3662 | /* I_MALLOCMALLOC: |
3663 | * This symbol, if defined, indicates to the C program that it should | |
3664 | * include <malloc/malloc.h>. | |
3665 | */ | |
f3b9bb7d | 3666 | /*#define I_MALLOCMALLOC / **/ |
4b7e285e | 3667 | |
ea442100 JH |
3668 | /* I_MNTENT: |
3669 | * This symbol, if defined, indicates that <mntent.h> exists and | |
3670 | * should be included. | |
3671 | */ | |
3672 | /*#define I_MNTENT / **/ | |
3673 | ||
ec6c7eee SH |
3674 | /* I_NETINET_TCP: |
3675 | * This symbol, if defined, indicates to the C program that it should | |
3676 | * include <netinet/tcp.h>. | |
3677 | */ | |
f3b9bb7d | 3678 | /*#define I_NETINET_TCP / **/ |
ec6c7eee SH |
3679 | |
3680 | /* I_POLL: | |
3681 | * This symbol, if defined, indicates that <poll.h> exists and | |
3682 | * should be included. (see also HAS_POLL) | |
3683 | */ | |
f3b9bb7d | 3684 | /*#define I_POLL / **/ |
ec6c7eee SH |
3685 | |
3686 | /* I_PROT: | |
3687 | * This symbol, if defined, indicates that <prot.h> exists and | |
3688 | * should be included. | |
3689 | */ | |
f3b9bb7d | 3690 | /*#define I_PROT / **/ |
ec6c7eee | 3691 | |
f65cb320 SH |
3692 | /* I_QUADMATH: |
3693 | * This symbol, if defined, indicates that <quadmath.h> exists and | |
3694 | * should be included. | |
3695 | */ | |
3696 | /*#define I_QUADMATH / **/ | |
3697 | ||
ec6c7eee SH |
3698 | /* I_SHADOW: |
3699 | * This symbol, if defined, indicates that <shadow.h> exists and | |
3700 | * should be included. | |
3701 | */ | |
f3b9bb7d | 3702 | /*#define I_SHADOW / **/ |
ec6c7eee SH |
3703 | |
3704 | /* I_SOCKS: | |
3705 | * This symbol, if defined, indicates that <socks.h> exists and | |
3706 | * should be included. | |
3707 | */ | |
f3b9bb7d | 3708 | /*#define I_SOCKS / **/ |
ec6c7eee | 3709 | |
2bf3754c SH |
3710 | /* I_STDBOOL: |
3711 | * This symbol, if defined, indicates that <stdbool.h> exists and | |
3712 | * can be included. | |
3713 | */ | |
3ff6d5cb | 3714 | #define I_STDBOOL /**/ |
2bf3754c | 3715 | |
93c08870 SH |
3716 | /* I_STDINT: |
3717 | * This symbol, if defined, indicates that <stdint.h> exists and | |
3718 | * should be included. | |
3719 | */ | |
3720 | /*#define I_STDINT / **/ | |
3721 | ||
ec6c7eee SH |
3722 | /* I_SUNMATH: |
3723 | * This symbol, if defined, indicates that <sunmath.h> exists and | |
3724 | * should be included. | |
3725 | */ | |
f3b9bb7d | 3726 | /*#define I_SUNMATH / **/ |
ec6c7eee SH |
3727 | |
3728 | /* I_SYSLOG: | |
3729 | * This symbol, if defined, indicates that <syslog.h> exists and | |
3730 | * should be included. | |
3731 | */ | |
f3b9bb7d | 3732 | /*#define I_SYSLOG / **/ |
ec6c7eee SH |
3733 | |
3734 | /* I_SYSMODE: | |
3735 | * This symbol, if defined, indicates that <sys/mode.h> exists and | |
3736 | * should be included. | |
3737 | */ | |
f3b9bb7d | 3738 | /*#define I_SYSMODE / **/ |
ec6c7eee | 3739 | |
ea442100 JH |
3740 | /* I_SYS_MOUNT: |
3741 | * This symbol, if defined, indicates that <sys/mount.h> exists and | |
3742 | * should be included. | |
3743 | */ | |
3744 | /*#define I_SYS_MOUNT / **/ | |
3745 | ||
3746 | /* I_SYS_STATFS: | |
3747 | * This symbol, if defined, indicates that <sys/statfs.h> exists. | |
3748 | */ | |
3749 | /*#define I_SYS_STATFS / **/ | |
3750 | ||
3751 | /* I_SYS_STATVFS: | |
3752 | * This symbol, if defined, indicates that <sys/statvfs.h> exists and | |
3753 | * should be included. | |
3754 | */ | |
3755 | /*#define I_SYS_STATVFS / **/ | |
3756 | ||
ec6c7eee SH |
3757 | /* I_SYSUTSNAME: |
3758 | * This symbol, if defined, indicates that <sys/utsname.h> exists and | |
3759 | * should be included. | |
3760 | */ | |
f3b9bb7d | 3761 | /*#define I_SYSUTSNAME / **/ |
ec6c7eee | 3762 | |
ea442100 JH |
3763 | /* I_SYS_VFS: |
3764 | * This symbol, if defined, indicates that <sys/vfs.h> exists and | |
3765 | * should be included. | |
3766 | */ | |
3767 | /*#define I_SYS_VFS / **/ | |
3768 | ||
3769 | /* I_USTAT: | |
3770 | * This symbol, if defined, indicates that <ustat.h> exists and | |
3771 | * should be included. | |
3772 | */ | |
3773 | /*#define I_USTAT / **/ | |
3774 | ||
f65cb320 SH |
3775 | /* DOUBLEINFBYTES: |
3776 | * This symbol, if defined, is a comma-separated list of | |
3777 | * hexadecimal bytes for the double precision infinity. | |
3778 | */ | |
3779 | /* DOUBLENANBYTES: | |
3780 | * This symbol, if defined, is a comma-separated list of | |
3781 | * hexadecimal bytes (0xHH) for the double precision not-a-number. | |
3782 | */ | |
3783 | /* LONGDBLINFBYTES: | |
3784 | * This symbol, if defined, is a comma-separated list of | |
3785 | * hexadecimal bytes for the long double precision infinity. | |
3786 | */ | |
3787 | /* LONGDBLNANBYTES: | |
3788 | * This symbol, if defined, is a comma-separated list of | |
3789 | * hexadecimal bytes (0xHH) for the long double precision not-a-number. | |
3790 | */ | |
3791 | #define DOUBLEINFBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x7f /**/ | |
3792 | #define DOUBLENANBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x7f /**/ | |
3793 | #define LONGDBLINFBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0x7f, 0x00, 0x00 /**/ | |
3794 | #define LONGDBLNANBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xff, 0xff, 0x00, 0x00 /**/ | |
3795 | ||
ec6c7eee SH |
3796 | /* PERL_PRIfldbl: |
3797 | * This symbol, if defined, contains the string used by stdio to | |
3798 | * format long doubles (format 'f') for output. | |
3799 | */ | |
3800 | /* PERL_PRIgldbl: | |
3801 | * This symbol, if defined, contains the string used by stdio to | |
3802 | * format long doubles (format 'g') for output. | |
3803 | */ | |
3804 | /* PERL_PRIeldbl: | |
3805 | * This symbol, if defined, contains the string used by stdio to | |
3806 | * format long doubles (format 'e') for output. | |
3807 | */ | |
3808 | /* PERL_SCNfldbl: | |
3809 | * This symbol, if defined, contains the string used by stdio to | |
3810 | * format long doubles (format 'f') for input. | |
3811 | */ | |
f65cb320 SH |
3812 | /* DOUBLEKIND: |
3813 | * DOUBLEKIND will be one of | |
3814 | * DOUBLE_IS_IEEE_754_32_BIT_LITTLE_ENDIAN | |
3815 | * DOUBLE_IS_IEEE_754_32_BIT_BIG_ENDIAN | |
3816 | * DOUBLE_IS_IEEE_754_64_BIT_LITTLE_ENDIAN | |
3817 | * DOUBLE_IS_IEEE_754_64_BIT_BIG_ENDIAN | |
3818 | * DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN | |
3819 | * DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN | |
3820 | * DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_LE_BE | |
3821 | * DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_BE_LE | |
3822 | * DOUBLE_IS_VAX_F_FLOAT | |
3823 | * DOUBLE_IS_VAX_D_FLOAT | |
3824 | * DOUBLE_IS_VAX_G_FLOAT | |
3825 | * DOUBLE_IS_IBM_SINGLE_32_BIT | |
3826 | * DOUBLE_IS_IBM_DOUBLE_64_BIT | |
3827 | * DOUBLE_IS_CRAY_SINGLE_64_BIT | |
3828 | * DOUBLE_IS_UNKNOWN_FORMAT | |
3829 | */ | |
3830 | /* DOUBLE_HAS_INF: | |
3831 | * This symbol, if defined, indicates that the double has | |
3832 | * the infinity. | |
3833 | */ | |
3834 | /* DOUBLE_HAS_NAN: | |
3835 | * This symbol, if defined, indicates that the double has | |
3836 | * the not-a-number. | |
3837 | */ | |
3838 | /* DOUBLE_HAS_NEGATIVE_ZERO: | |
3839 | * This symbol, if defined, indicates that the double has | |
3840 | * the negative_zero. | |
3841 | */ | |
3842 | /* DOUBLE_HAS_SUBNORMALS: | |
3843 | * This symbol, if defined, indicates that the double has | |
3844 | * the subnormals (denormals). | |
3845 | */ | |
3846 | /* DOUBLE_STYLE_CRAY: | |
3847 | * This symbol, if defined, indicates that the double is | |
3848 | * the 64-bit CRAY mainframe format. | |
3849 | */ | |
3850 | /* DOUBLE_STYLE_IBM: | |
3851 | * This symbol, if defined, indicates that the double is | |
3852 | * the 64-bit IBM mainframe format. | |
3853 | */ | |
3854 | /* DOUBLE_STYLE_IEEE: | |
3855 | * This symbol, if defined, indicates that the double is | |
3856 | * the 64-bit IEEE 754. | |
3857 | */ | |
3858 | /* DOUBLE_STYLE_VAX: | |
3859 | * This symbol, if defined, indicates that the double is | |
3860 | * the 64-bit VAX format D or G. | |
3861 | */ | |
3862 | #define DOUBLEKIND 3 /**/ | |
3863 | #define DOUBLE_IS_IEEE_754_32_BIT_LITTLE_ENDIAN 1 | |
3864 | #define DOUBLE_IS_IEEE_754_32_BIT_BIG_ENDIAN 2 | |
3865 | #define DOUBLE_IS_IEEE_754_64_BIT_LITTLE_ENDIAN 3 | |
3866 | #define DOUBLE_IS_IEEE_754_64_BIT_BIG_ENDIAN 4 | |
3867 | #define DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN 5 | |
3868 | #define DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN 6 | |
3869 | #define DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_LE_BE 7 | |
3870 | #define DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_BE_LE 8 | |
3871 | #define DOUBLE_IS_VAX_F_FLOAT 9 | |
3872 | #define DOUBLE_IS_VAX_D_FLOAT 10 | |
3873 | #define DOUBLE_IS_VAX_G_FLOAT 11 | |
3874 | #define DOUBLE_IS_IBM_SINGLE_32_BIT 12 | |
3875 | #define DOUBLE_IS_IBM_DOUBLE_64_BIT 13 | |
3876 | #define DOUBLE_IS_CRAY_SINGLE_64_BIT 14 | |
3877 | #define DOUBLE_IS_UNKNOWN_FORMAT -1 | |
890b5089 SH |
3878 | /*#define PERL_PRIfldbl "Lf" / **/ |
3879 | /*#define PERL_PRIgldbl "Lg" / **/ | |
3880 | /*#define PERL_PRIeldbl "Le" / **/ | |
3881 | /*#define PERL_SCNfldbl "Lf" / **/ | |
f65cb320 SH |
3882 | #define DOUBLE_HAS_INF |
3883 | #define DOUBLE_HAS_NAN | |
3884 | #define DOUBLE_HAS_NEGATIVE_ZERO | |
3885 | #define DOUBLE_HAS_SUBNORMALS | |
3886 | #undef DOUBLE_STYLE_CRAY | |
3887 | #undef DOUBLE_STYLE_IBM | |
3888 | #define DOUBLE_STYLE_IEEE | |
3889 | #undef DOUBLE_STYLE_VAX | |
3890 | ||
3891 | /* DOUBLEMANTBITS: | |
3892 | * This symbol, if defined, tells how many mantissa bits | |
3893 | * there are in double precision floating point format. | |
3894 | * Note that this is usually DBL_MANT_DIG minus one, since | |
3895 | * with the standard IEEE 754 formats DBL_MANT_DIG includes | |
3896 | * the implicit bit, which doesn't really exist. | |
3897 | */ | |
3898 | /* LONGDBLMANTBITS: | |
3899 | * This symbol, if defined, tells how many mantissa bits | |
3900 | * there are in long double precision floating point format. | |
3901 | * Note that this can be LDBL_MANT_DIG minus one, | |
3902 | * since LDBL_MANT_DIG can include the IEEE 754 implicit bit. | |
3903 | * The common x86-style 80-bit long double does not have | |
3904 | * an implicit bit. | |
3905 | */ | |
3906 | /* NVMANTBITS: | |
3907 | * This symbol, if defined, tells how many mantissa bits | |
3908 | * (not including implicit bit) there are in a Perl NV. | |
3909 | * This depends on which floating point type was chosen. | |
3910 | */ | |
3911 | #define DOUBLEMANTBITS 52 | |
3912 | #define LONGDBLMANTBITS 64 | |
3913 | #define NVMANTBITS 52 | |
ec6c7eee | 3914 | |
ec6c7eee SH |
3915 | /* NEED_VA_COPY: |
3916 | * This symbol, if defined, indicates that the system stores | |
3917 | * the variable argument list datatype, va_list, in a format | |
3918 | * that cannot be copied by simple assignment, so that some | |
3919 | * other means must be used when copying is required. | |
3920 | * As such systems vary in their provision (or non-provision) | |
3921 | * of copying mechanisms, handy.h defines a platform- | |
3922 | * independent macro, Perl_va_copy(src, dst), to do the job. | |
924b3ec4 | 3923 | */ |
f3b9bb7d | 3924 | /*#define NEED_VA_COPY / **/ |
a835ef8a | 3925 | |
b40906a9 SH |
3926 | /* IVTYPE: |
3927 | * This symbol defines the C type used for Perl's IV. | |
a835ef8a | 3928 | */ |
b40906a9 SH |
3929 | /* UVTYPE: |
3930 | * This symbol defines the C type used for Perl's UV. | |
8839b9e4 | 3931 | */ |
b40906a9 SH |
3932 | /* I8TYPE: |
3933 | * This symbol defines the C type used for Perl's I8. | |
8839b9e4 | 3934 | */ |
b40906a9 SH |
3935 | /* U8TYPE: |
3936 | * This symbol defines the C type used for Perl's U8. | |
a835ef8a | 3937 | */ |
b40906a9 SH |
3938 | /* I16TYPE: |
3939 | * This symbol defines the C type used for Perl's I16. | |
a835ef8a | 3940 | */ |
b40906a9 SH |
3941 | /* U16TYPE: |
3942 | * This symbol defines the C type used for Perl's U16. | |
8839b9e4 | 3943 | */ |
b40906a9 SH |
3944 | /* I32TYPE: |
3945 | * This symbol defines the C type used for Perl's I32. | |
8839b9e4 | 3946 | */ |
b40906a9 SH |
3947 | /* U32TYPE: |
3948 | * This symbol defines the C type used for Perl's U32. | |
a835ef8a | 3949 | */ |
b40906a9 SH |
3950 | /* I64TYPE: |
3951 | * This symbol defines the C type used for Perl's I64. | |
924b3ec4 | 3952 | */ |
b40906a9 SH |
3953 | /* U64TYPE: |
3954 | * This symbol defines the C type used for Perl's U64. | |
e10940c3 | 3955 | */ |
b40906a9 SH |
3956 | /* NVTYPE: |
3957 | * This symbol defines the C type used for Perl's NV. | |
ac135a7c | 3958 | */ |
b40906a9 SH |
3959 | /* IVSIZE: |
3960 | * This symbol contains the sizeof(IV). | |
0543dcd8 | 3961 | */ |
b40906a9 SH |
3962 | /* UVSIZE: |
3963 | * This symbol contains the sizeof(UV). | |
0543dcd8 | 3964 | */ |
b40906a9 SH |
3965 | /* I8SIZE: |
3966 | * This symbol contains the sizeof(I8). | |
a3540c92 | 3967 | */ |
b40906a9 SH |
3968 | /* U8SIZE: |
3969 | * This symbol contains the sizeof(U8). | |
a3540c92 | 3970 | */ |
b40906a9 SH |
3971 | /* I16SIZE: |
3972 | * This symbol contains the sizeof(I16). | |
104f9d64 | 3973 | */ |
b40906a9 SH |
3974 | /* U16SIZE: |
3975 | * This symbol contains the sizeof(U16). | |
c890dc6c | 3976 | */ |
b40906a9 SH |
3977 | /* I32SIZE: |
3978 | * This symbol contains the sizeof(I32). | |
ac135a7c | 3979 | */ |
b40906a9 SH |
3980 | /* U32SIZE: |
3981 | * This symbol contains the sizeof(U32). | |
ac135a7c | 3982 | */ |
b40906a9 SH |
3983 | /* I64SIZE: |
3984 | * This symbol contains the sizeof(I64). | |
a3540c92 | 3985 | */ |
b40906a9 SH |
3986 | /* U64SIZE: |
3987 | * This symbol contains the sizeof(U64). | |
a8a15001 | 3988 | */ |
b40906a9 SH |
3989 | /* NVSIZE: |
3990 | * This symbol contains the sizeof(NV). | |
f65cb320 SH |
3991 | * Note that some floating point formats have unused bytes. |
3992 | * The most notable example is the x86* 80-bit extended precision | |
3993 | * which comes in byte sizes of 12 and 16 (for 32 and 64 bit | |
3994 | * platforms, respectively), but which only uses 10 bytes. | |
3995 | * Perl compiled with -Duselongdouble on x86* is like this. | |
4d3be0c7 | 3996 | */ |
b40906a9 SH |
3997 | /* NV_PRESERVES_UV: |
3998 | * This symbol, if defined, indicates that a variable of type NVTYPE | |
3999 | * can preserve all the bits of a variable of type UVTYPE. | |
82839a9d | 4000 | */ |
b40906a9 SH |
4001 | /* NV_PRESERVES_UV_BITS: |
4002 | * This symbol contains the number of bits a variable of type NVTYPE | |
4003 | * can preserve of a variable of type UVTYPE. | |
3635cd84 | 4004 | */ |
ec6c7eee | 4005 | /* NV_OVERFLOWS_INTEGERS_AT: |
7ea95017 NC |
4006 | * This symbol gives the largest integer value that NVs can hold. This |
4007 | * value + 1.0 cannot be stored accurately. It is expressed as constant | |
840565a7 | 4008 | * floating point expression to reduce the chance of decimal/binary |
7ea95017 NC |
4009 | * conversion issues. If it can not be determined, the value 0 is given. |
4010 | */ | |
ec6c7eee | 4011 | /* NV_ZERO_IS_ALLBITS_ZERO: |
b40906a9 SH |
4012 | * This symbol, if defined, indicates that a variable of type NVTYPE |
4013 | * stores 0.0 in memory as all bits zero. | |
8839b9e4 | 4014 | */ |
b40906a9 SH |
4015 | #define IVTYPE long /**/ |
4016 | #define UVTYPE unsigned long /**/ | |
4017 | #define I8TYPE char /**/ | |
4018 | #define U8TYPE unsigned char /**/ | |
4019 | #define I16TYPE short /**/ | |
4020 | #define U16TYPE unsigned short /**/ | |
4021 | #define I32TYPE long /**/ | |
4022 | #define U32TYPE unsigned long /**/ | |
4023 | #ifdef HAS_QUAD | |
3090e57a SH |
4024 | #define I64TYPE long long /**/ |
4025 | #define U64TYPE unsigned long long /**/ | |
ec6c7eee SH |
4026 | #endif |
4027 | #define NVTYPE double /**/ | |
4028 | #define IVSIZE 4 /**/ | |
4029 | #define UVSIZE 4 /**/ | |
4030 | #define I8SIZE 1 /**/ | |
4031 | #define U8SIZE 1 /**/ | |
4032 | #define I16SIZE 2 /**/ | |
4033 | #define U16SIZE 2 /**/ | |
4034 | #define I32SIZE 4 /**/ | |
4035 | #define U32SIZE 4 /**/ | |
4036 | #ifdef HAS_QUAD | |
4037 | #define I64SIZE 8 /**/ | |
4038 | #define U64SIZE 8 /**/ | |
4039 | #endif | |
4040 | #define NVSIZE 8 /**/ | |
4041 | #define NV_PRESERVES_UV | |
4042 | #define NV_PRESERVES_UV_BITS 32 | |
4043 | #define NV_OVERFLOWS_INTEGERS_AT 256.0*256.0*256.0*256.0*256.0*256.0*2.0*2.0*2.0*2.0*2.0 | |
4044 | #define NV_ZERO_IS_ALLBITS_ZERO | |
4045 | #if UVSIZE == 8 | |
4046 | # ifdef BYTEORDER | |
4047 | # if BYTEORDER == 0x1234 | |
4048 | # undef BYTEORDER | |
4049 | # define BYTEORDER 0x12345678 | |
4050 | # else | |
4051 | # if BYTEORDER == 0x4321 | |
4052 | # undef BYTEORDER | |
4053 | # define BYTEORDER 0x87654321 | |
4054 | # endif | |
4055 | # endif | |
4056 | # endif | |
4057 | #endif | |
0cd52aa3 | 4058 | |
ec6c7eee SH |
4059 | /* IVdf: |
4060 | * This symbol defines the format string used for printing a Perl IV | |
4061 | * as a signed decimal integer. | |
07ba5892 | 4062 | */ |
ec6c7eee SH |
4063 | /* UVuf: |
4064 | * This symbol defines the format string used for printing a Perl UV | |
4065 | * as an unsigned decimal integer. | |
8839b9e4 | 4066 | */ |
ec6c7eee SH |
4067 | /* UVof: |
4068 | * This symbol defines the format string used for printing a Perl UV | |
4069 | * as an unsigned octal integer. | |
54b118e4 | 4070 | */ |
ec6c7eee SH |
4071 | /* UVxf: |
4072 | * This symbol defines the format string used for printing a Perl UV | |
4073 | * as an unsigned hexadecimal integer in lowercase abcdef. | |
54b118e4 | 4074 | */ |
ec6c7eee SH |
4075 | /* UVXf: |
4076 | * This symbol defines the format string used for printing a Perl UV | |
4077 | * as an unsigned hexadecimal integer in uppercase ABCDEF. | |
c4d53692 | 4078 | */ |
ec6c7eee SH |
4079 | /* NVef: |
4080 | * This symbol defines the format string used for printing a Perl NV | |
4081 | * using %e-ish floating point format. | |
c4d53692 | 4082 | */ |
ec6c7eee SH |
4083 | /* NVff: |
4084 | * This symbol defines the format string used for printing a Perl NV | |
4085 | * using %f-ish floating point format. | |
b69c47f4 | 4086 | */ |
ec6c7eee SH |
4087 | /* NVgf: |
4088 | * This symbol defines the format string used for printing a Perl NV | |
4089 | * using %g-ish floating point format. | |
52b0428e | 4090 | */ |
ec6c7eee SH |
4091 | #define IVdf "ld" /**/ |
4092 | #define UVuf "lu" /**/ | |
4093 | #define UVof "lo" /**/ | |
4094 | #define UVxf "lx" /**/ | |
4095 | #define UVXf "lX" /**/ | |
4096 | #define NVef "e" /**/ | |
4097 | #define NVff "f" /**/ | |
4098 | #define NVgf "g" /**/ | |
c4d53692 | 4099 | |
ec6c7eee SH |
4100 | /* SELECT_MIN_BITS: |
4101 | * This symbol holds the minimum number of bits operated by select. | |
4102 | * That is, if you do select(n, ...), how many bits at least will be | |
4103 | * cleared in the masks if some activity is detected. Usually this | |
4104 | * is either n or 32*ceil(n/32), especially many little-endians do | |
4105 | * the latter. This is only useful if you have select(), naturally. | |
c4d53692 | 4106 | */ |
f65cb320 SH |
4107 | #define SELECT_MIN_BITS 32 /**/ |
4108 | ||
4109 | /* ST_INO_SIZE: | |
4110 | * This variable contains the size of struct stat's st_ino in bytes. | |
4111 | */ | |
4112 | /* ST_INO_SIGN: | |
4113 | * This symbol holds the signedness of struct stat's st_ino. | |
4114 | * 1 for unsigned, -1 for signed. | |
4115 | */ | |
4116 | #define ST_INO_SIGN 1 /* st_ino sign */ | |
4117 | #define ST_INO_SIZE 4 /* st_ino size */ | |
4118 | ||
4119 | /* STARTPERL: | |
4120 | * This variable contains the string to put in front of a perl | |
4121 | * script to make sure (one hopes) that it runs with perl and not | |
4122 | * some shell. | |
4123 | */ | |
4124 | #define STARTPERL "#!perl" /**/ | |
4125 | ||
4126 | /* HAS_STDIO_STREAM_ARRAY: | |
4127 | * This symbol, if defined, tells that there is an array | |
4128 | * holding the stdio streams. | |
4129 | */ | |
4130 | /* STDIO_STREAM_ARRAY: | |
4131 | * This symbol tells the name of the array holding the stdio streams. | |
4132 | * Usual values include _iob, __iob, and __sF. | |
4133 | */ | |
4134 | /*#define HAS_STDIO_STREAM_ARRAY / **/ | |
4135 | #ifdef HAS_STDIO_STREAM_ARRAY | |
4136 | #define STDIO_STREAM_ARRAY | |
4137 | #endif | |
4138 | ||
4139 | /* GMTIME_MAX: | |
4140 | * This symbol contains the maximum value for the time_t offset that | |
4141 | * the system function gmtime () accepts, and defaults to 0 | |
4142 | */ | |
4143 | /* GMTIME_MIN: | |
4144 | * This symbol contains the minimum value for the time_t offset that | |
4145 | * the system function gmtime () accepts, and defaults to 0 | |
4146 | */ | |
4147 | /* LOCALTIME_MAX: | |
4148 | * This symbol contains the maximum value for the time_t offset that | |
4149 | * the system function localtime () accepts, and defaults to 0 | |
4150 | */ | |
4151 | /* LOCALTIME_MIN: | |
4152 | * This symbol contains the minimum value for the time_t offset that | |
4153 | * the system function localtime () accepts, and defaults to 0 | |
4154 | */ | |
4155 | #define GMTIME_MAX 2147483647 /**/ | |
4156 | #define GMTIME_MIN 0 /**/ | |
4157 | #define LOCALTIME_MAX 2147483647 /**/ | |
4158 | #define LOCALTIME_MIN 0 /**/ | |
4159 | ||
4160 | /* USE_64_BIT_INT: | |
4161 | * This symbol, if defined, indicates that 64-bit integers should | |
4162 | * be used when available. If not defined, the native integers | |
4163 | * will be employed (be they 32 or 64 bits). The minimal possible | |
4164 | * 64-bitness is used, just enough to get 64-bit integers into Perl. | |
4165 | * This may mean using for example "long longs", while your memory | |
4166 | * may still be limited to 2 gigabytes. | |
4167 | */ | |
4168 | /* USE_64_BIT_ALL: | |
4169 | * This symbol, if defined, indicates that 64-bit integers should | |
4170 | * be used when available. If not defined, the native integers | |
4171 | * will be used (be they 32 or 64 bits). The maximal possible | |
4172 | * 64-bitness is employed: LP64 or ILP64, meaning that you will | |
4173 | * be able to use more than 2 gigabytes of memory. This mode is | |
4174 | * even more binary incompatible than USE_64_BIT_INT. You may not | |
4175 | * be able to run the resulting executable in a 32-bit CPU at all or | |
4176 | * you may need at least to reboot your OS to 64-bit mode. | |
4177 | */ | |
4178 | #ifndef USE_64_BIT_INT | |
4179 | /*#define USE_64_BIT_INT / **/ | |
4180 | #endif | |
4181 | #ifndef USE_64_BIT_ALL | |
4182 | /*#define USE_64_BIT_ALL / **/ | |
4183 | #endif | |
4184 | ||
4185 | /* USE_CBACKTRACE: | |
4186 | * This symbol, if defined, indicates that Perl should | |
4187 | * be built with support for backtrace. | |
4188 | */ | |
4189 | /*#define USE_CBACKTRACE / **/ | |
4190 | ||
4191 | /* USE_DTRACE: | |
4192 | * This symbol, if defined, indicates that Perl should | |
4193 | * be built with support for DTrace. | |
4194 | */ | |
4195 | /*#define USE_DTRACE / **/ | |
4196 | ||
4197 | /* USE_FAST_STDIO: | |
4198 | * This symbol, if defined, indicates that Perl should | |
4199 | * be built to use 'fast stdio'. | |
4200 | * Defaults to define in Perls 5.8 and earlier, to undef later. | |
4201 | */ | |
4202 | #ifndef USE_FAST_STDIO | |
4203 | /*#define USE_FAST_STDIO / **/ | |
4204 | #endif | |
4205 | ||
4206 | /* USE_KERN_PROC_PATHNAME: | |
4207 | * This symbol, if defined, indicates that we can use sysctl with | |
4208 | * KERN_PROC_PATHNAME to get a full path for the executable, and hence | |
4209 | * convert $^X to an absolute path. | |
4210 | */ | |
4211 | /*#define USE_KERN_PROC_PATHNAME / **/ | |
4212 | ||
4213 | /* USE_LARGE_FILES: | |
4214 | * This symbol, if defined, indicates that large file support | |
4215 | * should be used when available. | |
4216 | */ | |
4217 | #ifndef USE_LARGE_FILES | |
4218 | /*#define USE_LARGE_FILES / **/ | |
4219 | #endif | |
4220 | ||
4221 | /* USE_LONG_DOUBLE: | |
4222 | * This symbol, if defined, indicates that long doubles should | |
4223 | * be used when available. | |
4224 | */ | |
4225 | #ifndef USE_LONG_DOUBLE | |
4226 | /*#define USE_LONG_DOUBLE / **/ | |
4227 | #endif | |
4228 | ||
4229 | /* USE_MORE_BITS: | |
4230 | * This symbol, if defined, indicates that 64-bit interfaces and | |
4231 | * long doubles should be used when available. | |
4232 | */ | |
4233 | #ifndef USE_MORE_BITS | |
4234 | /*#define USE_MORE_BITS / **/ | |
4235 | #endif | |
4236 | ||
4237 | /* MULTIPLICITY: | |
4238 | * This symbol, if defined, indicates that Perl should | |
4239 | * be built to use multiplicity. | |
4240 | */ | |
4241 | #ifndef MULTIPLICITY | |
4242 | /*#define MULTIPLICITY / **/ | |
4243 | #endif | |
4244 | ||
4245 | /* USE_NSGETEXECUTABLEPATH: | |
4246 | * This symbol, if defined, indicates that we can use _NSGetExecutablePath | |
4247 | * and realpath to get a full path for the executable, and hence convert | |
4248 | * $^X to an absolute path. | |
4249 | */ | |
4250 | /*#define USE_NSGETEXECUTABLEPATH / **/ | |
4251 | ||
4252 | /* USE_PERLIO: | |
4253 | * This symbol, if defined, indicates that the PerlIO abstraction should | |
4254 | * be used throughout. If not defined, stdio should be | |
4255 | * used in a fully backward compatible manner. | |
4256 | */ | |
4257 | #ifndef USE_PERLIO | |
4258 | #define USE_PERLIO /**/ | |
4259 | #endif | |
4260 | ||
4261 | /* USE_QUADMATH: | |
4262 | * This symbol, if defined, indicates that the quadmath library should | |
4263 | * be used when available. | |
4264 | */ | |
4265 | #ifndef USE_QUADMATH | |
4266 | /*#define USE_QUADMATH / **/ | |
4267 | #endif | |
4268 | ||
4269 | /* USE_SOCKS: | |
4270 | * This symbol, if defined, indicates that Perl should | |
4271 | * be built to use socks. | |
4272 | */ | |
4273 | #ifndef USE_SOCKS | |
4274 | /*#define USE_SOCKS / **/ | |
4275 | #endif | |
4276 | ||
4277 | /* HAS_DRAND48_PROTO: | |
4278 | * This symbol, if defined, indicates that the system provides | |
4279 | * a prototype for the drand48() function. Otherwise, it is up | |
4280 | * to the program to supply one. A good guess is | |
4281 | * extern double drand48(void); | |
4282 | */ | |
4283 | /*#define HAS_DRAND48_PROTO / **/ | |
4284 | ||
4285 | /* HAS_GETHOST_PROTOS: | |
4286 | * This symbol, if defined, indicates that <netdb.h> includes | |
4287 | * prototypes for gethostent(), gethostbyname(), and | |
4288 | * gethostbyaddr(). Otherwise, it is up to the program to guess | |
4289 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. | |
4290 | */ | |
4291 | #define HAS_GETHOST_PROTOS /**/ | |
4292 | ||
4293 | /* HAS_GETNET_PROTOS: | |
4294 | * This symbol, if defined, indicates that <netdb.h> includes | |
4295 | * prototypes for getnetent(), getnetbyname(), and | |
4296 | * getnetbyaddr(). Otherwise, it is up to the program to guess | |
4297 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. | |
4298 | */ | |
4299 | /*#define HAS_GETNET_PROTOS / **/ | |
4300 | ||
4301 | /* HAS_GETPROTO_PROTOS: | |
4302 | * This symbol, if defined, indicates that <netdb.h> includes | |
4303 | * prototypes for getprotoent(), getprotobyname(), and | |
4304 | * getprotobyaddr(). Otherwise, it is up to the program to guess | |
4305 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. | |
4306 | */ | |
4307 | #define HAS_GETPROTO_PROTOS /**/ | |
4308 | ||
4309 | /* HAS_GETSERV_PROTOS: | |
4310 | * This symbol, if defined, indicates that <netdb.h> includes | |
4311 | * prototypes for getservent(), getservbyname(), and | |
4312 | * getservbyaddr(). Otherwise, it is up to the program to guess | |
4313 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. | |
4314 | */ | |
4315 | #define HAS_GETSERV_PROTOS /**/ | |
4316 | ||
4317 | /* HAS_LSEEK_PROTO: | |
4318 | * This symbol, if defined, indicates that the system provides | |
4319 | * a prototype for the lseek() function. Otherwise, it is up | |
4320 | * to the program to supply one. A good guess is | |
4321 | * extern off_t lseek(int, off_t, int); | |
4322 | */ | |
4323 | #define HAS_LSEEK_PROTO /**/ | |
4324 | ||
4325 | /* Netdb_host_t: | |
4326 | * This symbol holds the type used for the 1st argument | |
4327 | * to gethostbyaddr(). | |
4328 | */ | |
4329 | /* Netdb_hlen_t: | |
4330 | * This symbol holds the type used for the 2nd argument | |
4331 | * to gethostbyaddr(). | |
4332 | */ | |
4333 | /* Netdb_name_t: | |
4334 | * This symbol holds the type used for the argument to | |
4335 | * gethostbyname(). | |
4336 | */ | |
4337 | /* Netdb_net_t: | |
4338 | * This symbol holds the type used for the 1st argument to | |
4339 | * getnetbyaddr(). | |
4340 | */ | |
4341 | #define Netdb_host_t char * /**/ | |
4342 | #define Netdb_hlen_t int /**/ | |
4343 | #define Netdb_name_t char * /**/ | |
4344 | #define Netdb_net_t long /**/ | |
4345 | ||
4346 | /* Select_fd_set_t: | |
4347 | * This symbol holds the type used for the 2nd, 3rd, and 4th | |
4348 | * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET | |
4349 | * is defined, and 'int *' otherwise. This is only useful if you | |
4350 | * have select(), of course. | |
4351 | */ | |
4352 | #define Select_fd_set_t Perl_fd_set * /**/ | |
4353 | ||
4354 | /* Sock_size_t: | |
4355 | * This symbol holds the type used for the size argument of | |
4356 | * various socket calls (just the base type, not the pointer-to). | |
4357 | */ | |
4358 | #define Sock_size_t int /**/ | |
4359 | ||
4360 | /* ARCHNAME: | |
4361 | * This symbol holds a string representing the architecture name. | |
4362 | * It may be used to construct an architecture-dependant pathname | |
4363 | * where library files may be held under a private library, for | |
4364 | * instance. | |
4365 | */ | |
4366 | #define ARCHNAME "MSWin32-x86-perlio" /**/ | |
4367 | ||
4368 | /* HAS_ASCTIME_R: | |
4369 | * This symbol, if defined, indicates that the asctime_r routine | |
4370 | * is available to asctime re-entrantly. | |
4371 | */ | |
4372 | /* ASCTIME_R_PROTO: | |
4373 | * This symbol encodes the prototype of asctime_r. | |
4374 | * It is zero if d_asctime_r is undef, and one of the | |
4375 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r | |
4376 | * is defined. | |
4377 | */ | |
4378 | /*#define HAS_ASCTIME_R / **/ | |
4379 | #define ASCTIME_R_PROTO 0 /**/ | |
4380 | ||
4381 | /* HAS_CRYPT_R: | |
4382 | * This symbol, if defined, indicates that the crypt_r routine | |
4383 | * is available to crypt re-entrantly. | |
4384 | */ | |
4385 | /* CRYPT_R_PROTO: | |
4386 | * This symbol encodes the prototype of crypt_r. | |
4387 | * It is zero if d_crypt_r is undef, and one of the | |
4388 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r | |
4389 | * is defined. | |
4390 | */ | |
4391 | /*#define HAS_CRYPT_R / **/ | |
4392 | #define CRYPT_R_PROTO 0 /**/ | |
4393 | ||
4394 | /* HAS_CTERMID_R: | |
4395 | * This symbol, if defined, indicates that the ctermid_r routine | |
4396 | * is available to ctermid re-entrantly. | |
4397 | */ | |
4398 | /* CTERMID_R_PROTO: | |
4399 | * This symbol encodes the prototype of ctermid_r. | |
4400 | * It is zero if d_ctermid_r is undef, and one of the | |
4401 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r | |
4402 | * is defined. | |
4403 | */ | |
4404 | /*#define HAS_CTERMID_R / **/ | |
4405 | #define CTERMID_R_PROTO 0 /**/ | |
4406 | ||
4407 | /* HAS_CTIME_R: | |
4408 | * This symbol, if defined, indicates that the ctime_r routine | |
4409 | * is available to ctime re-entrantly. | |
4410 | */ | |
4411 | /* CTIME_R_PROTO: | |
4412 | * This symbol encodes the prototype of ctime_r. | |
4413 | * It is zero if d_ctime_r is undef, and one of the | |
4414 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r | |
4415 | * is defined. | |
4416 | */ | |
4417 | /*#define HAS_CTIME_R / **/ | |
4418 | #define CTIME_R_PROTO 0 /**/ | |
4419 | ||
4420 | /* HAS_DRAND48_R: | |
4421 | * This symbol, if defined, indicates that the drand48_r routine | |
4422 | * is available to drand48 re-entrantly. | |
4423 | */ | |
4424 | /* DRAND48_R_PROTO: | |
4425 | * This symbol encodes the prototype of drand48_r. | |
4426 | * It is zero if d_drand48_r is undef, and one of the | |
4427 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r | |
4428 | * is defined. | |
4429 | */ | |
4430 | /*#define HAS_DRAND48_R / **/ | |
4431 | #define DRAND48_R_PROTO 0 /**/ | |
4432 | ||
4433 | /* HAS_ENDGRENT_R: | |
4434 | * This symbol, if defined, indicates that the endgrent_r routine | |
4435 | * is available to endgrent re-entrantly. | |
4436 | */ | |
4437 | /* ENDGRENT_R_PROTO: | |
4438 | * This symbol encodes the prototype of endgrent_r. | |
4439 | * It is zero if d_endgrent_r is undef, and one of the | |
4440 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r | |
4441 | * is defined. | |
4442 | */ | |
4443 | /*#define HAS_ENDGRENT_R / **/ | |
4444 | #define ENDGRENT_R_PROTO 0 /**/ | |
4445 | ||
4446 | /* HAS_ENDHOSTENT_R: | |
4447 | * This symbol, if defined, indicates that the endhostent_r routine | |
4448 | * is available to endhostent re-entrantly. | |
4449 | */ | |
4450 | /* ENDHOSTENT_R_PROTO: | |
4451 | * This symbol encodes the prototype of endhostent_r. | |
4452 | * It is zero if d_endhostent_r is undef, and one of the | |
4453 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r | |
4454 | * is defined. | |
4455 | */ | |
4456 | /*#define HAS_ENDHOSTENT_R / **/ | |
4457 | #define ENDHOSTENT_R_PROTO 0 /**/ | |
4458 | ||
4459 | /* HAS_ENDNETENT_R: | |
4460 | * This symbol, if defined, indicates that the endnetent_r routine | |
4461 | * is available to endnetent re-entrantly. | |
4462 | */ | |
4463 | /* ENDNETENT_R_PROTO: | |
4464 | * This symbol encodes the prototype of endnetent_r. | |
4465 | * It is zero if d_endnetent_r is undef, and one of the | |
4466 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r | |
4467 | * is defined. | |
4468 | */ | |
4469 | /*#define HAS_ENDNETENT_R / **/ | |
4470 | #define ENDNETENT_R_PROTO 0 /**/ | |
4471 | ||
4472 | /* HAS_ENDPROTOENT_R: | |
4473 | * This symbol, if defined, indicates that the endprotoent_r routine | |
4474 | * is available to endprotoent re-entrantly. | |
4475 | */ | |
4476 | /* ENDPROTOENT_R_PROTO: | |
4477 | * This symbol encodes the prototype of endprotoent_r. | |
4478 | * It is zero if d_endprotoent_r is undef, and one of the | |
4479 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r | |
4480 | * is defined. | |
4481 | */ | |
4482 | /*#define HAS_ENDPROTOENT_R / **/ | |
4483 | #define ENDPROTOENT_R_PROTO 0 /**/ | |
4484 | ||
4485 | /* HAS_ENDPWENT_R: | |
4486 | * This symbol, if defined, indicates that the endpwent_r routine | |
4487 | * is available to endpwent re-entrantly. | |
4488 | */ | |
4489 | /* ENDPWENT_R_PROTO: | |
4490 | * This symbol encodes the prototype of endpwent_r. | |
4491 | * It is zero if d_endpwent_r is undef, and one of the | |
4492 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r | |
4493 | * is defined. | |
4494 | */ | |
4495 | /*#define HAS_ENDPWENT_R / **/ | |
4496 | #define ENDPWENT_R_PROTO 0 /**/ | |
4497 | ||
4498 | /* HAS_ENDSERVENT_R: | |
4499 | * This symbol, if defined, indicates that the endservent_r routine | |
4500 | * is available to endservent re-entrantly. | |
4501 | */ | |
4502 | /* ENDSERVENT_R_PROTO: | |
4503 | * This symbol encodes the prototype of endservent_r. | |
4504 | * It is zero if d_endservent_r is undef, and one of the | |
4505 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r | |
4506 | * is defined. | |
4507 | */ | |
4508 | /*#define HAS_ENDSERVENT_R / **/ | |
4509 | #define ENDSERVENT_R_PROTO 0 /**/ | |
4510 | ||
4511 | /* HAS_GETGRENT_R: | |
4512 | * This symbol, if defined, indicates that the getgrent_r routine | |
4513 | * is available to getgrent re-entrantly. | |
4514 | */ | |
4515 | /* GETGRENT_R_PROTO: | |
4516 | * This symbol encodes the prototype of getgrent_r. | |
4517 | * It is zero if d_getgrent_r is undef, and one of the | |
4518 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r | |
4519 | * is defined. | |
4520 | */ | |
4521 | /*#define HAS_GETGRENT_R / **/ | |
4522 | #define GETGRENT_R_PROTO 0 /**/ | |
4523 | ||
4524 | /* HAS_GETGRGID_R: | |
4525 | * This symbol, if defined, indicates that the getgrgid_r routine | |
4526 | * is available to getgrgid re-entrantly. | |
4527 | */ | |
4528 | /* GETGRGID_R_PROTO: | |
4529 | * This symbol encodes the prototype of getgrgid_r. | |
4530 | * It is zero if d_getgrgid_r is undef, and one of the | |
4531 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r | |
4532 | * is defined. | |
4533 | */ | |
4534 | /*#define HAS_GETGRGID_R / **/ | |
4535 | #define GETGRGID_R_PROTO 0 /**/ | |
4536 | ||
4537 | /* HAS_GETGRNAM_R: | |
4538 | * This symbol, if defined, indicates that the getgrnam_r routine | |
4539 | * is available to getgrnam re-entrantly. | |
4540 | */ | |
4541 | /* GETGRNAM_R_PROTO: | |
4542 | * This symbol encodes the prototype of getgrnam_r. | |
4543 | * It is zero if d_getgrnam_r is undef, and one of the | |
4544 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r | |
4545 | * is defined. | |
4546 | */ | |
4547 | /*#define HAS_GETGRNAM_R / **/ | |
4548 | #define GETGRNAM_R_PROTO 0 /**/ | |
4549 | ||
4550 | /* HAS_GETHOSTBYADDR_R: | |
4551 | * This symbol, if defined, indicates that the gethostbyaddr_r routine | |
4552 | * is available to gethostbyaddr re-entrantly. | |
4553 | */ | |
4554 | /* GETHOSTBYADDR_R_PROTO: | |
4555 | * This symbol encodes the prototype of gethostbyaddr_r. | |
4556 | * It is zero if d_gethostbyaddr_r is undef, and one of the | |
4557 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r | |
4558 | * is defined. | |
4559 | */ | |
4560 | /*#define HAS_GETHOSTBYADDR_R / **/ | |
4561 | #define GETHOSTBYADDR_R_PROTO 0 /**/ | |
4562 | ||
4563 | /* HAS_GETHOSTBYNAME_R: | |
4564 | * This symbol, if defined, indicates that the gethostbyname_r routine | |
4565 | * is available to gethostbyname re-entrantly. | |
4566 | */ | |
4567 | /* GETHOSTBYNAME_R_PROTO: | |
4568 | * This symbol encodes the prototype of gethostbyname_r. | |
4569 | * It is zero if d_gethostbyname_r is undef, and one of the | |
4570 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r | |
4571 | * is defined. | |
4572 | */ | |
4573 | /*#define HAS_GETHOSTBYNAME_R / **/ | |
4574 | #define GETHOSTBYNAME_R_PROTO 0 /**/ | |
4575 | ||
4576 | /* HAS_GETHOSTENT_R: | |
4577 | * This symbol, if defined, indicates that the gethostent_r routine | |
4578 | * is available to gethostent re-entrantly. | |
4579 | */ | |
4580 | /* GETHOSTENT_R_PROTO: | |
4581 | * This symbol encodes the prototype of gethostent_r. | |
4582 | * It is zero if d_gethostent_r is undef, and one of the | |
4583 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r | |
4584 | * is defined. | |
4585 | */ | |
4586 | /*#define HAS_GETHOSTENT_R / **/ | |
4587 | #define GETHOSTENT_R_PROTO 0 /**/ | |
4588 | ||
4589 | /* HAS_GETLOGIN_R: | |
4590 | * This symbol, if defined, indicates that the getlogin_r routine | |
4591 | * is available to getlogin re-entrantly. | |
4592 | */ | |
4593 | /* GETLOGIN_R_PROTO: | |
4594 | * This symbol encodes the prototype of getlogin_r. | |
4595 | * It is zero if d_getlogin_r is undef, and one of the | |
4596 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r | |
4597 | * is defined. | |
4598 | */ | |
4599 | /*#define HAS_GETLOGIN_R / **/ | |
4600 | #define GETLOGIN_R_PROTO 0 /**/ | |
4601 | ||
4602 | /* HAS_GETNETBYADDR_R: | |
4603 | * This symbol, if defined, indicates that the getnetbyaddr_r routine | |
4604 | * is available to getnetbyaddr re-entrantly. | |
4605 | */ | |
4606 | /* GETNETBYADDR_R_PROTO: | |
4607 | * This symbol encodes the prototype of getnetbyaddr_r. | |
4608 | * It is zero if d_getnetbyaddr_r is undef, and one of the | |
4609 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r | |
4610 | * is defined. | |
4611 | */ | |
4612 | /*#define HAS_GETNETBYADDR_R / **/ | |
4613 | #define GETNETBYADDR_R_PROTO 0 /**/ | |
4614 | ||
4615 | /* HAS_GETNETBYNAME_R: | |
4616 | * This symbol, if defined, indicates that the getnetbyname_r routine | |
4617 | * is available to getnetbyname re-entrantly. | |
4618 | */ | |
4619 | /* GETNETBYNAME_R_PROTO: | |
4620 | * This symbol encodes the prototype of getnetbyname_r. | |
4621 | * It is zero if d_getnetbyname_r is undef, and one of the | |
4622 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r | |
4623 | * is defined. | |
4624 | */ | |
4625 | /*#define HAS_GETNETBYNAME_R / **/ | |
4626 | #define GETNETBYNAME_R_PROTO 0 /**/ | |
4627 | ||
4628 | /* HAS_GETNETENT_R: | |
4629 | * This symbol, if defined, indicates that the getnetent_r routine | |
4630 | * is available to getnetent re-entrantly. | |
4631 | */ | |
4632 | /* GETNETENT_R_PROTO: | |
4633 | * This symbol encodes the prototype of getnetent_r. | |
4634 | * It is zero if d_getnetent_r is undef, and one of the | |
4635 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r | |
4636 | * is defined. | |
4637 | */ | |
4638 | /*#define HAS_GETNETENT_R / **/ | |
4639 | #define GETNETENT_R_PROTO 0 /**/ | |
4640 | ||
4641 | /* HAS_GETPROTOBYNAME_R: | |
4642 | * This symbol, if defined, indicates that the getprotobyname_r routine | |
4643 | * is available to getprotobyname re-entrantly. | |
4644 | */ | |
4645 | /* GETPROTOBYNAME_R_PROTO: | |
4646 | * This symbol encodes the prototype of getprotobyname_r. | |
4647 | * It is zero if d_getprotobyname_r is undef, and one of the | |
4648 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r | |
4649 | * is defined. | |
4650 | */ | |
4651 | /*#define HAS_GETPROTOBYNAME_R / **/ | |
4652 | #define GETPROTOBYNAME_R_PROTO 0 /**/ | |
4653 | ||
4654 | /* HAS_GETPROTOBYNUMBER_R: | |
4655 | * This symbol, if defined, indicates that the getprotobynumber_r routine | |
4656 | * is available to getprotobynumber re-entrantly. | |
4657 | */ | |
4658 | /* GETPROTOBYNUMBER_R_PROTO: | |
4659 | * This symbol encodes the prototype of getprotobynumber_r. | |
4660 | * It is zero if d_getprotobynumber_r is undef, and one of the | |
4661 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r | |
4662 | * is defined. | |
4663 | */ | |
4664 | /*#define HAS_GETPROTOBYNUMBER_R / **/ | |
4665 | #define GETPROTOBYNUMBER_R_PROTO 0 /**/ | |
4666 | ||
4667 | /* HAS_GETPROTOENT_R: | |
4668 | * This symbol, if defined, indicates that the getprotoent_r routine | |
4669 | * is available to getprotoent re-entrantly. | |
4670 | */ | |
4671 | /* GETPROTOENT_R_PROTO: | |
4672 | * This symbol encodes the prototype of getprotoent_r. | |
4673 | * It is zero if d_getprotoent_r is undef, and one of the | |
4674 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r | |
4675 | * is defined. | |
4676 | */ | |
4677 | /*#define HAS_GETPROTOENT_R / **/ | |
4678 | #define GETPROTOENT_R_PROTO 0 /**/ | |
4679 | ||
4680 | /* HAS_GETPWENT_R: | |
4681 | * This symbol, if defined, indicates that the getpwent_r routine | |
4682 | * is available to getpwent re-entrantly. | |
4683 | */ | |
4684 | /* GETPWENT_R_PROTO: | |
4685 | * This symbol encodes the prototype of getpwent_r. | |
4686 | * It is zero if d_getpwent_r is undef, and one of the | |
4687 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r | |
4688 | * is defined. | |
4689 | */ | |
4690 | /*#define HAS_GETPWENT_R / **/ | |
4691 | #define GETPWENT_R_PROTO 0 /**/ | |
4692 | ||
4693 | /* HAS_GETPWNAM_R: | |
4694 | * This symbol, if defined, indicates that the getpwnam_r routine | |
4695 | * is available to getpwnam re-entrantly. | |
4696 | */ | |
4697 | /* GETPWNAM_R_PROTO: | |
4698 | * This symbol encodes the prototype of getpwnam_r. | |
4699 | * It is zero if d_getpwnam_r is undef, and one of the | |
4700 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r | |
4701 | * is defined. | |
4702 | */ | |
4703 | /*#define HAS_GETPWNAM_R / **/ | |
4704 | #define GETPWNAM_R_PROTO 0 /**/ | |
4705 | ||
4706 | /* HAS_GETPWUID_R: | |
4707 | * This symbol, if defined, indicates that the getpwuid_r routine | |
4708 | * is available to getpwuid re-entrantly. | |
4709 | */ | |
4710 | /* GETPWUID_R_PROTO: | |
4711 | * This symbol encodes the prototype of getpwuid_r. | |
4712 | * It is zero if d_getpwuid_r is undef, and one of the | |
4713 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r | |
4714 | * is defined. | |
4715 | */ | |
4716 | /*#define HAS_GETPWUID_R / **/ | |
4717 | #define GETPWUID_R_PROTO 0 /**/ | |
4718 | ||
4719 | /* HAS_GETSERVBYNAME_R: | |
4720 | * This symbol, if defined, indicates that the getservbyname_r routine | |
4721 | * is available to getservbyname re-entrantly. | |
4722 | */ | |
4723 | /* GETSERVBYNAME_R_PROTO: | |
4724 | * This symbol encodes the prototype of getservbyname_r. | |
4725 | * It is zero if d_getservbyname_r is undef, and one of the | |
4726 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r | |
4727 | * is defined. | |
4728 | */ | |
4729 | /*#define HAS_GETSERVBYNAME_R / **/ | |
4730 | #define GETSERVBYNAME_R_PROTO 0 /**/ | |
4731 | ||
4732 | /* HAS_GETSERVBYPORT_R: | |
4733 | * This symbol, if defined, indicates that the getservbyport_r routine | |
4734 | * is available to getservbyport re-entrantly. | |
4735 | */ | |
4736 | /* GETSERVBYPORT_R_PROTO: | |
4737 | * This symbol encodes the prototype of getservbyport_r. | |
4738 | * It is zero if d_getservbyport_r is undef, and one of the | |
4739 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r | |
4740 | * is defined. | |
4741 | */ | |
4742 | /*#define HAS_GETSERVBYPORT_R / **/ | |
4743 | #define GETSERVBYPORT_R_PROTO 0 /**/ | |
4744 | ||
4745 | /* HAS_GETSERVENT_R: | |
4746 | * This symbol, if defined, indicates that the getservent_r routine | |
4747 | * is available to getservent re-entrantly. | |
4748 | */ | |
4749 | /* GETSERVENT_R_PROTO: | |
4750 | * This symbol encodes the prototype of getservent_r. | |
4751 | * It is zero if d_getservent_r is undef, and one of the | |
4752 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r | |
4753 | * is defined. | |
4754 | */ | |
4755 | /*#define HAS_GETSERVENT_R / **/ | |
4756 | #define GETSERVENT_R_PROTO 0 /**/ | |
4757 | ||
4758 | /* HAS_GETSPNAM_R: | |
4759 | * This symbol, if defined, indicates that the getspnam_r routine | |
4760 | * is available to getspnam re-entrantly. | |
4761 | */ | |
4762 | /* GETSPNAM_R_PROTO: | |
4763 | * This symbol encodes the prototype of getspnam_r. | |
4764 | * It is zero if d_getspnam_r is undef, and one of the | |
4765 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r | |
4766 | * is defined. | |
4767 | */ | |
4768 | /*#define HAS_GETSPNAM_R / **/ | |
4769 | #define GETSPNAM_R_PROTO 0 /**/ | |
4770 | ||
4771 | /* HAS_GMTIME_R: | |
4772 | * This symbol, if defined, indicates that the gmtime_r routine | |
4773 | * is available to gmtime re-entrantly. | |
4774 | */ | |
4775 | /* GMTIME_R_PROTO: | |
4776 | * This symbol encodes the prototype of gmtime_r. | |
4777 | * It is zero if d_gmtime_r is undef, and one of the | |
4778 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r | |
4779 | * is defined. | |
4780 | */ | |
4781 | /*#define HAS_GMTIME_R / **/ | |
4782 | #define GMTIME_R_PROTO 0 /**/ | |
4783 | ||
4784 | /* HAS_LOCALTIME_R: | |
4785 | * This symbol, if defined, indicates that the localtime_r routine | |
4786 | * is available to localtime re-entrantly. | |
4787 | */ | |
4788 | /* LOCALTIME_R_NEEDS_TZSET: | |
4789 | * Many libc's localtime_r implementations do not call tzset, | |
4790 | * making them differ from localtime(), and making timezone | |
4791 | * changes using \undef{TZ} without explicitly calling tzset | |
4792 | * impossible. This symbol makes us call tzset before localtime_r | |
4793 | */ | |
4794 | /*#define LOCALTIME_R_NEEDS_TZSET / **/ | |
4795 | #ifdef LOCALTIME_R_NEEDS_TZSET | |
4796 | #define L_R_TZSET tzset(), | |
4797 | #else | |
4798 | #define L_R_TZSET | |
4799 | #endif | |
4800 | ||
4801 | /* LOCALTIME_R_PROTO: | |
4802 | * This symbol encodes the prototype of localtime_r. | |
4803 | * It is zero if d_localtime_r is undef, and one of the | |
4804 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r | |
4805 | * is defined. | |
4806 | */ | |
4807 | /*#define HAS_LOCALTIME_R / **/ | |
4808 | #define LOCALTIME_R_PROTO 0 /**/ | |
4809 | ||
4810 | /* OLD_PTHREAD_CREATE_JOINABLE: | |
4811 | * This symbol, if defined, indicates how to create pthread | |
4812 | * in joinable (aka undetached) state. NOTE: not defined | |
4813 | * if pthread.h already has defined PTHREAD_CREATE_JOINABLE | |
4814 | * (the new version of the constant). | |
4815 | * If defined, known values are PTHREAD_CREATE_UNDETACHED | |
4816 | * and __UNDETACHED. | |
4817 | */ | |
4818 | /*#define OLD_PTHREAD_CREATE_JOINABLE / **/ | |
4819 | ||
4820 | /* HAS_PTHREAD_ATFORK: | |
4821 | * This symbol, if defined, indicates that the pthread_atfork routine | |
4822 | * is available to setup fork handlers. | |
4823 | */ | |
4824 | /*#define HAS_PTHREAD_ATFORK / **/ | |
4825 | ||
4826 | /* HAS_PTHREAD_YIELD: | |
4827 | * This symbol, if defined, indicates that the pthread_yield | |
4828 | * routine is available to yield the execution of the current | |
4829 | * thread. sched_yield is preferable to pthread_yield. | |
4830 | */ | |
4831 | /* SCHED_YIELD: | |
4832 | * This symbol defines the way to yield the execution of | |
4833 | * the current thread. Known ways are sched_yield, | |
4834 | * pthread_yield, and pthread_yield with NULL. | |
4835 | */ | |
4836 | /* HAS_SCHED_YIELD: | |
4837 | * This symbol, if defined, indicates that the sched_yield | |
4838 | * routine is available to yield the execution of the current | |
4839 | * thread. sched_yield is preferable to pthread_yield. | |
4840 | */ | |
4841 | /*#define HAS_PTHREAD_YIELD / **/ | |
4842 | #define SCHED_YIELD /**/ | |
4843 | /*#define HAS_SCHED_YIELD / **/ | |
4844 | ||
4845 | /* HAS_RANDOM_R: | |
4846 | * This symbol, if defined, indicates that the random_r routine | |
4847 | * is available to random re-entrantly. | |
4848 | */ | |
4849 | /* RANDOM_R_PROTO: | |
4850 | * This symbol encodes the prototype of random_r. | |
4851 | * It is zero if d_random_r is undef, and one of the | |
4852 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r | |
4853 | * is defined. | |
4854 | */ | |
4855 | /*#define HAS_RANDOM_R / **/ | |
4856 | #define RANDOM_R_PROTO 0 /**/ | |
4857 | ||
4858 | /* HAS_READDIR64_R: | |
4859 | * This symbol, if defined, indicates that the readdir64_r routine | |
4860 | * is available to readdir64 re-entrantly. | |
4861 | */ | |
4862 | /* READDIR64_R_PROTO: | |
4863 | * This symbol encodes the prototype of readdir64_r. | |
4864 | * It is zero if d_readdir64_r is undef, and one of the | |
4865 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r | |
4866 | * is defined. | |
4867 | */ | |
4868 | /*#define HAS_READDIR64_R / **/ | |
4869 | #define READDIR64_R_PROTO 0 /**/ | |
4870 | ||
4871 | /* HAS_READDIR_R: | |
4872 | * This symbol, if defined, indicates that the readdir_r routine | |
4873 | * is available to readdir re-entrantly. | |
4874 | */ | |
4875 | /* READDIR_R_PROTO: | |
4876 | * This symbol encodes the prototype of readdir_r. | |
4877 | * It is zero if d_readdir_r is undef, and one of the | |
4878 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r | |
4879 | * is defined. | |
4880 | */ | |
4881 | /*#define HAS_READDIR_R / **/ | |
4882 | #define READDIR_R_PROTO 0 /**/ | |
4883 | ||
4884 | /* HAS_SETGRENT_R: | |
4885 | * This symbol, if defined, indicates that the setgrent_r routine | |
4886 | * is available to setgrent re-entrantly. | |
4887 | */ | |
4888 | /* SETGRENT_R_PROTO: | |
4889 | * This symbol encodes the prototype of setgrent_r. | |
4890 | * It is zero if d_setgrent_r is undef, and one of the | |
4891 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r | |
4892 | * is defined. | |
4893 | */ | |
4894 | /*#define HAS_SETGRENT_R / **/ | |
4895 | #define SETGRENT_R_PROTO 0 /**/ | |
4896 | ||
4897 | /* HAS_SETHOSTENT_R: | |
4898 | * This symbol, if defined, indicates that the sethostent_r routine | |
4899 | * is available to sethostent re-entrantly. | |
4900 | */ | |
4901 | /* SETHOSTENT_R_PROTO: | |
4902 | * This symbol encodes the prototype of sethostent_r. | |
4903 | * It is zero if d_sethostent_r is undef, and one of the | |
4904 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r | |
4905 | * is defined. | |
4906 | */ | |
4907 | /*#define HAS_SETHOSTENT_R / **/ | |
4908 | #define SETHOSTENT_R_PROTO 0 /**/ | |
4909 | ||
4910 | /* HAS_SETLOCALE_R: | |
4911 | * This symbol, if defined, indicates that the setlocale_r routine | |
4912 | * is available to setlocale re-entrantly. | |
4913 | */ | |
4914 | /* SETLOCALE_R_PROTO: | |
4915 | * This symbol encodes the prototype of setlocale_r. | |
4916 | * It is zero if d_setlocale_r is undef, and one of the | |
4917 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r | |
4918 | * is defined. | |
4919 | */ | |
4920 | /*#define HAS_SETLOCALE_R / **/ | |
4921 | #define SETLOCALE_R_PROTO 0 /**/ | |
4922 | ||
4923 | /* HAS_SETNETENT_R: | |
4924 | * This symbol, if defined, indicates that the setnetent_r routine | |
4925 | * is available to setnetent re-entrantly. | |
4926 | */ | |
4927 | /* SETNETENT_R_PROTO: | |
4928 | * This symbol encodes the prototype of setnetent_r. | |
4929 | * It is zero if d_setnetent_r is undef, and one of the | |
4930 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r | |
4931 | * is defined. | |
4932 | */ | |
4933 | /*#define HAS_SETNETENT_R / **/ | |
4934 | #define SETNETENT_R_PROTO 0 /**/ | |
4935 | ||
4936 | /* HAS_SETPROTOENT_R: | |
4937 | * This symbol, if defined, indicates that the setprotoent_r routine | |
4938 | * is available to setprotoent re-entrantly. | |
4939 | */ | |
4940 | /* SETPROTOENT_R_PROTO: | |
4941 | * This symbol encodes the prototype of setprotoent_r. | |
4942 | * It is zero if d_setprotoent_r is undef, and one of the | |
4943 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r | |
4944 | * is defined. | |
4945 | */ | |
4946 | /*#define HAS_SETPROTOENT_R / **/ | |
4947 | #define SETPROTOENT_R_PROTO 0 /**/ | |
4948 | ||
4949 | /* HAS_SETPWENT_R: | |
4950 | * This symbol, if defined, indicates that the setpwent_r routine | |
4951 | * is available to setpwent re-entrantly. | |
4952 | */ | |
4953 | /* SETPWENT_R_PROTO: | |
4954 | * This symbol encodes the prototype of setpwent_r. | |
4955 | * It is zero if d_setpwent_r is undef, and one of the | |
4956 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r | |
4957 | * is defined. | |
4958 | */ | |
4959 | /*#define HAS_SETPWENT_R / **/ | |
4960 | #define SETPWENT_R_PROTO 0 /**/ | |
4961 | ||
4962 | /* HAS_SETSERVENT_R: | |
4963 | * This symbol, if defined, indicates that the setservent_r routine | |
4964 | * is available to setservent re-entrantly. | |
4965 | */ | |
4966 | /* SETSERVENT_R_PROTO: | |
4967 | * This symbol encodes the prototype of setservent_r. | |
4968 | * It is zero if d_setservent_r is undef, and one of the | |
4969 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r | |
4970 | * is defined. | |
4971 | */ | |
4972 | /*#define HAS_SETSERVENT_R / **/ | |
4973 | #define SETSERVENT_R_PROTO 0 /**/ | |
4974 | ||
4975 | /* HAS_SRAND48_R: | |
4976 | * This symbol, if defined, indicates that the srand48_r routine | |
4977 | * is available to srand48 re-entrantly. | |
4978 | */ | |
4979 | /* SRAND48_R_PROTO: | |
4980 | * This symbol encodes the prototype of srand48_r. | |
4981 | * It is zero if d_srand48_r is undef, and one of the | |
4982 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r | |
4983 | * is defined. | |
4984 | */ | |
4985 | /*#define HAS_SRAND48_R / **/ | |
4986 | #define SRAND48_R_PROTO 0 /**/ | |
4987 | ||
4988 | /* HAS_SRANDOM_R: | |
4989 | * This symbol, if defined, indicates that the srandom_r routine | |
4990 | * is available to srandom re-entrantly. | |
4991 | */ | |
4992 | /* SRANDOM_R_PROTO: | |
4993 | * This symbol encodes the prototype of srandom_r. | |
4994 | * It is zero if d_srandom_r is undef, and one of the | |
4995 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r | |
4996 | * is defined. | |
4997 | */ | |
4998 | /*#define HAS_SRANDOM_R / **/ | |
4999 | #define SRANDOM_R_PROTO 0 /**/ | |
5000 | ||
5001 | /* HAS_STRERROR_R: | |
5002 | * This symbol, if defined, indicates that the strerror_r routine | |
5003 | * is available to strerror re-entrantly. | |
5004 | */ | |
5005 | /* STRERROR_R_PROTO: | |
5006 | * This symbol encodes the prototype of strerror_r. | |
5007 | * It is zero if d_strerror_r is undef, and one of the | |
5008 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r | |
5009 | * is defined. | |
5010 | */ | |
5011 | /*#define HAS_STRERROR_R / **/ | |
5012 | #define STRERROR_R_PROTO 0 /**/ | |
5013 | ||
5014 | /* HAS_TMPNAM_R: | |
5015 | * This symbol, if defined, indicates that the tmpnam_r routine | |
5016 | * is available to tmpnam re-entrantly. | |
5017 | */ | |
5018 | /* TMPNAM_R_PROTO: | |
5019 | * This symbol encodes the prototype of tmpnam_r. | |
5020 | * It is zero if d_tmpnam_r is undef, and one of the | |
5021 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r | |
5022 | * is defined. | |
5023 | */ | |
5024 | /*#define HAS_TMPNAM_R / **/ | |
5025 | #define TMPNAM_R_PROTO 0 /**/ | |
c4d53692 | 5026 | |
f65cb320 SH |
5027 | /* HAS_TTYNAME_R: |
5028 | * This symbol, if defined, indicates that the ttyname_r routine | |
5029 | * is available to ttyname re-entrantly. | |
840565a7 | 5030 | */ |
f65cb320 SH |
5031 | /* TTYNAME_R_PROTO: |
5032 | * This symbol encodes the prototype of ttyname_r. | |
5033 | * It is zero if d_ttyname_r is undef, and one of the | |
5034 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r | |
5035 | * is defined. | |
840565a7 | 5036 | */ |
f65cb320 SH |
5037 | /*#define HAS_TTYNAME_R / **/ |
5038 | #define TTYNAME_R_PROTO 0 /**/ | |
840565a7 | 5039 | |
f65cb320 SH |
5040 | /* I_MACH_CTHREADS: |
5041 | * This symbol, if defined, indicates to the C program that it should | |
5042 | * include <mach/cthreads.h>. | |
a8a15001 | 5043 | */ |
f65cb320 | 5044 | /*#define I_MACH_CTHREADS / **/ |
a8a15001 | 5045 | |
f65cb320 SH |
5046 | /* I_PTHREAD: |
5047 | * This symbol, if defined, indicates to the C program that it should | |
5048 | * include <pthread.h>. | |
8839b9e4 | 5049 | */ |
f65cb320 SH |
5050 | /*#define I_PTHREAD / **/ |
5051 | ||
5052 | /* USE_ITHREADS: | |
5053 | * This symbol, if defined, indicates that Perl should be built to | |
5054 | * use the interpreter-based threading implementation. | |
b40906a9 | 5055 | */ |
f65cb320 SH |
5056 | /* USE_5005THREADS: |
5057 | * This symbol, if defined, indicates that Perl should be built to | |
5058 | * use the 5.005-based threading implementation. | |
5059 | * Only valid up to 5.8.x. | |
5060 | */ | |
5061 | /* OLD_PTHREADS_API: | |
5062 | * This symbol, if defined, indicates that Perl should | |
5063 | * be built to use the old draft POSIX threads API. | |
5064 | */ | |
5065 | /* USE_REENTRANT_API: | |
5066 | * This symbol, if defined, indicates that Perl should | |
5067 | * try to use the various _r versions of library functions. | |
5068 | * This is extremely experimental. | |
5069 | */ | |
5070 | /*#define USE_5005THREADS / **/ | |
5071 | /*#define USE_ITHREADS / **/ | |
5072 | #if defined(USE_5005THREADS) && !defined(USE_ITHREADS) | |
5073 | #define USE_THREADS /* until src is revised*/ | |
ec6c7eee | 5074 | #endif |
f65cb320 SH |
5075 | /*#define OLD_PTHREADS_API / **/ |
5076 | /*#define USE_REENTRANT_API / **/ | |
3635cd84 | 5077 | |
f65cb320 SH |
5078 | /* HAS_TIME: |
5079 | * This symbol, if defined, indicates that the time() routine exists. | |
4b7e285e | 5080 | */ |
f65cb320 SH |
5081 | /* Time_t: |
5082 | * This symbol holds the type returned by time(). It can be long, | |
5083 | * or time_t on BSD sites (in which case <sys/types.h> should be | |
5084 | * included). | |
4b7e285e | 5085 | */ |
f65cb320 SH |
5086 | #define HAS_TIME /**/ |
5087 | #define Time_t time_t /* Time type */ | |
5088 | ||
5089 | /* HAS_TIMES: | |
5090 | * This symbol, if defined, indicates that the times() routine exists. | |
5091 | * Note that this became obsolete on some systems (SUNOS), which now | |
5092 | * use getrusage(). It may be necessary to include <sys/times.h>. | |
73e6e416 | 5093 | */ |
f65cb320 SH |
5094 | #define HAS_TIMES /**/ |
5095 | ||
5096 | /* Fpos_t: | |
5097 | * This symbol holds the type used to declare file positions in libc. | |
5098 | * It can be fpos_t, long, uint, etc... It may be necessary to include | |
5099 | * <sys/types.h> to get any typedef'ed information. | |
73e6e416 | 5100 | */ |
f65cb320 | 5101 | #define Fpos_t fpos_t /* File position type */ |
73e6e416 | 5102 | |
f65cb320 SH |
5103 | /* Gid_t_f: |
5104 | * This symbol defines the format string used for printing a Gid_t. | |
b8a524e9 | 5105 | */ |
f65cb320 SH |
5106 | #define Gid_t_f "ld" /**/ |
5107 | ||
5108 | /* Gid_t_sign: | |
5109 | * This symbol holds the signedness of a Gid_t. | |
5110 | * 1 for unsigned, -1 for signed. | |
924b3ec4 | 5111 | */ |
f65cb320 | 5112 | #define Gid_t_sign -1 /* GID sign */ |
9423c6fc | 5113 | |
f65cb320 SH |
5114 | /* Gid_t_size: |
5115 | * This symbol holds the size of a Gid_t in bytes. | |
93c08870 | 5116 | */ |
f65cb320 | 5117 | #define Gid_t_size 4 /* GID size */ |
93c08870 | 5118 | |
f65cb320 SH |
5119 | /* Gid_t: |
5120 | * This symbol holds the return type of getgid() and the type of | |
5121 | * argument to setrgid() and related functions. Typically, | |
5122 | * it is the type of group ids in the kernel. It can be int, ushort, | |
5123 | * gid_t, etc... It may be necessary to include <sys/types.h> to get | |
5124 | * any typedef'ed information. | |
ec6c7eee | 5125 | */ |
f65cb320 | 5126 | #define Gid_t gid_t /* Type for getgid(), etc... */ |
ec6c7eee | 5127 | |
f65cb320 SH |
5128 | /* Off_t: |
5129 | * This symbol holds the type used to declare offsets in the kernel. | |
5130 | * It can be int, long, off_t, etc... It may be necessary to include | |
5131 | * <sys/types.h> to get any typedef'ed information. | |
3bf969c5 | 5132 | */ |
f65cb320 SH |
5133 | /* LSEEKSIZE: |
5134 | * This symbol holds the number of bytes used by the Off_t. | |
5135 | */ | |
5136 | /* Off_t_size: | |
5137 | * This symbol holds the number of bytes used by the Off_t. | |
5138 | */ | |
5139 | #define Off_t long /* <offset> type */ | |
5140 | #define LSEEKSIZE 4 /* <offset> size */ | |
5141 | #define Off_t_size 4 /* <offset> size */ | |
3bf969c5 | 5142 | |
f65cb320 SH |
5143 | /* Mode_t: |
5144 | * This symbol holds the type used to declare file modes | |
5145 | * for systems calls. It is usually mode_t, but may be | |
5146 | * int or unsigned short. It may be necessary to include <sys/types.h> | |
5147 | * to get any typedef'ed information. | |
2bf3754c | 5148 | */ |
f65cb320 | 5149 | #define Mode_t mode_t /* file mode parameter for system calls */ |
2bf3754c | 5150 | |
f65cb320 SH |
5151 | /* Pid_t: |
5152 | * This symbol holds the type used to declare process ids in the kernel. | |
5153 | * It can be int, uint, pid_t, etc... It may be necessary to include | |
5154 | * <sys/types.h> to get any typedef'ed information. | |
3635cd84 | 5155 | */ |
f65cb320 | 5156 | #define Pid_t int /* PID type */ |
3635cd84 | 5157 | |
f65cb320 SH |
5158 | /* Size_t_size: |
5159 | * This symbol holds the size of a Size_t in bytes. | |
4d3be0c7 | 5160 | */ |
f65cb320 | 5161 | #define Size_t_size 4 /**/ |
924b3ec4 | 5162 | |
f65cb320 SH |
5163 | /* Size_t: |
5164 | * This symbol holds the type used to declare length parameters | |
5165 | * for string functions. It is usually size_t, but may be | |
5166 | * unsigned long, int, etc. It may be necessary to include | |
5167 | * <sys/types.h> to get any typedef'ed information. | |
a8a15001 | 5168 | */ |
f65cb320 | 5169 | #define Size_t size_t /* length parameter for string functions */ |
a8a15001 | 5170 | |
f65cb320 SH |
5171 | /* Uid_t_f: |
5172 | * This symbol defines the format string used for printing a Uid_t. | |
0543dcd8 | 5173 | */ |
f65cb320 | 5174 | #define Uid_t_f "ld" /**/ |
0543dcd8 | 5175 | |
f65cb320 SH |
5176 | /* Uid_t_sign: |
5177 | * This symbol holds the signedness of a Uid_t. | |
5178 | * 1 for unsigned, -1 for signed. | |
2bf3754c | 5179 | */ |
f65cb320 | 5180 | #define Uid_t_sign -1 /* UID sign */ |
2bf3754c | 5181 | |
f65cb320 SH |
5182 | /* Uid_t_size: |
5183 | * This symbol holds the size of a Uid_t in bytes. | |
2fcfac58 | 5184 | */ |
f65cb320 | 5185 | #define Uid_t_size 4 /* UID size */ |
2fcfac58 | 5186 | |
f65cb320 SH |
5187 | /* Uid_t: |
5188 | * This symbol holds the type used to declare user ids in the kernel. | |
5189 | * It can be int, ushort, uid_t, etc... It may be necessary to include | |
5190 | * <sys/types.h> to get any typedef'ed information. | |
327c3667 | 5191 | */ |
f65cb320 | 5192 | #define Uid_t uid_t /* UID type */ |
327c3667 | 5193 | |
a835ef8a | 5194 | #endif |