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