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