Commit | Line | Data |
08aa1457 |
1 | /* |
2 | * This file was produced by running the config_h.SH script, which |
3 | * gets its values from config.sh, which is generally produced by |
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. |
8 | * For a more permanent change edit config.sh and rerun config_h.SH. |
9 | * |
924b3ec4 |
10 | * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $ |
08aa1457 |
11 | */ |
12 | |
924b3ec4 |
13 | /* |
14 | * Package name : perl5 |
07ba5892 |
15 | * Source directory : |
924b3ec4 |
16 | * Configuration time: undef |
17 | * Configured by : gsar |
18 | * Target system : |
08aa1457 |
19 | */ |
20 | |
21 | #ifndef _config_h_ |
22 | #define _config_h_ |
23 | |
924b3ec4 |
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 | */ |
32f822de |
33 | /*#define HAS_ALARM /**/ |
08aa1457 |
34 | |
35 | /* HASATTRIBUTE: |
36 | * This symbol indicates the C compiler can check for function attributes, |
37 | * such as printf formats. This is normally only supported by GNU cc. |
38 | */ |
39 | /*#define HASATTRIBUTE /**/ |
40 | #ifndef HASATTRIBUTE |
41 | #define __attribute__(_arg_) |
42 | #endif |
43 | |
44 | /* HAS_BCMP: |
45 | * This symbol is defined if the bcmp() routine is available to |
46 | * compare blocks of memory. |
47 | */ |
48 | /*#define HAS_BCMP /**/ |
49 | |
50 | /* HAS_BCOPY: |
51 | * This symbol is defined if the bcopy() routine is available to |
52 | * copy blocks of memory. |
53 | */ |
54 | /*#define HAS_BCOPY /**/ |
55 | |
56 | /* HAS_BZERO: |
57 | * This symbol is defined if the bzero() routine is available to |
58 | * set a memory block to 0. |
59 | */ |
60 | /*#define HAS_BZERO /**/ |
61 | |
08aa1457 |
62 | /* HAS_CHOWN: |
63 | * This symbol, if defined, indicates that the chown routine is |
64 | * available. |
65 | */ |
66 | /*#define HAS_CHOWN /**/ |
67 | |
68 | /* HAS_CHROOT: |
69 | * This symbol, if defined, indicates that the chroot routine is |
70 | * available. |
71 | */ |
72 | /*#define HAS_CHROOT /**/ |
73 | |
74 | /* HAS_CHSIZE: |
75 | * This symbol, if defined, indicates that the chsize routine is available |
76 | * to truncate files. You might need a -lx to get this routine. |
77 | */ |
78 | #define HAS_CHSIZE /**/ |
79 | |
08aa1457 |
80 | /* HASCONST: |
81 | * This symbol, if defined, indicates that this C compiler knows about |
82 | * the const type. There is no need to actually test for that symbol |
83 | * within your programs. The mere use of the "const" keyword will |
84 | * trigger the necessary tests. |
85 | */ |
86 | #define HASCONST /**/ |
87 | #ifndef HASCONST |
88 | #define const |
89 | #endif |
90 | |
91 | /* HAS_CRYPT: |
92 | * This symbol, if defined, indicates that the crypt routine is available |
93 | * to encrypt passwords and the like. |
94 | */ |
95 | /*#define HAS_CRYPT /**/ |
96 | |
97 | /* HAS_CUSERID: |
98 | * This symbol, if defined, indicates that the cuserid routine is |
99 | * available to get character login names. |
100 | */ |
101 | /*#define HAS_CUSERID /**/ |
102 | |
103 | /* HAS_DBL_DIG: |
104 | * This symbol, if defined, indicates that this system's <float.h> |
105 | * or <limits.h> defines the symbol DBL_DIG, which is the number |
106 | * of significant digits in a double precision number. If this |
107 | * symbol is not defined, a guess of 15 is usually pretty good. |
108 | */ |
109 | #define HAS_DBL_DIG /**/ |
110 | |
111 | /* HAS_DIFFTIME: |
112 | * This symbol, if defined, indicates that the difftime routine is |
113 | * available. |
114 | */ |
115 | #define HAS_DIFFTIME /**/ |
116 | |
117 | /* HAS_DLERROR: |
118 | * This symbol, if defined, indicates that the dlerror routine is |
119 | * available to return a string describing the last error that |
120 | * occurred from a call to dlopen(), dlclose() or dlsym(). |
121 | */ |
122 | #define HAS_DLERROR /**/ |
123 | |
924b3ec4 |
124 | /* SETUID_SCRIPTS_ARE_SECURE_NOW: |
125 | * This symbol, if defined, indicates that the bug that prevents |
126 | * setuid scripts from being secure is not present in this kernel. |
127 | */ |
128 | /* DOSUID: |
129 | * This symbol, if defined, indicates that the C program should |
130 | * check the script that it is executing for setuid/setgid bits, and |
131 | * attempt to emulate setuid/setgid on systems that have disabled |
132 | * setuid #! scripts because the kernel can't do it securely. |
133 | * It is up to the package designer to make sure that this emulation |
134 | * is done securely. Among other things, it should do an fstat on |
135 | * the script it just opened to make sure it really is a setuid/setgid |
136 | * script, it should make sure the arguments passed correspond exactly |
137 | * to the argument on the #! line, and it should not trust any |
138 | * subprocesses to which it must pass the filename rather than the |
139 | * file descriptor of the script to be executed. |
140 | */ |
141 | /*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/ |
142 | /*#define DOSUID /**/ |
143 | |
08aa1457 |
144 | /* HAS_DUP2: |
145 | * This symbol, if defined, indicates that the dup2 routine is |
146 | * available to duplicate file descriptors. |
147 | */ |
148 | #define HAS_DUP2 /**/ |
149 | |
150 | /* HAS_FCHMOD: |
151 | * This symbol, if defined, indicates that the fchmod routine is available |
152 | * to change mode of opened files. If unavailable, use chmod(). |
153 | */ |
154 | /*#define HAS_FCHMOD /**/ |
155 | |
156 | /* HAS_FCHOWN: |
157 | * This symbol, if defined, indicates that the fchown routine is available |
158 | * to change ownership of opened files. If unavailable, use chown(). |
159 | */ |
160 | /*#define HAS_FCHOWN /**/ |
161 | |
162 | /* HAS_FCNTL: |
163 | * This symbol, if defined, indicates to the C program that |
164 | * the fcntl() function exists. |
165 | */ |
166 | /*#define HAS_FCNTL /**/ |
167 | |
168 | /* HAS_FGETPOS: |
169 | * This symbol, if defined, indicates that the fgetpos routine is |
170 | * available to get the file position indicator, similar to ftell(). |
171 | */ |
172 | #define HAS_FGETPOS /**/ |
173 | |
174 | /* FLEXFILENAMES: |
175 | * This symbol, if defined, indicates that the system supports filenames |
176 | * longer than 14 characters. |
177 | */ |
178 | #define FLEXFILENAMES /**/ |
179 | |
180 | /* HAS_FLOCK: |
181 | * This symbol, if defined, indicates that the flock routine is |
182 | * available to do file locking. |
183 | */ |
184 | #define HAS_FLOCK /**/ |
185 | |
186 | /* HAS_FORK: |
187 | * This symbol, if defined, indicates that the fork routine is |
188 | * available. |
189 | */ |
190 | /*#define HAS_FORK /**/ |
191 | |
192 | /* HAS_FSETPOS: |
193 | * This symbol, if defined, indicates that the fsetpos routine is |
194 | * available to set the file position indicator, similar to fseek(). |
195 | */ |
196 | #define HAS_FSETPOS /**/ |
197 | |
198 | /* HAS_GETTIMEOFDAY: |
199 | * This symbol, if defined, indicates that the gettimeofday() system |
200 | * call is available for a sub-second accuracy clock. Usually, the file |
201 | * <sys/resource.h> needs to be included (see I_SYS_RESOURCE). |
202 | * The type "Timeval" should be used to refer to "struct timeval". |
203 | */ |
204 | /*#define HAS_GETTIMEOFDAY /**/ |
205 | #ifdef HAS_GETTIMEOFDAY |
206 | #define Timeval struct timeval /* Structure used by gettimeofday() */ |
207 | #endif |
208 | |
209 | /* HAS_GETGROUPS: |
210 | * This symbol, if defined, indicates that the getgroups() routine is |
211 | * available to get the list of process groups. If unavailable, multiple |
212 | * groups are probably not supported. |
213 | */ |
08aa1457 |
214 | /*#define HAS_GETGROUPS /**/ |
08aa1457 |
215 | |
08aa1457 |
216 | /* HAS_GETLOGIN: |
217 | * This symbol, if defined, indicates that the getlogin routine is |
218 | * available to get the login name. |
219 | */ |
e34ffe5a |
220 | #define HAS_GETLOGIN /**/ |
08aa1457 |
221 | |
924b3ec4 |
222 | /* HAS_GETPGID: |
223 | * This symbol, if defined, indicates to the C program that |
224 | * the getpgid(pid) function is available to get the |
225 | * process group id. |
226 | */ |
227 | /*#define HAS_GETPGID /**/ |
228 | |
229 | /* HAS_GETPGRP: |
230 | * This symbol, if defined, indicates that the getpgrp routine is |
231 | * available to get the current process group. |
232 | */ |
233 | /* USE_BSD_GETPGRP: |
234 | * This symbol, if defined, indicates that getpgrp needs one |
235 | * arguments whereas USG one needs none. |
236 | */ |
237 | /*#define HAS_GETPGRP /**/ |
238 | /*#define USE_BSD_GETPGRP /**/ |
239 | |
08aa1457 |
240 | /* HAS_GETPGRP2: |
241 | * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX) |
242 | * routine is available to get the current process group. |
243 | */ |
244 | /*#define HAS_GETPGRP2 /**/ |
245 | |
246 | /* HAS_GETPPID: |
247 | * This symbol, if defined, indicates that the getppid routine is |
248 | * available to get the parent process ID. |
249 | */ |
250 | /*#define HAS_GETPPID /**/ |
251 | |
252 | /* HAS_GETPRIORITY: |
253 | * This symbol, if defined, indicates that the getpriority routine is |
254 | * available to get a process's priority. |
255 | */ |
256 | /*#define HAS_GETPRIORITY /**/ |
257 | |
924b3ec4 |
258 | /* HAS_INET_ATON: |
259 | * This symbol, if defined, indicates to the C program that the |
260 | * inet_aton() function is available to parse IP address "dotted-quad" |
261 | * strings. |
08aa1457 |
262 | */ |
924b3ec4 |
263 | /*#define HAS_INET_ATON /**/ |
08aa1457 |
264 | |
265 | /* HAS_KILLPG: |
266 | * This symbol, if defined, indicates that the killpg routine is available |
267 | * to kill process groups. If unavailable, you probably should use kill |
268 | * with a negative process number. |
269 | */ |
270 | /*#define HAS_KILLPG /**/ |
271 | |
272 | /* HAS_LINK: |
273 | * This symbol, if defined, indicates that the link routine is |
274 | * available to create hard links. |
275 | */ |
276 | /*#define HAS_LINK /**/ |
277 | |
278 | /* HAS_LOCALECONV: |
279 | * This symbol, if defined, indicates that the localeconv routine is |
280 | * available for numeric and monetary formatting conventions. |
281 | */ |
282 | #define HAS_LOCALECONV /**/ |
283 | |
284 | /* HAS_LOCKF: |
285 | * This symbol, if defined, indicates that the lockf routine is |
286 | * available to do file locking. |
287 | */ |
288 | /*#define HAS_LOCKF /**/ |
289 | |
290 | /* HAS_LSTAT: |
291 | * This symbol, if defined, indicates that the lstat routine is |
292 | * available to do file stats on symbolic links. |
293 | */ |
294 | /*#define HAS_LSTAT /**/ |
295 | |
296 | /* HAS_MBLEN: |
297 | * This symbol, if defined, indicates that the mblen routine is available |
298 | * to find the number of bytes in a multibye character. |
299 | */ |
300 | #define HAS_MBLEN /**/ |
301 | |
302 | /* HAS_MBSTOWCS: |
303 | * This symbol, if defined, indicates that the mbstowcs routine is |
304 | * available to covert a multibyte string into a wide character string. |
305 | */ |
306 | #define HAS_MBSTOWCS /**/ |
307 | |
308 | /* HAS_MBTOWC: |
309 | * This symbol, if defined, indicates that the mbtowc routine is available |
310 | * to covert a multibyte to a wide character. |
311 | */ |
312 | #define HAS_MBTOWC /**/ |
313 | |
314 | /* HAS_MEMCMP: |
315 | * This symbol, if defined, indicates that the memcmp routine is available |
316 | * to compare blocks of memory. |
317 | */ |
318 | #define HAS_MEMCMP /**/ |
319 | |
320 | /* HAS_MEMCPY: |
321 | * This symbol, if defined, indicates that the memcpy routine is available |
322 | * to copy blocks of memory. |
323 | */ |
324 | #define HAS_MEMCPY /**/ |
325 | |
326 | /* HAS_MEMMOVE: |
327 | * This symbol, if defined, indicates that the memmove routine is available |
328 | * to copy potentially overlapping blocks of memory. This should be used |
329 | * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your |
330 | * own version. |
331 | */ |
332 | #define HAS_MEMMOVE /**/ |
333 | |
334 | /* HAS_MEMSET: |
335 | * This symbol, if defined, indicates that the memset routine is available |
336 | * to set blocks of memory. |
337 | */ |
338 | #define HAS_MEMSET /**/ |
339 | |
340 | /* HAS_MKDIR: |
341 | * This symbol, if defined, indicates that the mkdir routine is available |
342 | * to create directories. Otherwise you should fork off a new process to |
343 | * exec /bin/mkdir. |
344 | */ |
345 | #define HAS_MKDIR /**/ |
346 | |
347 | /* HAS_MKFIFO: |
348 | * This symbol, if defined, indicates that the mkfifo routine is |
349 | * available to create FIFOs. Otherwise, mknod should be able to |
350 | * do it for you. However, if mkfifo is there, mknod might require |
351 | * super-user privileges which mkfifo will not. |
352 | */ |
353 | /*#define HAS_MKFIFO /**/ |
354 | |
355 | /* HAS_MKTIME: |
356 | * This symbol, if defined, indicates that the mktime routine is |
357 | * available. |
358 | */ |
359 | #define HAS_MKTIME /**/ |
360 | |
c4d53692 |
361 | /* HAS_MSYNC: |
362 | * This symbol, if defined, indicates that the msync system call is |
363 | * available to synchronize a mapped file. |
364 | */ |
365 | /*#define HAS_MSYNC /**/ |
366 | |
367 | /* HAS_MUNMAP: |
368 | * This symbol, if defined, indicates that the munmap system call is |
369 | * available to unmap a region, usually mapped by mmap(). |
370 | */ |
371 | /*#define HAS_MUNMAP /**/ |
372 | |
08aa1457 |
373 | /* HAS_NICE: |
374 | * This symbol, if defined, indicates that the nice routine is |
375 | * available. |
376 | */ |
377 | /*#define HAS_NICE /**/ |
378 | |
08aa1457 |
379 | /* HAS_PATHCONF: |
380 | * This symbol, if defined, indicates that pathconf() is available |
381 | * to determine file-system related limits and options associated |
382 | * with a given filename. |
383 | */ |
384 | /* HAS_FPATHCONF: |
385 | * This symbol, if defined, indicates that pathconf() is available |
386 | * to determine file-system related limits and options associated |
387 | * with a given open file descriptor. |
388 | */ |
389 | /*#define HAS_PATHCONF /**/ |
390 | /*#define HAS_FPATHCONF /**/ |
391 | |
392 | /* HAS_PAUSE: |
393 | * This symbol, if defined, indicates that the pause routine is |
394 | * available to suspend a process until a signal is received. |
395 | */ |
396 | #define HAS_PAUSE /**/ |
397 | |
398 | /* HAS_PIPE: |
399 | * This symbol, if defined, indicates that the pipe routine is |
400 | * available to create an inter-process channel. |
401 | */ |
402 | #define HAS_PIPE /**/ |
403 | |
404 | /* HAS_POLL: |
405 | * This symbol, if defined, indicates that the poll routine is |
924b3ec4 |
406 | * available to poll active file descriptors. You may safely |
407 | * include <poll.h> when this symbol is defined. |
08aa1457 |
408 | */ |
409 | /*#define HAS_POLL /**/ |
410 | |
411 | /* HAS_READDIR: |
412 | * This symbol, if defined, indicates that the readdir routine is |
413 | * available to read directory entries. You may have to include |
414 | * <dirent.h>. See I_DIRENT. |
415 | */ |
416 | #define HAS_READDIR /**/ |
417 | |
418 | /* HAS_SEEKDIR: |
419 | * This symbol, if defined, indicates that the seekdir routine is |
420 | * available. You may have to include <dirent.h>. See I_DIRENT. |
421 | */ |
422 | #define HAS_SEEKDIR /**/ |
423 | |
424 | /* HAS_TELLDIR: |
425 | * This symbol, if defined, indicates that the telldir routine is |
426 | * available. You may have to include <dirent.h>. See I_DIRENT. |
427 | */ |
428 | #define HAS_TELLDIR /**/ |
429 | |
430 | /* HAS_REWINDDIR: |
431 | * This symbol, if defined, indicates that the rewinddir routine is |
432 | * available. You may have to include <dirent.h>. See I_DIRENT. |
433 | */ |
434 | #define HAS_REWINDDIR /**/ |
435 | |
436 | /* HAS_READLINK: |
437 | * This symbol, if defined, indicates that the readlink routine is |
438 | * available to read the value of a symbolic link. |
439 | */ |
440 | /*#define HAS_READLINK /**/ |
441 | |
442 | /* HAS_RENAME: |
443 | * This symbol, if defined, indicates that the rename routine is available |
444 | * to rename files. Otherwise you should do the unlink(), link(), unlink() |
445 | * trick. |
446 | */ |
447 | #define HAS_RENAME /**/ |
448 | |
449 | /* HAS_RMDIR: |
450 | * This symbol, if defined, indicates that the rmdir routine is |
451 | * available to remove directories. Otherwise you should fork off a |
452 | * new process to exec /bin/rmdir. |
453 | */ |
454 | #define HAS_RMDIR /**/ |
455 | |
08aa1457 |
456 | /* HAS_SELECT: |
457 | * This symbol, if defined, indicates that the select routine is |
458 | * available to select active file descriptors. If the timeout field |
459 | * is used, <sys/time.h> may need to be included. |
460 | */ |
461 | #define HAS_SELECT /**/ |
462 | |
08aa1457 |
463 | /* HAS_SETEGID: |
464 | * This symbol, if defined, indicates that the setegid routine is available |
465 | * to change the effective gid of the current program. |
466 | */ |
467 | /*#define HAS_SETEGID /**/ |
468 | |
469 | /* HAS_SETEUID: |
470 | * This symbol, if defined, indicates that the seteuid routine is available |
471 | * to change the effective uid of the current program. |
472 | */ |
473 | /*#define HAS_SETEUID /**/ |
474 | |
475 | /* HAS_SETLINEBUF: |
476 | * This symbol, if defined, indicates that the setlinebuf routine is |
477 | * available to change stderr or stdout from block-buffered or unbuffered |
478 | * to a line-buffered mode. |
479 | */ |
480 | /*#define HAS_SETLINEBUF /**/ |
481 | |
482 | /* HAS_SETLOCALE: |
483 | * This symbol, if defined, indicates that the setlocale routine is |
484 | * available to handle locale-specific ctype implementations. |
485 | */ |
486 | #define HAS_SETLOCALE /**/ |
487 | |
924b3ec4 |
488 | /* HAS_SETPGID: |
489 | * This symbol, if defined, indicates that the setpgid(pid, gpid) |
490 | * routine is available to set process group ID. |
491 | */ |
492 | /*#define HAS_SETPGID /**/ |
493 | |
494 | /* HAS_SETPGRP: |
495 | * This symbol, if defined, indicates that the setpgrp routine is |
496 | * available to set the current process group. |
497 | */ |
498 | /* USE_BSD_SETPGRP: |
499 | * This symbol, if defined, indicates that setpgrp needs two |
500 | * arguments whereas USG one needs none. See also HAS_SETPGID |
501 | * for a POSIX interface. |
502 | */ |
503 | /*#define HAS_SETPGRP /**/ |
504 | /*#define USE_BSD_SETPGRP /**/ |
505 | |
08aa1457 |
506 | /* HAS_SETPGRP2: |
507 | * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX) |
508 | * routine is available to set the current process group. |
509 | */ |
510 | /*#define HAS_SETPGRP2 /**/ |
511 | |
512 | /* HAS_SETPRIORITY: |
513 | * This symbol, if defined, indicates that the setpriority routine is |
514 | * available to set a process's priority. |
515 | */ |
516 | /*#define HAS_SETPRIORITY /**/ |
517 | |
518 | /* HAS_SETREGID: |
519 | * This symbol, if defined, indicates that the setregid routine is |
520 | * available to change the real and effective gid of the current |
521 | * process. |
522 | */ |
523 | /* HAS_SETRESGID: |
524 | * This symbol, if defined, indicates that the setresgid routine is |
525 | * available to change the real, effective and saved gid of the current |
526 | * process. |
527 | */ |
528 | /*#define HAS_SETREGID /**/ |
529 | /*#define HAS_SETRESGID /**/ |
530 | |
531 | /* HAS_SETREUID: |
532 | * This symbol, if defined, indicates that the setreuid routine is |
533 | * available to change the real and effective uid of the current |
534 | * process. |
535 | */ |
536 | /* HAS_SETRESUID: |
537 | * This symbol, if defined, indicates that the setresuid routine is |
538 | * available to change the real, effective and saved uid of the current |
539 | * process. |
540 | */ |
541 | /*#define HAS_SETREUID /**/ |
542 | /*#define HAS_SETRESUID /**/ |
543 | |
544 | /* HAS_SETRGID: |
545 | * This symbol, if defined, indicates that the setrgid routine is available |
546 | * to change the real gid of the current program. |
547 | */ |
548 | /*#define HAS_SETRGID /**/ |
549 | |
550 | /* HAS_SETRUID: |
551 | * This symbol, if defined, indicates that the setruid routine is available |
552 | * to change the real uid of the current program. |
553 | */ |
554 | /*#define HAS_SETRUID /**/ |
555 | |
556 | /* HAS_SETSID: |
557 | * This symbol, if defined, indicates that the setsid routine is |
558 | * available to set the process group ID. |
559 | */ |
560 | /*#define HAS_SETSID /**/ |
561 | |
08aa1457 |
562 | /* Shmat_t: |
563 | * This symbol holds the return type of the shmat() system call. |
564 | * Usually set to 'void *' or 'char *'. |
565 | */ |
566 | /* HAS_SHMAT_PROTOTYPE: |
567 | * This symbol, if defined, indicates that the sys/shm.h includes |
568 | * a prototype for shmat(). Otherwise, it is up to the program to |
82839a9d |
569 | * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess, |
08aa1457 |
570 | * but not always right so it should be emitted by the program only |
571 | * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. |
572 | */ |
573 | #define Shmat_t void * /**/ |
574 | /*#define HAS_SHMAT_PROTOTYPE /**/ |
575 | |
924b3ec4 |
576 | /* HAS_STRCHR: |
577 | * This symbol is defined to indicate that the strchr()/strrchr() |
578 | * functions are available for string searching. If not, try the |
579 | * index()/rindex() pair. |
08aa1457 |
580 | */ |
924b3ec4 |
581 | /* HAS_INDEX: |
582 | * This symbol is defined to indicate that the index()/rindex() |
583 | * functions are available for string searching. |
08aa1457 |
584 | */ |
924b3ec4 |
585 | #define HAS_STRCHR /**/ |
586 | /*#define HAS_INDEX /**/ |
587 | |
588 | /* HAS_STRCOLL: |
589 | * This symbol, if defined, indicates that the strcoll routine is |
590 | * available to compare strings using collating information. |
08aa1457 |
591 | */ |
924b3ec4 |
592 | #define HAS_STRCOLL /**/ |
593 | |
594 | /* USE_STRUCT_COPY: |
595 | * This symbol, if defined, indicates that this C compiler knows how |
596 | * to copy structures. If undefined, you'll need to use a block copy |
597 | * routine of some sort instead. |
08aa1457 |
598 | */ |
924b3ec4 |
599 | #define USE_STRUCT_COPY /**/ |
08aa1457 |
600 | |
08aa1457 |
601 | /* HAS_STRTOD: |
602 | * This symbol, if defined, indicates that the strtod routine is |
603 | * available to provide better numeric string conversion than atof(). |
604 | */ |
605 | #define HAS_STRTOD /**/ |
606 | |
607 | /* HAS_STRTOL: |
608 | * This symbol, if defined, indicates that the strtol routine is available |
609 | * to provide better numeric string conversion than atoi() and friends. |
610 | */ |
611 | #define HAS_STRTOL /**/ |
612 | |
613 | /* HAS_STRTOUL: |
614 | * This symbol, if defined, indicates that the strtoul routine is |
615 | * available to provide conversion of strings to unsigned long. |
616 | */ |
617 | #define HAS_STRTOUL /**/ |
618 | |
619 | /* HAS_STRXFRM: |
620 | * This symbol, if defined, indicates that the strxfrm() routine is |
621 | * available to transform strings. |
622 | */ |
623 | #define HAS_STRXFRM /**/ |
624 | |
625 | /* HAS_SYMLINK: |
626 | * This symbol, if defined, indicates that the symlink routine is available |
627 | * to create symbolic links. |
628 | */ |
629 | /*#define HAS_SYMLINK /**/ |
630 | |
631 | /* HAS_SYSCALL: |
632 | * This symbol, if defined, indicates that the syscall routine is |
633 | * available to call arbitrary system calls. If undefined, that's tough. |
634 | */ |
635 | /*#define HAS_SYSCALL /**/ |
636 | |
637 | /* HAS_SYSCONF: |
638 | * This symbol, if defined, indicates that sysconf() is available |
639 | * to determine system related limits and options. |
640 | */ |
641 | /*#define HAS_SYSCONF /**/ |
642 | |
643 | /* HAS_SYSTEM: |
644 | * This symbol, if defined, indicates that the system routine is |
645 | * available to issue a shell command. |
646 | */ |
647 | #define HAS_SYSTEM /**/ |
648 | |
649 | /* HAS_TCGETPGRP: |
650 | * This symbol, if defined, indicates that the tcgetpgrp routine is |
651 | * available to get foreground process group ID. |
652 | */ |
653 | /*#define HAS_TCGETPGRP /**/ |
654 | |
655 | /* HAS_TCSETPGRP: |
656 | * This symbol, if defined, indicates that the tcsetpgrp routine is |
657 | * available to set foreground process group ID. |
658 | */ |
659 | /*#define HAS_TCSETPGRP /**/ |
660 | |
08aa1457 |
661 | /* HAS_TRUNCATE: |
662 | * This symbol, if defined, indicates that the truncate routine is |
663 | * available to truncate files. |
664 | */ |
665 | /*#define HAS_TRUNCATE /**/ |
666 | |
667 | /* HAS_TZNAME: |
668 | * This symbol, if defined, indicates that the tzname[] array is |
669 | * available to access timezone names. |
670 | */ |
671 | #define HAS_TZNAME /**/ |
672 | |
673 | /* HAS_UMASK: |
674 | * This symbol, if defined, indicates that the umask routine is |
675 | * available to set and get the value of the file creation mask. |
676 | */ |
677 | #define HAS_UMASK /**/ |
678 | |
08aa1457 |
679 | /* HASVOLATILE: |
680 | * This symbol, if defined, indicates that this C compiler knows about |
681 | * the volatile declaration. |
682 | */ |
683 | #define HASVOLATILE /**/ |
684 | #ifndef HASVOLATILE |
685 | #define volatile |
686 | #endif |
687 | |
08aa1457 |
688 | /* HAS_WAIT4: |
689 | * This symbol, if defined, indicates that wait4() exists. |
690 | */ |
691 | /*#define HAS_WAIT4 /**/ |
692 | |
693 | /* HAS_WAITPID: |
694 | * This symbol, if defined, indicates that the waitpid routine is |
695 | * available to wait for child process. |
696 | */ |
f55ee38a |
697 | #define HAS_WAITPID /**/ |
08aa1457 |
698 | |
699 | /* HAS_WCSTOMBS: |
700 | * This symbol, if defined, indicates that the wcstombs routine is |
701 | * available to convert wide character strings to multibyte strings. |
702 | */ |
703 | #define HAS_WCSTOMBS /**/ |
704 | |
705 | /* HAS_WCTOMB: |
706 | * This symbol, if defined, indicates that the wctomb routine is available |
707 | * to covert a wide character to a multibyte. |
708 | */ |
709 | #define HAS_WCTOMB /**/ |
710 | |
28e8609d |
711 | /* I_ARPA_INET: |
327c3667 |
712 | * This symbol, if defined, indicates to the C program that it should |
713 | * include <arpa/inet.h> to get inet_addr and friends declarations. |
28e8609d |
714 | */ |
327c3667 |
715 | #define I_ARPA_INET /**/ |
28e8609d |
716 | |
924b3ec4 |
717 | /* I_DBM: |
718 | * This symbol, if defined, indicates that <dbm.h> exists and should |
719 | * be included. |
08aa1457 |
720 | */ |
924b3ec4 |
721 | /* I_RPCSVC_DBM: |
722 | * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and |
723 | * should be included. |
08aa1457 |
724 | */ |
924b3ec4 |
725 | /*#define I_DBM /**/ |
726 | #define I_RPCSVC_DBM /**/ |
08aa1457 |
727 | |
728 | /* I_DIRENT: |
729 | * This symbol, if defined, indicates to the C program that it should |
730 | * include <dirent.h>. Using this symbol also triggers the definition |
731 | * of the Direntry_t define which ends up being 'struct dirent' or |
732 | * 'struct direct' depending on the availability of <dirent.h>. |
733 | */ |
734 | /* DIRNAMLEN: |
735 | * This symbol, if defined, indicates to the C program that the length |
736 | * of directory entry names is provided by a d_namlen field. Otherwise |
737 | * you need to do strlen() on the d_name field. |
738 | */ |
739 | /* Direntry_t: |
740 | * This symbol is set to 'struct direct' or 'struct dirent' depending on |
741 | * whether dirent is available or not. You should use this pseudo type to |
742 | * portably declare your directory entries. |
743 | */ |
744 | #define I_DIRENT /**/ |
745 | #define DIRNAMLEN /**/ |
746 | #define Direntry_t struct direct |
747 | |
748 | /* I_DLFCN: |
749 | * This symbol, if defined, indicates that <dlfcn.h> exists and should |
750 | * be included. |
751 | */ |
752 | #define I_DLFCN /**/ |
753 | |
754 | /* I_FCNTL: |
755 | * This manifest constant tells the C program to include <fcntl.h>. |
756 | */ |
757 | #define I_FCNTL /**/ |
758 | |
759 | /* I_FLOAT: |
760 | * This symbol, if defined, indicates to the C program that it should |
761 | * include <float.h> to get definition of symbols like DBL_MAX or |
762 | * DBL_MIN, i.e. machine dependent floating point values. |
763 | */ |
764 | #define I_FLOAT /**/ |
765 | |
08aa1457 |
766 | /* I_LIMITS: |
767 | * This symbol, if defined, indicates to the C program that it should |
768 | * include <limits.h> to get definition of symbols like WORD_BIT or |
769 | * LONG_MAX, i.e. machine dependant limitations. |
770 | */ |
771 | #define I_LIMITS /**/ |
772 | |
924b3ec4 |
773 | /* I_LOCALE: |
774 | * This symbol, if defined, indicates to the C program that it should |
775 | * include <locale.h>. |
776 | */ |
777 | #define I_LOCALE /**/ |
778 | |
08aa1457 |
779 | /* I_MATH: |
780 | * This symbol, if defined, indicates to the C program that it should |
781 | * include <math.h>. |
782 | */ |
783 | #define I_MATH /**/ |
784 | |
785 | /* I_MEMORY: |
786 | * This symbol, if defined, indicates to the C program that it should |
787 | * include <memory.h>. |
788 | */ |
789 | /*#define I_MEMORY /**/ |
790 | |
791 | /* I_NDBM: |
792 | * This symbol, if defined, indicates that <ndbm.h> exists and should |
793 | * be included. |
794 | */ |
795 | /*#define I_NDBM /**/ |
796 | |
797 | /* I_NET_ERRNO: |
798 | * This symbol, if defined, indicates that <net/errno.h> exists and |
799 | * should be included. |
800 | */ |
801 | /*#define I_NET_ERRNO /**/ |
802 | |
803 | /* I_NETINET_IN: |
804 | * This symbol, if defined, indicates to the C program that it should |
805 | * include <netinet/in.h>. Otherwise, you may try <sys/in.h>. |
806 | */ |
807 | /*#define I_NETINET_IN /**/ |
808 | |
924b3ec4 |
809 | /* I_SFIO: |
810 | * This symbol, if defined, indicates to the C program that it should |
811 | * include <sfio.h>. |
812 | */ |
813 | /*#define I_SFIO /**/ |
814 | |
08aa1457 |
815 | /* I_STDDEF: |
816 | * This symbol, if defined, indicates that <stddef.h> exists and should |
817 | * be included. |
818 | */ |
819 | #define I_STDDEF /**/ |
820 | |
821 | /* I_STDLIB: |
822 | * This symbol, if defined, indicates that <stdlib.h> exists and should |
823 | * be included. |
824 | */ |
825 | #define I_STDLIB /**/ |
826 | |
827 | /* I_STRING: |
828 | * This symbol, if defined, indicates to the C program that it should |
829 | * include <string.h> (USG systems) instead of <strings.h> (BSD systems). |
830 | */ |
831 | #define I_STRING /**/ |
832 | |
833 | /* I_SYS_DIR: |
834 | * This symbol, if defined, indicates to the C program that it should |
835 | * include <sys/dir.h>. |
836 | */ |
837 | /*#define I_SYS_DIR /**/ |
838 | |
839 | /* I_SYS_FILE: |
840 | * This symbol, if defined, indicates to the C program that it should |
841 | * include <sys/file.h> to get definition of R_OK and friends. |
842 | */ |
843 | /*#define I_SYS_FILE /**/ |
844 | |
845 | /* I_SYS_IOCTL: |
846 | * This symbol, if defined, indicates that <sys/ioctl.h> exists and should |
847 | * be included. Otherwise, include <sgtty.h> or <termio.h>. |
848 | */ |
849 | /*#define I_SYS_IOCTL /**/ |
850 | |
851 | /* I_SYS_NDIR: |
852 | * This symbol, if defined, indicates to the C program that it should |
853 | * include <sys/ndir.h>. |
854 | */ |
855 | /*#define I_SYS_NDIR /**/ |
856 | |
857 | /* I_SYS_PARAM: |
858 | * This symbol, if defined, indicates to the C program that it should |
859 | * include <sys/param.h>. |
860 | */ |
861 | /*#define I_SYS_PARAM /**/ |
862 | |
863 | /* I_SYS_RESOURCE: |
864 | * This symbol, if defined, indicates to the C program that it should |
865 | * include <sys/resource.h>. |
866 | */ |
867 | /*#define I_SYS_RESOURCE /**/ |
868 | |
869 | /* I_SYS_SELECT: |
870 | * This symbol, if defined, indicates to the C program that it should |
871 | * include <sys/select.h> in order to get definition of struct timeval. |
872 | */ |
873 | /*#define I_SYS_SELECT /**/ |
874 | |
924b3ec4 |
875 | /* I_SYS_STAT: |
876 | * This symbol, if defined, indicates to the C program that it should |
877 | * include <sys/stat.h>. |
878 | */ |
879 | #define I_SYS_STAT /**/ |
880 | |
08aa1457 |
881 | /* I_SYS_TIMES: |
882 | * This symbol, if defined, indicates to the C program that it should |
883 | * include <sys/times.h>. |
884 | */ |
885 | /*#define I_SYS_TIMES /**/ |
886 | |
be44fb0e |
887 | /* I_SYS_TYPES: |
888 | * This symbol, if defined, indicates to the C program that it should |
889 | * include <sys/types.h>. |
890 | */ |
891 | #define I_SYS_TYPES /**/ |
892 | |
08aa1457 |
893 | /* I_SYS_UN: |
894 | * This symbol, if defined, indicates to the C program that it should |
895 | * include <sys/un.h> to get UNIX domain socket definitions. |
896 | */ |
897 | /*#define I_SYS_UN /**/ |
898 | |
899 | /* I_SYS_WAIT: |
900 | * This symbol, if defined, indicates to the C program that it should |
901 | * include <sys/wait.h>. |
902 | */ |
903 | /*#define I_SYS_WAIT /**/ |
904 | |
905 | /* I_TERMIO: |
906 | * This symbol, if defined, indicates that the program should include |
907 | * <termio.h> rather than <sgtty.h>. There are also differences in |
908 | * the ioctl() calls that depend on the value of this symbol. |
909 | */ |
910 | /* I_TERMIOS: |
911 | * This symbol, if defined, indicates that the program should include |
912 | * the POSIX termios.h rather than sgtty.h or termio.h. |
913 | * There are also differences in the ioctl() calls that depend on the |
914 | * value of this symbol. |
915 | */ |
916 | /* I_SGTTY: |
917 | * This symbol, if defined, indicates that the program should include |
918 | * <sgtty.h> rather than <termio.h>. There are also differences in |
919 | * the ioctl() calls that depend on the value of this symbol. |
920 | */ |
921 | /*#define I_TERMIO /**/ |
922 | /*#define I_TERMIOS /**/ |
923 | /*#define I_SGTTY /**/ |
924 | |
08aa1457 |
925 | /* I_UNISTD: |
926 | * This symbol, if defined, indicates to the C program that it should |
927 | * include <unistd.h>. |
928 | */ |
929 | /*#define I_UNISTD /**/ |
930 | |
931 | /* I_UTIME: |
932 | * This symbol, if defined, indicates to the C program that it should |
933 | * include <utime.h>. |
934 | */ |
935 | #define I_UTIME /**/ |
936 | |
924b3ec4 |
937 | /* I_VALUES: |
938 | * This symbol, if defined, indicates to the C program that it should |
939 | * include <values.h> to get definition of symbols like MINFLOAT or |
940 | * MAXLONG, i.e. machine dependant limitations. Probably, you |
941 | * should use <limits.h> instead, if it is available. |
942 | */ |
943 | /*#define I_VALUES /**/ |
944 | |
08aa1457 |
945 | /* I_STDARG: |
946 | * This symbol, if defined, indicates that <stdarg.h> exists and should |
947 | * be included. |
948 | */ |
949 | /* I_VARARGS: |
950 | * This symbol, if defined, indicates to the C program that it should |
951 | * include <varargs.h>. |
952 | */ |
953 | #define I_STDARG /**/ |
954 | /*#define I_VARARGS /**/ |
955 | |
956 | /* I_VFORK: |
957 | * This symbol, if defined, indicates to the C program that it should |
958 | * include vfork.h. |
959 | */ |
960 | /*#define I_VFORK /**/ |
961 | |
08aa1457 |
962 | /* CAN_PROTOTYPE: |
963 | * If defined, this macro indicates that the C compiler can handle |
964 | * function prototypes. |
965 | */ |
966 | /* _: |
967 | * This macro is used to declare function parameters for folks who want |
968 | * to make declarations with prototypes using a different style than |
969 | * the above macros. Use double parentheses. For example: |
970 | * |
971 | * int main _((int argc, char *argv[])); |
972 | */ |
973 | #define CAN_PROTOTYPE /**/ |
974 | #ifdef CAN_PROTOTYPE |
975 | #define _(args) args |
976 | #else |
977 | #define _(args) () |
978 | #endif |
979 | |
924b3ec4 |
980 | /* SH_PATH: |
981 | * This symbol contains the full pathname to the shell used on this |
982 | * on this system to execute Bourne shell scripts. Usually, this will be |
983 | * /bin/sh, though it's possible that some systems will have /bin/ksh, |
984 | * /bin/pdksh, /bin/ash, /bin/bash, or even something such as |
985 | * D:/bin/sh.exe. |
08aa1457 |
986 | */ |
924b3ec4 |
987 | #define SH_PATH "cmd /x /c" /**/ |
08aa1457 |
988 | |
08aa1457 |
989 | /* STDCHAR: |
990 | * This symbol is defined to be the type of char used in stdio.h. |
991 | * It has the values "unsigned char" or "char". |
992 | */ |
993 | #define STDCHAR unsigned char /**/ |
994 | |
327c3667 |
995 | /* HAS_ACCESSX: |
996 | * This symbol, if defined, indicates that the accessx routine is |
997 | * available to do extended access checks. |
998 | */ |
999 | /*#define HAS_ACCESSX /**/ |
1000 | |
1001 | /* HAS_EACCESS: |
1002 | * This symbol, if defined, indicates that the eaccess routine is |
1003 | * available to do extended access checks. |
1004 | */ |
1005 | /*#define HAS_EACCESS /**/ |
1006 | |
1007 | /* I_SYS_ACCESS: |
1008 | * This symbol, if defined, indicates to the C program that it should |
104f9d64 |
1009 | * include <sys/access.h>. |
327c3667 |
1010 | */ |
1011 | /*#define I_SYS_ACCESS /**/ |
1012 | |
1013 | /* I_SYS_SECURITY: |
1014 | * This symbol, if defined, indicates to the C program that it should |
1015 | * include <sys/security.h>. |
1016 | */ |
1017 | /*#define I_SYS_SECURITY /**/ |
1018 | |
9423c6fc |
1019 | /* CROSSCOMPILE: |
1020 | * This symbol, if defined, signifies that we our |
1021 | * build process is a cross-compilation. |
1022 | */ |
1023 | /*#define CROSSCOMPILE /**/ |
1024 | |
1025 | /* INTSIZE: |
1026 | * This symbol contains the value of sizeof(int) so that the C |
1027 | * preprocessor can make decisions based on it. |
1028 | */ |
1029 | /* LONGSIZE: |
1030 | * This symbol contains the value of sizeof(long) so that the C |
1031 | * preprocessor can make decisions based on it. |
1032 | */ |
1033 | /* SHORTSIZE: |
1034 | * This symbol contains the value of sizeof(short) so that the C |
1035 | * preprocessor can make decisions based on it. |
1036 | */ |
1037 | #define INTSIZE 4 /**/ |
1038 | #define LONGSIZE 4 /**/ |
1039 | #define SHORTSIZE 2 /**/ |
1040 | |
1041 | /* MULTIARCH: |
1042 | * This symbol, if defined, signifies that the build |
1043 | * process will produce some binary files that are going to be |
1044 | * used in a cross-platform environment. This is the case for |
1045 | * example with the NeXT "fat" binaries that contain executables |
1046 | * for several CPUs. |
1047 | */ |
1048 | /*#define MULTIARCH /**/ |
1049 | |
924b3ec4 |
1050 | /* MEM_ALIGNBYTES: |
9423c6fc |
1051 | * This symbol contains the number of bytes required to align a |
1052 | * double. Usual values are 2, 4 and 8. The default is eight, |
1053 | * for safety. |
08aa1457 |
1054 | */ |
9423c6fc |
1055 | #if defined(CROSSCOMPILE) || defined(MULTIARCH) |
1056 | # define MEM_ALIGNBYTES 8 |
1057 | #else |
1058 | #define MEM_ALIGNBYTES 8 |
1059 | #endif |
08aa1457 |
1060 | |
1061 | /* BYTEORDER: |
1062 | * This symbol holds the hexadecimal constant defined in byteorder, |
1063 | * i.e. 0x1234 or 0x4321, etc... |
9423c6fc |
1064 | * If the compiler supports cross-compiling or multiple-architecture |
1065 | * binaries (eg. on NeXT systems), use compiler-defined macros to |
1066 | * determine the byte order. |
08aa1457 |
1067 | * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture |
1068 | * Binaries (MAB) on either big endian or little endian machines. |
1069 | * The endian-ness is available at compile-time. This only matters |
1070 | * for perl, where the config.h can be generated and installed on |
1071 | * one system, and used by a different architecture to build an |
1072 | * extension. Older versions of NeXT that might not have |
1073 | * defined either *_ENDIAN__ were all on Motorola 680x0 series, |
1074 | * so the default case (for NeXT) is big endian to catch them. |
1075 | * This might matter for NeXT 3.0. |
1076 | */ |
9423c6fc |
1077 | #if defined(CROSSCOMPILE) || defined(MULTIARCH) |
1078 | # ifdef __LITTLE_ENDIAN__ |
1079 | # if LONGSIZE == 4 |
1080 | # define BYTEORDER 0x1234 |
1081 | # else |
1082 | # if LONGSIZE == 8 |
1083 | # define BYTEORDER 0x12345678 |
1084 | # endif |
1085 | # endif |
1086 | # else |
1087 | # ifdef __BIG_ENDIAN__ |
1088 | # if LONGSIZE == 4 |
1089 | # define BYTEORDER 0x4321 |
1090 | # else |
1091 | # if LONGSIZE == 8 |
1092 | # define BYTEORDER 0x87654321 |
1093 | # endif |
1094 | # endif |
1095 | # endif |
1096 | # endif |
1097 | # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__)) |
1098 | # define BYTEORDER 0x4321 |
1099 | # endif |
1100 | #else |
08aa1457 |
1101 | #define BYTEORDER 0x1234 /* large digits for MSB */ |
08aa1457 |
1102 | #endif /* NeXT */ |
1103 | |
924b3ec4 |
1104 | /* CASTI32: |
1105 | * This symbol is defined if the C compiler can cast negative |
1106 | * or large floating point numbers to 32-bit ints. |
08aa1457 |
1107 | */ |
924b3ec4 |
1108 | #define CASTI32 /**/ |
08aa1457 |
1109 | |
924b3ec4 |
1110 | /* CASTNEGFLOAT: |
1111 | * This symbol is defined if the C compiler can cast negative |
1112 | * numbers to unsigned longs, ints and shorts. |
08aa1457 |
1113 | */ |
924b3ec4 |
1114 | /* CASTFLAGS: |
1115 | * This symbol contains flags that say what difficulties the compiler |
1116 | * has casting odd floating values to unsigned long: |
1117 | * 0 = ok |
1118 | * 1 = couldn't cast < 0 |
1119 | * 2 = couldn't cast >= 0x80000000 |
1120 | * 4 = couldn't cast in argument expression list |
08aa1457 |
1121 | */ |
924b3ec4 |
1122 | #define CASTNEGFLOAT /**/ |
1123 | #define CASTFLAGS 0 /**/ |
1124 | |
1125 | /* VOID_CLOSEDIR: |
1126 | * This symbol, if defined, indicates that the closedir() routine |
1127 | * does not return a value. |
08aa1457 |
1128 | */ |
924b3ec4 |
1129 | /*#define VOID_CLOSEDIR /**/ |
08aa1457 |
1130 | |
c4d53692 |
1131 | /* HAS_FD_SET: |
1132 | * This symbol, when defined, indicates presence of the fd_set typedef |
1133 | * in <sys/types.h> |
1134 | */ |
1135 | #define HAS_FD_SET /**/ |
1136 | |
08aa1457 |
1137 | /* Gconvert: |
1138 | * This preprocessor macro is defined to convert a floating point |
1139 | * number to a string without a trailing decimal point. This |
1140 | * emulates the behavior of sprintf("%g"), but is sometimes much more |
1141 | * efficient. If gconvert() is not available, but gcvt() drops the |
1142 | * trailing decimal point, then gcvt() is used. If all else fails, |
1143 | * a macro using sprintf("%g") is used. Arguments for the Gconvert |
1144 | * macro are: value, number of digits, whether trailing zeros should |
1145 | * be retained, and the output buffer. |
1146 | * Possible values are: |
1147 | * d_Gconvert='gconvert((x),(n),(t),(b))' |
1148 | * d_Gconvert='gcvt((x),(n),(b))' |
1149 | * d_Gconvert='sprintf((b),"%.*g",(n),(x))' |
1150 | * The last two assume trailing zeros should not be kept. |
1151 | */ |
ad2e33dc |
1152 | #define Gconvert(x,n,t,b) gcvt((x),(n),(b)) |
08aa1457 |
1153 | |
924b3ec4 |
1154 | /* HAS_GNULIBC: |
08aa1457 |
1155 | * This symbol, if defined, indicates to the C program that |
924b3ec4 |
1156 | * the GNU C library is being used. |
08aa1457 |
1157 | */ |
924b3ec4 |
1158 | /*#define HAS_GNULIBC /**/ |
1159 | /* HAS_ISASCII: |
1160 | * This manifest constant lets the C program know that isascii |
1161 | * is available. |
08aa1457 |
1162 | */ |
924b3ec4 |
1163 | #define HAS_ISASCII /**/ |
08aa1457 |
1164 | |
be44fb0e |
1165 | /* HAS_LCHOWN: |
1166 | * This symbol, if defined, indicates that the lchown routine is |
1167 | * available to operate on a symbolic link (instead of following the |
1168 | * link). |
1169 | */ |
1170 | /*#define HAS_LCHOWN /**/ |
1171 | |
924b3ec4 |
1172 | /* HAS_OPEN3: |
1173 | * This manifest constant lets the C program know that the three |
1174 | * argument form of open(2) is available. |
08aa1457 |
1175 | */ |
924b3ec4 |
1176 | /*#define HAS_OPEN3 /**/ |
08aa1457 |
1177 | |
924b3ec4 |
1178 | /* HAS_SAFE_BCOPY: |
1179 | * This symbol, if defined, indicates that the bcopy routine is available |
1180 | * to copy potentially overlapping memory blocks. Otherwise you should |
1181 | * probably use memmove() or memcpy(). If neither is defined, roll your |
1182 | * own version. |
08aa1457 |
1183 | */ |
924b3ec4 |
1184 | /*#define HAS_SAFE_BCOPY /**/ |
08aa1457 |
1185 | |
924b3ec4 |
1186 | /* HAS_SAFE_MEMCPY: |
1187 | * This symbol, if defined, indicates that the memcpy routine is available |
1188 | * to copy potentially overlapping memory blocks. Otherwise you should |
1189 | * probably use memmove() or memcpy(). If neither is defined, roll your |
1190 | * own version. |
08aa1457 |
1191 | */ |
924b3ec4 |
1192 | /*#define HAS_SAFE_MEMCPY /**/ |
08aa1457 |
1193 | |
924b3ec4 |
1194 | /* HAS_SANE_MEMCMP: |
1195 | * This symbol, if defined, indicates that the memcmp routine is available |
1196 | * and can be used to compare relative magnitudes of chars with their high |
1197 | * bits set. If it is not defined, roll your own version. |
08aa1457 |
1198 | */ |
924b3ec4 |
1199 | #define HAS_SANE_MEMCMP /**/ |
08aa1457 |
1200 | |
924b3ec4 |
1201 | /* HAS_SIGACTION: |
1202 | * This symbol, if defined, indicates that Vr4's sigaction() routine |
1203 | * is available. |
fea7140c |
1204 | */ |
924b3ec4 |
1205 | /*#define HAS_SIGACTION /**/ |
fea7140c |
1206 | |
c4d53692 |
1207 | /* HAS_SIGSETJMP: |
1208 | * This variable indicates to the C program that the sigsetjmp() |
1209 | * routine is available to save the calling process's registers |
1210 | * and stack environment for later use by siglongjmp(), and |
1211 | * to optionally save the process's signal mask. See |
1212 | * Sigjmp_buf, Sigsetjmp, and Siglongjmp. |
1213 | */ |
08aa1457 |
1214 | /* Sigjmp_buf: |
1215 | * This is the buffer type to be used with Sigsetjmp and Siglongjmp. |
1216 | */ |
1217 | /* Sigsetjmp: |
1218 | * This macro is used in the same way as sigsetjmp(), but will invoke |
1219 | * traditional setjmp() if sigsetjmp isn't available. |
1220 | * See HAS_SIGSETJMP. |
1221 | */ |
1222 | /* Siglongjmp: |
1223 | * This macro is used in the same way as siglongjmp(), but will invoke |
1224 | * traditional longjmp() if siglongjmp isn't available. |
1225 | * See HAS_SIGSETJMP. |
1226 | */ |
1227 | /*#define HAS_SIGSETJMP /**/ |
1228 | #ifdef HAS_SIGSETJMP |
1229 | #define Sigjmp_buf sigjmp_buf |
1230 | #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask)) |
1231 | #define Siglongjmp(buf,retval) siglongjmp((buf),(retval)) |
1232 | #else |
1233 | #define Sigjmp_buf jmp_buf |
1234 | #define Sigsetjmp(buf,save_mask) setjmp((buf)) |
1235 | #define Siglongjmp(buf,retval) longjmp((buf),(retval)) |
1236 | #endif |
1237 | |
924b3ec4 |
1238 | /* USE_STDIO_PTR: |
1239 | * This symbol is defined if the _ptr and _cnt fields (or similar) |
1240 | * of the stdio FILE structure can be used to access the stdio buffer |
1241 | * for a file handle. If this is defined, then the FILE_ptr(fp) |
1242 | * and FILE_cnt(fp) macros will also be defined and should be used |
1243 | * to access these fields. |
08aa1457 |
1244 | */ |
924b3ec4 |
1245 | /* FILE_ptr: |
1246 | * This macro is used to access the _ptr field (or equivalent) of the |
1247 | * FILE structure pointed to by its argument. This macro will always be |
1248 | * defined if USE_STDIO_PTR is defined. |
1249 | */ |
1250 | /* STDIO_PTR_LVALUE: |
1251 | * This symbol is defined if the FILE_ptr macro can be used as an |
1252 | * lvalue. |
1253 | */ |
1254 | /* FILE_cnt: |
1255 | * This macro is used to access the _cnt field (or equivalent) of the |
1256 | * FILE structure pointed to by its argument. This macro will always be |
1257 | * defined if USE_STDIO_PTR is defined. |
1258 | */ |
1259 | /* STDIO_CNT_LVALUE: |
1260 | * This symbol is defined if the FILE_cnt macro can be used as an |
1261 | * lvalue. |
1262 | */ |
1263 | #define USE_STDIO_PTR /**/ |
1264 | #ifdef USE_STDIO_PTR |
1265 | #define FILE_ptr(fp) ((fp)->curp) |
1266 | #define STDIO_PTR_LVALUE /**/ |
1267 | #define FILE_cnt(fp) ((fp)->level) |
1268 | #define STDIO_CNT_LVALUE /**/ |
1269 | #endif |
08aa1457 |
1270 | |
924b3ec4 |
1271 | /* USE_STDIO_BASE: |
1272 | * This symbol is defined if the _base field (or similar) of the |
1273 | * stdio FILE structure can be used to access the stdio buffer for |
1274 | * a file handle. If this is defined, then the FILE_base(fp) macro |
1275 | * will also be defined and should be used to access this field. |
1276 | * Also, the FILE_bufsiz(fp) macro will be defined and should be used |
1277 | * to determine the number of bytes in the buffer. USE_STDIO_BASE |
1278 | * will never be defined unless USE_STDIO_PTR is. |
08aa1457 |
1279 | */ |
924b3ec4 |
1280 | /* FILE_base: |
1281 | * This macro is used to access the _base field (or equivalent) of the |
1282 | * FILE structure pointed to by its argument. This macro will always be |
1283 | * defined if USE_STDIO_BASE is defined. |
08aa1457 |
1284 | */ |
924b3ec4 |
1285 | /* FILE_bufsiz: |
1286 | * This macro is used to determine the number of bytes in the I/O |
1287 | * buffer pointed to by _base field (or equivalent) of the FILE |
1288 | * structure pointed to its argument. This macro will always be defined |
1289 | * if USE_STDIO_BASE is defined. |
1290 | */ |
1291 | #define USE_STDIO_BASE /**/ |
1292 | #ifdef USE_STDIO_BASE |
1293 | #define FILE_base(fp) ((fp)->buffer) |
1294 | #define FILE_bufsiz(fp) ((fp)->level + (fp)->curp - (fp)->buffer) |
1295 | #endif |
08aa1457 |
1296 | |
924b3ec4 |
1297 | /* HAS_VPRINTF: |
1298 | * This symbol, if defined, indicates that the vprintf routine is available |
1299 | * to printf with a pointer to an argument list. If unavailable, you |
1300 | * may need to write your own, probably in terms of _doprnt(). |
08aa1457 |
1301 | */ |
924b3ec4 |
1302 | /* USE_CHAR_VSPRINTF: |
1303 | * This symbol is defined if this system has vsprintf() returning type |
1304 | * (char*). The trend seems to be to declare it as "int vsprintf()". It |
1305 | * is up to the package author to declare vsprintf correctly based on the |
1306 | * symbol. |
1307 | */ |
1308 | #define HAS_VPRINTF /**/ |
1309 | /*#define USE_CHAR_VSPRINTF /**/ |
08aa1457 |
1310 | |
07ba5892 |
1311 | /* DOUBLESIZE: |
1312 | * This symbol contains the size of a double, so that the C preprocessor |
1313 | * can make decisions based on it. |
1314 | */ |
1315 | #define DOUBLESIZE 8 /**/ |
1316 | |
924b3ec4 |
1317 | /* I_TIME: |
08aa1457 |
1318 | * This symbol, if defined, indicates to the C program that it should |
924b3ec4 |
1319 | * include <time.h>. |
08aa1457 |
1320 | */ |
924b3ec4 |
1321 | /* I_SYS_TIME: |
08aa1457 |
1322 | * This symbol, if defined, indicates to the C program that it should |
924b3ec4 |
1323 | * include <sys/time.h>. |
08aa1457 |
1324 | */ |
924b3ec4 |
1325 | /* I_SYS_TIME_KERNEL: |
08aa1457 |
1326 | * This symbol, if defined, indicates to the C program that it should |
924b3ec4 |
1327 | * include <sys/time.h> with KERNEL defined. |
08aa1457 |
1328 | */ |
924b3ec4 |
1329 | #define I_TIME /**/ |
1330 | /*#define I_SYS_TIME /**/ |
1331 | /*#define I_SYS_TIME_KERNEL /**/ |
08aa1457 |
1332 | |
924b3ec4 |
1333 | /* VAL_O_NONBLOCK: |
1334 | * This symbol is to be used during open() or fcntl(F_SETFL) to turn on |
1335 | * non-blocking I/O for the file descriptor. Note that there is no way |
1336 | * back, i.e. you cannot turn it blocking again this way. If you wish to |
1337 | * alternatively switch between blocking and non-blocking, use the |
1338 | * ioctl(FIOSNBIO) call instead, but that is not supported by all devices. |
08aa1457 |
1339 | */ |
924b3ec4 |
1340 | /* VAL_EAGAIN: |
1341 | * This symbol holds the errno error code set by read() when no data was |
1342 | * present on the non-blocking file descriptor. |
1343 | */ |
1344 | /* RD_NODATA: |
1345 | * This symbol holds the return code from read() when no data is present |
1346 | * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is |
1347 | * not defined, then you can't distinguish between no data and EOF by |
1348 | * issuing a read(). You'll have to find another way to tell for sure! |
1349 | */ |
1350 | /* EOF_NONBLOCK: |
1351 | * This symbol, if defined, indicates to the C program that a read() on |
1352 | * a non-blocking file descriptor will return 0 on EOF, and not the value |
1353 | * held in RD_NODATA (-1 usually, in that case!). |
1354 | */ |
1355 | #define VAL_O_NONBLOCK O_NONBLOCK |
1356 | #define VAL_EAGAIN EAGAIN |
1357 | #define RD_NODATA -1 |
1358 | #define EOF_NONBLOCK |
08aa1457 |
1359 | |
07ba5892 |
1360 | /* PTRSIZE: |
1361 | * This symbol contains the size of a pointer, so that the C preprocessor |
1362 | * can make decisions based on it. It will be sizeof(void *) if |
1363 | * the compiler supports (void *); otherwise it will be |
1364 | * sizeof(char *). |
1365 | */ |
1366 | #define PTRSIZE 4 /**/ |
1367 | |
104f9d64 |
1368 | /* Drand01: |
1369 | * This macro is to be used to generate uniformly distributed |
1370 | * random numbers over the range [0., 1.[. You may have to supply |
1371 | * an 'extern double drand48();' in your program since SunOS 4.1.3 |
1372 | * doesn't provide you with anything relevant in it's headers. |
1373 | * See HAS_DRAND48_PROTO. |
1374 | */ |
1375 | /* Rand_seed_t: |
1376 | * This symbol defines the type of the argument of the |
1377 | * random seed function. |
1378 | */ |
1379 | /* seedDrand01: |
1380 | * This symbol defines the macro to be used in seeding the |
1381 | * random number generator (see Drand01). |
1382 | */ |
924b3ec4 |
1383 | /* RANDBITS: |
104f9d64 |
1384 | * This symbol indicates how many bits are produced by the |
1385 | * function used to generate normalized random numbers. |
1386 | * Values include 15, 16, 31, and 48. |
924b3ec4 |
1387 | */ |
ce9935e0 |
1388 | #define Drand01() (rand()/(double)((unsigned)1<<RANDBITS)) /**/ |
104f9d64 |
1389 | #define Rand_seed_t unsigned /**/ |
1390 | #define seedDrand01(x) srand((Rand_seed_t)x) /**/ |
1391 | #define RANDBITS 15 /**/ |
924b3ec4 |
1392 | |
1393 | /* SSize_t: |
1394 | * This symbol holds the type used by functions that return |
1395 | * a count of bytes or an error condition. It must be a signed type. |
1396 | * It is usually ssize_t, but may be long or int, etc. |
1397 | * It may be necessary to include <sys/types.h> or <unistd.h> |
1398 | * to get any typedef'ed information. |
1399 | * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t). |
1400 | */ |
1401 | #define SSize_t int /* signed count of bytes */ |
1402 | |
327c3667 |
1403 | /* EBCDIC: |
1404 | * This symbol, if defined, indicates that this system uses |
1405 | * EBCDIC encoding. |
1406 | */ |
1407 | /*#define EBCDIC /**/ |
1408 | |
82839a9d |
1409 | /* ARCHLIB: |
1410 | * This variable, if defined, holds the name of the directory in |
1411 | * which the user wants to put architecture-dependent public |
1412 | * library files for perl5. It is most often a local directory |
1413 | * such as /usr/local/lib. Programs using this variable must be |
1414 | * prepared to deal with filename expansion. If ARCHLIB is the |
1415 | * same as PRIVLIB, it is not defined, since presumably the |
1416 | * program already searches PRIVLIB. |
1417 | */ |
1418 | /* ARCHLIB_EXP: |
1419 | * This symbol contains the ~name expanded version of ARCHLIB, to be used |
1420 | * in programs that are not prepared to deal with ~ expansion at run-time. |
1421 | */ |
1422 | #define ARCHLIB "c:\\perl\\5.00558\\lib\\MSWin32-x86" /**/ |
1423 | /*#define ARCHLIB_EXP "" /**/ |
1424 | |
1425 | /* BIN: |
1426 | * This symbol holds the path of the bin directory where the package will |
1427 | * be installed. Program must be prepared to deal with ~name substitution. |
1428 | */ |
1429 | /* BIN_EXP: |
1430 | * This symbol is the filename expanded version of the BIN symbol, for |
1431 | * programs that do not want to deal with that at run-time. |
1432 | */ |
1433 | #define BIN "c:\\perl\\5.00558\\bin\\MSWin32-x86" /**/ |
1434 | #define BIN_EXP "c:\\perl\\5.00558\\bin\\MSWin32-x86" /**/ |
1435 | |
1436 | /* INSTALL_USR_BIN_PERL: |
1437 | * This symbol, if defined, indicates that Perl is to be installed |
1438 | * also as /usr/bin/perl. |
1439 | */ |
1440 | /*#define INSTALL_USR_BIN_PERL /**/ |
1441 | |
1442 | /* PRIVLIB: |
1443 | * This symbol contains the name of the private library for this package. |
1444 | * The library is private in the sense that it needn't be in anyone's |
1445 | * execution path, but it should be accessible by the world. The program |
1446 | * should be prepared to do ~ expansion. |
1447 | */ |
1448 | /* PRIVLIB_EXP: |
1449 | * This symbol contains the ~name expanded version of PRIVLIB, to be used |
1450 | * in programs that are not prepared to deal with ~ expansion at run-time. |
1451 | */ |
1452 | #define PRIVLIB "c:\\perl\\5.00558\\lib" /**/ |
1453 | #define PRIVLIB_EXP (win32_get_privlib("5.00558")) /**/ |
1454 | |
1455 | /* SITEARCH: |
1456 | * This symbol contains the name of the private library for this package. |
1457 | * The library is private in the sense that it needn't be in anyone's |
1458 | * execution path, but it should be accessible by the world. The program |
1459 | * should be prepared to do ~ expansion. |
1460 | * The standard distribution will put nothing in this directory. |
1461 | * Individual sites may place their own extensions and modules in |
1462 | * this directory. |
1463 | */ |
1464 | /* SITEARCH_EXP: |
1465 | * This symbol contains the ~name expanded version of SITEARCH, to be used |
1466 | * in programs that are not prepared to deal with ~ expansion at run-time. |
1467 | */ |
1468 | #define SITEARCH "c:\\perl\\site\\5.00558\\lib\\MSWin32-x86" /**/ |
1469 | /*#define SITEARCH_EXP "" /**/ |
1470 | |
1471 | /* SITELIB: |
1472 | * This symbol contains the name of the private library for this package. |
1473 | * The library is private in the sense that it needn't be in anyone's |
1474 | * execution path, but it should be accessible by the world. The program |
1475 | * should be prepared to do ~ expansion. |
1476 | * The standard distribution will put nothing in this directory. |
1477 | * Individual sites may place their own extensions and modules in |
1478 | * this directory. |
1479 | */ |
1480 | /* SITELIB_EXP: |
1481 | * This symbol contains the ~name expanded version of SITELIB, to be used |
1482 | * in programs that are not prepared to deal with ~ expansion at run-time. |
1483 | */ |
1484 | #define SITELIB "c:\\perl\\site\\5.00558\\lib" /**/ |
1485 | #define SITELIB_EXP (win32_get_sitelib("5.00558")) /**/ |
1486 | |
1487 | /* PERL_VENDORLIB_EXP: |
1488 | * This symbol contains the ~name expanded version of VENDORLIB, to be used |
1489 | * in programs that are not prepared to deal with ~ expansion at run-time. |
1490 | */ |
1491 | /*#define PERL_VENDORLIB_EXP "undef" /**/ |
1492 | |
924b3ec4 |
1493 | /* OSNAME: |
1494 | * This symbol contains the name of the operating system, as determined |
1495 | * by Configure. You shouldn't rely on it too much; the specific |
1496 | * feature tests from Configure are generally more reliable. |
1497 | */ |
1498 | #define OSNAME "MSWin32" /**/ |
1499 | |
924b3ec4 |
1500 | /* CAT2: |
1501 | * This macro catenates 2 tokens together. |
08aa1457 |
1502 | */ |
924b3ec4 |
1503 | /* STRINGIFY: |
1504 | * This macro surrounds its token with double quotes. |
1505 | */ |
1506 | #if 42 == 1 |
1507 | #define CAT2(a,b)a/**/b |
1508 | #define STRINGIFY(a)"a" |
1509 | /* If you can get stringification with catify, tell me how! */ |
1510 | #endif |
1511 | #if 42 == 42 |
1512 | #define CAT2(a,b)a ## b |
1513 | #define StGiFy(a)# a |
1514 | #define STRINGIFY(a)StGiFy(a) |
1515 | #endif |
1516 | #if 42 != 1 && 42 != 42 |
1517 | #include "Bletch: How does this C preprocessor catenate tokens?" |
1518 | #endif |
1519 | |
104f9d64 |
1520 | /* CPPSTDIN: |
1521 | * This symbol contains the first part of the string which will invoke |
1522 | * the C preprocessor on the standard input and produce to standard |
1523 | * output. Typical value of "cc -E" or "/lib/cpp", but it can also |
1524 | * call a wrapper. See CPPRUN. |
1525 | */ |
1526 | /* CPPMINUS: |
1527 | * This symbol contains the second part of the string which will invoke |
1528 | * the C preprocessor on the standard input and produce to standard |
1529 | * output. This symbol will have the value "-" if CPPSTDIN needs a minus |
1530 | * to specify standard input, otherwise the value is "". |
1531 | */ |
c4d53692 |
1532 | /* CPPRUN: |
1533 | * This symbol contains the string which will invoke a C preprocessor on |
1534 | * the standard input and produce to standard output. It needs to end |
1535 | * with CPPLAST, after all other preprocessor flags have been specified. |
1536 | * The main difference with CPPSTDIN is that this program will never be a |
1537 | * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is |
1538 | * available directly to the user. Note that it may well be different from |
1539 | * the preprocessor used to compile the C program. |
1540 | */ |
104f9d64 |
1541 | #define CPPSTDIN "cpp32 -oCON" |
1542 | #define CPPMINUS "" |
c4d53692 |
1543 | #define CPPRUN "cpp32 -oCON" |
104f9d64 |
1544 | |
327c3667 |
1545 | /* HAS_ACCESS: |
1546 | * This manifest constant lets the C program know that the access() |
1547 | * system call is available to check for accessibility using real UID/GID. |
1548 | * (always present on UNIX.) |
1549 | */ |
1550 | #define HAS_ACCESS /**/ |
1551 | |
c4d53692 |
1552 | /* HAS_CSH: |
1553 | * This symbol, if defined, indicates that the C-shell exists. |
1554 | */ |
924b3ec4 |
1555 | /* CSH: |
0cd52aa3 |
1556 | * This symbol, if defined, contains the full pathname of csh. |
08aa1457 |
1557 | */ |
0cd52aa3 |
1558 | /*#define HAS_CSH /**/ |
1559 | #ifdef HAS_CSH |
1560 | #define CSH "" /**/ |
1561 | #endif |
1562 | |
327c3667 |
1563 | /* HAS_ENDGRENT: |
1564 | * This symbol, if defined, indicates that the getgrent routine is |
1565 | * available for finalizing sequential access of the group database. |
1566 | */ |
1567 | /*#define HAS_ENDGRENT /**/ |
1568 | |
0cd52aa3 |
1569 | /* HAS_ENDHOSTENT: |
1570 | * This symbol, if defined, indicates that the endhostent() routine is |
1571 | * available to close whatever was being used for host queries. |
1572 | */ |
1573 | /*#define HAS_ENDHOSTENT /**/ |
1574 | |
1575 | /* HAS_ENDNETENT: |
1576 | * This symbol, if defined, indicates that the endnetent() routine is |
1577 | * available to close whatever was being used for network queries. |
1578 | */ |
1579 | /*#define HAS_ENDNETENT /**/ |
1580 | |
1581 | /* HAS_ENDPROTOENT: |
1582 | * This symbol, if defined, indicates that the endprotoent() routine is |
1583 | * available to close whatever was being used for protocol queries. |
1584 | */ |
1585 | /*#define HAS_ENDPROTOENT /**/ |
1586 | |
327c3667 |
1587 | /* HAS_ENDPWENT: |
1588 | * This symbol, if defined, indicates that the getgrent routine is |
1589 | * available for finalizing sequential access of the passwd database. |
1590 | */ |
1591 | /*#define HAS_ENDPWENT /**/ |
1592 | |
0cd52aa3 |
1593 | /* HAS_ENDSERVENT: |
1594 | * This symbol, if defined, indicates that the endservent() routine is |
1595 | * available to close whatever was being used for service queries. |
1596 | */ |
1597 | /*#define HAS_ENDSERVENT /**/ |
924b3ec4 |
1598 | |
327c3667 |
1599 | /* HAS_GETGRENT: |
1600 | * This symbol, if defined, indicates that the getgrent routine is |
1601 | * available for sequential access of the group database. |
1602 | */ |
1603 | /*#define HAS_GETGRENT /**/ |
1604 | |
07ba5892 |
1605 | /* HAS_GETHOSTBYADDR: |
1606 | * This symbol, if defined, indicates that the gethostbyaddr() routine is |
1607 | * available to look up hosts by their IP addresses. |
1608 | */ |
1609 | #define HAS_GETHOSTBYADDR /**/ |
1610 | |
1611 | /* HAS_GETHOSTBYNAME: |
1612 | * This symbol, if defined, indicates that the gethostbyname() routine is |
1613 | * available to look up host names in some data base or other. |
1614 | */ |
1615 | #define HAS_GETHOSTBYNAME /**/ |
1616 | |
1617 | /* HAS_GETHOSTENT: |
1618 | * This symbol, if defined, indicates that the gethostent() routine is |
1619 | * available to look up host names in some data base or another. |
1620 | */ |
1621 | /*#define HAS_GETHOSTENT /**/ |
1622 | |
9423c6fc |
1623 | /* HAS_GETHOSTNAME: |
1624 | * This symbol, if defined, indicates that the C program may use the |
1625 | * gethostname() routine to derive the host name. See also HAS_UNAME |
1626 | * and PHOSTNAME. |
1627 | */ |
1628 | /* HAS_UNAME: |
1629 | * This symbol, if defined, indicates that the C program may use the |
1630 | * uname() routine to derive the host name. See also HAS_GETHOSTNAME |
1631 | * and PHOSTNAME. |
1632 | */ |
1633 | /* PHOSTNAME: |
1634 | * This symbol, if defined, indicates the command to feed to the |
1635 | * popen() routine to derive the host name. See also HAS_GETHOSTNAME |
1636 | * and HAS_UNAME. Note that the command uses a fully qualified path, |
1637 | * so that it is safe even if used by a process with super-user |
1638 | * privileges. |
1639 | */ |
1640 | #define HAS_GETHOSTNAME /**/ |
1641 | #define HAS_UNAME /**/ |
1642 | #undef HAS_PHOSTNAME |
1643 | #ifdef HAS_PHOSTNAME |
1644 | #define PHOSTNAME "" /* How to get the host name */ |
1645 | #endif |
1646 | |
07ba5892 |
1647 | /* HAS_GETNETBYADDR: |
1648 | * This symbol, if defined, indicates that the getnetbyaddr() routine is |
1649 | * available to look up networks by their IP addresses. |
1650 | */ |
1651 | /*#define HAS_GETNETBYADDR /**/ |
1652 | |
1653 | /* HAS_GETNETBYNAME: |
1654 | * This symbol, if defined, indicates that the getnetbyname() routine is |
1655 | * available to look up networks by their names. |
1656 | */ |
1657 | /*#define HAS_GETNETBYNAME /**/ |
1658 | |
0cd52aa3 |
1659 | /* HAS_GETNETENT: |
1660 | * This symbol, if defined, indicates that the getnetent() routine is |
1661 | * available to look up network names in some data base or another. |
1662 | */ |
1663 | /*#define HAS_GETNETENT /**/ |
1664 | |
1665 | /* HAS_GETPROTOENT: |
1666 | * This symbol, if defined, indicates that the getprotoent() routine is |
1667 | * available to look up protocols in some data base or another. |
1668 | */ |
1669 | /*#define HAS_GETPROTOENT /**/ |
1670 | |
07ba5892 |
1671 | /* HAS_GETPROTOBYNAME: |
1672 | * This symbol, if defined, indicates that the getprotobyname() |
1673 | * routine is available to look up protocols by their name. |
1674 | */ |
1675 | /* HAS_GETPROTOBYNUMBER: |
1676 | * This symbol, if defined, indicates that the getprotobynumber() |
1677 | * routine is available to look up protocols by their number. |
1678 | */ |
1679 | #define HAS_GETPROTOBYNAME /**/ |
1680 | #define HAS_GETPROTOBYNUMBER /**/ |
1681 | |
327c3667 |
1682 | /* HAS_GETPWENT: |
1683 | * This symbol, if defined, indicates that the getpwent routine is |
1684 | * available for sequential access of the passwd database. |
1685 | * If this is not available, the older getpw() function may be available. |
1686 | */ |
1687 | /*#define HAS_GETPWENT /**/ |
1688 | |
0cd52aa3 |
1689 | /* HAS_GETSERVENT: |
1690 | * This symbol, if defined, indicates that the getservent() routine is |
1691 | * available to look up network services in some data base or another. |
1692 | */ |
1693 | /*#define HAS_GETSERVENT /**/ |
1694 | |
07ba5892 |
1695 | /* HAS_GETSERVBYNAME: |
1696 | * This symbol, if defined, indicates that the getservbyname() |
1697 | * routine is available to look up services by their name. |
1698 | */ |
1699 | /* HAS_GETSERVBYPORT: |
1700 | * This symbol, if defined, indicates that the getservbyport() |
1701 | * routine is available to look up services by their port. |
1702 | */ |
1703 | #define HAS_GETSERVBYNAME /**/ |
1704 | #define HAS_GETSERVBYPORT /**/ |
1705 | |
327c3667 |
1706 | /* HAS_HTONL: |
1707 | * This symbol, if defined, indicates that the htonl() routine (and |
1708 | * friends htons() ntohl() ntohs()) are available to do network |
1709 | * order byte swapping. |
1710 | */ |
1711 | /* HAS_HTONS: |
1712 | * This symbol, if defined, indicates that the htons() routine (and |
1713 | * friends htonl() ntohl() ntohs()) are available to do network |
1714 | * order byte swapping. |
1715 | */ |
1716 | /* HAS_NTOHL: |
1717 | * This symbol, if defined, indicates that the ntohl() routine (and |
1718 | * friends htonl() htons() ntohs()) are available to do network |
1719 | * order byte swapping. |
1720 | */ |
1721 | /* HAS_NTOHS: |
1722 | * This symbol, if defined, indicates that the ntohs() routine (and |
1723 | * friends htonl() htons() ntohl()) are available to do network |
1724 | * order byte swapping. |
1725 | */ |
1726 | #define HAS_HTONL /**/ |
1727 | #define HAS_HTONS /**/ |
1728 | #define HAS_NTOHL /**/ |
1729 | #define HAS_NTOHS /**/ |
1730 | |
0cd52aa3 |
1731 | /* HAS_LONG_DOUBLE: |
1732 | * This symbol will be defined if the C compiler supports long |
1733 | * doubles. |
1734 | */ |
1735 | /* LONG_DOUBLESIZE: |
1736 | * This symbol contains the size of a long double, so that the |
1737 | * C preprocessor can make decisions based on it. It is only |
1738 | * defined if the system supports long doubles. |
1739 | */ |
1740 | #define HAS_LONG_DOUBLE /**/ |
1741 | #ifdef HAS_LONG_DOUBLE |
1742 | #define LONG_DOUBLESIZE 10 /**/ |
1743 | #endif |
1744 | |
bdaec6b3 |
1745 | /* HAS_LONG_LONG: |
327c3667 |
1746 | * This symbol will be defined if the C compiler supports long long. |
bdaec6b3 |
1747 | */ |
1748 | /* LONGLONGSIZE: |
1749 | * This symbol contains the size of a long long, so that the |
1750 | * C preprocessor can make decisions based on it. It is only |
1751 | * defined if the system supports long long. |
1752 | */ |
1753 | /*#define HAS_LONG_LONG /**/ |
1754 | #ifdef HAS_LONG_LONG |
1755 | #define LONGLONGSIZE 8 /**/ |
1756 | #endif |
1757 | |
9423c6fc |
1758 | /* HAS_MEMCHR: |
1759 | * This symbol, if defined, indicates that the memchr routine is available |
1760 | * to locate characters within a C string. |
1761 | */ |
1762 | /*#define HAS_MEMCHR /**/ |
1763 | |
c4d53692 |
1764 | /* HAS_MMAP: |
1765 | * This symbol, if defined, indicates that the mmap system call is |
1766 | * available to map a file into memory. |
1767 | */ |
1768 | /* Mmap_t: |
1769 | * This symbol holds the return type of the mmap() system call |
1770 | * (and simultaneously the type of the first argument). |
1771 | * Usually set to 'void *' or 'cadd_t'. |
1772 | */ |
1773 | /*#define HAS_MMAP /**/ |
1774 | #define Mmap_t void * /**/ |
1775 | |
327c3667 |
1776 | /* HAS_MSG: |
1777 | * This symbol, if defined, indicates that the entire msg*(2) library is |
1778 | * supported (IPC mechanism based on message queues). |
1779 | */ |
1780 | /*#define HAS_MSG /**/ |
1781 | |
1782 | /* HAS_SEM: |
1783 | * This symbol, if defined, indicates that the entire sem*(2) library is |
1784 | * supported. |
1785 | */ |
1786 | /*#define HAS_SEM /**/ |
1787 | |
1788 | /* HAS_SETGRENT: |
1789 | * This symbol, if defined, indicates that the setgrent routine is |
1790 | * available for initializing sequential access of the group database. |
1791 | */ |
1792 | /*#define HAS_SETGRENT /**/ |
1793 | |
924b3ec4 |
1794 | /* HAS_SETGROUPS: |
1795 | * This symbol, if defined, indicates that the setgroups() routine is |
1796 | * available to set the list of process groups. If unavailable, multiple |
1797 | * groups are probably not supported. |
1798 | */ |
1799 | /*#define HAS_SETGROUPS /**/ |
1800 | |
07ba5892 |
1801 | /* HAS_SETHOSTENT: |
1802 | * This symbol, if defined, indicates that the sethostent() routine is |
1803 | * available. |
1804 | */ |
1805 | /*#define HAS_SETHOSTENT /**/ |
1806 | |
0cd52aa3 |
1807 | /* HAS_SETNETENT: |
1808 | * This symbol, if defined, indicates that the setnetent() routine is |
1809 | * available. |
1810 | */ |
1811 | /*#define HAS_SETNETENT /**/ |
1812 | |
1813 | /* HAS_SETPROTOENT: |
1814 | * This symbol, if defined, indicates that the setprotoent() routine is |
1815 | * available. |
1816 | */ |
1817 | /*#define HAS_SETPROTOENT /**/ |
1818 | |
327c3667 |
1819 | /* HAS_SETPWENT: |
1820 | * This symbol, if defined, indicates that the setpwent routine is |
1821 | * available for initializing sequential access of the passwd database. |
1822 | */ |
1823 | /*#define HAS_SETPWENT /**/ |
1824 | |
0cd52aa3 |
1825 | /* HAS_SETSERVENT: |
1826 | * This symbol, if defined, indicates that the setservent() routine is |
1827 | * available. |
1828 | */ |
1829 | /*#define HAS_SETSERVENT /**/ |
1830 | |
1831 | /* HAS_SETVBUF: |
1832 | * This symbol, if defined, indicates that the setvbuf routine is |
1833 | * available to change buffering on an open stdio stream. |
1834 | * to a line-buffered mode. |
1835 | */ |
1836 | #define HAS_SETVBUF /**/ |
1837 | |
327c3667 |
1838 | /* HAS_SHM: |
1839 | * This symbol, if defined, indicates that the entire shm*(2) library is |
1840 | * supported. |
1841 | */ |
1842 | /*#define HAS_SHM /**/ |
1843 | |
bdaec6b3 |
1844 | /* HAS_SOCKET: |
1845 | * This symbol, if defined, indicates that the BSD socket interface is |
1846 | * supported. |
1847 | */ |
1848 | /* HAS_SOCKETPAIR: |
1849 | * This symbol, if defined, indicates that the BSD socketpair() call is |
1850 | * supported. |
1851 | */ |
c4d53692 |
1852 | /* HAS_MSG_CTRUNC: |
1853 | * This symbol, if defined, indicates that the MSG_CTRUNC is supported. |
1854 | * Checking just with #ifdef might not be enough because this symbol |
1855 | * has been known to be an enum. |
1856 | */ |
1857 | /* HAS_MSG_DONTROUTE: |
1858 | * This symbol, if defined, indicates that the MSG_DONTROUTE is supported. |
1859 | * Checking just with #ifdef might not be enough because this symbol |
1860 | * has been known to be an enum. |
1861 | */ |
1862 | /* HAS_MSG_OOB: |
1863 | * This symbol, if defined, indicates that the MSG_OOB is supported. |
1864 | * Checking just with #ifdef might not be enough because this symbol |
1865 | * has been known to be an enum. |
1866 | */ |
1867 | /* HAS_MSG_PEEK: |
1868 | * This symbol, if defined, indicates that the MSG_PEEK is supported. |
1869 | * Checking just with #ifdef might not be enough because this symbol |
1870 | * has been known to be an enum. |
1871 | */ |
1872 | /* HAS_MSG_PROXY: |
1873 | * This symbol, if defined, indicates that the MSG_PROXY is supported. |
1874 | * Checking just with #ifdef might not be enough because this symbol |
1875 | * has been known to be an enum. |
1876 | */ |
1877 | /* HAS_SCM_RIGHTS: |
1878 | * This symbol, if defined, indicates that the SCM_RIGHTS is supported. |
1879 | * Checking just with #ifdef might not be enough because this symbol |
1880 | * has been known to be an enum. |
1881 | */ |
1882 | /* HAS_SENDMSG: |
1883 | * This symbol, if defined, indicates that the sendmsg is supported |
1884 | * to send messages between sockets. You will also need struct |
1885 | * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO. |
1886 | */ |
1887 | /* HAS_RECVMSG: |
1888 | * This symbol, if defined, indicates that the recvmsg is supported |
1889 | * to send messages between sockets. You will also need struct |
1890 | * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO. |
1891 | */ |
1892 | /* HAS_STRUCT_MSGHDR: |
1893 | * This symbol, if defined, indicates that the struct msghdr |
1894 | * (BSD 4.3 or 4.4) is supported. You will also need struct |
1895 | * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO. |
1896 | */ |
1897 | /* HAS_STRUCT_CMSGHDR: |
1898 | * This symbol, if defined, indicates that the struct cmsghdr |
1899 | * (BSD 4.4) is supported. You will also need struct |
1900 | * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO. |
1901 | */ |
1902 | #define HAS_SOCKET /**/ |
1903 | /*#define HAS_SOCKETPAIR /**/ |
1904 | /*#define HAS_MSG_CTRUNC /**/ |
1905 | /*#define HAS_MSG_DONTROUTE /**/ |
1906 | /*#define HAS_MSG_OOB /**/ |
1907 | /*#define HAS_MSG_PEEK /**/ |
1908 | /*#define HAS_MSG_PROXY /**/ |
1909 | /*#define HAS_SCM_RIGHTS /**/ |
1910 | /*#define HAS_SENDMSG /**/ |
1911 | /*#define HAS_RECVMSG /**/ |
1912 | /*#define HAS_STRUCT_MSGHDR /**/ |
1913 | /*#define HAS_STRUCT_CMSGHDR /**/ |
bdaec6b3 |
1914 | |
327c3667 |
1915 | /* USE_STAT_BLOCKS: |
1916 | * This symbol is defined if this system has a stat structure declaring |
1917 | * st_blksize and st_blocks. |
1918 | */ |
104f9d64 |
1919 | /*#define USE_STAT_BLOCKS /**/ |
327c3667 |
1920 | |
1921 | /* HAS_STRERROR: |
1922 | * This symbol, if defined, indicates that the strerror routine is |
1923 | * available to translate error numbers to strings. See the writeup |
1924 | * of Strerror() in this file before you try to define your own. |
1925 | */ |
1926 | /* HAS_SYS_ERRLIST: |
1927 | * This symbol, if defined, indicates that the sys_errlist array is |
1928 | * available to translate error numbers to strings. The extern int |
1929 | * sys_nerr gives the size of that table. |
1930 | */ |
1931 | /* Strerror: |
1932 | * This preprocessor symbol is defined as a macro if strerror() is |
1933 | * not available to translate error numbers to strings but sys_errlist[] |
1934 | * array is there. |
1935 | */ |
1936 | #define HAS_STRERROR /**/ |
1937 | #define HAS_SYS_ERRLIST /**/ |
1938 | #define Strerror(e) strerror(e) |
1939 | |
be44fb0e |
1940 | /* HAS_UNION_SEMUN: |
1941 | * This symbol, if defined, indicates that the union semun is |
1942 | * defined by including <sys/sem.h>. If not, the user code |
1943 | * probably needs to define it as: |
1944 | * union semun { |
1945 | * int val; |
1946 | * struct semid_ds *buf; |
1947 | * unsigned short *array; |
1948 | * } |
1949 | */ |
1950 | /* USE_SEMCTL_SEMUN: |
1951 | * This symbol, if defined, indicates that union semun is |
1952 | * used for semctl IPC_STAT. |
1953 | */ |
1954 | /* USE_SEMCTL_SEMID_DS: |
1955 | * This symbol, if defined, indicates that struct semid_ds * is |
1956 | * used for semctl IPC_STAT. |
1957 | */ |
1958 | #define HAS_UNION_SEMUN /**/ |
1959 | /*#define USE_SEMCTL_SEMUN /**/ |
1960 | /*#define USE_SEMCTL_SEMID_DS /**/ |
1961 | |
9423c6fc |
1962 | /* HAS_VFORK: |
1963 | * This symbol, if defined, indicates that vfork() exists. |
1964 | */ |
1965 | /*#define HAS_VFORK /**/ |
1966 | |
924b3ec4 |
1967 | /* Signal_t: |
1968 | * This symbol's value is either "void" or "int", corresponding to the |
1969 | * appropriate return type of a signal handler. Thus, you can declare |
1970 | * a signal handler using "Signal_t (*handler)()", and define the |
1971 | * handler using "Signal_t handler(sig)". |
1972 | */ |
1973 | #define Signal_t void /* Signal handler's return type */ |
1974 | |
1975 | /* Groups_t: |
1976 | * This symbol holds the type used for the second argument to |
1977 | * getgroups() and setgropus(). Usually, this is the same as |
1978 | * gidtype (gid_t) , but sometimes it isn't. |
1979 | * It can be int, ushort, uid_t, etc... |
1980 | * It may be necessary to include <sys/types.h> to get any |
1981 | * typedef'ed information. This is only required if you have |
1982 | * getgroups() or setgropus().. |
1983 | */ |
1984 | #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS) |
1985 | #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */ |
1986 | #endif |
1987 | |
327c3667 |
1988 | /* I_GRP: |
1989 | * This symbol, if defined, indicates to the C program that it should |
1990 | * include <grp.h>. |
1991 | */ |
1992 | /* GRPASSWD: |
1993 | * This symbol, if defined, indicates to the C program that struct group |
1994 | * in <grp.h> contains gr_passwd. |
1995 | */ |
1996 | /*#define I_GRP /**/ |
1997 | /*#define GRPASSWD /**/ |
1998 | |
924b3ec4 |
1999 | /* I_NETDB: |
2000 | * This symbol, if defined, indicates that <netdb.h> exists and |
2001 | * should be included. |
2002 | */ |
2003 | /*#define I_NETDB /**/ |
08aa1457 |
2004 | |
be44fb0e |
2005 | /* I_PWD: |
bdaec6b3 |
2006 | * This symbol, if defined, indicates to the C program that it should |
be44fb0e |
2007 | * include <pwd.h>. |
bdaec6b3 |
2008 | */ |
be44fb0e |
2009 | /* PWQUOTA: |
2010 | * This symbol, if defined, indicates to the C program that struct passwd |
2011 | * contains pw_quota. |
2012 | */ |
2013 | /* PWAGE: |
2014 | * This symbol, if defined, indicates to the C program that struct passwd |
2015 | * contains pw_age. |
2016 | */ |
2017 | /* PWCHANGE: |
2018 | * This symbol, if defined, indicates to the C program that struct passwd |
2019 | * contains pw_change. |
2020 | */ |
2021 | /* PWCLASS: |
2022 | * This symbol, if defined, indicates to the C program that struct passwd |
2023 | * contains pw_class. |
2024 | */ |
2025 | /* PWEXPIRE: |
2026 | * This symbol, if defined, indicates to the C program that struct passwd |
2027 | * contains pw_expire. |
2028 | */ |
2029 | /* PWCOMMENT: |
2030 | * This symbol, if defined, indicates to the C program that struct passwd |
2031 | * contains pw_comment. |
2032 | */ |
2033 | /* PWGECOS: |
2034 | * This symbol, if defined, indicates to the C program that struct passwd |
2035 | * contains pw_gecos. |
2036 | */ |
28e8609d |
2037 | /* PWPASSWD: |
2038 | * This symbol, if defined, indicates to the C program that struct passwd |
2039 | * contains pw_passwd. |
2040 | */ |
be44fb0e |
2041 | /*#define I_PWD /**/ |
2042 | /*#define PWQUOTA /**/ |
2043 | /*#define PWAGE /**/ |
2044 | /*#define PWCHANGE /**/ |
2045 | /*#define PWCLASS /**/ |
2046 | /*#define PWEXPIRE /**/ |
2047 | /*#define PWCOMMENT /**/ |
2048 | /*#define PWGECOS /**/ |
28e8609d |
2049 | /*#define PWPASSWD /**/ |
bdaec6b3 |
2050 | |
c4d53692 |
2051 | /* I_SYSUIO: |
2052 | * This symbol, if defined, indicates that <sys/uio.h> exists and |
2053 | * should be included. |
2054 | */ |
2055 | /*#define I_SYSUIO /**/ |
2056 | |
9036c72f |
2057 | /* Free_t: |
2058 | * This variable contains the return type of free(). It is usually |
2059 | * void, but occasionally int. |
08aa1457 |
2060 | */ |
9036c72f |
2061 | /* Malloc_t: |
2062 | * This symbol is the type of pointer returned by malloc and realloc. |
2063 | */ |
2064 | #define Malloc_t void * /**/ |
2065 | #define Free_t void /**/ |
2066 | |
2067 | /* MYMALLOC: |
2068 | * This symbol, if defined, indicates that we're using our own malloc. |
08aa1457 |
2069 | */ |
9036c72f |
2070 | /*#define MYMALLOC /**/ |
08aa1457 |
2071 | |
be44fb0e |
2072 | /* SIG_NAME: |
2073 | * This symbol contains a list of signal names in order of |
2074 | * signal number. This is intended |
2075 | * to be used as a static array initialization, like this: |
2076 | * char *sig_name[] = { SIG_NAME }; |
2077 | * The signals in the list are separated with commas, and each signal |
2078 | * is surrounded by double quotes. There is no leading SIG in the signal |
2079 | * name, i.e. SIGQUIT is known as "QUIT". |
2080 | * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn, |
2081 | * etc., where nn is the actual signal number (e.g. NUM37). |
2082 | * The signal number for sig_name[i] is stored in sig_num[i]. |
2083 | * The last element is 0 to terminate the list with a NULL. This |
2084 | * corresponds to the 0 at the end of the sig_num list. |
2085 | */ |
2086 | /* SIG_NUM: |
2087 | * This symbol contains a list of signal numbers, in the same order as the |
2088 | * SIG_NAME list. It is suitable for static array initialization, as in: |
2089 | * int sig_num[] = { SIG_NUM }; |
2090 | * The signals in the list are separated with commas, and the indices |
2091 | * within that list and the SIG_NAME list match, so it's easy to compute |
2092 | * the signal name from a number or vice versa at the price of a small |
2093 | * dynamic linear lookup. |
2094 | * Duplicates are allowed, but are moved to the end of the list. |
2095 | * The signal number corresponding to sig_name[i] is sig_number[i]. |
2096 | * if (i < NSIG) then sig_number[i] == i. |
2097 | * The last element is 0, corresponding to the 0 at the end of |
2098 | * the sig_name list. |
2099 | */ |
46124e9e |
2100 | #define SIG_NAME "ZERO", "NUM01", "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 /**/ |
22c35a8c |
2101 | #define SIG_NUM 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 18, 0 /**/ |
be44fb0e |
2102 | |
9036c72f |
2103 | /* VOIDFLAGS: |
2104 | * This symbol indicates how much support of the void type is given by this |
2105 | * compiler. What various bits mean: |
2106 | * |
2107 | * 1 = supports declaration of void |
2108 | * 2 = supports arrays of pointers to functions returning void |
2109 | * 4 = supports comparisons between pointers to void functions and |
2110 | * addresses of void functions |
2111 | * 8 = suports declaration of generic void pointers |
2112 | * |
2113 | * The package designer should define VOIDUSED to indicate the requirements |
2114 | * of the package. This can be done either by #defining VOIDUSED before |
2115 | * including config.h, or by defining defvoidused in Myinit.U. If the |
2116 | * latter approach is taken, only those flags will be tested. If the |
2117 | * level of void support necessary is not present, defines void to int. |
08aa1457 |
2118 | */ |
9036c72f |
2119 | #ifndef VOIDUSED |
2120 | #define VOIDUSED 15 |
2121 | #endif |
2122 | #define VOIDFLAGS 15 |
2123 | #if (VOIDFLAGS & VOIDUSED) != VOIDUSED |
2124 | #define void int /* is void to be avoided? */ |
2125 | #define M_VOID /* Xenix strikes again */ |
2126 | #endif |
08aa1457 |
2127 | |
924b3ec4 |
2128 | /* DLSYM_NEEDS_UNDERSCORE: |
2129 | * This symbol, if defined, indicates that we need to prepend an |
2130 | * underscore to the symbol name before calling dlsym(). This only |
2131 | * makes sense if you *have* dlsym, which we will presume is the |
2132 | * case if you're using dl_dlopen.xs. |
2133 | */ |
2134 | /*#define DLSYM_NEEDS_UNDERSCORE /**/ |
2135 | |
82839a9d |
2136 | /* HAS_ENDSPENT: |
2137 | * This symbol, if defined, indicates that the endspent system call is |
2138 | * available to finalize the scan of SysV shadow password entries. |
2139 | */ |
2140 | /*#define HAS_ENDSPENT /**/ |
2141 | |
327c3667 |
2142 | /* HAS_FSEEKO: |
2143 | * This symbol, if defined, indicates that the fseeko routine is |
2144 | * available to fseek beyond 32 bits (useful for ILP32 hosts). |
2145 | */ |
2146 | /*#define HAS_FSEEKO /**/ |
2147 | |
2148 | /* HAS_FTELLO: |
2149 | * This symbol, if defined, indicates that the ftello routine is |
82839a9d |
2150 | * available to ftell beyond 32 bits (useful for ILP32 hosts). |
327c3667 |
2151 | */ |
2152 | /*#define HAS_FTELLO /**/ |
2153 | |
9423c6fc |
2154 | /* HAS_GETMNTENT: |
2155 | * This symbol, if defined, indicates that the getmntent routine is |
2156 | * available to iterate through mounted file systems. |
2157 | */ |
2158 | /*#define HAS_GETMNTENT /**/ |
2159 | |
82839a9d |
2160 | /* HAS_GETSPENT: |
2161 | * This symbol, if defined, indicates that the getspent system call is |
2162 | * available to retrieve SysV shadow password entries sequentially. |
2163 | */ |
2164 | /*#define HAS_GETSPENT /**/ |
2165 | |
2166 | /* HAS_GETSPNAM: |
2167 | * This symbol, if defined, indicates that the getspnam system call is |
2168 | * available to retrieve SysV shadow password entries by name. |
2169 | */ |
2170 | /*#define HAS_GETSPNAM /**/ |
2171 | |
9423c6fc |
2172 | /* HAS_HASMNTOPT: |
2173 | * This symbol, if defined, indicates that the hasmntopt routine is |
2174 | * available to query the mount options of file systems. |
2175 | */ |
2176 | /*#define HAS_HASMNTOPT /**/ |
2177 | |
c4d53692 |
2178 | /* HAS_MADVISE: |
2179 | * This symbol, if defined, indicates that the madvise system call is |
2180 | * available to map a file into memory. |
2181 | */ |
2182 | /*#define HAS_MADVISE /**/ |
2183 | |
2184 | /* HAS_MPROTECT: |
2185 | * This symbol, if defined, indicates that the mprotect system call is |
2186 | * available to modify the access protection of a memory mapped file. |
2187 | */ |
2188 | /*#define HAS_MPROTECT /**/ |
2189 | |
2190 | /* HAS_READV: |
2191 | * This symbol, if defined, indicates that the readv routine is |
2192 | * available to do gather reads. You will also need <sys/uio.h> |
2193 | * and there I_SYSUIO. |
2194 | */ |
2195 | /*#define HAS_READV /**/ |
2196 | |
82839a9d |
2197 | /* HAS_SETSPENT: |
2198 | * This symbol, if defined, indicates that the setspent system call is |
2199 | * available to initialize the scan of SysV shadow password entries. |
2200 | */ |
2201 | /*#define HAS_SETSPENT /**/ |
2202 | |
924b3ec4 |
2203 | /* USE_SFIO: |
2204 | * This symbol, if defined, indicates that sfio should |
2205 | * be used. |
2206 | */ |
2207 | /*#define USE_SFIO /**/ |
2208 | |
c4d53692 |
2209 | /* HAS_FSTATFS: |
2210 | * This symbol, if defined, indicates that the fstatfs routine is |
9423c6fc |
2211 | * available to stat filesystems of file descriptors. |
c4d53692 |
2212 | */ |
2213 | /* HAS_STRUCT_STATFS_FLAGS: |
2214 | * This symbol, if defined, indicates that the struct statfs |
2215 | * does have the f_flags member containing the mount flags of |
2216 | * the filesystem holding the file. |
9423c6fc |
2217 | * This kind of struct statfs is coming from sys/mount.h (BSD), |
2218 | * not from sys/statfs.h (SYSV). |
c4d53692 |
2219 | */ |
2220 | /*#define HAS_FSTATFS /**/ |
2221 | /*#define HAS_STRUCT_STATFS_FLAGS /**/ |
2222 | |
2223 | /* HAS_FSTATVFS: |
2224 | * This symbol, if defined, indicates that the fstatvfs routine is |
9423c6fc |
2225 | * available to stat filesystems of file descriptors. |
c4d53692 |
2226 | */ |
2227 | /*#define HAS_FSTATVFS /**/ |
2228 | |
2229 | /* HAS_TELLDIR_PROTO: |
2230 | * This symbol, if defined, indicates that the system provides |
2231 | * a prototype for the telldir() function. Otherwise, it is up |
2232 | * to the program to supply one. A good guess is |
82839a9d |
2233 | * extern long telldir _((DIR*)); |
c4d53692 |
2234 | */ |
2235 | #define HAS_TELLDIR_PROTO /**/ |
2236 | |
2237 | /* HAS_WRITEV: |
2238 | * This symbol, if defined, indicates that the writev routine is |
2239 | * available to do scatter writes. |
2240 | */ |
2241 | /*#define HAS_WRITEV /**/ |
2242 | |
327c3667 |
2243 | /* HAS_DBMINIT64: |
2244 | * This symbol, if defined, indicates that the dbminit64 routine is |
2245 | * available to open dbm files larger than 2 gigabytes. |
2246 | */ |
2247 | /* HAS_DBMCLOSE64: |
2248 | * This symbol, if defined, indicates that the dbmclose64 routine is |
2249 | * available to close dbm files larger than 2 gigabytes. |
2250 | */ |
2251 | /* HAS_FETCH64: |
2252 | * This symbol, if defined, indicates that the fetch64 routine is |
2253 | * available to fetch from dbm files larger than 2 gigabytes. |
2254 | */ |
2255 | /* HAS_STORE64: |
2256 | * This symbol, if defined, indicates that the store64 routine is |
2257 | * available to store to dbm files larger than 2 gigabytes. |
2258 | */ |
2259 | /* HAS_DELETE64: |
2260 | * This symbol, if defined, indicates that the delete64 routine is |
2261 | * available to delete from dbm files larger than 2 gigabytes. |
2262 | */ |
2263 | /* HAS_FIRSTKEY64: |
2264 | * This symbol, if defined, indicates that the firstkey64 routine is |
2265 | * available to firstkey in dbm files larger than 2 gigabytes. |
2266 | */ |
2267 | /* HAS_NEXTKEY64: |
2268 | * This symbol, if defined, indicates that the nextkey64 routine is |
2269 | * available to nextkey in dbm files larger than 2 gigabytes. |
2270 | */ |
2271 | /*#define HAS_DBMINIT64 /**/ |
2272 | /*#define HAS_DBMCLOSE64 /**/ |
2273 | /*#define HAS_FETCH64 /**/ |
2274 | /*#define HAS_STORE64 /**/ |
2275 | /*#define HAS_DELETE64 /**/ |
2276 | /*#define HAS_FIRSTKEY64 /**/ |
2277 | /*#define HAS_NEXTKEY64 /**/ |
2278 | |
924b3ec4 |
2279 | /* USE_DYNAMIC_LOADING: |
2280 | * This symbol, if defined, indicates that dynamic loading of |
2281 | * some sort is available. |
2282 | */ |
2283 | #define USE_DYNAMIC_LOADING /**/ |
2284 | |
9423c6fc |
2285 | /* FFLUSH_NULL: |
2286 | * This symbol, if defined, tells that fflush(NULL) does flush |
2287 | * all pending stdio output. |
2288 | */ |
2289 | /* FFLUSH_ALL: |
2290 | * This symbol, if defined, tells that to flush |
2291 | * all pending stdio output one must loop through all |
2292 | * the stdio file handles stored in an array and fflush them. |
2293 | * Note that if fflushNULL is defined, fflushall will not |
2294 | * even be probed for and will be left undefined. |
2295 | */ |
2296 | #define FFLUSH_NULL /**/ |
2297 | /*#define FFLUSH_ALL /**/ |
2298 | |
924b3ec4 |
2299 | /* DB_Prefix_t: |
2300 | * This symbol contains the type of the prefix structure element |
2301 | * in the <db.h> header file. In older versions of DB, it was |
2302 | * int, while in newer ones it is u_int32_t. |
2303 | */ |
2304 | /* DB_Hash_t: |
2305 | * This symbol contains the type of the prefix structure element |
2306 | * in the <db.h> header file. In older versions of DB, it was |
2307 | * int, while in newer ones it is size_t. |
2308 | */ |
2309 | #define DB_Hash_t int /**/ |
2310 | #define DB_Prefix_t int /**/ |
2311 | |
327c3667 |
2312 | /* I_INTTYPES: |
2313 | * This symbol, if defined, indicates to the C program that it should |
2314 | * include <inttypes.h>. |
2315 | */ |
2316 | /* HAS_INT64_T: |
2317 | * This symbol will defined if the C compiler supports int64_t. |
2318 | * Usually the <inttypes.h> needs to be included, but sometimes |
2319 | * <sys/types.h> is enough. |
2320 | */ |
2321 | /*#define I_INTTYPES /**/ |
2322 | /*#define HAS_INT64_T /**/ |
2323 | |
c4d53692 |
2324 | /* I_MNTENT: |
2325 | * This symbol, if defined, indicates that <mntent.h> exists and |
2326 | * should be included. |
2327 | */ |
2328 | /*#define I_MNTENT /**/ |
2329 | |
9423c6fc |
2330 | /* I_NETINET_TCP: |
2331 | * This symbol, if defined, indicates to the C program that it should |
2332 | * include <netinet/tcp.h>. |
2333 | */ |
2334 | /*#define I_NETINET_TCP /**/ |
2335 | |
c4d53692 |
2336 | /* I_POLL: |
2337 | * This symbol, if defined, indicates that <poll.h> exists and |
2338 | * should be included. |
2339 | */ |
2340 | /*#define I_POLL /**/ |
2341 | |
82839a9d |
2342 | /* I_SHADOW: |
2343 | * This symbol, if defined, indicates that <shadow.h> exists and |
2344 | * should be included. |
2345 | */ |
2346 | /*#define I_SHADOW /**/ |
2347 | |
2348 | /* I_SOCKS: |
2349 | * This symbol, if defined, indicates that <socks.h> exists and |
2350 | * should be included. |
2351 | */ |
2352 | /*#define I_SOCKS /**/ |
2353 | |
c4d53692 |
2354 | /* I_SYS_MMAN: |
2355 | * This symbol, if defined, indicates that <sys/mman.h> exists and |
2356 | * should be included. |
2357 | */ |
2358 | /*#define I_SYS_MMAN /**/ |
2359 | |
2360 | /* I_SYS_MOUNT: |
2361 | * This symbol, if defined, indicates that <sys/mount.h> exists and |
2362 | * should be included. |
2363 | */ |
2364 | /*#define I_SYS_MOUNT /**/ |
2365 | |
2366 | /* I_SYS_STATVFS: |
2367 | * This symbol, if defined, indicates that <sys/statvfs.h> exists and |
2368 | * should be included. |
2369 | */ |
2370 | /*#define I_SYS_STATVFS /**/ |
2371 | |
327c3667 |
2372 | /* HAS_FSTAT64: |
2373 | * This symbol, if defined, indicates that the fstat64 routine is |
2374 | * available to stat files (fds) larger than 2 gigabytes. |
2375 | */ |
2376 | /* HAS_FTRUNCATE64: |
2377 | * This symbol, if defined, indicates that the ftruncate64 routine is |
2378 | * available to tell files larger than 2 gigabytes. |
2379 | */ |
2380 | /* HAS_LSEEK64: |
2381 | * This symbol, if defined, indicates that the lseek64 routine is |
2382 | * available to seek files larger than 2 gigabytes. |
2383 | */ |
2384 | /* HAS_LSTAT64: |
2385 | * This symbol, if defined, indicates that the lstat64 routine is |
2386 | * available to stat files (symlinks) larger than 2 gigabytes. |
2387 | */ |
2388 | /* HAS_OPEN64: |
2389 | * This symbol, if defined, indicates that the open64 routine is |
2390 | * available to open files larger than 2 gigabytes. |
2391 | */ |
2392 | /* HAS_OPENDIR64: |
2393 | * This symbol, if defined, indicates that the opendir64 routine is |
2394 | * available to opendir files larger than 2 gigabytes. |
2395 | */ |
2396 | /* HAS_READDIR64: |
2397 | * This symbol, if defined, indicates that the readdir64 routine is |
2398 | * available to readdir files larger than 2 gigabytes. |
2399 | */ |
2400 | /* HAS_SEEKDIR64: |
2401 | * This symbol, if defined, indicates that the seekdir64 routine is |
2402 | * available to seekdir files larger than 2 gigabytes. |
2403 | */ |
2404 | /* HAS_STAT64: |
104f9d64 |
2405 | * This symbol, if defined, indicates that the stat64 routine is |
327c3667 |
2406 | * available to stat files larger than 2 gigabytes. |
2407 | */ |
2408 | /* HAS_TELLDIR64: |
2409 | * This symbol, if defined, indicates that the telldir64 routine is |
2410 | * available to telldir files larger than 2 gigabytes. |
2411 | */ |
2412 | /* HAS_TRUNCATE64: |
2413 | * This symbol, if defined, indicates that the truncate64 routine is |
2414 | * available to truncate files larger than 2 gigabytes. |
2415 | */ |
2416 | /* HAS_OFF64_T: |
2417 | * This symbol will be defined if the C compiler supports off64_t. |
2418 | */ |
2419 | /* HAS_STRUCT_DIRENT64: |
2420 | * This symbol will be defined if the C compiler supports struct dirent64. |
2421 | */ |
2422 | /*#define HAS_FSTAT64 /**/ |
2423 | /*#define HAS_FTRUNCATE64 /**/ |
2424 | /*#define HAS_LSEEK64 /**/ |
2425 | /*#define HAS_LSTAT64 /**/ |
2426 | /*#define HAS_OPEN64 /**/ |
2427 | /*#define HAS_OPENDIR64 /**/ |
2428 | /*#define HAS_READDIR64 /**/ |
2429 | /*#define HAS_SEEKDIR64 /**/ |
2430 | /*#define HAS_STAT64 /**/ |
2431 | /*#define HAS_TELLDIR64 /**/ |
2432 | /*#define HAS_TRUNCATE64 /**/ |
2433 | /*#define HAS_OFF64_T /**/ |
2434 | /*#define HAS_STRUCT_DIRENT64 /**/ |
2435 | |
327c3667 |
2436 | /* SELECT_MIN_BITS: |
2437 | * This symbol holds the minimum number of bits operated by select. |
2438 | * That is, if you do select(n, ...), how many bits at least will be |
2439 | * cleared in the masks if some activity is detected. Usually this |
2440 | * is either n or 32*ceil(n/32), especially many little-endians do |
2441 | * the latter. This is only useful if you have select(), naturally. |
2442 | */ |
2443 | #define SELECT_MIN_BITS 32 /**/ |
2444 | |
08aa1457 |
2445 | /* STARTPERL: |
2446 | * This variable contains the string to put in front of a perl |
2447 | * script to make sure (one hopes) that it runs with perl and not |
2448 | * some shell. |
2449 | */ |
161b471a |
2450 | #define STARTPERL "#!perl" /**/ |
08aa1457 |
2451 | |
327c3667 |
2452 | /* HAS_FGETPOS64: |
2453 | * This symbol, if defined, indicates that the fgetpos64 routine is |
2454 | * available to getpos files larger than 2 gigabytes. |
2455 | */ |
2456 | /* HAS_FOPEN64: |
2457 | * This symbol, if defined, indicates that the fopen64 routine is |
2458 | * available to open files larger than 2 gigabytes. |
2459 | */ |
2460 | /* HAS_FREOPEN64: |
2461 | * This symbol, if defined, indicates that the freopen64 routine is |
2462 | * available to reopen files larger than 2 gigabytes. |
2463 | */ |
2464 | /* HAS_FSEEK64: |
2465 | * This symbol, if defined, indicates that the fseek64 routine is |
2466 | * available to seek files larger than 2 gigabytes. |
2467 | */ |
2468 | /* HAS_FSEEKO64: |
2469 | * This symbol, if defined, indicates that the fseeko64 routine is |
2470 | * available to seek files larger than 2 gigabytes. |
2471 | */ |
2472 | /* HAS_FSETPOS64: |
2473 | * This symbol, if defined, indicates that the fsetpos64 routine is |
2474 | * available to setpos files larger than 2 gigabytes. |
2475 | */ |
2476 | /* HAS_FTELL64: |
2477 | * This symbol, if defined, indicates that the ftell64 routine is |
2478 | * available to tell files larger than 2 gigabytes. |
2479 | */ |
2480 | /* HAS_FTELLO64: |
2481 | * This symbol, if defined, indicates that the ftello64 routine is |
2482 | * available to tell files larger than 2 gigabytes. |
2483 | */ |
2484 | /* HAS_TMPFILE64: |
2485 | * This symbol, if defined, indicates that the tmpfile64 routine is |
2486 | * available to tmpfile files larger than 2 gigabytes. |
2487 | */ |
2488 | /*#define HAS_FGETPOS64 /**/ |
2489 | /*#define HAS_FOPEN64 /**/ |
2490 | /*#define HAS_FREOPEN64 /**/ |
2491 | /*#define HAS_FSEEK64 /**/ |
2492 | /*#define HAS_FSEEKO64 /**/ |
2493 | /*#define HAS_FSETPOS64 /**/ |
2494 | /*#define HAS_FTELL64 /**/ |
2495 | /*#define HAS_FTELLO64 /**/ |
2496 | /*#define HAS_TMPFILE64 /**/ |
2497 | |
9423c6fc |
2498 | /* HAS_STDIO_STREAM_ARRAY: |
2499 | * This symbol, if defined, tells that there is an array |
2500 | * holding the stdio streams. |
2501 | */ |
2502 | /* STDIO_STREAM_ARRAY: |
2503 | * This symbol tells the name of the array holding the stdio streams. |
2504 | * Usual values include _iob, __iob, and __sF. |
2505 | */ |
2506 | /*#define HAS_STDIO_STREAM_ARRAY /**/ |
2507 | #define STDIO_STREAM_ARRAY undef |
2508 | |
327c3667 |
2509 | /* USE_64_BITS: |
104f9d64 |
2510 | * This symbol, if defined, indicates that 64-bit interfaces should |
2511 | * be used when available. If not defined, the native default interfaces |
327c3667 |
2512 | * will be used (be they 32 or 64 bits). |
2513 | */ |
2514 | /*#define USE_64_BITS /**/ |
2515 | |
c4d53692 |
2516 | /* MULTIPLICITY: |
2517 | * This symbol, if defined, indicates that Perl should |
2518 | * be built to use multiplicity. |
2519 | */ |
2520 | /*#define MULTIPLICITY /**/ |
2521 | |
08aa1457 |
2522 | /* USE_PERLIO: |
2523 | * This symbol, if defined, indicates that the PerlIO abstraction should |
2524 | * be used throughout. If not defined, stdio should be |
2525 | * used in a fully backward compatible manner. |
2526 | */ |
2527 | /*#define USE_PERLIO /**/ |
2528 | |
82839a9d |
2529 | /* USE_SOCKS: |
2530 | * This symbol, if defined, indicates that Perl should |
2531 | * be built to use socks. |
2532 | */ |
2533 | /*#define USE_SOCKS /**/ |
2534 | |
104f9d64 |
2535 | /* HAS_DRAND48_PROTO: |
2536 | * This symbol, if defined, indicates that the system provides |
2537 | * a prototype for the drand48() function. Otherwise, it is up |
2538 | * to the program to supply one. A good guess is |
82839a9d |
2539 | * extern double drand48 _((void)); |
104f9d64 |
2540 | */ |
2541 | /*#define HAS_DRAND48_PROTO /**/ |
2542 | |
bdaec6b3 |
2543 | /* HAS_GETHOST_PROTOS: |
2544 | * This symbol, if defined, indicates that <netdb.h> includes |
2545 | * prototypes for gethostent(), gethostbyname(), and |
2546 | * gethostbyaddr(). Otherwise, it is up to the program to guess |
2547 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. |
2548 | */ |
2549 | #define HAS_GETHOST_PROTOS /**/ |
2550 | |
2551 | /* HAS_GETNET_PROTOS: |
2552 | * This symbol, if defined, indicates that <netdb.h> includes |
2553 | * prototypes for getnetent(), getnetbyname(), and |
2554 | * getnetbyaddr(). Otherwise, it is up to the program to guess |
2555 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. |
2556 | */ |
2557 | /*#define HAS_GETNET_PROTOS /**/ |
2558 | |
2559 | /* HAS_GETPROTO_PROTOS: |
2560 | * This symbol, if defined, indicates that <netdb.h> includes |
2561 | * prototypes for getprotoent(), getprotobyname(), and |
2562 | * getprotobyaddr(). Otherwise, it is up to the program to guess |
2563 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. |
2564 | */ |
2565 | #define HAS_GETPROTO_PROTOS /**/ |
2566 | |
2567 | /* HAS_GETSERV_PROTOS: |
2568 | * This symbol, if defined, indicates that <netdb.h> includes |
2569 | * prototypes for getservent(), getservbyname(), and |
2570 | * getservbyaddr(). Otherwise, it is up to the program to guess |
2571 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. |
2572 | */ |
2573 | #define HAS_GETSERV_PROTOS /**/ |
2574 | |
924b3ec4 |
2575 | /* Netdb_host_t: |
2576 | * This symbol holds the type used for the 1st argument |
2577 | * to gethostbyaddr(). |
08aa1457 |
2578 | */ |
924b3ec4 |
2579 | /* Netdb_hlen_t: |
2580 | * This symbol holds the type used for the 2nd argument |
2581 | * to gethostbyaddr(). |
2582 | */ |
2583 | /* Netdb_name_t: |
2584 | * This symbol holds the type used for the argument to |
2585 | * gethostbyname(). |
2586 | */ |
2587 | /* Netdb_net_t: |
2588 | * This symbol holds the type used for the 1st argument to |
2589 | * getnetbyaddr(). |
2590 | */ |
2591 | #define Netdb_host_t char * /**/ |
2592 | #define Netdb_hlen_t int /**/ |
2593 | #define Netdb_name_t char * /**/ |
2594 | #define Netdb_net_t long /**/ |
2595 | |
2596 | /* Select_fd_set_t: |
2597 | * This symbol holds the type used for the 2nd, 3rd, and 4th |
2598 | * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET |
2599 | * is defined, and 'int *' otherwise. This is only useful if you |
2600 | * have select(), of course. |
2601 | */ |
2602 | #define Select_fd_set_t Perl_fd_set * /**/ |
2603 | |
2604 | /* ARCHNAME: |
2605 | * This symbol holds a string representing the architecture name. |
2606 | * It may be used to construct an architecture-dependant pathname |
2607 | * where library files may be held under a private library, for |
2608 | * instance. |
2609 | */ |
2610 | #define ARCHNAME "MSWin32-x86" /**/ |
2611 | |
c4d53692 |
2612 | /* OLD_PTHREAD_CREATE_JOINABLE: |
2613 | * This symbol, if defined, indicates how to create pthread |
2614 | * in joinable (aka undetached) state. NOTE: not defined |
2615 | * if pthread.h already has defined PTHREAD_CREATE_JOINABLE |
2616 | * (the new version of the constant). |
2617 | * If defined, known values are PTHREAD_CREATE_UNDETACHED |
2618 | * and __UNDETACHED. |
2619 | */ |
2620 | /*#define OLD_PTHREAD_CREATE_JOINABLE /**/ |
2621 | |
924b3ec4 |
2622 | /* HAS_PTHREAD_YIELD: |
2623 | * This symbol, if defined, indicates that the pthread_yield |
2624 | * routine is available to yield the execution of the current |
104f9d64 |
2625 | * thread. sched_yield is preferable to pthread_yield. |
2626 | */ |
2627 | /* SCHED_YIELD: |
2628 | * This symbol defines the way to yield the execution of |
2629 | * the current thread. Known ways are sched_yield, |
2630 | * pthread_yield, and pthread_yield with NULL. |
924b3ec4 |
2631 | */ |
be44fb0e |
2632 | /* HAS_SCHED_YIELD: |
2633 | * This symbol, if defined, indicates that the sched_yield |
2634 | * routine is available to yield the execution of the current |
104f9d64 |
2635 | * thread. sched_yield is preferable to pthread_yield. |
be44fb0e |
2636 | */ |
924b3ec4 |
2637 | /*#define HAS_PTHREAD_YIELD /**/ |
104f9d64 |
2638 | #define SCHED_YIELD /**/ |
be44fb0e |
2639 | /*#define HAS_SCHED_YIELD /**/ |
924b3ec4 |
2640 | |
22c35a8c |
2641 | /* I_MACH_CTHREADS: |
2642 | * This symbol, if defined, indicates to the C program that it should |
2643 | * include <mach/cthreads.h>. |
924b3ec4 |
2644 | */ |
22c35a8c |
2645 | /*#define I_MACH_CTHREADS /**/ |
924b3ec4 |
2646 | |
2647 | /* USE_THREADS: |
2648 | * This symbol, if defined, indicates that Perl should |
2649 | * be built to use threads. |
2650 | */ |
07ba5892 |
2651 | /* OLD_PTHREADS_API: |
2652 | * This symbol, if defined, indicates that Perl should |
2653 | * be built to use the old draft POSIX threads API. |
2654 | */ |
924b3ec4 |
2655 | /*#define USE_THREADS /**/ |
07ba5892 |
2656 | /*#define OLD_PTHREADS_API /**/ |
08aa1457 |
2657 | |
bdaec6b3 |
2658 | /* Time_t: |
2659 | * This symbol holds the type returned by time(). It can be long, |
2660 | * or time_t on BSD sites (in which case <sys/types.h> should be |
2661 | * included). |
2662 | */ |
2663 | #define Time_t time_t /* Time type */ |
2664 | |
2665 | /* HAS_TIMES: |
2666 | * This symbol, if defined, indicates that the times() routine exists. |
2667 | * Note that this became obsolete on some systems (SUNOS), which now |
2668 | * use getrusage(). It may be necessary to include <sys/times.h>. |
2669 | */ |
2670 | #define HAS_TIMES /**/ |
2671 | |
2672 | /* Fpos_t: |
2673 | * This symbol holds the type used to declare file positions in libc. |
2674 | * It can be fpos_t, long, uint, etc... It may be necessary to include |
2675 | * <sys/types.h> to get any typedef'ed information. |
2676 | */ |
2677 | #define Fpos_t fpos_t /* File position type */ |
2678 | |
2679 | /* Gid_t: |
2680 | * This symbol holds the return type of getgid() and the type of |
2681 | * argument to setrgid() and related functions. Typically, |
2682 | * it is the type of group ids in the kernel. It can be int, ushort, |
2683 | * uid_t, etc... It may be necessary to include <sys/types.h> to get |
2684 | * any typedef'ed information. |
2685 | */ |
2686 | #define Gid_t gid_t /* Type for getgid(), etc... */ |
2687 | |
2688 | /* Off_t: |
2689 | * This symbol holds the type used to declare offsets in the kernel. |
2690 | * It can be int, long, off_t, etc... It may be necessary to include |
2691 | * <sys/types.h> to get any typedef'ed information. |
2692 | */ |
104f9d64 |
2693 | /* LSEEKSIZE: |
2694 | * This symbol holds the number of bytes used by the Off_t. |
2695 | */ |
bdaec6b3 |
2696 | #define Off_t off_t /* <offset> type */ |
104f9d64 |
2697 | #define LSEEKSIZE 4 /* <offset> size */ |
bdaec6b3 |
2698 | |
2699 | /* Mode_t: |
2700 | * This symbol holds the type used to declare file modes |
2701 | * for systems calls. It is usually mode_t, but may be |
2702 | * int or unsigned short. It may be necessary to include <sys/types.h> |
2703 | * to get any typedef'ed information. |
2704 | */ |
2705 | #define Mode_t mode_t /* file mode parameter for system calls */ |
2706 | |
2707 | /* Pid_t: |
2708 | * This symbol holds the type used to declare process ids in the kernel. |
2709 | * It can be int, uint, pid_t, etc... It may be necessary to include |
2710 | * <sys/types.h> to get any typedef'ed information. |
2711 | */ |
2712 | #define Pid_t int /* PID type */ |
2713 | |
2714 | /* Size_t: |
2715 | * This symbol holds the type used to declare length parameters |
2716 | * for string functions. It is usually size_t, but may be |
2717 | * unsigned long, int, etc. It may be necessary to include |
2718 | * <sys/types.h> to get any typedef'ed information. |
2719 | */ |
2720 | #define Size_t size_t /* length paramater for string functions */ |
2721 | |
2722 | /* Uid_t: |
2723 | * This symbol holds the type used to declare user ids in the kernel. |
2724 | * It can be int, ushort, uid_t, etc... It may be necessary to include |
2725 | * <sys/types.h> to get any typedef'ed information. |
2726 | */ |
2727 | #define Uid_t uid_t /* UID type */ |
2728 | |
08aa1457 |
2729 | #endif |