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