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