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