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