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