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