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