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