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
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.
10 * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
14 * Package name : perl5
16 * Configuration time: undef
17 * Configured by : gsar
25 * This symbol holds the complete pathname to the sed program.
27 #define LOC_SED "" /**/
30 * This symbol holds the path of the bin directory where the package will
31 * be installed. Program must be prepared to deal with ~name substitution.
34 * This symbol is the filename expanded version of the BIN symbol, for
35 * programs that do not want to deal with that at run-time.
37 #define BIN "c:\\perl\\5.00556\\bin\\MSWin32-x86" /**/
38 #define BIN_EXP "c:\\perl\\5.00556\\bin\\MSWin32-x86" /**/
41 * This symbol, if defined, indicates that the alarm routine is
44 /*#define HAS_ALARM /**/
47 * This symbol indicates the C compiler can check for function attributes,
48 * such as printf formats. This is normally only supported by GNU cc.
50 /*#define HASATTRIBUTE /**/
52 #define __attribute__(_arg_)
56 * This symbol is defined if the bcmp() routine is available to
57 * compare blocks of memory.
59 /*#define HAS_BCMP /**/
62 * This symbol is defined if the bcopy() routine is available to
63 * copy blocks of memory.
65 /*#define HAS_BCOPY /**/
68 * This symbol is defined if the bzero() routine is available to
69 * set a memory block to 0.
71 /*#define HAS_BZERO /**/
74 * This symbol, if defined, indicates that the chown routine is
77 /*#define HAS_CHOWN /**/
80 * This symbol, if defined, indicates that the chroot routine is
83 /*#define HAS_CHROOT /**/
86 * This symbol, if defined, indicates that the chsize routine is available
87 * to truncate files. You might need a -lx to get this routine.
89 #define HAS_CHSIZE /**/
92 * This symbol, if defined, indicates that this C compiler knows about
93 * the const type. There is no need to actually test for that symbol
94 * within your programs. The mere use of the "const" keyword will
95 * trigger the necessary tests.
103 * This symbol, if defined, indicates that the crypt routine is available
104 * to encrypt passwords and the like.
106 /*#define HAS_CRYPT /**/
109 * This symbol, if defined, indicates that the cuserid routine is
110 * available to get character login names.
112 /*#define HAS_CUSERID /**/
115 * This symbol, if defined, indicates that this system's <float.h>
116 * or <limits.h> defines the symbol DBL_DIG, which is the number
117 * of significant digits in a double precision number. If this
118 * symbol is not defined, a guess of 15 is usually pretty good.
120 #define HAS_DBL_DIG /**/
123 * This symbol, if defined, indicates that the difftime routine is
126 #define HAS_DIFFTIME /**/
129 * This symbol, if defined, indicates that the dlerror routine is
130 * available to return a string describing the last error that
131 * occurred from a call to dlopen(), dlclose() or dlsym().
133 #define HAS_DLERROR /**/
135 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
136 * This symbol, if defined, indicates that the bug that prevents
137 * setuid scripts from being secure is not present in this kernel.
140 * This symbol, if defined, indicates that the C program should
141 * check the script that it is executing for setuid/setgid bits, and
142 * attempt to emulate setuid/setgid on systems that have disabled
143 * setuid #! scripts because the kernel can't do it securely.
144 * It is up to the package designer to make sure that this emulation
145 * is done securely. Among other things, it should do an fstat on
146 * the script it just opened to make sure it really is a setuid/setgid
147 * script, it should make sure the arguments passed correspond exactly
148 * to the argument on the #! line, and it should not trust any
149 * subprocesses to which it must pass the filename rather than the
150 * file descriptor of the script to be executed.
152 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
153 /*#define DOSUID /**/
156 * This symbol, if defined, indicates that the dup2 routine is
157 * available to duplicate file descriptors.
159 #define HAS_DUP2 /**/
162 * This symbol, if defined, indicates that the fchmod routine is available
163 * to change mode of opened files. If unavailable, use chmod().
165 /*#define HAS_FCHMOD /**/
168 * This symbol, if defined, indicates that the fchown routine is available
169 * to change ownership of opened files. If unavailable, use chown().
171 /*#define HAS_FCHOWN /**/
174 * This symbol, if defined, indicates to the C program that
175 * the fcntl() function exists.
177 /*#define HAS_FCNTL /**/
180 * This symbol, if defined, indicates that the fgetpos routine is
181 * available to get the file position indicator, similar to ftell().
183 #define HAS_FGETPOS /**/
186 * This symbol, if defined, indicates that the system supports filenames
187 * longer than 14 characters.
189 #define FLEXFILENAMES /**/
192 * This symbol, if defined, indicates that the flock routine is
193 * available to do file locking.
195 #define HAS_FLOCK /**/
198 * This symbol, if defined, indicates that the fork routine is
201 /*#define HAS_FORK /**/
204 * This symbol, if defined, indicates that the fsetpos routine is
205 * available to set the file position indicator, similar to fseek().
207 #define HAS_FSETPOS /**/
210 * This symbol, if defined, indicates that the gettimeofday() system
211 * call is available for a sub-second accuracy clock. Usually, the file
212 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
213 * The type "Timeval" should be used to refer to "struct timeval".
215 /*#define HAS_GETTIMEOFDAY /**/
216 #ifdef HAS_GETTIMEOFDAY
217 #define Timeval struct timeval /* Structure used by gettimeofday() */
221 * This symbol, if defined, indicates that the getgroups() routine is
222 * available to get the list of process groups. If unavailable, multiple
223 * groups are probably not supported.
225 /*#define HAS_GETGROUPS /**/
228 * This symbol, if defined, indicates that the C program may use the
229 * gethostname() routine to derive the host name. See also HAS_UNAME
233 * This symbol, if defined, indicates that the C program may use the
234 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
238 * This symbol, if defined, indicates that the C program may use the
239 * contents of PHOSTNAME as a command to feed to the popen() routine
240 * to derive the host name. See also HAS_GETHOSTNAME and HAS_UNAME.
241 * Note that the command uses a fully qualified path, so that it is safe
242 * even if used by a process with super-user privileges.
244 #define HAS_GETHOSTNAME /**/
245 /*#define HAS_UNAME /**/
246 /*#define PHOSTNAME "" / * How to get the host name */
249 * This symbol, if defined, indicates that the getlogin routine is
250 * available to get the login name.
252 #define HAS_GETLOGIN /**/
255 * This symbol, if defined, indicates to the C program that
256 * the getpgid(pid) function is available to get the
259 /*#define HAS_GETPGID /**/
262 * This symbol, if defined, indicates that the getpgrp routine is
263 * available to get the current process group.
266 * This symbol, if defined, indicates that getpgrp needs one
267 * arguments whereas USG one needs none.
269 /*#define HAS_GETPGRP /**/
270 /*#define USE_BSD_GETPGRP /**/
273 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
274 * routine is available to get the current process group.
276 /*#define HAS_GETPGRP2 /**/
279 * This symbol, if defined, indicates that the getppid routine is
280 * available to get the parent process ID.
282 /*#define HAS_GETPPID /**/
285 * This symbol, if defined, indicates that the getpriority routine is
286 * available to get a process's priority.
288 /*#define HAS_GETPRIORITY /**/
291 * This symbol, if defined, indicates to the C program that the
292 * inet_aton() function is available to parse IP address "dotted-quad"
295 /*#define HAS_INET_ATON /**/
298 * This symbol, if defined, indicates that the killpg routine is available
299 * to kill process groups. If unavailable, you probably should use kill
300 * with a negative process number.
302 /*#define HAS_KILLPG /**/
305 * This symbol, if defined, indicates that the link routine is
306 * available to create hard links.
308 /*#define HAS_LINK /**/
311 * This symbol, if defined, indicates that the localeconv routine is
312 * available for numeric and monetary formatting conventions.
314 #define HAS_LOCALECONV /**/
317 * This symbol, if defined, indicates that the lockf routine is
318 * available to do file locking.
320 /*#define HAS_LOCKF /**/
323 * This symbol, if defined, indicates that the lstat routine is
324 * available to do file stats on symbolic links.
326 /*#define HAS_LSTAT /**/
329 * This symbol, if defined, indicates that the mblen routine is available
330 * to find the number of bytes in a multibye character.
332 #define HAS_MBLEN /**/
335 * This symbol, if defined, indicates that the mbstowcs routine is
336 * available to covert a multibyte string into a wide character string.
338 #define HAS_MBSTOWCS /**/
341 * This symbol, if defined, indicates that the mbtowc routine is available
342 * to covert a multibyte to a wide character.
344 #define HAS_MBTOWC /**/
347 * This symbol, if defined, indicates that the memcmp routine is available
348 * to compare blocks of memory.
350 #define HAS_MEMCMP /**/
353 * This symbol, if defined, indicates that the memcpy routine is available
354 * to copy blocks of memory.
356 #define HAS_MEMCPY /**/
359 * This symbol, if defined, indicates that the memmove routine is available
360 * to copy potentially overlapping blocks of memory. This should be used
361 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
364 #define HAS_MEMMOVE /**/
367 * This symbol, if defined, indicates that the memset routine is available
368 * to set blocks of memory.
370 #define HAS_MEMSET /**/
373 * This symbol, if defined, indicates that the mkdir routine is available
374 * to create directories. Otherwise you should fork off a new process to
377 #define HAS_MKDIR /**/
380 * This symbol, if defined, indicates that the mkfifo routine is
381 * available to create FIFOs. Otherwise, mknod should be able to
382 * do it for you. However, if mkfifo is there, mknod might require
383 * super-user privileges which mkfifo will not.
385 /*#define HAS_MKFIFO /**/
388 * This symbol, if defined, indicates that the mktime routine is
391 #define HAS_MKTIME /**/
394 * This symbol, if defined, indicates that the msync system call is
395 * available to synchronize a mapped file.
397 /*#define HAS_MSYNC /**/
400 * This symbol, if defined, indicates that the munmap system call is
401 * available to unmap a region, usually mapped by mmap().
403 /*#define HAS_MUNMAP /**/
406 * This symbol, if defined, indicates that the nice routine is
409 /*#define HAS_NICE /**/
412 * This symbol, if defined, indicates that pathconf() is available
413 * to determine file-system related limits and options associated
414 * with a given filename.
417 * This symbol, if defined, indicates that pathconf() is available
418 * to determine file-system related limits and options associated
419 * with a given open file descriptor.
421 /*#define HAS_PATHCONF /**/
422 /*#define HAS_FPATHCONF /**/
425 * This symbol, if defined, indicates that the pause routine is
426 * available to suspend a process until a signal is received.
428 #define HAS_PAUSE /**/
431 * This symbol, if defined, indicates that the pipe routine is
432 * available to create an inter-process channel.
434 #define HAS_PIPE /**/
437 * This symbol, if defined, indicates that the poll routine is
438 * available to poll active file descriptors. You may safely
439 * include <poll.h> when this symbol is defined.
441 /*#define HAS_POLL /**/
444 * This symbol, if defined, indicates that the readdir routine is
445 * available to read directory entries. You may have to include
446 * <dirent.h>. See I_DIRENT.
448 #define HAS_READDIR /**/
451 * This symbol, if defined, indicates that the seekdir routine is
452 * available. You may have to include <dirent.h>. See I_DIRENT.
454 #define HAS_SEEKDIR /**/
457 * This symbol, if defined, indicates that the telldir routine is
458 * available. You may have to include <dirent.h>. See I_DIRENT.
460 #define HAS_TELLDIR /**/
463 * This symbol, if defined, indicates that the rewinddir routine is
464 * available. You may have to include <dirent.h>. See I_DIRENT.
466 #define HAS_REWINDDIR /**/
469 * This symbol, if defined, indicates that the readlink routine is
470 * available to read the value of a symbolic link.
472 /*#define HAS_READLINK /**/
475 * This symbol, if defined, indicates that the rename routine is available
476 * to rename files. Otherwise you should do the unlink(), link(), unlink()
479 #define HAS_RENAME /**/
482 * This symbol, if defined, indicates that the rmdir routine is
483 * available to remove directories. Otherwise you should fork off a
484 * new process to exec /bin/rmdir.
486 #define HAS_RMDIR /**/
489 * This symbol, if defined, indicates that the select routine is
490 * available to select active file descriptors. If the timeout field
491 * is used, <sys/time.h> may need to be included.
493 #define HAS_SELECT /**/
496 * This symbol, if defined, indicates that the setegid routine is available
497 * to change the effective gid of the current program.
499 /*#define HAS_SETEGID /**/
502 * This symbol, if defined, indicates that the seteuid routine is available
503 * to change the effective uid of the current program.
505 /*#define HAS_SETEUID /**/
508 * This symbol, if defined, indicates that the setlinebuf routine is
509 * available to change stderr or stdout from block-buffered or unbuffered
510 * to a line-buffered mode.
512 /*#define HAS_SETLINEBUF /**/
515 * This symbol, if defined, indicates that the setlocale routine is
516 * available to handle locale-specific ctype implementations.
518 #define HAS_SETLOCALE /**/
521 * This symbol, if defined, indicates that the setpgid(pid, gpid)
522 * routine is available to set process group ID.
524 /*#define HAS_SETPGID /**/
527 * This symbol, if defined, indicates that the setpgrp routine is
528 * available to set the current process group.
531 * This symbol, if defined, indicates that setpgrp needs two
532 * arguments whereas USG one needs none. See also HAS_SETPGID
533 * for a POSIX interface.
535 /*#define HAS_SETPGRP /**/
536 /*#define USE_BSD_SETPGRP /**/
539 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
540 * routine is available to set the current process group.
542 /*#define HAS_SETPGRP2 /**/
545 * This symbol, if defined, indicates that the setpriority routine is
546 * available to set a process's priority.
548 /*#define HAS_SETPRIORITY /**/
551 * This symbol, if defined, indicates that the setregid routine is
552 * available to change the real and effective gid of the current
556 * This symbol, if defined, indicates that the setresgid routine is
557 * available to change the real, effective and saved gid of the current
560 /*#define HAS_SETREGID /**/
561 /*#define HAS_SETRESGID /**/
564 * This symbol, if defined, indicates that the setreuid routine is
565 * available to change the real and effective uid of the current
569 * This symbol, if defined, indicates that the setresuid routine is
570 * available to change the real, effective and saved uid of the current
573 /*#define HAS_SETREUID /**/
574 /*#define HAS_SETRESUID /**/
577 * This symbol, if defined, indicates that the setrgid routine is available
578 * to change the real gid of the current program.
580 /*#define HAS_SETRGID /**/
583 * This symbol, if defined, indicates that the setruid routine is available
584 * to change the real uid of the current program.
586 /*#define HAS_SETRUID /**/
589 * This symbol, if defined, indicates that the setsid routine is
590 * available to set the process group ID.
592 /*#define HAS_SETSID /**/
595 * This symbol holds the return type of the shmat() system call.
596 * Usually set to 'void *' or 'char *'.
598 /* HAS_SHMAT_PROTOTYPE:
599 * This symbol, if defined, indicates that the sys/shm.h includes
600 * a prototype for shmat(). Otherwise, it is up to the program to
601 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
602 * but not always right so it should be emitted by the program only
603 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
605 #define Shmat_t void * /**/
606 /*#define HAS_SHMAT_PROTOTYPE /**/
609 * This symbol is defined to indicate that the strchr()/strrchr()
610 * functions are available for string searching. If not, try the
611 * index()/rindex() pair.
614 * This symbol is defined to indicate that the index()/rindex()
615 * functions are available for string searching.
617 #define HAS_STRCHR /**/
618 /*#define HAS_INDEX /**/
621 * This symbol, if defined, indicates that the strcoll routine is
622 * available to compare strings using collating information.
624 #define HAS_STRCOLL /**/
627 * This symbol, if defined, indicates that this C compiler knows how
628 * to copy structures. If undefined, you'll need to use a block copy
629 * routine of some sort instead.
631 #define USE_STRUCT_COPY /**/
634 * This symbol, if defined, indicates that the strtod routine is
635 * available to provide better numeric string conversion than atof().
637 #define HAS_STRTOD /**/
640 * This symbol, if defined, indicates that the strtol routine is available
641 * to provide better numeric string conversion than atoi() and friends.
643 #define HAS_STRTOL /**/
646 * This symbol, if defined, indicates that the strtoul routine is
647 * available to provide conversion of strings to unsigned long.
649 #define HAS_STRTOUL /**/
652 * This symbol, if defined, indicates that the strxfrm() routine is
653 * available to transform strings.
655 #define HAS_STRXFRM /**/
658 * This symbol, if defined, indicates that the symlink routine is available
659 * to create symbolic links.
661 /*#define HAS_SYMLINK /**/
664 * This symbol, if defined, indicates that the syscall routine is
665 * available to call arbitrary system calls. If undefined, that's tough.
667 /*#define HAS_SYSCALL /**/
670 * This symbol, if defined, indicates that sysconf() is available
671 * to determine system related limits and options.
673 /*#define HAS_SYSCONF /**/
676 * This symbol, if defined, indicates that the system routine is
677 * available to issue a shell command.
679 #define HAS_SYSTEM /**/
682 * This symbol, if defined, indicates that the tcgetpgrp routine is
683 * available to get foreground process group ID.
685 /*#define HAS_TCGETPGRP /**/
688 * This symbol, if defined, indicates that the tcsetpgrp routine is
689 * available to set foreground process group ID.
691 /*#define HAS_TCSETPGRP /**/
694 * This symbol, if defined, indicates that the truncate routine is
695 * available to truncate files.
697 /*#define HAS_TRUNCATE /**/
700 * This symbol, if defined, indicates that the tzname[] array is
701 * available to access timezone names.
703 #define HAS_TZNAME /**/
706 * This symbol, if defined, indicates that the umask routine is
707 * available to set and get the value of the file creation mask.
709 #define HAS_UMASK /**/
712 * This symbol, if defined, indicates that vfork() exists.
714 /*#define HAS_VFORK /**/
717 * This symbol, if defined, indicates that this C compiler knows about
718 * the volatile declaration.
720 #define HASVOLATILE /**/
726 * This symbol, if defined, indicates that wait4() exists.
728 /*#define HAS_WAIT4 /**/
731 * This symbol, if defined, indicates that the waitpid routine is
732 * available to wait for child process.
734 #define HAS_WAITPID /**/
737 * This symbol, if defined, indicates that the wcstombs routine is
738 * available to convert wide character strings to multibyte strings.
740 #define HAS_WCSTOMBS /**/
743 * This symbol, if defined, indicates that the wctomb routine is available
744 * to covert a wide character to a multibyte.
746 #define HAS_WCTOMB /**/
749 * This symbol, if defined, indicates to the C program that it should
750 * include <arpa/inet.h> to get inet_addr and friends declarations.
752 #define I_ARPA_INET /**/
755 * This symbol, if defined, indicates that <dbm.h> exists and should
759 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
760 * should be included.
763 #define I_RPCSVC_DBM /**/
766 * This symbol, if defined, indicates to the C program that it should
767 * include <dirent.h>. Using this symbol also triggers the definition
768 * of the Direntry_t define which ends up being 'struct dirent' or
769 * 'struct direct' depending on the availability of <dirent.h>.
772 * This symbol, if defined, indicates to the C program that the length
773 * of directory entry names is provided by a d_namlen field. Otherwise
774 * you need to do strlen() on the d_name field.
777 * This symbol is set to 'struct direct' or 'struct dirent' depending on
778 * whether dirent is available or not. You should use this pseudo type to
779 * portably declare your directory entries.
781 #define I_DIRENT /**/
782 #define DIRNAMLEN /**/
783 #define Direntry_t struct direct
786 * This symbol, if defined, indicates that <dlfcn.h> exists and should
792 * This manifest constant tells the C program to include <fcntl.h>.
797 * This symbol, if defined, indicates to the C program that it should
798 * include <float.h> to get definition of symbols like DBL_MAX or
799 * DBL_MIN, i.e. machine dependent floating point values.
804 * This symbol, if defined, indicates to the C program that it should
805 * include <limits.h> to get definition of symbols like WORD_BIT or
806 * LONG_MAX, i.e. machine dependant limitations.
808 #define I_LIMITS /**/
811 * This symbol, if defined, indicates to the C program that it should
812 * include <locale.h>.
814 #define I_LOCALE /**/
817 * This symbol, if defined, indicates to the C program that it should
823 * This symbol, if defined, indicates to the C program that it should
824 * include <memory.h>.
826 /*#define I_MEMORY /**/
829 * This symbol, if defined, indicates that <ndbm.h> exists and should
832 /*#define I_NDBM /**/
835 * This symbol, if defined, indicates that <net/errno.h> exists and
836 * should be included.
838 /*#define I_NET_ERRNO /**/
841 * This symbol, if defined, indicates to the C program that it should
842 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
844 /*#define I_NETINET_IN /**/
847 * This symbol, if defined, indicates to the C program that it should
850 /*#define I_SFIO /**/
853 * This symbol, if defined, indicates that <stddef.h> exists and should
856 #define I_STDDEF /**/
859 * This symbol, if defined, indicates that <stdlib.h> exists and should
862 #define I_STDLIB /**/
865 * This symbol, if defined, indicates to the C program that it should
866 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
868 #define I_STRING /**/
871 * This symbol, if defined, indicates to the C program that it should
872 * include <sys/dir.h>.
874 /*#define I_SYS_DIR /**/
877 * This symbol, if defined, indicates to the C program that it should
878 * include <sys/file.h> to get definition of R_OK and friends.
880 /*#define I_SYS_FILE /**/
883 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
884 * be included. Otherwise, include <sgtty.h> or <termio.h>.
886 /*#define I_SYS_IOCTL /**/
889 * This symbol, if defined, indicates to the C program that it should
890 * include <sys/ndir.h>.
892 /*#define I_SYS_NDIR /**/
895 * This symbol, if defined, indicates to the C program that it should
896 * include <sys/param.h>.
898 /*#define I_SYS_PARAM /**/
901 * This symbol, if defined, indicates to the C program that it should
902 * include <sys/resource.h>.
904 /*#define I_SYS_RESOURCE /**/
907 * This symbol, if defined, indicates to the C program that it should
908 * include <sys/select.h> in order to get definition of struct timeval.
910 /*#define I_SYS_SELECT /**/
913 * This symbol, if defined, indicates to the C program that it should
914 * include <sys/stat.h>.
916 #define I_SYS_STAT /**/
919 * This symbol, if defined, indicates to the C program that it should
920 * include <sys/times.h>.
922 /*#define I_SYS_TIMES /**/
925 * This symbol, if defined, indicates to the C program that it should
926 * include <sys/types.h>.
928 #define I_SYS_TYPES /**/
931 * This symbol, if defined, indicates to the C program that it should
932 * include <sys/un.h> to get UNIX domain socket definitions.
934 /*#define I_SYS_UN /**/
937 * This symbol, if defined, indicates to the C program that it should
938 * include <sys/wait.h>.
940 /*#define I_SYS_WAIT /**/
943 * This symbol, if defined, indicates that the program should include
944 * <termio.h> rather than <sgtty.h>. There are also differences in
945 * the ioctl() calls that depend on the value of this symbol.
948 * This symbol, if defined, indicates that the program should include
949 * the POSIX termios.h rather than sgtty.h or termio.h.
950 * There are also differences in the ioctl() calls that depend on the
951 * value of this symbol.
954 * This symbol, if defined, indicates that the program should include
955 * <sgtty.h> rather than <termio.h>. There are also differences in
956 * the ioctl() calls that depend on the value of this symbol.
958 /*#define I_TERMIO /**/
959 /*#define I_TERMIOS /**/
960 /*#define I_SGTTY /**/
963 * This symbol, if defined, indicates to the C program that it should
964 * include <unistd.h>.
966 /*#define I_UNISTD /**/
969 * This symbol, if defined, indicates to the C program that it should
975 * This symbol, if defined, indicates to the C program that it should
976 * include <values.h> to get definition of symbols like MINFLOAT or
977 * MAXLONG, i.e. machine dependant limitations. Probably, you
978 * should use <limits.h> instead, if it is available.
980 /*#define I_VALUES /**/
983 * This symbol, if defined, indicates that <stdarg.h> exists and should
987 * This symbol, if defined, indicates to the C program that it should
988 * include <varargs.h>.
990 #define I_STDARG /**/
991 /*#define I_VARARGS /**/
994 * This symbol, if defined, indicates to the C program that it should
997 /*#define I_VFORK /**/
1000 * If defined, this macro indicates that the C compiler can handle
1001 * function prototypes.
1004 * This macro is used to declare function parameters for folks who want
1005 * to make declarations with prototypes using a different style than
1006 * the above macros. Use double parentheses. For example:
1008 * int main _((int argc, char *argv[]));
1010 #define CAN_PROTOTYPE /**/
1011 #ifdef CAN_PROTOTYPE
1012 #define _(args) args
1018 * This symbol contains the full pathname to the shell used on this
1019 * on this system to execute Bourne shell scripts. Usually, this will be
1020 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1021 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
1024 #define SH_PATH "cmd /x /c" /**/
1027 * This symbol is defined to be the type of char used in stdio.h.
1028 * It has the values "unsigned char" or "char".
1030 #define STDCHAR unsigned char /**/
1033 * This symbol, if defined, indicates that the accessx routine is
1034 * available to do extended access checks.
1036 /*#define HAS_ACCESSX /**/
1039 * This symbol, if defined, indicates that the eaccess routine is
1040 * available to do extended access checks.
1042 /*#define HAS_EACCESS /**/
1045 * This symbol, if defined, indicates to the C program that it should
1046 * include <sys/access.h>.
1048 /*#define I_SYS_ACCESS /**/
1051 * This symbol, if defined, indicates to the C program that it should
1052 * include <sys/security.h>.
1054 /*#define I_SYS_SECURITY /**/
1057 * This symbol contains the number of bytes required to align a
1058 * double. Usual values are 2, 4 and 8.
1059 * On NeXT starting with 3.2, you can build "Fat" Multiple Architecture
1060 * Binaries (MAB) for targets with varying alignment. This only matters
1061 * for perl, where the config.h can be generated and installed on one
1062 * system, and used by a different architecture to build an extension.
1063 * The default is eight, for safety.
1065 #define MEM_ALIGNBYTES 8 /**/
1068 * This symbol holds the hexadecimal constant defined in byteorder,
1069 * i.e. 0x1234 or 0x4321, etc...
1070 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1071 * Binaries (MAB) on either big endian or little endian machines.
1072 * The endian-ness is available at compile-time. This only matters
1073 * for perl, where the config.h can be generated and installed on
1074 * one system, and used by a different architecture to build an
1075 * extension. Older versions of NeXT that might not have
1076 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1077 * so the default case (for NeXT) is big endian to catch them.
1078 * This might matter for NeXT 3.0.
1081 #define BYTEORDER 0x1234 /* large digits for MSB */
1083 #ifdef __LITTLE_ENDIAN__
1084 #define BYTEORDER 0x1234
1085 #else /* __BIG_ENDIAN__ */
1086 #define BYTEORDER 0x4321
1087 #endif /* ENDIAN CHECK */
1091 * This symbol is defined if the C compiler can cast negative
1092 * or large floating point numbers to 32-bit ints.
1094 #define CASTI32 /**/
1097 * This symbol is defined if the C compiler can cast negative
1098 * numbers to unsigned longs, ints and shorts.
1101 * This symbol contains flags that say what difficulties the compiler
1102 * has casting odd floating values to unsigned long:
1104 * 1 = couldn't cast < 0
1105 * 2 = couldn't cast >= 0x80000000
1106 * 4 = couldn't cast in argument expression list
1108 #define CASTNEGFLOAT /**/
1109 #define CASTFLAGS 0 /**/
1112 * This symbol, if defined, indicates that the closedir() routine
1113 * does not return a value.
1115 /*#define VOID_CLOSEDIR /**/
1118 * This symbol, when defined, indicates presence of the fd_set typedef
1121 #define HAS_FD_SET /**/
1124 * This preprocessor macro is defined to convert a floating point
1125 * number to a string without a trailing decimal point. This
1126 * emulates the behavior of sprintf("%g"), but is sometimes much more
1127 * efficient. If gconvert() is not available, but gcvt() drops the
1128 * trailing decimal point, then gcvt() is used. If all else fails,
1129 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1130 * macro are: value, number of digits, whether trailing zeros should
1131 * be retained, and the output buffer.
1132 * Possible values are:
1133 * d_Gconvert='gconvert((x),(n),(t),(b))'
1134 * d_Gconvert='gcvt((x),(n),(b))'
1135 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1136 * The last two assume trailing zeros should not be kept.
1138 #define Gconvert(x,n,t,b) gcvt((x),(n),(b))
1141 * This symbol, if defined, indicates to the C program that
1142 * the GNU C library is being used.
1144 /*#define HAS_GNULIBC /**/
1146 * This manifest constant lets the C program know that isascii
1149 #define HAS_ISASCII /**/
1152 * This symbol, if defined, indicates that the lchown routine is
1153 * available to operate on a symbolic link (instead of following the
1156 /*#define HAS_LCHOWN /**/
1159 * This manifest constant lets the C program know that the three
1160 * argument form of open(2) is available.
1162 /*#define HAS_OPEN3 /**/
1165 * This symbol, if defined, indicates that the bcopy routine is available
1166 * to copy potentially overlapping memory blocks. Otherwise you should
1167 * probably use memmove() or memcpy(). If neither is defined, roll your
1170 /*#define HAS_SAFE_BCOPY /**/
1173 * This symbol, if defined, indicates that the memcpy routine is available
1174 * to copy potentially overlapping memory blocks. Otherwise you should
1175 * probably use memmove() or memcpy(). If neither is defined, roll your
1178 /*#define HAS_SAFE_MEMCPY /**/
1181 * This symbol, if defined, indicates that the memcmp routine is available
1182 * and can be used to compare relative magnitudes of chars with their high
1183 * bits set. If it is not defined, roll your own version.
1185 #define HAS_SANE_MEMCMP /**/
1188 * This symbol, if defined, indicates that Vr4's sigaction() routine
1191 /*#define HAS_SIGACTION /**/
1194 * This variable indicates to the C program that the sigsetjmp()
1195 * routine is available to save the calling process's registers
1196 * and stack environment for later use by siglongjmp(), and
1197 * to optionally save the process's signal mask. See
1198 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
1201 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1204 * This macro is used in the same way as sigsetjmp(), but will invoke
1205 * traditional setjmp() if sigsetjmp isn't available.
1206 * See HAS_SIGSETJMP.
1209 * This macro is used in the same way as siglongjmp(), but will invoke
1210 * traditional longjmp() if siglongjmp isn't available.
1211 * See HAS_SIGSETJMP.
1213 /*#define HAS_SIGSETJMP /**/
1214 #ifdef HAS_SIGSETJMP
1215 #define Sigjmp_buf sigjmp_buf
1216 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1217 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1219 #define Sigjmp_buf jmp_buf
1220 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1221 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1225 * This symbol is defined if the _ptr and _cnt fields (or similar)
1226 * of the stdio FILE structure can be used to access the stdio buffer
1227 * for a file handle. If this is defined, then the FILE_ptr(fp)
1228 * and FILE_cnt(fp) macros will also be defined and should be used
1229 * to access these fields.
1232 * This macro is used to access the _ptr field (or equivalent) of the
1233 * FILE structure pointed to by its argument. This macro will always be
1234 * defined if USE_STDIO_PTR is defined.
1236 /* STDIO_PTR_LVALUE:
1237 * This symbol is defined if the FILE_ptr macro can be used as an
1241 * This macro is used to access the _cnt field (or equivalent) of the
1242 * FILE structure pointed to by its argument. This macro will always be
1243 * defined if USE_STDIO_PTR is defined.
1245 /* STDIO_CNT_LVALUE:
1246 * This symbol is defined if the FILE_cnt macro can be used as an
1249 #define USE_STDIO_PTR /**/
1250 #ifdef USE_STDIO_PTR
1251 #define FILE_ptr(fp) ((fp)->curp)
1252 #define STDIO_PTR_LVALUE /**/
1253 #define FILE_cnt(fp) ((fp)->level)
1254 #define STDIO_CNT_LVALUE /**/
1258 * This symbol is defined if the _base field (or similar) of the
1259 * stdio FILE structure can be used to access the stdio buffer for
1260 * a file handle. If this is defined, then the FILE_base(fp) macro
1261 * will also be defined and should be used to access this field.
1262 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1263 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1264 * will never be defined unless USE_STDIO_PTR is.
1267 * This macro is used to access the _base field (or equivalent) of the
1268 * FILE structure pointed to by its argument. This macro will always be
1269 * defined if USE_STDIO_BASE is defined.
1272 * This macro is used to determine the number of bytes in the I/O
1273 * buffer pointed to by _base field (or equivalent) of the FILE
1274 * structure pointed to its argument. This macro will always be defined
1275 * if USE_STDIO_BASE is defined.
1277 #define USE_STDIO_BASE /**/
1278 #ifdef USE_STDIO_BASE
1279 #define FILE_base(fp) ((fp)->buffer)
1280 #define FILE_bufsiz(fp) ((fp)->level + (fp)->curp - (fp)->buffer)
1284 * This symbol, if defined, indicates that the vprintf routine is available
1285 * to printf with a pointer to an argument list. If unavailable, you
1286 * may need to write your own, probably in terms of _doprnt().
1288 /* USE_CHAR_VSPRINTF:
1289 * This symbol is defined if this system has vsprintf() returning type
1290 * (char*). The trend seems to be to declare it as "int vsprintf()". It
1291 * is up to the package author to declare vsprintf correctly based on the
1294 #define HAS_VPRINTF /**/
1295 /*#define USE_CHAR_VSPRINTF /**/
1298 * This symbol contains the size of a double, so that the C preprocessor
1299 * can make decisions based on it.
1301 #define DOUBLESIZE 8 /**/
1304 * This symbol, if defined, indicates to the C program that it should
1308 * This symbol, if defined, indicates to the C program that it should
1309 * include <sys/time.h>.
1311 /* I_SYS_TIME_KERNEL:
1312 * This symbol, if defined, indicates to the C program that it should
1313 * include <sys/time.h> with KERNEL defined.
1316 /*#define I_SYS_TIME /**/
1317 /*#define I_SYS_TIME_KERNEL /**/
1320 * This symbol contains the value of sizeof(int) so that the C
1321 * preprocessor can make decisions based on it.
1324 * This symbol contains the value of sizeof(long) so that the C
1325 * preprocessor can make decisions based on it.
1328 * This symbol contains the value of sizeof(short) so that the C
1329 * preprocessor can make decisions based on it.
1331 #define INTSIZE 4 /**/
1332 #define LONGSIZE 4 /**/
1333 #define SHORTSIZE 2 /**/
1336 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1337 * non-blocking I/O for the file descriptor. Note that there is no way
1338 * back, i.e. you cannot turn it blocking again this way. If you wish to
1339 * alternatively switch between blocking and non-blocking, use the
1340 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1343 * This symbol holds the errno error code set by read() when no data was
1344 * present on the non-blocking file descriptor.
1347 * This symbol holds the return code from read() when no data is present
1348 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1349 * not defined, then you can't distinguish between no data and EOF by
1350 * issuing a read(). You'll have to find another way to tell for sure!
1353 * This symbol, if defined, indicates to the C program that a read() on
1354 * a non-blocking file descriptor will return 0 on EOF, and not the value
1355 * held in RD_NODATA (-1 usually, in that case!).
1357 #define VAL_O_NONBLOCK O_NONBLOCK
1358 #define VAL_EAGAIN EAGAIN
1359 #define RD_NODATA -1
1360 #define EOF_NONBLOCK
1363 * This symbol contains the size of a pointer, so that the C preprocessor
1364 * can make decisions based on it. It will be sizeof(void *) if
1365 * the compiler supports (void *); otherwise it will be
1368 #define PTRSIZE 4 /**/
1371 * This macro is to be used to generate uniformly distributed
1372 * random numbers over the range [0., 1.[. You may have to supply
1373 * an 'extern double drand48();' in your program since SunOS 4.1.3
1374 * doesn't provide you with anything relevant in it's headers.
1375 * See HAS_DRAND48_PROTO.
1378 * This symbol defines the type of the argument of the
1379 * random seed function.
1382 * This symbol defines the macro to be used in seeding the
1383 * random number generator (see Drand01).
1386 * This symbol indicates how many bits are produced by the
1387 * function used to generate normalized random numbers.
1388 * Values include 15, 16, 31, and 48.
1390 #define Drand01() (rand()/(double)((unsigned)1<<RANDBITS)) /**/
1391 #define Rand_seed_t unsigned /**/
1392 #define seedDrand01(x) srand((Rand_seed_t)x) /**/
1393 #define RANDBITS 15 /**/
1396 * This symbol holds the type used by functions that return
1397 * a count of bytes or an error condition. It must be a signed type.
1398 * It is usually ssize_t, but may be long or int, etc.
1399 * It may be necessary to include <sys/types.h> or <unistd.h>
1400 * to get any typedef'ed information.
1401 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1403 #define SSize_t int /* signed count of bytes */
1406 * This symbol, if defined, indicates that this system uses
1409 /*#define EBCDIC /**/
1412 * This symbol contains the name of the operating system, as determined
1413 * by Configure. You shouldn't rely on it too much; the specific
1414 * feature tests from Configure are generally more reliable.
1416 #define OSNAME "MSWin32" /**/
1419 * This macro catenates 2 tokens together.
1422 * This macro surrounds its token with double quotes.
1425 #define CAT2(a,b)a/**/b
1426 #define STRINGIFY(a)"a"
1427 /* If you can get stringification with catify, tell me how! */
1430 #define CAT2(a,b)a ## b
1431 #define StGiFy(a)# a
1432 #define STRINGIFY(a)StGiFy(a)
1434 #if 42 != 1 && 42 != 42
1435 #include "Bletch: How does this C preprocessor catenate tokens?"
1439 * This symbol contains the first part of the string which will invoke
1440 * the C preprocessor on the standard input and produce to standard
1441 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1442 * call a wrapper. See CPPRUN.
1445 * This symbol contains the second part of the string which will invoke
1446 * the C preprocessor on the standard input and produce to standard
1447 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1448 * to specify standard input, otherwise the value is "".
1451 * This symbol contains the string which will invoke a C preprocessor on
1452 * the standard input and produce to standard output. It needs to end
1453 * with CPPLAST, after all other preprocessor flags have been specified.
1454 * The main difference with CPPSTDIN is that this program will never be a
1455 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1456 * available directly to the user. Note that it may well be different from
1457 * the preprocessor used to compile the C program.
1459 #define CPPSTDIN "cpp32 -oCON"
1461 #define CPPRUN "cpp32 -oCON"
1464 * This manifest constant lets the C program know that the access()
1465 * system call is available to check for accessibility using real UID/GID.
1466 * (always present on UNIX.)
1468 #define HAS_ACCESS /**/
1471 * This symbol, if defined, indicates that the C-shell exists.
1474 * This symbol, if defined, contains the full pathname of csh.
1476 /*#define HAS_CSH /**/
1482 * This symbol, if defined, indicates that the getgrent routine is
1483 * available for finalizing sequential access of the group database.
1485 /*#define HAS_ENDGRENT /**/
1488 * This symbol, if defined, indicates that the endhostent() routine is
1489 * available to close whatever was being used for host queries.
1491 /*#define HAS_ENDHOSTENT /**/
1494 * This symbol, if defined, indicates that the endnetent() routine is
1495 * available to close whatever was being used for network queries.
1497 /*#define HAS_ENDNETENT /**/
1500 * This symbol, if defined, indicates that the endprotoent() routine is
1501 * available to close whatever was being used for protocol queries.
1503 /*#define HAS_ENDPROTOENT /**/
1506 * This symbol, if defined, indicates that the getgrent routine is
1507 * available for finalizing sequential access of the passwd database.
1509 /*#define HAS_ENDPWENT /**/
1512 * This symbol, if defined, indicates that the endservent() routine is
1513 * available to close whatever was being used for service queries.
1515 /*#define HAS_ENDSERVENT /**/
1518 * This symbol, if defined, indicates that the getgrent routine is
1519 * available for sequential access of the group database.
1521 /*#define HAS_GETGRENT /**/
1523 /* HAS_GETHOSTBYADDR:
1524 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1525 * available to look up hosts by their IP addresses.
1527 #define HAS_GETHOSTBYADDR /**/
1529 /* HAS_GETHOSTBYNAME:
1530 * This symbol, if defined, indicates that the gethostbyname() routine is
1531 * available to look up host names in some data base or other.
1533 #define HAS_GETHOSTBYNAME /**/
1536 * This symbol, if defined, indicates that the gethostent() routine is
1537 * available to look up host names in some data base or another.
1539 /*#define HAS_GETHOSTENT /**/
1541 /* HAS_GETNETBYADDR:
1542 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1543 * available to look up networks by their IP addresses.
1545 /*#define HAS_GETNETBYADDR /**/
1547 /* HAS_GETNETBYNAME:
1548 * This symbol, if defined, indicates that the getnetbyname() routine is
1549 * available to look up networks by their names.
1551 /*#define HAS_GETNETBYNAME /**/
1554 * This symbol, if defined, indicates that the getnetent() routine is
1555 * available to look up network names in some data base or another.
1557 /*#define HAS_GETNETENT /**/
1560 * This symbol, if defined, indicates that the getprotoent() routine is
1561 * available to look up protocols in some data base or another.
1563 /*#define HAS_GETPROTOENT /**/
1565 /* HAS_GETPROTOBYNAME:
1566 * This symbol, if defined, indicates that the getprotobyname()
1567 * routine is available to look up protocols by their name.
1569 /* HAS_GETPROTOBYNUMBER:
1570 * This symbol, if defined, indicates that the getprotobynumber()
1571 * routine is available to look up protocols by their number.
1573 #define HAS_GETPROTOBYNAME /**/
1574 #define HAS_GETPROTOBYNUMBER /**/
1577 * This symbol, if defined, indicates that the getpwent routine is
1578 * available for sequential access of the passwd database.
1579 * If this is not available, the older getpw() function may be available.
1581 /*#define HAS_GETPWENT /**/
1584 * This symbol, if defined, indicates that the getservent() routine is
1585 * available to look up network services in some data base or another.
1587 /*#define HAS_GETSERVENT /**/
1589 /* HAS_GETSERVBYNAME:
1590 * This symbol, if defined, indicates that the getservbyname()
1591 * routine is available to look up services by their name.
1593 /* HAS_GETSERVBYPORT:
1594 * This symbol, if defined, indicates that the getservbyport()
1595 * routine is available to look up services by their port.
1597 #define HAS_GETSERVBYNAME /**/
1598 #define HAS_GETSERVBYPORT /**/
1601 * This symbol, if defined, indicates that the htonl() routine (and
1602 * friends htons() ntohl() ntohs()) are available to do network
1603 * order byte swapping.
1606 * This symbol, if defined, indicates that the htons() routine (and
1607 * friends htonl() ntohl() ntohs()) are available to do network
1608 * order byte swapping.
1611 * This symbol, if defined, indicates that the ntohl() routine (and
1612 * friends htonl() htons() ntohs()) are available to do network
1613 * order byte swapping.
1616 * This symbol, if defined, indicates that the ntohs() routine (and
1617 * friends htonl() htons() ntohl()) are available to do network
1618 * order byte swapping.
1620 #define HAS_HTONL /**/
1621 #define HAS_HTONS /**/
1622 #define HAS_NTOHL /**/
1623 #define HAS_NTOHS /**/
1626 * This symbol will be defined if the C compiler supports long
1630 * This symbol contains the size of a long double, so that the
1631 * C preprocessor can make decisions based on it. It is only
1632 * defined if the system supports long doubles.
1634 #define HAS_LONG_DOUBLE /**/
1635 #ifdef HAS_LONG_DOUBLE
1636 #define LONG_DOUBLESIZE 10 /**/
1640 * This symbol will be defined if the C compiler supports long long.
1643 * This symbol contains the size of a long long, so that the
1644 * C preprocessor can make decisions based on it. It is only
1645 * defined if the system supports long long.
1647 /*#define HAS_LONG_LONG /**/
1648 #ifdef HAS_LONG_LONG
1649 #define LONGLONGSIZE 8 /**/
1653 * This symbol, if defined, indicates that the mmap system call is
1654 * available to map a file into memory.
1657 * This symbol holds the return type of the mmap() system call
1658 * (and simultaneously the type of the first argument).
1659 * Usually set to 'void *' or 'cadd_t'.
1661 /*#define HAS_MMAP /**/
1662 #define Mmap_t void * /**/
1665 * This symbol, if defined, indicates that the entire msg*(2) library is
1666 * supported (IPC mechanism based on message queues).
1668 /*#define HAS_MSG /**/
1671 * This symbol, if defined, indicates that the entire sem*(2) library is
1674 /*#define HAS_SEM /**/
1677 * This symbol, if defined, indicates that the setgrent routine is
1678 * available for initializing sequential access of the group database.
1680 /*#define HAS_SETGRENT /**/
1683 * This symbol, if defined, indicates that the setgroups() routine is
1684 * available to set the list of process groups. If unavailable, multiple
1685 * groups are probably not supported.
1687 /*#define HAS_SETGROUPS /**/
1690 * This symbol, if defined, indicates that the sethostent() routine is
1693 /*#define HAS_SETHOSTENT /**/
1696 * This symbol, if defined, indicates that the setnetent() routine is
1699 /*#define HAS_SETNETENT /**/
1702 * This symbol, if defined, indicates that the setprotoent() routine is
1705 /*#define HAS_SETPROTOENT /**/
1708 * This symbol, if defined, indicates that the setpwent routine is
1709 * available for initializing sequential access of the passwd database.
1711 /*#define HAS_SETPWENT /**/
1714 * This symbol, if defined, indicates that the setservent() routine is
1717 /*#define HAS_SETSERVENT /**/
1720 * This symbol, if defined, indicates that the setvbuf routine is
1721 * available to change buffering on an open stdio stream.
1722 * to a line-buffered mode.
1724 #define HAS_SETVBUF /**/
1727 * This symbol, if defined, indicates that the entire shm*(2) library is
1730 /*#define HAS_SHM /**/
1733 * This symbol, if defined, indicates that the BSD socket interface is
1737 * This symbol, if defined, indicates that the BSD socketpair() call is
1741 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
1742 * Checking just with #ifdef might not be enough because this symbol
1743 * has been known to be an enum.
1745 /* HAS_MSG_DONTROUTE:
1746 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
1747 * Checking just with #ifdef might not be enough because this symbol
1748 * has been known to be an enum.
1751 * This symbol, if defined, indicates that the MSG_OOB is supported.
1752 * Checking just with #ifdef might not be enough because this symbol
1753 * has been known to be an enum.
1756 * This symbol, if defined, indicates that the MSG_PEEK is supported.
1757 * Checking just with #ifdef might not be enough because this symbol
1758 * has been known to be an enum.
1761 * This symbol, if defined, indicates that the MSG_PROXY is supported.
1762 * Checking just with #ifdef might not be enough because this symbol
1763 * has been known to be an enum.
1766 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
1767 * Checking just with #ifdef might not be enough because this symbol
1768 * has been known to be an enum.
1771 * This symbol, if defined, indicates that the sendmsg is supported
1772 * to send messages between sockets. You will also need struct
1773 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1776 * This symbol, if defined, indicates that the recvmsg is supported
1777 * to send messages between sockets. You will also need struct
1778 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1780 /* HAS_STRUCT_MSGHDR:
1781 * This symbol, if defined, indicates that the struct msghdr
1782 * (BSD 4.3 or 4.4) is supported. You will also need struct
1783 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1785 /* HAS_STRUCT_CMSGHDR:
1786 * This symbol, if defined, indicates that the struct cmsghdr
1787 * (BSD 4.4) is supported. You will also need struct
1788 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1790 #define HAS_SOCKET /**/
1791 /*#define HAS_SOCKETPAIR /**/
1792 /*#define HAS_MSG_CTRUNC /**/
1793 /*#define HAS_MSG_DONTROUTE /**/
1794 /*#define HAS_MSG_OOB /**/
1795 /*#define HAS_MSG_PEEK /**/
1796 /*#define HAS_MSG_PROXY /**/
1797 /*#define HAS_SCM_RIGHTS /**/
1798 /*#define HAS_SENDMSG /**/
1799 /*#define HAS_RECVMSG /**/
1800 /*#define HAS_STRUCT_MSGHDR /**/
1801 /*#define HAS_STRUCT_CMSGHDR /**/
1804 * This symbol is defined if this system has a stat structure declaring
1805 * st_blksize and st_blocks.
1807 /*#define USE_STAT_BLOCKS /**/
1810 * This symbol, if defined, indicates that the strerror routine is
1811 * available to translate error numbers to strings. See the writeup
1812 * of Strerror() in this file before you try to define your own.
1815 * This symbol, if defined, indicates that the sys_errlist array is
1816 * available to translate error numbers to strings. The extern int
1817 * sys_nerr gives the size of that table.
1820 * This preprocessor symbol is defined as a macro if strerror() is
1821 * not available to translate error numbers to strings but sys_errlist[]
1824 #define HAS_STRERROR /**/
1825 #define HAS_SYS_ERRLIST /**/
1826 #define Strerror(e) strerror(e)
1829 * This symbol, if defined, indicates that the union semun is
1830 * defined by including <sys/sem.h>. If not, the user code
1831 * probably needs to define it as:
1834 * struct semid_ds *buf;
1835 * unsigned short *array;
1838 /* USE_SEMCTL_SEMUN:
1839 * This symbol, if defined, indicates that union semun is
1840 * used for semctl IPC_STAT.
1842 /* USE_SEMCTL_SEMID_DS:
1843 * This symbol, if defined, indicates that struct semid_ds * is
1844 * used for semctl IPC_STAT.
1846 #define HAS_UNION_SEMUN /**/
1847 /*#define USE_SEMCTL_SEMUN /**/
1848 /*#define USE_SEMCTL_SEMID_DS /**/
1851 * This symbol's value is either "void" or "int", corresponding to the
1852 * appropriate return type of a signal handler. Thus, you can declare
1853 * a signal handler using "Signal_t (*handler)()", and define the
1854 * handler using "Signal_t handler(sig)".
1856 #define Signal_t void /* Signal handler's return type */
1859 * This symbol holds the type used for the second argument to
1860 * getgroups() and setgropus(). Usually, this is the same as
1861 * gidtype (gid_t) , but sometimes it isn't.
1862 * It can be int, ushort, uid_t, etc...
1863 * It may be necessary to include <sys/types.h> to get any
1864 * typedef'ed information. This is only required if you have
1865 * getgroups() or setgropus()..
1867 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1868 #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
1872 * This symbol, if defined, indicates to the C program that it should
1876 * This symbol, if defined, indicates to the C program that struct group
1877 * in <grp.h> contains gr_passwd.
1879 /*#define I_GRP /**/
1880 /*#define GRPASSWD /**/
1883 * This symbol, if defined, indicates that <netdb.h> exists and
1884 * should be included.
1886 /*#define I_NETDB /**/
1889 * This symbol, if defined, indicates to the C program that it should
1893 * This symbol, if defined, indicates to the C program that struct passwd
1894 * contains pw_quota.
1897 * This symbol, if defined, indicates to the C program that struct passwd
1901 * This symbol, if defined, indicates to the C program that struct passwd
1902 * contains pw_change.
1905 * This symbol, if defined, indicates to the C program that struct passwd
1906 * contains pw_class.
1909 * This symbol, if defined, indicates to the C program that struct passwd
1910 * contains pw_expire.
1913 * This symbol, if defined, indicates to the C program that struct passwd
1914 * contains pw_comment.
1917 * This symbol, if defined, indicates to the C program that struct passwd
1918 * contains pw_gecos.
1921 * This symbol, if defined, indicates to the C program that struct passwd
1922 * contains pw_passwd.
1924 /*#define I_PWD /**/
1925 /*#define PWQUOTA /**/
1926 /*#define PWAGE /**/
1927 /*#define PWCHANGE /**/
1928 /*#define PWCLASS /**/
1929 /*#define PWEXPIRE /**/
1930 /*#define PWCOMMENT /**/
1931 /*#define PWGECOS /**/
1932 /*#define PWPASSWD /**/
1935 * This symbol, if defined, indicates that <sys/uio.h> exists and
1936 * should be included.
1938 /*#define I_SYSUIO /**/
1941 * This variable contains the return type of free(). It is usually
1942 * void, but occasionally int.
1945 * This symbol is the type of pointer returned by malloc and realloc.
1947 #define Malloc_t void * /**/
1948 #define Free_t void /**/
1951 * This symbol, if defined, indicates that we're using our own malloc.
1953 /*#define MYMALLOC /**/
1956 * This symbol contains a list of signal names in order of
1957 * signal number. This is intended
1958 * to be used as a static array initialization, like this:
1959 * char *sig_name[] = { SIG_NAME };
1960 * The signals in the list are separated with commas, and each signal
1961 * is surrounded by double quotes. There is no leading SIG in the signal
1962 * name, i.e. SIGQUIT is known as "QUIT".
1963 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1964 * etc., where nn is the actual signal number (e.g. NUM37).
1965 * The signal number for sig_name[i] is stored in sig_num[i].
1966 * The last element is 0 to terminate the list with a NULL. This
1967 * corresponds to the 0 at the end of the sig_num list.
1970 * This symbol contains a list of signal numbers, in the same order as the
1971 * SIG_NAME list. It is suitable for static array initialization, as in:
1972 * int sig_num[] = { SIG_NUM };
1973 * The signals in the list are separated with commas, and the indices
1974 * within that list and the SIG_NAME list match, so it's easy to compute
1975 * the signal name from a number or vice versa at the price of a small
1976 * dynamic linear lookup.
1977 * Duplicates are allowed, but are moved to the end of the list.
1978 * The signal number corresponding to sig_name[i] is sig_number[i].
1979 * if (i < NSIG) then sig_number[i] == i.
1980 * The last element is 0, corresponding to the 0 at the end of
1981 * the sig_name list.
1983 #define SIG_NAME "ZERO", "NUM01", "INT", "QUIT", "ILL", "NUM05", "NUM06", "NUM07", "FPE", "KILL", "NUM10", "SEGV", "NUM12", "PIPE", "ALRM", "TERM", "USR1", "USR2", "CHLD", "NUM19", "USR3", "BREAK", "ABRT", "STOP", "NUM24", "CONT", "CLD", 0 /**/
1984 #define SIG_NUM 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 18, 0 /**/
1987 * This symbol indicates how much support of the void type is given by this
1988 * compiler. What various bits mean:
1990 * 1 = supports declaration of void
1991 * 2 = supports arrays of pointers to functions returning void
1992 * 4 = supports comparisons between pointers to void functions and
1993 * addresses of void functions
1994 * 8 = suports declaration of generic void pointers
1996 * The package designer should define VOIDUSED to indicate the requirements
1997 * of the package. This can be done either by #defining VOIDUSED before
1998 * including config.h, or by defining defvoidused in Myinit.U. If the
1999 * latter approach is taken, only those flags will be tested. If the
2000 * level of void support necessary is not present, defines void to int.
2005 #define VOIDFLAGS 15
2006 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
2007 #define void int /* is void to be avoided? */
2008 #define M_VOID /* Xenix strikes again */
2012 * This variable, if defined, holds the name of the directory in
2013 * which the user wants to put architecture-dependent public
2014 * library files for perl5. It is most often a local directory
2015 * such as /usr/local/lib. Programs using this variable must be
2016 * prepared to deal with filename expansion. If ARCHLIB is the
2017 * same as PRIVLIB, it is not defined, since presumably the
2018 * program already searches PRIVLIB.
2021 * This symbol contains the ~name expanded version of ARCHLIB, to be used
2022 * in programs that are not prepared to deal with ~ expansion at run-time.
2024 #define ARCHLIB "c:\\perl\\5.00556\\lib\\MSWin32-x86" /**/
2025 /*#define ARCHLIB_EXP "" /**/
2027 /* DLSYM_NEEDS_UNDERSCORE:
2028 * This symbol, if defined, indicates that we need to prepend an
2029 * underscore to the symbol name before calling dlsym(). This only
2030 * makes sense if you *have* dlsym, which we will presume is the
2031 * case if you're using dl_dlopen.xs.
2033 /*#define DLSYM_NEEDS_UNDERSCORE /**/
2036 * This symbol, if defined, indicates that the fseeko routine is
2037 * available to fseek beyond 32 bits (useful for ILP32 hosts).
2039 /*#define HAS_FSEEKO /**/
2042 * This symbol, if defined, indicates that the ftello routine is
2043 * available to ftell from beyond 32 bits (useful for ILP32 hosts).
2045 /*#define HAS_FTELLO /**/
2048 * This symbol, if defined, indicates that the madvise system call is
2049 * available to map a file into memory.
2051 /*#define HAS_MADVISE /**/
2054 * This symbol, if defined, indicates that the mprotect system call is
2055 * available to modify the access protection of a memory mapped file.
2057 /*#define HAS_MPROTECT /**/
2060 * This symbol, if defined, indicates that we have a multiarchitecture
2063 /*#define MULTIARCH /**/
2066 * This symbol, if defined, indicates that we have a cross-compile
2069 /*#define MULTIARCH /**/
2072 * This symbol, if defined, indicates that the readv routine is
2073 * available to do gather reads. You will also need <sys/uio.h>
2074 * and there I_SYSUIO.
2076 /*#define HAS_READV /**/
2079 * This symbol, if defined, indicates that sfio should
2082 /*#define USE_SFIO /**/
2085 * This symbol, if defined, indicates that the fstatfs routine is
2086 * available to do stat filesystems of file descriptors.
2088 /* HAS_STRUCT_STATFS_FLAGS:
2089 * This symbol, if defined, indicates that the struct statfs
2090 * does have the f_flags member containing the mount flags of
2091 * the filesystem holding the file.
2092 * This kind of struct statfs is coming from sys/mount.h (BSD)
2093 * and not from sys/statfs.h (SYSV).
2095 /*#define HAS_FSTATFS /**/
2096 /*#define HAS_STRUCT_STATFS_FLAGS /**/
2099 * This symbol, if defined, indicates that the fstatvfs routine is
2100 * available to do stat filesystems of file descriptors.
2102 /*#define HAS_FSTATVFS /**/
2104 /* HAS_TELLDIR_PROTO:
2105 * This symbol, if defined, indicates that the system provides
2106 * a prototype for the telldir() function. Otherwise, it is up
2107 * to the program to supply one. A good guess is
2108 * extern long telldir _((DIR*));
2110 #define HAS_TELLDIR_PROTO /**/
2113 * This symbol, if defined, indicates that the writev routine is
2114 * available to do scatter writes.
2116 /*#define HAS_WRITEV /**/
2119 * This symbol, if defined, indicates that the dbminit64 routine is
2120 * available to open dbm files larger than 2 gigabytes.
2123 * This symbol, if defined, indicates that the dbmclose64 routine is
2124 * available to close dbm files larger than 2 gigabytes.
2127 * This symbol, if defined, indicates that the fetch64 routine is
2128 * available to fetch from dbm files larger than 2 gigabytes.
2131 * This symbol, if defined, indicates that the store64 routine is
2132 * available to store to dbm files larger than 2 gigabytes.
2135 * This symbol, if defined, indicates that the delete64 routine is
2136 * available to delete from dbm files larger than 2 gigabytes.
2139 * This symbol, if defined, indicates that the firstkey64 routine is
2140 * available to firstkey in dbm files larger than 2 gigabytes.
2143 * This symbol, if defined, indicates that the nextkey64 routine is
2144 * available to nextkey in dbm files larger than 2 gigabytes.
2146 /*#define HAS_DBMINIT64 /**/
2147 /*#define HAS_DBMCLOSE64 /**/
2148 /*#define HAS_FETCH64 /**/
2149 /*#define HAS_STORE64 /**/
2150 /*#define HAS_DELETE64 /**/
2151 /*#define HAS_FIRSTKEY64 /**/
2152 /*#define HAS_NEXTKEY64 /**/
2154 /* USE_DYNAMIC_LOADING:
2155 * This symbol, if defined, indicates that dynamic loading of
2156 * some sort is available.
2158 #define USE_DYNAMIC_LOADING /**/
2161 * This symbol contains the type of the prefix structure element
2162 * in the <db.h> header file. In older versions of DB, it was
2163 * int, while in newer ones it is u_int32_t.
2166 * This symbol contains the type of the prefix structure element
2167 * in the <db.h> header file. In older versions of DB, it was
2168 * int, while in newer ones it is size_t.
2170 #define DB_Hash_t int /**/
2171 #define DB_Prefix_t int /**/
2174 * This symbol, if defined, indicates to the C program that it should
2175 * include <inttypes.h>.
2178 * This symbol will defined if the C compiler supports int64_t.
2179 * Usually the <inttypes.h> needs to be included, but sometimes
2180 * <sys/types.h> is enough.
2182 /*#define I_INTTYPES /**/
2183 /*#define HAS_INT64_T /**/
2186 * This symbol, if defined, indicates that <mntent.h> exists and
2187 * should be included.
2189 /*#define I_MNTENT /**/
2192 * This symbol, if defined, indicates that <poll.h> exists and
2193 * should be included.
2195 /*#define I_POLL /**/
2198 * This symbol, if defined, indicates that <sys/mman.h> exists and
2199 * should be included.
2201 /*#define I_SYS_MMAN /**/
2204 * This symbol, if defined, indicates that <sys/mount.h> exists and
2205 * should be included.
2207 /*#define I_SYS_MOUNT /**/
2210 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2211 * should be included.
2213 /*#define I_SYS_STATVFS /**/
2215 /* INSTALL_USR_BIN_PERL:
2216 * This symbol, if defined, indicates that Perl is to be installed
2217 * also as /usr/bin/perl.
2219 /*#define INSTALL_USR_BIN_PERL /**/
2222 * This symbol, if defined, indicates that the fstat64 routine is
2223 * available to stat files (fds) larger than 2 gigabytes.
2226 * This symbol, if defined, indicates that the ftruncate64 routine is
2227 * available to tell files larger than 2 gigabytes.
2230 * This symbol, if defined, indicates that the lseek64 routine is
2231 * available to seek files larger than 2 gigabytes.
2234 * This symbol, if defined, indicates that the lstat64 routine is
2235 * available to stat files (symlinks) larger than 2 gigabytes.
2238 * This symbol, if defined, indicates that the open64 routine is
2239 * available to open files larger than 2 gigabytes.
2242 * This symbol, if defined, indicates that the opendir64 routine is
2243 * available to opendir files larger than 2 gigabytes.
2246 * This symbol, if defined, indicates that the readdir64 routine is
2247 * available to readdir files larger than 2 gigabytes.
2250 * This symbol, if defined, indicates that the seekdir64 routine is
2251 * available to seekdir files larger than 2 gigabytes.
2254 * This symbol, if defined, indicates that the stat64 routine is
2255 * available to stat files larger than 2 gigabytes.
2258 * This symbol, if defined, indicates that the telldir64 routine is
2259 * available to telldir files larger than 2 gigabytes.
2262 * This symbol, if defined, indicates that the truncate64 routine is
2263 * available to truncate files larger than 2 gigabytes.
2266 * This symbol will be defined if the C compiler supports off64_t.
2268 /* HAS_STRUCT_DIRENT64:
2269 * This symbol will be defined if the C compiler supports struct dirent64.
2271 /*#define HAS_FSTAT64 /**/
2272 /*#define HAS_FTRUNCATE64 /**/
2273 /*#define HAS_LSEEK64 /**/
2274 /*#define HAS_LSTAT64 /**/
2275 /*#define HAS_OPEN64 /**/
2276 /*#define HAS_OPENDIR64 /**/
2277 /*#define HAS_READDIR64 /**/
2278 /*#define HAS_SEEKDIR64 /**/
2279 /*#define HAS_STAT64 /**/
2280 /*#define HAS_TELLDIR64 /**/
2281 /*#define HAS_TRUNCATE64 /**/
2282 /*#define HAS_OFF64_T /**/
2283 /*#define HAS_STRUCT_DIRENT64 /**/
2286 * This symbol contains the name of the private library for this package.
2287 * The library is private in the sense that it needn't be in anyone's
2288 * execution path, but it should be accessible by the world. The program
2289 * should be prepared to do ~ expansion.
2292 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2293 * in programs that are not prepared to deal with ~ expansion at run-time.
2295 #define PRIVLIB "c:\\perl\\5.00556\\lib" /**/
2296 #define PRIVLIB_EXP (win32_get_privlib("5.00556")) /**/
2299 * This symbol holds the minimum number of bits operated by select.
2300 * That is, if you do select(n, ...), how many bits at least will be
2301 * cleared in the masks if some activity is detected. Usually this
2302 * is either n or 32*ceil(n/32), especially many little-endians do
2303 * the latter. This is only useful if you have select(), naturally.
2305 #define SELECT_MIN_BITS 32 /**/
2308 * This symbol contains the name of the private library for this package.
2309 * The library is private in the sense that it needn't be in anyone's
2310 * execution path, but it should be accessible by the world. The program
2311 * should be prepared to do ~ expansion.
2312 * The standard distribution will put nothing in this directory.
2313 * Individual sites may place their own extensions and modules in
2317 * This symbol contains the ~name expanded version of SITEARCH, to be used
2318 * in programs that are not prepared to deal with ~ expansion at run-time.
2320 #define SITEARCH "c:\\perl\\site\\5.00556\\lib\\MSWin32-x86" /**/
2321 /*#define SITEARCH_EXP "" /**/
2324 * This symbol contains the name of the private library for this package.
2325 * The library is private in the sense that it needn't be in anyone's
2326 * execution path, but it should be accessible by the world. The program
2327 * should be prepared to do ~ expansion.
2328 * The standard distribution will put nothing in this directory.
2329 * Individual sites may place their own extensions and modules in
2333 * This symbol contains the ~name expanded version of SITELIB, to be used
2334 * in programs that are not prepared to deal with ~ expansion at run-time.
2336 #define SITELIB "c:\\perl\\site\\5.00556\\lib" /**/
2337 #define SITELIB_EXP (win32_get_sitelib("5.00556")) /**/
2340 * This variable contains the string to put in front of a perl
2341 * script to make sure (one hopes) that it runs with perl and not
2344 #define STARTPERL "#!perl" /**/
2347 * This symbol, if defined, indicates that the fgetpos64 routine is
2348 * available to getpos files larger than 2 gigabytes.
2351 * This symbol, if defined, indicates that the fopen64 routine is
2352 * available to open files larger than 2 gigabytes.
2355 * This symbol, if defined, indicates that the freopen64 routine is
2356 * available to reopen files larger than 2 gigabytes.
2359 * This symbol, if defined, indicates that the fseek64 routine is
2360 * available to seek files larger than 2 gigabytes.
2363 * This symbol, if defined, indicates that the fseeko64 routine is
2364 * available to seek files larger than 2 gigabytes.
2367 * This symbol, if defined, indicates that the fsetpos64 routine is
2368 * available to setpos files larger than 2 gigabytes.
2371 * This symbol, if defined, indicates that the ftell64 routine is
2372 * available to tell files larger than 2 gigabytes.
2375 * This symbol, if defined, indicates that the ftello64 routine is
2376 * available to tell files larger than 2 gigabytes.
2379 * This symbol, if defined, indicates that the tmpfile64 routine is
2380 * available to tmpfile files larger than 2 gigabytes.
2382 /*#define HAS_FGETPOS64 /**/
2383 /*#define HAS_FOPEN64 /**/
2384 /*#define HAS_FREOPEN64 /**/
2385 /*#define HAS_FSEEK64 /**/
2386 /*#define HAS_FSEEKO64 /**/
2387 /*#define HAS_FSETPOS64 /**/
2388 /*#define HAS_FTELL64 /**/
2389 /*#define HAS_FTELLO64 /**/
2390 /*#define HAS_TMPFILE64 /**/
2393 * This symbol, if defined, indicates that 64-bit interfaces should
2394 * be used when available. If not defined, the native default interfaces
2395 * will be used (be they 32 or 64 bits).
2397 /*#define USE_64_BITS /**/
2400 * This symbol, if defined, indicates that Perl should
2401 * be built to use multiplicity.
2403 /*#define MULTIPLICITY /**/
2406 * This symbol, if defined, indicates that the PerlIO abstraction should
2407 * be used throughout. If not defined, stdio should be
2408 * used in a fully backward compatible manner.
2410 /*#define USE_PERLIO /**/
2412 /* HAS_DRAND48_PROTO:
2413 * This symbol, if defined, indicates that the system provides
2414 * a prototype for the drand48() function. Otherwise, it is up
2415 * to the program to supply one. A good guess is
2416 * extern double drand48 _((void));
2418 /*#define HAS_DRAND48_PROTO /**/
2420 /* HAS_GETHOST_PROTOS:
2421 * This symbol, if defined, indicates that <netdb.h> includes
2422 * prototypes for gethostent(), gethostbyname(), and
2423 * gethostbyaddr(). Otherwise, it is up to the program to guess
2424 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2426 #define HAS_GETHOST_PROTOS /**/
2428 /* HAS_GETNET_PROTOS:
2429 * This symbol, if defined, indicates that <netdb.h> includes
2430 * prototypes for getnetent(), getnetbyname(), and
2431 * getnetbyaddr(). Otherwise, it is up to the program to guess
2432 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2434 /*#define HAS_GETNET_PROTOS /**/
2436 /* HAS_GETPROTO_PROTOS:
2437 * This symbol, if defined, indicates that <netdb.h> includes
2438 * prototypes for getprotoent(), getprotobyname(), and
2439 * getprotobyaddr(). Otherwise, it is up to the program to guess
2440 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2442 #define HAS_GETPROTO_PROTOS /**/
2444 /* HAS_GETSERV_PROTOS:
2445 * This symbol, if defined, indicates that <netdb.h> includes
2446 * prototypes for getservent(), getservbyname(), and
2447 * getservbyaddr(). Otherwise, it is up to the program to guess
2448 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2450 #define HAS_GETSERV_PROTOS /**/
2453 * This symbol holds the type used for the 1st argument
2454 * to gethostbyaddr().
2457 * This symbol holds the type used for the 2nd argument
2458 * to gethostbyaddr().
2461 * This symbol holds the type used for the argument to
2465 * This symbol holds the type used for the 1st argument to
2468 #define Netdb_host_t char * /**/
2469 #define Netdb_hlen_t int /**/
2470 #define Netdb_name_t char * /**/
2471 #define Netdb_net_t long /**/
2474 * This symbol holds the type used for the 2nd, 3rd, and 4th
2475 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2476 * is defined, and 'int *' otherwise. This is only useful if you
2477 * have select(), of course.
2479 #define Select_fd_set_t Perl_fd_set * /**/
2482 * This symbol holds a string representing the architecture name.
2483 * It may be used to construct an architecture-dependant pathname
2484 * where library files may be held under a private library, for
2487 #define ARCHNAME "MSWin32-x86" /**/
2489 /* OLD_PTHREAD_CREATE_JOINABLE:
2490 * This symbol, if defined, indicates how to create pthread
2491 * in joinable (aka undetached) state. NOTE: not defined
2492 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2493 * (the new version of the constant).
2494 * If defined, known values are PTHREAD_CREATE_UNDETACHED
2497 /*#define OLD_PTHREAD_CREATE_JOINABLE /**/
2499 /* HAS_PTHREAD_YIELD:
2500 * This symbol, if defined, indicates that the pthread_yield
2501 * routine is available to yield the execution of the current
2502 * thread. sched_yield is preferable to pthread_yield.
2505 * This symbol defines the way to yield the execution of
2506 * the current thread. Known ways are sched_yield,
2507 * pthread_yield, and pthread_yield with NULL.
2510 * This symbol, if defined, indicates that the sched_yield
2511 * routine is available to yield the execution of the current
2512 * thread. sched_yield is preferable to pthread_yield.
2514 /*#define HAS_PTHREAD_YIELD /**/
2515 #define SCHED_YIELD /**/
2516 /*#define HAS_SCHED_YIELD /**/
2519 * This symbol, if defined, indicates to the C program that it should
2520 * include <mach/cthreads.h>.
2522 /*#define I_MACH_CTHREADS /**/
2525 * This symbol, if defined, indicates that Perl should
2526 * be built to use threads.
2528 /* OLD_PTHREADS_API:
2529 * This symbol, if defined, indicates that Perl should
2530 * be built to use the old draft POSIX threads API.
2532 /*#define USE_THREADS /**/
2533 /*#define OLD_PTHREADS_API /**/
2536 * This symbol holds the type returned by time(). It can be long,
2537 * or time_t on BSD sites (in which case <sys/types.h> should be
2540 #define Time_t time_t /* Time type */
2543 * This symbol, if defined, indicates that the times() routine exists.
2544 * Note that this became obsolete on some systems (SUNOS), which now
2545 * use getrusage(). It may be necessary to include <sys/times.h>.
2547 #define HAS_TIMES /**/
2550 * This symbol holds the type used to declare file positions in libc.
2551 * It can be fpos_t, long, uint, etc... It may be necessary to include
2552 * <sys/types.h> to get any typedef'ed information.
2554 #define Fpos_t fpos_t /* File position type */
2557 * This symbol holds the return type of getgid() and the type of
2558 * argument to setrgid() and related functions. Typically,
2559 * it is the type of group ids in the kernel. It can be int, ushort,
2560 * uid_t, etc... It may be necessary to include <sys/types.h> to get
2561 * any typedef'ed information.
2563 #define Gid_t gid_t /* Type for getgid(), etc... */
2566 * This symbol holds the type used to declare offsets in the kernel.
2567 * It can be int, long, off_t, etc... It may be necessary to include
2568 * <sys/types.h> to get any typedef'ed information.
2571 * This symbol holds the number of bytes used by the Off_t.
2573 #define Off_t off_t /* <offset> type */
2574 #define LSEEKSIZE 4 /* <offset> size */
2577 * This symbol holds the type used to declare file modes
2578 * for systems calls. It is usually mode_t, but may be
2579 * int or unsigned short. It may be necessary to include <sys/types.h>
2580 * to get any typedef'ed information.
2582 #define Mode_t mode_t /* file mode parameter for system calls */
2585 * This symbol holds the type used to declare process ids in the kernel.
2586 * It can be int, uint, pid_t, etc... It may be necessary to include
2587 * <sys/types.h> to get any typedef'ed information.
2589 #define Pid_t int /* PID type */
2592 * This symbol holds the type used to declare length parameters
2593 * for string functions. It is usually size_t, but may be
2594 * unsigned long, int, etc. It may be necessary to include
2595 * <sys/types.h> to get any typedef'ed information.
2597 #define Size_t size_t /* length paramater for string functions */
2600 * This symbol holds the type used to declare user ids in the kernel.
2601 * It can be int, ushort, uid_t, etc... It may be necessary to include
2602 * <sys/types.h> to get any typedef'ed information.
2604 #define Uid_t uid_t /* UID type */