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