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