2 * This file was produced by running the config_h.SH script, which
3 * gets its values from uconfig.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 uconfig.sh and rerun config_h.SH.
10 * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
18 * Target system : unknown
25 * This symbol holds the complete pathname to the sed program.
27 #define LOC_SED "" /**/
30 * This symbol, if defined, indicates that the alarm routine is
33 /*#define HAS_ALARM / **/
36 * This symbol is defined if the bcmp() routine is available to
37 * compare blocks of memory.
39 /*#define HAS_BCMP / **/
42 * This symbol is defined if the bcopy() routine is available to
43 * copy blocks of memory.
45 /*#define HAS_BCOPY / **/
48 * This symbol is defined if the bzero() routine is available to
49 * set a memory block to 0.
51 /*#define HAS_BZERO / **/
54 * This symbol, if defined, indicates that the chown routine is
57 /*#define HAS_CHOWN / **/
60 * This symbol, if defined, indicates that the chroot routine is
63 /*#define HAS_CHROOT / **/
66 * This symbol, if defined, indicates that the chsize routine is available
67 * to truncate files. You might need a -lx to get this routine.
69 /*#define HAS_CHSIZE / **/
72 * This symbol, if defined, indicates that this C compiler knows about
73 * the const type. There is no need to actually test for that symbol
74 * within your programs. The mere use of the "const" keyword will
75 * trigger the necessary tests.
77 /*#define HASCONST / **/
83 * This symbol, if defined, indicates that the cuserid routine is
84 * available to get character login names.
86 /*#define HAS_CUSERID / **/
89 * This symbol, if defined, indicates that this system's <float.h>
90 * or <limits.h> defines the symbol DBL_DIG, which is the number
91 * of significant digits in a double precision number. If this
92 * symbol is not defined, a guess of 15 is usually pretty good.
94 /*#define HAS_DBL_DIG / * */
97 * This symbol, if defined, indicates that the difftime routine is
100 /*#define HAS_DIFFTIME / **/
103 * This symbol, if defined, indicates that the dlerror routine is
104 * available to return a string describing the last error that
105 * occurred from a call to dlopen(), dlclose() or dlsym().
107 /*#define HAS_DLERROR / **/
110 * This symbol, if defined, indicates that the dup2 routine is
111 * available to duplicate file descriptors.
113 /*#define HAS_DUP2 / **/
116 * This symbol, if defined, indicates that the fchmod routine is available
117 * to change mode of opened files. If unavailable, use chmod().
119 /*#define HAS_FCHMOD / **/
122 * This symbol, if defined, indicates that the fchown routine is available
123 * to change ownership of opened files. If unavailable, use chown().
125 /*#define HAS_FCHOWN / **/
128 * This symbol, if defined, indicates to the C program that
129 * the fcntl() function exists.
131 /*#define HAS_FCNTL / **/
134 * This symbol, if defined, indicates that the fgetpos routine is
135 * available to get the file position indicator, similar to ftell().
137 /*#define HAS_FGETPOS / **/
140 * This symbol, if defined, indicates that the flock routine is
141 * available to do file locking.
143 /*#define HAS_FLOCK / **/
146 * This symbol, if defined, indicates that the fork routine is
149 #define HAS_FORK /**/
152 * This symbol, if defined, indicates that the fsetpos routine is
153 * available to set the file position indicator, similar to fseek().
155 /*#define HAS_FSETPOS / **/
158 * This symbol, if defined, indicates that the gettimeofday() system
159 * call is available for a sub-second accuracy clock. Usually, the file
160 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
161 * The type "Timeval" should be used to refer to "struct timeval".
163 /*#define HAS_GETTIMEOFDAY / **/
164 #ifdef HAS_GETTIMEOFDAY
165 #define Timeval struct timeval /* Structure used by gettimeofday() */
169 * This symbol, if defined, indicates that the getgroups() routine is
170 * available to get the list of process groups. If unavailable, multiple
171 * groups are probably not supported.
173 /*#define HAS_GETGROUPS / **/
176 * This symbol, if defined, indicates that the getlogin routine is
177 * available to get the login name.
179 /*#define HAS_GETLOGIN / **/
182 * This symbol, if defined, indicates to the C program that
183 * the getpgid(pid) function is available to get the
186 /*#define HAS_GETPGID / **/
189 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
190 * routine is available to get the current process group.
192 /*#define HAS_GETPGRP2 / **/
195 * This symbol, if defined, indicates that the getppid routine is
196 * available to get the parent process ID.
198 /*#define HAS_GETPPID / **/
201 * This symbol, if defined, indicates that the getpriority routine is
202 * available to get a process's priority.
204 /*#define HAS_GETPRIORITY / **/
207 * This symbol, if defined, indicates to the C program that the
208 * inet_aton() function is available to parse IP address "dotted-quad"
211 /*#define HAS_INET_ATON / **/
214 * This symbol, if defined, indicates that the killpg routine is available
215 * to kill process groups. If unavailable, you probably should use kill
216 * with a negative process number.
218 /*#define HAS_KILLPG / **/
221 * This symbol, if defined, indicates that the link routine is
222 * available to create hard links.
224 /*#define HAS_LINK / **/
227 * This symbol, if defined, indicates that the localeconv routine is
228 * available for numeric and monetary formatting conventions.
230 /*#define HAS_LOCALECONV / **/
233 * This symbol, if defined, indicates that the lockf routine is
234 * available to do file locking.
236 /*#define HAS_LOCKF / **/
239 * This symbol, if defined, indicates that the lstat routine is
240 * available to do file stats on symbolic links.
242 /*#define HAS_LSTAT / **/
245 * This symbol, if defined, indicates that the mblen routine is available
246 * to find the number of bytes in a multibye character.
248 /*#define HAS_MBLEN / **/
251 * This symbol, if defined, indicates that the mbstowcs routine is
252 * available to covert a multibyte string into a wide character string.
254 /*#define HAS_MBSTOWCS / **/
257 * This symbol, if defined, indicates that the mbtowc routine is available
258 * to covert a multibyte to a wide character.
260 /*#define HAS_MBTOWC / **/
263 * This symbol, if defined, indicates that the memcmp routine is available
264 * to compare blocks of memory.
266 /*#define HAS_MEMCMP / **/
269 * This symbol, if defined, indicates that the memcpy routine is available
270 * to copy blocks of memory.
272 /*#define HAS_MEMCPY / **/
275 * This symbol, if defined, indicates that the memmove routine is available
276 * to copy potentially overlapping blocks of memory. This should be used
277 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
280 /*#define HAS_MEMMOVE / **/
283 * This symbol, if defined, indicates that the memset routine is available
284 * to set blocks of memory.
286 /*#define HAS_MEMSET / **/
289 * This symbol, if defined, indicates that the mkdir routine is available
290 * to create directories. Otherwise you should fork off a new process to
293 /*#define HAS_MKDIR / **/
296 * This symbol, if defined, indicates that the mkfifo routine is
297 * available to create FIFOs. Otherwise, mknod should be able to
298 * do it for you. However, if mkfifo is there, mknod might require
299 * super-user privileges which mkfifo will not.
301 /*#define HAS_MKFIFO / **/
304 * This symbol, if defined, indicates that the mktime routine is
307 /*#define HAS_MKTIME / **/
310 * This symbol, if defined, indicates that the msync system call is
311 * available to synchronize a mapped file.
313 /*#define HAS_MSYNC / **/
316 * This symbol, if defined, indicates that the munmap system call is
317 * available to unmap a region, usually mapped by mmap().
319 /*#define HAS_MUNMAP / **/
322 * This symbol, if defined, indicates that the nice routine is
325 /*#define HAS_NICE / **/
328 * This symbol, if defined, indicates that pathconf() is available
329 * to determine file-system related limits and options associated
330 * with a given filename.
333 * This symbol, if defined, indicates that pathconf() is available
334 * to determine file-system related limits and options associated
335 * with a given open file descriptor.
337 /*#define HAS_PATHCONF / **/
338 /*#define HAS_FPATHCONF / **/
341 * This symbol, if defined, indicates that the pause routine is
342 * available to suspend a process until a signal is received.
344 /*#define HAS_PAUSE / **/
347 * This symbol, if defined, indicates that the pipe routine is
348 * available to create an inter-process channel.
350 /*#define HAS_PIPE / **/
353 * This symbol, if defined, indicates that the poll routine is
354 * available to poll active file descriptors. You may safely
355 * include <poll.h> when this symbol is defined.
357 /*#define HAS_POLL / **/
360 * This symbol, if defined, indicates that the readdir routine is
361 * available to read directory entries. You may have to include
362 * <dirent.h>. See I_DIRENT.
364 /*#define HAS_READDIR / **/
367 * This symbol, if defined, indicates that the seekdir routine is
368 * available. You may have to include <dirent.h>. See I_DIRENT.
370 /*#define HAS_SEEKDIR / **/
373 * This symbol, if defined, indicates that the telldir routine is
374 * available. You may have to include <dirent.h>. See I_DIRENT.
376 /*#define HAS_TELLDIR / **/
379 * This symbol, if defined, indicates that the rewinddir routine is
380 * available. You may have to include <dirent.h>. See I_DIRENT.
382 /*#define HAS_REWINDDIR / **/
385 * This symbol, if defined, indicates that the readlink routine is
386 * available to read the value of a symbolic link.
388 /*#define HAS_READLINK / **/
391 * This symbol, if defined, indicates that the rename routine is available
392 * to rename files. Otherwise you should do the unlink(), link(), unlink()
395 /*#define HAS_RENAME / **/
398 * This symbol, if defined, indicates that the rmdir routine is
399 * available to remove directories. Otherwise you should fork off a
400 * new process to exec /bin/rmdir.
402 /*#define HAS_RMDIR / **/
405 * This symbol, if defined, indicates that the select routine is
406 * available to select active file descriptors. If the timeout field
407 * is used, <sys/time.h> may need to be included.
409 /*#define HAS_SELECT / **/
412 * This symbol, if defined, indicates that the setegid routine is available
413 * to change the effective gid of the current program.
415 /*#define HAS_SETEGID / **/
418 * This symbol, if defined, indicates that the seteuid routine is available
419 * to change the effective uid of the current program.
421 /*#define HAS_SETEUID / **/
424 * This symbol, if defined, indicates that the setlinebuf routine is
425 * available to change stderr or stdout from block-buffered or unbuffered
426 * to a line-buffered mode.
428 /*#define HAS_SETLINEBUF / **/
431 * This symbol, if defined, indicates that the setlocale routine is
432 * available to handle locale-specific ctype implementations.
434 /*#define HAS_SETLOCALE / **/
437 * This symbol, if defined, indicates that the setpgid(pid, gpid)
438 * routine is available to set process group ID.
440 /*#define HAS_SETPGID / **/
443 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
444 * routine is available to set the current process group.
446 /*#define HAS_SETPGRP2 / **/
449 * This symbol, if defined, indicates that the setpriority routine is
450 * available to set a process's priority.
452 /*#define HAS_SETPRIORITY / **/
455 * This symbol, if defined, indicates that the setregid routine is
456 * available to change the real and effective gid of the current
460 * This symbol, if defined, indicates that the setresgid routine is
461 * available to change the real, effective and saved gid of the current
464 /*#define HAS_SETREGID / **/
465 /*#define HAS_SETRESGID / **/
468 * This symbol, if defined, indicates that the setreuid routine is
469 * available to change the real and effective uid of the current
473 * This symbol, if defined, indicates that the setresuid routine is
474 * available to change the real, effective and saved uid of the current
477 /*#define HAS_SETREUID / **/
478 /*#define HAS_SETRESUID / **/
481 * This symbol, if defined, indicates that the setrgid routine is available
482 * to change the real gid of the current program.
484 /*#define HAS_SETRGID / **/
487 * This symbol, if defined, indicates that the setruid routine is available
488 * to change the real uid of the current program.
490 /*#define HAS_SETRUID / **/
493 * This symbol, if defined, indicates that the setsid routine is
494 * available to set the process group ID.
496 /*#define HAS_SETSID / **/
499 * This symbol is defined to indicate that the strchr()/strrchr()
500 * functions are available for string searching. If not, try the
501 * index()/rindex() pair.
504 * This symbol is defined to indicate that the index()/rindex()
505 * functions are available for string searching.
507 /*#define HAS_STRCHR / **/
508 /*#define HAS_INDEX / **/
511 * This symbol, if defined, indicates that the strcoll routine is
512 * available to compare strings using collating information.
514 /*#define HAS_STRCOLL / **/
517 * This symbol, if defined, indicates that this C compiler knows how
518 * to copy structures. If undefined, you'll need to use a block copy
519 * routine of some sort instead.
521 /*#define USE_STRUCT_COPY / **/
524 * This symbol, if defined, indicates that the strtod routine is
525 * available to provide better numeric string conversion than atof().
527 /*#define HAS_STRTOD / **/
530 * This symbol, if defined, indicates that the strtol routine is available
531 * to provide better numeric string conversion than atoi() and friends.
533 /*#define HAS_STRTOL / **/
536 * This symbol, if defined, indicates that the strxfrm() routine is
537 * available to transform strings.
539 /*#define HAS_STRXFRM / **/
542 * This symbol, if defined, indicates that the symlink routine is available
543 * to create symbolic links.
545 /*#define HAS_SYMLINK / **/
548 * This symbol, if defined, indicates that the syscall routine is
549 * available to call arbitrary system calls. If undefined, that's tough.
551 /*#define HAS_SYSCALL / **/
554 * This symbol, if defined, indicates that sysconf() is available
555 * to determine system related limits and options.
557 /*#define HAS_SYSCONF / **/
560 * This symbol, if defined, indicates that the system routine is
561 * available to issue a shell command.
563 /*#define HAS_SYSTEM / **/
566 * This symbol, if defined, indicates that the tcgetpgrp routine is
567 * available to get foreground process group ID.
569 /*#define HAS_TCGETPGRP / **/
572 * This symbol, if defined, indicates that the tcsetpgrp routine is
573 * available to set foreground process group ID.
575 /*#define HAS_TCSETPGRP / **/
578 * This symbol, if defined, indicates that the truncate routine is
579 * available to truncate files.
581 /*#define HAS_TRUNCATE / **/
584 * This symbol, if defined, indicates that the tzname[] array is
585 * available to access timezone names.
587 /*#define HAS_TZNAME / **/
590 * This symbol, if defined, indicates that the umask routine is
591 * available to set and get the value of the file creation mask.
593 /*#define HAS_UMASK / **/
596 * This symbol, if defined, indicates that the usleep routine is
597 * available to let the process sleep on a sub-second accuracy.
599 /*#define HAS_USLEEP / **/
602 * This symbol, if defined, indicates that this C compiler knows about
603 * the volatile declaration.
605 /*#define HASVOLATILE / **/
611 * This symbol, if defined, indicates that wait4() exists.
613 /*#define HAS_WAIT4 / **/
616 * This symbol, if defined, indicates that the waitpid routine is
617 * available to wait for child process.
619 /*#define HAS_WAITPID / **/
622 * This symbol, if defined, indicates that the wcstombs routine is
623 * available to convert wide character strings to multibyte strings.
625 /*#define HAS_WCSTOMBS / **/
628 * This symbol, if defined, indicates that the wctomb routine is available
629 * to covert a wide character to a multibyte.
631 /*#define HAS_WCTOMB / **/
634 * This symbol, if defined, indicates to the C program that it should
635 * include <arpa/inet.h> to get inet_addr and friends declarations.
637 /*#define I_ARPA_INET / **/
640 * This symbol, if defined, indicates that <dbm.h> exists and should
644 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
645 * should be included.
647 /*#define I_DBM / **/
648 /*#define I_RPCSVC_DBM / **/
651 * This symbol, if defined, indicates to the C program that it should
652 * include <dirent.h>. Using this symbol also triggers the definition
653 * of the Direntry_t define which ends up being 'struct dirent' or
654 * 'struct direct' depending on the availability of <dirent.h>.
657 * This symbol, if defined, indicates to the C program that the length
658 * of directory entry names is provided by a d_namlen field. Otherwise
659 * you need to do strlen() on the d_name field.
662 * This symbol is set to 'struct direct' or 'struct dirent' depending on
663 * whether dirent is available or not. You should use this pseudo type to
664 * portably declare your directory entries.
666 /*#define I_DIRENT / **/
667 /*#define DIRNAMLEN / **/
668 #define Direntry_t struct dirent
671 * This symbol, if defined, indicates that <dlfcn.h> exists and should
674 /*#define I_DLFCN / **/
677 * This manifest constant tells the C program to include <fcntl.h>.
679 /*#define I_FCNTL / **/
682 * This symbol, if defined, indicates to the C program that it should
683 * include <float.h> to get definition of symbols like DBL_MAX or
684 * DBL_MIN, i.e. machine dependent floating point values.
686 /*#define I_FLOAT / **/
689 * This symbol, if defined, indicates to the C program that it should
690 * include <limits.h> to get definition of symbols like WORD_BIT or
691 * LONG_MAX, i.e. machine dependant limitations.
693 /*#define I_LIMITS / **/
696 * This symbol, if defined, indicates to the C program that it should
697 * include <locale.h>.
699 /*#define I_LOCALE / **/
702 * This symbol, if defined, indicates to the C program that it should
708 * This symbol, if defined, indicates to the C program that it should
709 * include <memory.h>.
711 /*#define I_MEMORY / **/
714 * This symbol, if defined, indicates that <net/errno.h> exists and
715 * should be included.
717 /*#define I_NET_ERRNO / **/
720 * This symbol, if defined, indicates to the C program that it should
721 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
723 /*#define I_NETINET_IN / **/
726 * This symbol, if defined, indicates to the C program that it should
729 /*#define I_SFIO / **/
732 * This symbol, if defined, indicates that <stddef.h> exists and should
735 /*#define I_STDDEF / **/
738 * This symbol, if defined, indicates that <stdlib.h> exists and should
741 /*#define I_STDLIB / **/
744 * This symbol, if defined, indicates to the C program that it should
745 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
747 #define I_STRING /**/
750 * This symbol, if defined, indicates to the C program that it should
751 * include <sys/dir.h>.
753 /*#define I_SYS_DIR / **/
756 * This symbol, if defined, indicates to the C program that it should
757 * include <sys/file.h> to get definition of R_OK and friends.
759 /*#define I_SYS_FILE / **/
762 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
763 * be included. Otherwise, include <sgtty.h> or <termio.h>.
766 * This symbol, if defined, indicates the <sys/sockio.h> should be included
767 * to get socket ioctl options, like SIOCATMARK.
769 /*#define I_SYS_IOCTL / **/
770 /*#define I_SYS_SOCKIO / **/
773 * This symbol, if defined, indicates to the C program that it should
774 * include <sys/ndir.h>.
776 /*#define I_SYS_NDIR / **/
779 * This symbol, if defined, indicates to the C program that it should
780 * include <sys/param.h>.
782 /*#define I_SYS_PARAM / **/
785 * This symbol, if defined, indicates to the C program that it should
786 * include <sys/resource.h>.
788 /*#define I_SYS_RESOURCE / **/
791 * This symbol, if defined, indicates to the C program that it should
792 * include <sys/select.h> in order to get definition of struct timeval.
794 /*#define I_SYS_SELECT / **/
797 * This symbol, if defined, indicates to the C program that it should
798 * include <sys/stat.h>.
800 #define I_SYS_STAT /**/
803 * This symbol, if defined, indicates to the C program that it should
804 * include <sys/times.h>.
806 /*#define I_SYS_TIMES / **/
809 * This symbol, if defined, indicates to the C program that it should
810 * include <sys/types.h>.
812 /*#define I_SYS_TYPES / **/
815 * This symbol, if defined, indicates to the C program that it should
816 * include <sys/un.h> to get UNIX domain socket definitions.
818 /*#define I_SYS_UN / **/
821 * This symbol, if defined, indicates to the C program that it should
822 * include <sys/wait.h>.
824 /*#define I_SYS_WAIT / **/
827 * This symbol, if defined, indicates that the program should include
828 * <termio.h> rather than <sgtty.h>. There are also differences in
829 * the ioctl() calls that depend on the value of this symbol.
832 * This symbol, if defined, indicates that the program should include
833 * the POSIX termios.h rather than sgtty.h or termio.h.
834 * There are also differences in the ioctl() calls that depend on the
835 * value of this symbol.
838 * This symbol, if defined, indicates that the program should include
839 * <sgtty.h> rather than <termio.h>. There are also differences in
840 * the ioctl() calls that depend on the value of this symbol.
842 /*#define I_TERMIO / **/
843 /*#define I_TERMIOS / **/
844 /*#define I_SGTTY / **/
847 * This symbol, if defined, indicates to the C program that it should
848 * include <unistd.h>.
850 /*#define I_UNISTD / **/
853 * This symbol, if defined, indicates to the C program that it should
856 /*#define I_UTIME / **/
859 * This symbol, if defined, indicates to the C program that it should
860 * include <values.h> to get definition of symbols like MINFLOAT or
861 * MAXLONG, i.e. machine dependant limitations. Probably, you
862 * should use <limits.h> instead, if it is available.
864 /*#define I_VALUES / **/
867 * This symbol, if defined, indicates to the C program that it should
870 /*#define I_VFORK / **/
873 * This symbol contains the value of sizeof(int) so that the C
874 * preprocessor can make decisions based on it.
877 * This symbol contains the value of sizeof(long) so that the C
878 * preprocessor can make decisions based on it.
881 * This symbol contains the value of sizeof(short) so that the C
882 * preprocessor can make decisions based on it.
884 #define INTSIZE 4 /**/
885 #define LONGSIZE 4 /**/
886 #define SHORTSIZE 2 /**/
889 * This symbol, if defined, signifies that the build
890 * process will produce some binary files that are going to be
891 * used in a cross-platform environment. This is the case for
892 * example with the NeXT "fat" binaries that contain executables
895 /*#define MULTIARCH / **/
898 * This symbol, if defined, tells that there's a 64-bit integer type,
899 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
900 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
902 /*#define HAS_QUAD / **/
904 # define Quad_t int64_t /**/
905 # define Uquad_t uint64_t /**/
906 # define QUADKIND 4 /**/
907 # define QUAD_IS_INT 1
908 # define QUAD_IS_LONG 2
909 # define QUAD_IS_LONG_LONG 3
910 # define QUAD_IS_INT64_T 4
914 * This symbol, if defined, indicates that the accessx routine is
915 * available to do extended access checks.
917 /*#define HAS_ACCESSX / **/
920 * This symbol, if defined, indicates that the eaccess routine is
921 * available to do extended access checks.
923 /*#define HAS_EACCESS / **/
926 * This symbol, if defined, indicates to the C program that it should
927 * include <sys/access.h>.
929 /*#define I_SYS_ACCESS / **/
932 * This symbol, if defined, indicates to the C program that it should
933 * include <sys/security.h>.
935 /*#define I_SYS_SECURITY / **/
938 * This symbol contains the number of bytes required to align a
939 * double, or a long double when applicable. Usual values are 2,
940 * 4 and 8. The default is eight, for safety.
942 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
943 # define MEM_ALIGNBYTES 8
945 #define MEM_ALIGNBYTES 4
949 * This symbol holds the hexadecimal constant defined in byteorder,
950 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
951 * If the compiler supports cross-compiling or multiple-architecture
952 * binaries (eg. on NeXT systems), use compiler-defined macros to
953 * determine the byte order.
954 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
955 * Binaries (MAB) on either big endian or little endian machines.
956 * The endian-ness is available at compile-time. This only matters
957 * for perl, where the config.h can be generated and installed on
958 * one system, and used by a different architecture to build an
959 * extension. Older versions of NeXT that might not have
960 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
961 * so the default case (for NeXT) is big endian to catch them.
962 * This might matter for NeXT 3.0.
964 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
965 # ifdef __LITTLE_ENDIAN__
967 # define BYTEORDER 0x1234
970 # define BYTEORDER 0x12345678
974 # ifdef __BIG_ENDIAN__
976 # define BYTEORDER 0x4321
979 # define BYTEORDER 0x87654321
984 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
985 # define BYTEORDER 0x4321
988 #define BYTEORDER 0x1234 /* large digits for MSB */
992 * This symbol is defined if the C compiler can cast negative
993 * or large floating point numbers to 32-bit ints.
995 /*#define CASTI32 / **/
998 * This symbol is defined if the C compiler can cast negative
999 * numbers to unsigned longs, ints and shorts.
1002 * This symbol contains flags that say what difficulties the compiler
1003 * has casting odd floating values to unsigned long:
1005 * 1 = couldn't cast < 0
1006 * 2 = couldn't cast >= 0x80000000
1007 * 4 = couldn't cast in argument expression list
1009 /*#define CASTNEGFLOAT / **/
1010 #define CASTFLAGS 0 /**/
1013 * This symbol, if defined, indicates that the closedir() routine
1014 * does not return a value.
1016 /*#define VOID_CLOSEDIR / **/
1019 * This symbol, when defined, indicates presence of the fd_set typedef
1022 /*#define HAS_FD_SET / **/
1025 * This preprocessor macro is defined to convert a floating point
1026 * number to a string without a trailing decimal point. This
1027 * emulates the behavior of sprintf("%g"), but is sometimes much more
1028 * efficient. If gconvert() is not available, but gcvt() drops the
1029 * trailing decimal point, then gcvt() is used. If all else fails,
1030 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1031 * macro are: value, number of digits, whether trailing zeros should
1032 * be retained, and the output buffer.
1033 * The usual values are:
1034 * d_Gconvert='gconvert((x),(n),(t),(b))'
1035 * d_Gconvert='gcvt((x),(n),(b))'
1036 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1037 * The last two assume trailing zeros should not be kept.
1039 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1042 * This symbol, if defined, indicates that the getpagesize system call
1043 * is available to get system page size, which is the granularity of
1044 * many memory management calls.
1046 /*#define HAS_GETPAGESIZE / **/
1049 * This symbol, if defined, indicates to the C program that
1050 * the GNU C library is being used. A better check is to use
1051 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
1053 /*#define HAS_GNULIBC / **/
1054 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1055 # define _GNU_SOURCE
1058 * This manifest constant lets the C program know that isascii
1061 /*#define HAS_ISASCII / **/
1064 * This symbol, if defined, indicates that the lchown routine is
1065 * available to operate on a symbolic link (instead of following the
1068 /*#define HAS_LCHOWN / **/
1071 * This manifest constant lets the C program know that the three
1072 * argument form of open(2) is available.
1074 /*#define HAS_OPEN3 / **/
1077 * This symbol, if defined, indicates that the bcopy routine is available
1078 * to copy potentially overlapping memory blocks. Normally, you should
1079 * probably use memmove() or memcpy(). If neither is defined, roll your
1082 /*#define HAS_SAFE_BCOPY / **/
1085 * This symbol, if defined, indicates that the memcpy routine is available
1086 * to copy potentially overlapping memory blocks. If you need to
1087 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
1088 * use memmove() instead, if available.
1090 /*#define HAS_SAFE_MEMCPY / **/
1093 * This symbol, if defined, indicates that the memcmp routine is available
1094 * and can be used to compare relative magnitudes of chars with their high
1095 * bits set. If it is not defined, roll your own version.
1097 /*#define HAS_SANE_MEMCMP / **/
1100 * This symbol, if defined, indicates that Vr4's sigaction() routine
1103 /*#define HAS_SIGACTION / **/
1106 * This variable indicates to the C program that the sigsetjmp()
1107 * routine is available to save the calling process's registers
1108 * and stack environment for later use by siglongjmp(), and
1109 * to optionally save the process's signal mask. See
1110 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
1113 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1116 * This macro is used in the same way as sigsetjmp(), but will invoke
1117 * traditional setjmp() if sigsetjmp isn't available.
1118 * See HAS_SIGSETJMP.
1121 * This macro is used in the same way as siglongjmp(), but will invoke
1122 * traditional longjmp() if siglongjmp isn't available.
1123 * See HAS_SIGSETJMP.
1125 /*#define HAS_SIGSETJMP / **/
1126 #ifdef HAS_SIGSETJMP
1127 #define Sigjmp_buf sigjmp_buf
1128 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1129 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1131 #define Sigjmp_buf jmp_buf
1132 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1133 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1137 * This symbol is defined if the _ptr and _cnt fields (or similar)
1138 * of the stdio FILE structure can be used to access the stdio buffer
1139 * for a file handle. If this is defined, then the FILE_ptr(fp)
1140 * and FILE_cnt(fp) macros will also be defined and should be used
1141 * to access these fields.
1144 * This macro is used to access the _ptr field (or equivalent) of the
1145 * FILE structure pointed to by its argument. This macro will always be
1146 * defined if USE_STDIO_PTR is defined.
1148 /* STDIO_PTR_LVALUE:
1149 * This symbol is defined if the FILE_ptr macro can be used as an
1153 * This macro is used to access the _cnt field (or equivalent) of the
1154 * FILE structure pointed to by its argument. This macro will always be
1155 * defined if USE_STDIO_PTR is defined.
1157 /* STDIO_CNT_LVALUE:
1158 * This symbol is defined if the FILE_cnt macro can be used as an
1161 /* STDIO_PTR_LVAL_SETS_CNT:
1162 * This symbol is defined if using the FILE_ptr macro as an lvalue
1163 * to increase the pointer by n has the side effect of decreasing the
1164 * value of File_cnt(fp) by n.
1166 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
1167 * This symbol is defined if using the FILE_ptr macro as an lvalue
1168 * to increase the pointer by n leaves File_cnt(fp) unchanged.
1170 /*#define USE_STDIO_PTR / **/
1171 #ifdef USE_STDIO_PTR
1172 #define FILE_ptr(fp) ((fp)->_IO_read_ptr)
1173 /*#define STDIO_PTR_LVALUE / **/
1174 #define FILE_cnt(fp) ((fp)->_IO_read_end - (fp)->_IO_read_ptr)
1175 /*#define STDIO_CNT_LVALUE / **/
1176 /*#define STDIO_PTR_LVAL_SETS_CNT / **/
1177 /*#define STDIO_PTR_LVAL_NOCHANGE_CNT / **/
1181 * This symbol is defined if the _base field (or similar) of the
1182 * stdio FILE structure can be used to access the stdio buffer for
1183 * a file handle. If this is defined, then the FILE_base(fp) macro
1184 * will also be defined and should be used to access this field.
1185 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1186 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1187 * will never be defined unless USE_STDIO_PTR is.
1190 * This macro is used to access the _base field (or equivalent) of the
1191 * FILE structure pointed to by its argument. This macro will always be
1192 * defined if USE_STDIO_BASE is defined.
1195 * This macro is used to determine the number of bytes in the I/O
1196 * buffer pointed to by _base field (or equivalent) of the FILE
1197 * structure pointed to its argument. This macro will always be defined
1198 * if USE_STDIO_BASE is defined.
1200 /*#define USE_STDIO_BASE / **/
1201 #ifdef USE_STDIO_BASE
1202 #define FILE_base(fp) ((fp)->_IO_read_base)
1203 #define FILE_bufsiz(fp) ((fp)->_IO_read_end - (fp)->_IO_read_base)
1207 * This symbol, if defined, indicates that the vprintf routine is available
1208 * to printf with a pointer to an argument list. If unavailable, you
1209 * may need to write your own, probably in terms of _doprnt().
1211 /* USE_CHAR_VSPRINTF:
1212 * This symbol is defined if this system has vsprintf() returning type
1213 * (char*). The trend seems to be to declare it as "int vsprintf()". It
1214 * is up to the package author to declare vsprintf correctly based on the
1217 #define HAS_VPRINTF /**/
1218 /*#define USE_CHAR_VSPRINTF / **/
1221 * This symbol contains the size of a double, so that the C preprocessor
1222 * can make decisions based on it.
1224 #define DOUBLESIZE 8 /**/
1227 * This symbol, if defined, indicates to the C program that it should
1231 * This symbol, if defined, indicates to the C program that it should
1232 * include <sys/time.h>.
1234 /* I_SYS_TIME_KERNEL:
1235 * This symbol, if defined, indicates to the C program that it should
1236 * include <sys/time.h> with KERNEL defined.
1239 * This symbol, if defined, indicates to the C program that
1240 * the struct tm has a tm_zone field.
1242 /* HAS_TM_TM_GMTOFF:
1243 * This symbol, if defined, indicates to the C program that
1244 * the struct tm has a tm_gmtoff field.
1247 /*#define I_SYS_TIME / **/
1248 /*#define I_SYS_TIME_KERNEL / **/
1249 /*#define HAS_TM_TM_ZONE / **/
1250 /*#define HAS_TM_TM_GMTOFF / **/
1253 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1254 * non-blocking I/O for the file descriptor. Note that there is no way
1255 * back, i.e. you cannot turn it blocking again this way. If you wish to
1256 * alternatively switch between blocking and non-blocking, use the
1257 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1260 * This symbol holds the errno error code set by read() when no data was
1261 * present on the non-blocking file descriptor.
1264 * This symbol holds the return code from read() when no data is present
1265 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1266 * not defined, then you can't distinguish between no data and EOF by
1267 * issuing a read(). You'll have to find another way to tell for sure!
1270 * This symbol, if defined, indicates to the C program that a read() on
1271 * a non-blocking file descriptor will return 0 on EOF, and not the value
1272 * held in RD_NODATA (-1 usually, in that case!).
1274 #define VAL_O_NONBLOCK O_NONBLOCK
1275 #define VAL_EAGAIN EAGAIN
1276 #define RD_NODATA -1
1280 * This symbol contains the size of a pointer, so that the C preprocessor
1281 * can make decisions based on it. It will be sizeof(void *) if
1282 * the compiler supports (void *); otherwise it will be
1285 #define PTRSIZE 4 /**/
1288 * This macro is to be used to generate uniformly distributed
1289 * random numbers over the range [0., 1.[. You may have to supply
1290 * an 'extern double drand48();' in your program since SunOS 4.1.3
1291 * doesn't provide you with anything relevant in its headers.
1292 * See HAS_DRAND48_PROTO.
1295 * This symbol defines the type of the argument of the
1296 * random seed function.
1299 * This symbol defines the macro to be used in seeding the
1300 * random number generator (see Drand01).
1303 * This symbol indicates how many bits are produced by the
1304 * function used to generate normalized random numbers.
1305 * Values include 15, 16, 31, and 48.
1307 #define Drand01() ((rand() & 0x7FFF) / (double) ((unsigned long)1 << 15)) /**/
1308 #define Rand_seed_t int /**/
1309 #define seedDrand01(x) srand((Rand_seed_t)x) /**/
1310 #define RANDBITS 48 /**/
1313 * This symbol holds the type used by functions that return
1314 * a count of bytes or an error condition. It must be a signed type.
1315 * It is usually ssize_t, but may be long or int, etc.
1316 * It may be necessary to include <sys/types.h> or <unistd.h>
1317 * to get any typedef'ed information.
1318 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1320 #define SSize_t int /* signed count of bytes */
1323 * This symbol, if defined, indicates that this system uses
1326 /*#define EBCDIC / **/
1329 * This variable, if defined, holds the name of the directory in
1330 * which the user wants to put architecture-dependent public
1331 * library files for . It is most often a local directory
1332 * such as /usr/local/lib. Programs using this variable must be
1333 * prepared to deal with filename expansion. If ARCHLIB is the
1334 * same as PRIVLIB, it is not defined, since presumably the
1335 * program already searches PRIVLIB.
1338 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1339 * in programs that are not prepared to deal with ~ expansion at run-time.
1341 /*#define ARCHLIB "/usr/local/lib/perl5/5.7/unknown" / **/
1342 /*#define ARCHLIB_EXP "/usr/local/lib/perl5/5.7/unknown" / **/
1345 * This symbol holds the path of the bin directory where the package will
1346 * be installed. Program must be prepared to deal with ~name substitution.
1349 * This symbol is the filename expanded version of the BIN symbol, for
1350 * programs that do not want to deal with that at run-time.
1352 #define BIN "/usr/local/bin" /**/
1353 #define BIN_EXP "" /**/
1355 /* PERL_INC_VERSION_LIST:
1356 * This variable specifies the list of subdirectories in over
1357 * which perl.c:incpush() and lib/lib.pm will automatically
1358 * search when adding directories to @INC, in a format suitable
1359 * for a C initialization string. See the inc_version_list entry
1360 * in Porting/Glossary for more details.
1362 #define PERL_INC_VERSION_LIST NULL /**/
1364 /* INSTALL_USR_BIN_PERL:
1365 * This symbol, if defined, indicates that Perl is to be installed
1366 * also as /usr/bin/perl.
1368 /*#define INSTALL_USR_BIN_PERL / **/
1370 /* PERL_OTHERLIBDIRS:
1371 * This variable contains a colon-separated set of paths for the perl
1372 * binary to search for additional library files or modules.
1373 * These directories will be tacked to the end of @INC.
1374 * Perl will automatically search below each path for version-
1375 * and architecture-specific directories. See PERL_INC_VERSION_LIST
1378 /*#define PERL_OTHERLIBDIRS "" / **/
1381 * This symbol contains the name of the private library for this package.
1382 * The library is private in the sense that it needn't be in anyone's
1383 * execution path, but it should be accessible by the world. The program
1384 * should be prepared to do ~ expansion.
1387 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1388 * in programs that are not prepared to deal with ~ expansion at run-time.
1390 #define PRIVLIB "/usr/local/lib/perl5/5.7" /**/
1391 #define PRIVLIB_EXP "/usr/local/lib/perl5/5.7" /**/
1394 * This symbol contains the name of the private library for this package.
1395 * The library is private in the sense that it needn't be in anyone's
1396 * execution path, but it should be accessible by the world. The program
1397 * should be prepared to do ~ expansion.
1398 * The standard distribution will put nothing in this directory.
1399 * After perl has been installed, users may install their own local
1400 * architecture-dependent modules in this directory with
1401 * MakeMaker Makefile.PL
1402 * or equivalent. See INSTALL for details.
1405 * This symbol contains the ~name expanded version of SITEARCH, to be used
1406 * in programs that are not prepared to deal with ~ expansion at run-time.
1408 #define SITEARCH "" /**/
1409 #define SITEARCH_EXP "" /**/
1412 * This symbol contains the name of the private library for this package.
1413 * The library is private in the sense that it needn't be in anyone's
1414 * execution path, but it should be accessible by the world. The program
1415 * should be prepared to do ~ expansion.
1416 * The standard distribution will put nothing in this directory.
1417 * After perl has been installed, users may install their own local
1418 * architecture-independent modules in this directory with
1419 * MakeMaker Makefile.PL
1420 * or equivalent. See INSTALL for details.
1423 * This symbol contains the ~name expanded version of SITELIB, to be used
1424 * in programs that are not prepared to deal with ~ expansion at run-time.
1427 * This define is SITELIB_EXP with any trailing version-specific component
1428 * removed. The elements in inc_version_list (inc_version_list.U) can
1429 * be tacked onto this variable to generate a list of directories to search.
1431 #define SITELIB "" /**/
1432 #define SITELIB_EXP "" /**/
1433 #define SITELIB_STEM "" /**/
1436 * If defined, this symbol contains the name of a private library.
1437 * The library is private in the sense that it needn't be in anyone's
1438 * execution path, but it should be accessible by the world.
1439 * It may have a ~ on the front.
1440 * The standard distribution will put nothing in this directory.
1441 * Vendors who distribute perl may wish to place their own
1442 * architecture-dependent modules and extensions in this directory with
1443 * MakeMaker Makefile.PL INSTALLDIRS=vendor
1444 * or equivalent. See INSTALL for details.
1446 /* PERL_VENDORARCH_EXP:
1447 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
1448 * in programs that are not prepared to deal with ~ expansion at run-time.
1450 /*#define PERL_VENDORARCH "" / **/
1451 /*#define PERL_VENDORARCH_EXP "" / **/
1453 /* PERL_VENDORLIB_EXP:
1454 * This symbol contains the ~name expanded version of VENDORLIB, to be used
1455 * in programs that are not prepared to deal with ~ expansion at run-time.
1457 /* PERL_VENDORLIB_STEM:
1458 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
1459 * removed. The elements in inc_version_list (inc_version_list.U) can
1460 * be tacked onto this variable to generate a list of directories to search.
1462 /*#define PERL_VENDORLIB_EXP "" / **/
1463 /*#define PERL_VENDORLIB_STEM "" / **/
1466 * This symbol contains the name of the operating system, as determined
1467 * by Configure. You shouldn't rely on it too much; the specific
1468 * feature tests from Configure are generally more reliable.
1471 * This symbol contains the version of the operating system, as determined
1472 * by Configure. You shouldn't rely on it too much; the specific
1473 * feature tests from Configure are generally more reliable.
1475 #define OSNAME "unknown" /**/
1476 #define OSVERS "" /**/
1479 * This macro concatenates 2 tokens together.
1482 * This macro surrounds its token with double quotes.
1485 #define CAT2(a,b) a/**/b
1486 #define STRINGIFY(a) "a"
1487 /* If you can get stringification with catify, tell me how! */
1490 #define PeRl_CaTiFy(a, b) a ## b
1491 #define PeRl_StGiFy(a) #a
1492 /* the additional level of indirection enables these macros to be
1493 * used as arguments to other macros. See K&R 2nd ed., page 231. */
1494 #define CAT2(a,b) PeRl_CaTiFy(a,b)
1495 #define StGiFy(a) PeRl_StGiFy(a)
1496 #define STRINGIFY(a) PeRl_StGiFy(a)
1498 #if 42 != 1 && 42 != 42
1499 # include "Bletch: How does this C preprocessor concatenate tokens?"
1503 * This symbol contains the first part of the string which will invoke
1504 * the C preprocessor on the standard input and produce to standard
1505 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1506 * call a wrapper. See CPPRUN.
1509 * This symbol contains the second part of the string which will invoke
1510 * the C preprocessor on the standard input and produce to standard
1511 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1512 * to specify standard input, otherwise the value is "".
1515 * This symbol contains the string which will invoke a C preprocessor on
1516 * the standard input and produce to standard output. It needs to end
1517 * with CPPLAST, after all other preprocessor flags have been specified.
1518 * The main difference with CPPSTDIN is that this program will never be a
1519 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1520 * available directly to the user. Note that it may well be different from
1521 * the preprocessor used to compile the C program.
1524 * This symbol is intended to be used along with CPPRUN in the same manner
1525 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1533 * This manifest constant lets the C program know that the access()
1534 * system call is available to check for accessibility using real UID/GID.
1535 * (always present on UNIX.)
1537 /*#define HAS_ACCESS / **/
1540 * This symbol indicates the C compiler can check for function attributes,
1541 * such as printf formats. This is normally only supported by GNU cc.
1543 /*#define HASATTRIBUTE / **/
1544 #ifndef HASATTRIBUTE
1545 #ifdef __attribute__
1546 #undef __attribute__
1548 #define __attribute__(_arg_)
1552 * This symbol, if defined, indicates that the crypt routine is available
1553 * to encrypt passwords and the like.
1555 /*#define HAS_CRYPT / **/
1558 * This symbol, if defined, indicates that the C-shell exists.
1561 * This symbol, if defined, contains the full pathname of csh.
1563 /*#define HAS_CSH / **/
1568 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1569 * This symbol, if defined, indicates that the bug that prevents
1570 * setuid scripts from being secure is not present in this kernel.
1573 * This symbol, if defined, indicates that the C program should
1574 * check the script that it is executing for setuid/setgid bits, and
1575 * attempt to emulate setuid/setgid on systems that have disabled
1576 * setuid #! scripts because the kernel can't do it securely.
1577 * It is up to the package designer to make sure that this emulation
1578 * is done securely. Among other things, it should do an fstat on
1579 * the script it just opened to make sure it really is a setuid/setgid
1580 * script, it should make sure the arguments passed correspond exactly
1581 * to the argument on the #! line, and it should not trust any
1582 * subprocesses to which it must pass the filename rather than the
1583 * file descriptor of the script to be executed.
1585 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/
1586 /*#define DOSUID / **/
1589 * This symbol, if defined, indicates that the getgrent routine is
1590 * available for finalizing sequential access of the group database.
1592 /*#define HAS_ENDGRENT / **/
1595 * This symbol, if defined, indicates that the endhostent() routine is
1596 * available to close whatever was being used for host queries.
1598 /*#define HAS_ENDHOSTENT / **/
1601 * This symbol, if defined, indicates that the endnetent() routine is
1602 * available to close whatever was being used for network queries.
1604 /*#define HAS_ENDNETENT / **/
1607 * This symbol, if defined, indicates that the endprotoent() routine is
1608 * available to close whatever was being used for protocol queries.
1610 /*#define HAS_ENDPROTOENT / **/
1613 * This symbol, if defined, indicates that the getgrent routine is
1614 * available for finalizing sequential access of the passwd database.
1616 /*#define HAS_ENDPWENT / **/
1619 * This symbol, if defined, indicates that the endservent() routine is
1620 * available to close whatever was being used for service queries.
1622 /*#define HAS_ENDSERVENT / **/
1625 * This symbol, if defined, indicates that the system supports filenames
1626 * longer than 14 characters.
1628 /*#define FLEXFILENAMES / **/
1631 * This symbol, if defined, indicates that the getgrent routine is
1632 * available for sequential access of the group database.
1634 /*#define HAS_GETGRENT / **/
1636 /* HAS_GETHOSTBYADDR:
1637 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1638 * available to look up hosts by their IP addresses.
1640 /*#define HAS_GETHOSTBYADDR / **/
1642 /* HAS_GETHOSTBYNAME:
1643 * This symbol, if defined, indicates that the gethostbyname() routine is
1644 * available to look up host names in some data base or other.
1646 /*#define HAS_GETHOSTBYNAME / **/
1649 * This symbol, if defined, indicates that the gethostent() routine is
1650 * available to look up host names in some data base or another.
1652 /*#define HAS_GETHOSTENT / **/
1655 * This symbol, if defined, indicates that the C program may use the
1656 * gethostname() routine to derive the host name. See also HAS_UNAME
1660 * This symbol, if defined, indicates that the C program may use the
1661 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1665 * This symbol, if defined, indicates the command to feed to the
1666 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1667 * and HAS_UNAME. Note that the command uses a fully qualified path,
1668 * so that it is safe even if used by a process with super-user
1672 * This symbol, if defined, indicates that the C program may use the
1673 * contents of PHOSTNAME as a command to feed to the popen() routine
1674 * to derive the host name.
1676 /*#define HAS_GETHOSTNAME / **/
1677 /*#define HAS_UNAME / **/
1678 /*#define HAS_PHOSTNAME / **/
1679 #ifdef HAS_PHOSTNAME
1680 #define PHOSTNAME "" /* How to get the host name */
1683 /* HAS_GETNETBYADDR:
1684 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1685 * available to look up networks by their IP addresses.
1687 /*#define HAS_GETNETBYADDR / **/
1689 /* HAS_GETNETBYNAME:
1690 * This symbol, if defined, indicates that the getnetbyname() routine is
1691 * available to look up networks by their names.
1693 /*#define HAS_GETNETBYNAME / **/
1696 * This symbol, if defined, indicates that the getnetent() routine is
1697 * available to look up network names in some data base or another.
1699 /*#define HAS_GETNETENT / **/
1702 * This symbol, if defined, indicates that the getprotoent() routine is
1703 * available to look up protocols in some data base or another.
1705 /*#define HAS_GETPROTOENT / **/
1708 * This symbol, if defined, indicates that the getpgrp routine is
1709 * available to get the current process group.
1712 * This symbol, if defined, indicates that getpgrp needs one
1713 * arguments whereas USG one needs none.
1715 /*#define HAS_GETPGRP / **/
1716 /*#define USE_BSD_GETPGRP / **/
1718 /* HAS_GETPROTOBYNAME:
1719 * This symbol, if defined, indicates that the getprotobyname()
1720 * routine is available to look up protocols by their name.
1722 /* HAS_GETPROTOBYNUMBER:
1723 * This symbol, if defined, indicates that the getprotobynumber()
1724 * routine is available to look up protocols by their number.
1726 /*#define HAS_GETPROTOBYNAME / **/
1727 /*#define HAS_GETPROTOBYNUMBER / **/
1730 * This symbol, if defined, indicates that the getpwent routine is
1731 * available for sequential access of the passwd database.
1732 * If this is not available, the older getpw() function may be available.
1734 /*#define HAS_GETPWENT / **/
1737 * This symbol, if defined, indicates that the getservent() routine is
1738 * available to look up network services in some data base or another.
1740 /*#define HAS_GETSERVENT / **/
1742 /* HAS_GETSERVBYNAME:
1743 * This symbol, if defined, indicates that the getservbyname()
1744 * routine is available to look up services by their name.
1746 /* HAS_GETSERVBYPORT:
1747 * This symbol, if defined, indicates that the getservbyport()
1748 * routine is available to look up services by their port.
1750 /*#define HAS_GETSERVBYNAME / **/
1751 /*#define HAS_GETSERVBYPORT / **/
1754 * This symbol, if defined, indicates that the htonl() routine (and
1755 * friends htons() ntohl() ntohs()) are available to do network
1756 * order byte swapping.
1759 * This symbol, if defined, indicates that the htons() routine (and
1760 * friends htonl() ntohl() ntohs()) are available to do network
1761 * order byte swapping.
1764 * This symbol, if defined, indicates that the ntohl() routine (and
1765 * friends htonl() htons() ntohs()) are available to do network
1766 * order byte swapping.
1769 * This symbol, if defined, indicates that the ntohs() routine (and
1770 * friends htonl() htons() ntohl()) are available to do network
1771 * order byte swapping.
1773 /*#define HAS_HTONL / **/
1774 /*#define HAS_HTONS / **/
1775 /*#define HAS_NTOHL / **/
1776 /*#define HAS_NTOHS / **/
1779 * This symbol will be defined if the C compiler supports long
1783 * This symbol contains the size of a long double, so that the
1784 * C preprocessor can make decisions based on it. It is only
1785 * defined if the system supports long doubles.
1787 /*#define HAS_LONG_DOUBLE / **/
1788 #ifdef HAS_LONG_DOUBLE
1789 #define LONG_DOUBLESIZE 8 /**/
1793 * This symbol will be defined if the C compiler supports long long.
1796 * This symbol contains the size of a long long, so that the
1797 * C preprocessor can make decisions based on it. It is only
1798 * defined if the system supports long long.
1800 /*#define HAS_LONG_LONG / **/
1801 #ifdef HAS_LONG_LONG
1802 #define LONGLONGSIZE 8 /**/
1806 * This symbol, if defined, indicates that the memchr routine is available
1807 * to locate characters within a C string.
1809 /*#define HAS_MEMCHR / **/
1812 * This symbol, if defined, indicates that the mkstemp routine is
1813 * available to exclusively create and open a uniquely named
1816 /*#define HAS_MKSTEMP / **/
1819 * This symbol, if defined, indicates that the mmap system call is
1820 * available to map a file into memory.
1823 * This symbol holds the return type of the mmap() system call
1824 * (and simultaneously the type of the first argument).
1825 * Usually set to 'void *' or 'cadd_t'.
1827 /*#define HAS_MMAP / **/
1831 * This symbol, if defined, indicates that the entire msg*(2) library is
1832 * supported (IPC mechanism based on message queues).
1834 /*#define HAS_MSG / **/
1837 * This symbol, if defined, indicates that the entire sem*(2) library is
1840 /*#define HAS_SEM / **/
1843 * This symbol, if defined, indicates that the setgrent routine is
1844 * available for initializing sequential access of the group database.
1846 /*#define HAS_SETGRENT / **/
1849 * This symbol, if defined, indicates that the setgroups() routine is
1850 * available to set the list of process groups. If unavailable, multiple
1851 * groups are probably not supported.
1853 /*#define HAS_SETGROUPS / **/
1856 * This symbol, if defined, indicates that the sethostent() routine is
1859 /*#define HAS_SETHOSTENT / **/
1862 * This symbol, if defined, indicates that the setnetent() routine is
1865 /*#define HAS_SETNETENT / **/
1868 * This symbol, if defined, indicates that the setprotoent() routine is
1871 /*#define HAS_SETPROTOENT / **/
1874 * This symbol, if defined, indicates that the setpgrp routine is
1875 * available to set the current process group.
1878 * This symbol, if defined, indicates that setpgrp needs two
1879 * arguments whereas USG one needs none. See also HAS_SETPGID
1880 * for a POSIX interface.
1882 /*#define HAS_SETPGRP / **/
1883 /*#define USE_BSD_SETPGRP / **/
1886 * This symbol, if defined, indicates that the setpwent routine is
1887 * available for initializing sequential access of the passwd database.
1889 /*#define HAS_SETPWENT / **/
1892 * This symbol, if defined, indicates that the setservent() routine is
1895 /*#define HAS_SETSERVENT / **/
1898 * This symbol, if defined, indicates that the setvbuf routine is
1899 * available to change buffering on an open stdio stream.
1900 * to a line-buffered mode.
1902 /*#define HAS_SETVBUF / **/
1905 * This symbol, if defined, indicates that the entire shm*(2) library is
1908 /*#define HAS_SHM / **/
1911 * This symbol holds the return type of the shmat() system call.
1912 * Usually set to 'void *' or 'char *'.
1914 /* HAS_SHMAT_PROTOTYPE:
1915 * This symbol, if defined, indicates that the sys/shm.h includes
1916 * a prototype for shmat(). Otherwise, it is up to the program to
1917 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
1918 * but not always right so it should be emitted by the program only
1919 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
1921 #define Shmat_t void * /**/
1922 /*#define HAS_SHMAT_PROTOTYPE / **/
1925 * This symbol, if defined, indicates that the BSD socket interface is
1929 * This symbol, if defined, indicates that the BSD socketpair() call is
1933 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
1934 * Checking just with #ifdef might not be enough because this symbol
1935 * has been known to be an enum.
1937 /* HAS_MSG_DONTROUTE:
1938 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
1939 * Checking just with #ifdef might not be enough because this symbol
1940 * has been known to be an enum.
1943 * This symbol, if defined, indicates that the MSG_OOB is supported.
1944 * Checking just with #ifdef might not be enough because this symbol
1945 * has been known to be an enum.
1948 * This symbol, if defined, indicates that the MSG_PEEK is supported.
1949 * Checking just with #ifdef might not be enough because this symbol
1950 * has been known to be an enum.
1953 * This symbol, if defined, indicates that the MSG_PROXY is supported.
1954 * Checking just with #ifdef might not be enough because this symbol
1955 * has been known to be an enum.
1958 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
1959 * Checking just with #ifdef might not be enough because this symbol
1960 * has been known to be an enum.
1962 /*#define HAS_SOCKET / **/
1963 /*#define HAS_SOCKETPAIR / **/
1964 /*#define HAS_MSG_CTRUNC / **/
1965 /*#define HAS_MSG_DONTROUTE / **/
1966 /*#define HAS_MSG_OOB / **/
1967 /*#define HAS_MSG_PEEK / **/
1968 /*#define HAS_MSG_PROXY / **/
1969 /*#define HAS_SCM_RIGHTS / **/
1972 * This symbol is defined if this system has a stat structure declaring
1973 * st_blksize and st_blocks.
1975 #ifndef USE_STAT_BLOCKS
1976 /*#define USE_STAT_BLOCKS / **/
1980 * This symbol, if defined, indicates that the strerror routine is
1981 * available to translate error numbers to strings. See the writeup
1982 * of Strerror() in this file before you try to define your own.
1985 * This symbol, if defined, indicates that the sys_errlist array is
1986 * available to translate error numbers to strings. The extern int
1987 * sys_nerr gives the size of that table.
1990 * This preprocessor symbol is defined as a macro if strerror() is
1991 * not available to translate error numbers to strings but sys_errlist[]
1994 /*#define HAS_STRERROR / **/
1995 /*#define HAS_SYS_ERRLIST / **/
1996 #define Strerror(e) strerror(e)
1999 * This symbol, if defined, indicates that the strtoul routine is
2000 * available to provide conversion of strings to unsigned long.
2002 /*#define HAS_STRTOUL / **/
2005 * This symbol, if defined, indicates that the union semun is
2006 * defined by including <sys/sem.h>. If not, the user code
2007 * probably needs to define it as:
2010 * struct semid_ds *buf;
2011 * unsigned short *array;
2014 /* USE_SEMCTL_SEMUN:
2015 * This symbol, if defined, indicates that union semun is
2016 * used for semctl IPC_STAT.
2018 /* USE_SEMCTL_SEMID_DS:
2019 * This symbol, if defined, indicates that struct semid_ds * is
2020 * used for semctl IPC_STAT.
2022 /*#define HAS_UNION_SEMUN / **/
2023 /*#define USE_SEMCTL_SEMUN / **/
2024 /*#define USE_SEMCTL_SEMID_DS / **/
2027 * This symbol, if defined, indicates that vfork() exists.
2029 /*#define HAS_VFORK / **/
2032 * This symbol's value is either "void" or "int", corresponding to the
2033 * appropriate return type of a signal handler. Thus, you can declare
2034 * a signal handler using "Signal_t (*handler)()", and define the
2035 * handler using "Signal_t handler(sig)".
2037 #define Signal_t int /* Signal handler's return type */
2040 * This symbol holds the type used for the second argument to
2041 * getgroups() and setgroups(). Usually, this is the same as
2042 * gidtype (gid_t) , but sometimes it isn't.
2043 * It can be int, ushort, gid_t, etc...
2044 * It may be necessary to include <sys/types.h> to get any
2045 * typedef'ed information. This is only required if you have
2046 * getgroups() or setgroups()..
2048 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2049 #define Groups_t int /* Type for 2nd arg to [sg]etgroups() */
2053 * This symbol, if defined, indicates to the C program that it should
2057 * This symbol, if defined, indicates to the C program that struct group
2058 * in <grp.h> contains gr_passwd.
2060 /*#define I_GRP / **/
2061 /*#define GRPASSWD / **/
2064 * This symbol, if defined, indicates that <ndbm.h> exists and should
2067 /*#define I_NDBM / **/
2070 * This symbol, if defined, indicates that <netdb.h> exists and
2071 * should be included.
2073 /*#define I_NETDB / **/
2076 * This symbol, if defined, indicates to the C program that it should
2080 * This symbol, if defined, indicates to the C program that struct passwd
2081 * contains pw_quota.
2084 * This symbol, if defined, indicates to the C program that struct passwd
2088 * This symbol, if defined, indicates to the C program that struct passwd
2089 * contains pw_change.
2092 * This symbol, if defined, indicates to the C program that struct passwd
2093 * contains pw_class.
2096 * This symbol, if defined, indicates to the C program that struct passwd
2097 * contains pw_expire.
2100 * This symbol, if defined, indicates to the C program that struct passwd
2101 * contains pw_comment.
2104 * This symbol, if defined, indicates to the C program that struct passwd
2105 * contains pw_gecos.
2108 * This symbol, if defined, indicates to the C program that struct passwd
2109 * contains pw_passwd.
2111 /*#define I_PWD / **/
2112 /*#define PWQUOTA / **/
2113 /*#define PWAGE / **/
2114 /*#define PWCHANGE / **/
2115 /*#define PWCLASS / **/
2116 /*#define PWEXPIRE / **/
2117 /*#define PWCOMMENT / **/
2118 /*#define PWGECOS / **/
2119 /*#define PWPASSWD / **/
2122 * This symbol, if defined, indicates that <sys/uio.h> exists and
2123 * should be included.
2125 /*#define I_SYSUIO / **/
2128 * This symbol, if defined, indicates that <stdarg.h> exists and should
2132 * This symbol, if defined, indicates to the C program that it should
2133 * include <varargs.h>.
2135 #define I_STDARG /**/
2136 /*#define I_VARARGS / **/
2139 * This variable contains the return type of free(). It is usually
2140 * void, but occasionally int.
2143 * This symbol is the type of pointer returned by malloc and realloc.
2145 #define Malloc_t void * /**/
2146 #define Free_t int /**/
2149 * This symbol, if defined, indicates that we're using our own malloc.
2151 /*#define MYMALLOC / **/
2154 * If defined, this macro indicates that the C compiler can handle
2155 * function prototypes.
2158 * This macro is used to declare function parameters for folks who want
2159 * to make declarations with prototypes using a different style than
2160 * the above macros. Use double parentheses. For example:
2162 * int main _((int argc, char *argv[]));
2164 /*#define CAN_PROTOTYPE / **/
2165 #ifdef CAN_PROTOTYPE
2166 #define _(args) args
2172 * This symbol contains the full pathname to the shell used on this
2173 * on this system to execute Bourne shell scripts. Usually, this will be
2174 * /bin/sh, though it's possible that some systems will have /bin/ksh,
2175 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
2178 #define SH_PATH "" /**/
2181 * This symbol contains a list of signal names in order of
2182 * signal number. This is intended
2183 * to be used as a static array initialization, like this:
2184 * char *sig_name[] = { SIG_NAME };
2185 * The signals in the list are separated with commas, and each signal
2186 * is surrounded by double quotes. There is no leading SIG in the signal
2187 * name, i.e. SIGQUIT is known as "QUIT".
2188 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2189 * etc., where nn is the actual signal number (e.g. NUM37).
2190 * The signal number for sig_name[i] is stored in sig_num[i].
2191 * The last element is 0 to terminate the list with a NULL. This
2192 * corresponds to the 0 at the end of the sig_name_init list.
2193 * Note that this variable is initialized from the sig_name_init,
2194 * not from sig_name (which is unused).
2197 * This symbol contains a list of signal numbers, in the same order as the
2198 * SIG_NAME list. It is suitable for static array initialization, as in:
2199 * int sig_num[] = { SIG_NUM };
2200 * The signals in the list are separated with commas, and the indices
2201 * within that list and the SIG_NAME list match, so it's easy to compute
2202 * the signal name from a number or vice versa at the price of a small
2203 * dynamic linear lookup.
2204 * Duplicates are allowed, but are moved to the end of the list.
2205 * The signal number corresponding to sig_name[i] is sig_number[i].
2206 * if (i < NSIG) then sig_number[i] == i.
2207 * The last element is 0, corresponding to the 0 at the end of
2208 * the sig_name_init list.
2209 * Note that this variable is initialized from the sig_num_init,
2210 * not from sig_num (which is unused).
2213 * This variable contains the number of elements of the SIG_NAME
2214 * and SIG_NUM arrays, excluding the final NULL entry.
2216 #define SIG_NAME 0 /**/
2217 #define SIG_NUM 0 /**/
2218 #define SIG_SIZE 1 /**/
2221 * This symbol is defined to be the type of char used in stdio.h.
2222 * It has the values "unsigned char" or "char".
2224 #define STDCHAR char /**/
2227 * This symbol indicates how much support of the void type is given by this
2228 * compiler. What various bits mean:
2230 * 1 = supports declaration of void
2231 * 2 = supports arrays of pointers to functions returning void
2232 * 4 = supports comparisons between pointers to void functions and
2233 * addresses of void functions
2234 * 8 = suports declaration of generic void pointers
2236 * The package designer should define VOIDUSED to indicate the requirements
2237 * of the package. This can be done either by #defining VOIDUSED before
2238 * including config.h, or by defining defvoidused in Myinit.U. If the
2239 * latter approach is taken, only those flags will be tested. If the
2240 * level of void support necessary is not present, defines void to int.
2246 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
2247 #define void int /* is void to be avoided? */
2248 #define M_VOID /* Xenix strikes again */
2251 /* USE_CROSS_COMPILE:
2252 * This symbol, if defined, indicates that Perl is being cross-compiled.
2255 * This symbol, if defined, indicates the target architecture
2256 * Perl has been cross-compiled to. Undefined if not a cross-compile.
2258 #ifndef USE_CROSS_COMPILE
2259 /*#define USE_CROSS_COMPILE / **/
2260 #define PERL_TARGETARCH "" /**/
2264 * This symbol, if defined, indicates that the atolf routine is
2265 * available to convert strings into long doubles.
2267 /*#define HAS_ATOLF / **/
2270 * This symbol, if defined, indicates that the atoll routine is
2271 * available to convert strings into long longs.
2273 /*#define HAS_ATOLL / **/
2276 * This symbol, if defined, indicates that the _fwalk system call is
2277 * available to apply a function to all the file handles.
2279 /*#define HAS__FWALK / **/
2282 * This symbol, if defined, indicates that the aintl routine is
2283 * available. If copysignl is also present we can emulate modfl.
2285 /*#define HAS_AINTL / **/
2288 * This symbol, if defined, indicates that the class routine is
2289 * available to classify doubles. Available for example in AIX.
2290 * The returned values are defined in <float.h> and are:
2292 * FP_PLUS_NORM Positive normalized, nonzero
2293 * FP_MINUS_NORM Negative normalized, nonzero
2294 * FP_PLUS_DENORM Positive denormalized, nonzero
2295 * FP_MINUS_DENORM Negative denormalized, nonzero
2297 * FP_MINUS_ZERO -0.0
2300 * FP_NANS Signaling Not a Number (NaNS)
2301 * FP_NANQ Quiet Not a Number (NaNQ)
2303 /*#define HAS_CLASS / **/
2305 /* HAS_STRUCT_CMSGHDR:
2306 * This symbol, if defined, indicates that the struct cmsghdr
2309 /*#define HAS_STRUCT_CMSGHDR / **/
2312 * This symbol, if defined, indicates that the copysignl routine is
2313 * available. If aintl is also present we can emulate modfl.
2315 /*#define HAS_COPYSIGNL / **/
2317 /* HAS_DBMINIT_PROTO:
2318 * This symbol, if defined, indicates that the system provides
2319 * a prototype for the dbminit() function. Otherwise, it is up
2320 * to the program to supply one. A good guess is
2321 * extern int dbminit(char *);
2323 /*#define HAS_DBMINIT_PROTO / **/
2326 * This manifest constant lets the C program know that dirfd
2329 /*#define HAS_DIRFD / **/
2331 /* DLSYM_NEEDS_UNDERSCORE:
2332 * This symbol, if defined, indicates that we need to prepend an
2333 * underscore to the symbol name before calling dlsym(). This only
2334 * makes sense if you *have* dlsym, which we will presume is the
2335 * case if you're using dl_dlopen.xs.
2337 /*#define DLSYM_NEEDS_UNDERSCORE / **/
2340 * This symbol, if defined, indicates that the "fast stdio"
2341 * is available to manipulate the stdio buffers directly.
2343 /*#define HAS_FAST_STDIO / **/
2346 * This symbol, if defined, indicates that the fchdir routine is
2347 * available to change directory using a file descriptor.
2349 /*#define HAS_FCHDIR / **/
2352 * This symbol, if defined, indicates that fcntl() can be used
2353 * for file locking. Normally on Unix systems this is defined.
2354 * It may be undefined on VMS.
2356 /*#define FCNTL_CAN_LOCK / **/
2359 * This symbol, if defined, indicates that the finite routine is
2360 * available to check whether a double is finite (non-infinity non-NaN).
2362 /*#define HAS_FINITE / **/
2365 * This symbol, if defined, indicates that the finitel routine is
2366 * available to check whether a long double is finite
2367 * (non-infinity non-NaN).
2369 /*#define HAS_FINITEL / **/
2372 * This symbol, if defined, indicates that the system provides
2373 * a prototype for the flock() function. Otherwise, it is up
2374 * to the program to supply one. A good guess is
2375 * extern int flock(int, int);
2377 /*#define HAS_FLOCK_PROTO / **/
2380 * This symbol, if defined, indicates that the fp_class routine is
2381 * available to classify doubles. Available for example in Digital UNIX.
2382 * The returned values are defined in <math.h> and are:
2384 * FP_SNAN Signaling NaN (Not-a-Number)
2385 * FP_QNAN Quiet NaN (Not-a-Number)
2386 * FP_POS_INF +infinity
2387 * FP_NEG_INF -infinity
2388 * FP_POS_NORM Positive normalized
2389 * FP_NEG_NORM Negative normalized
2390 * FP_POS_DENORM Positive denormalized
2391 * FP_NEG_DENORM Negative denormalized
2392 * FP_POS_ZERO +0.0 (positive zero)
2393 * FP_NEG_ZERO -0.0 (negative zero)
2395 /*#define HAS_FP_CLASS / **/
2398 * This symbol, if defined, indicates that the fpclass routine is
2399 * available to classify doubles. Available for example in Solaris/SVR4.
2400 * The returned values are defined in <ieeefp.h> and are:
2402 * FP_SNAN signaling NaN
2404 * FP_NINF negative infinity
2405 * FP_PINF positive infinity
2406 * FP_NDENORM negative denormalized non-zero
2407 * FP_PDENORM positive denormalized non-zero
2408 * FP_NZERO negative zero
2409 * FP_PZERO positive zero
2410 * FP_NNORM negative normalized non-zero
2411 * FP_PNORM positive normalized non-zero
2413 /*#define HAS_FPCLASS / **/
2416 * This symbol, if defined, indicates that the fpclassify routine is
2417 * available to classify doubles. Available for example in HP-UX.
2418 * The returned values are defined in <math.h> and are
2420 * FP_NORMAL Normalized
2422 * FP_INFINITE Infinity
2423 * FP_SUBNORMAL Denormalized
2427 /*#define HAS_FPCLASSIFY / **/
2430 * This symbol, if defined, indicates that the fpclassl routine is
2431 * available to classify long doubles. Available for example in IRIX.
2432 * The returned values are defined in <ieeefp.h> and are:
2434 * FP_SNAN signaling NaN
2436 * FP_NINF negative infinity
2437 * FP_PINF positive infinity
2438 * FP_NDENORM negative denormalized non-zero
2439 * FP_PDENORM positive denormalized non-zero
2440 * FP_NZERO negative zero
2441 * FP_PZERO positive zero
2442 * FP_NNORM negative normalized non-zero
2443 * FP_PNORM positive normalized non-zero
2445 /*#define HAS_FPCLASSL / **/
2448 * This symbol will be defined if the C compiler supports fpos64_t.
2450 /*#define HAS_FPOS64_T / **/
2453 * This symbol, if defined, indicates that the frexpl routine is
2454 * available to break a long double floating-point number into
2455 * a normalized fraction and an integral power of 2.
2457 /*#define HAS_FREXPL / **/
2459 /* HAS_STRUCT_FS_DATA:
2460 * This symbol, if defined, indicates that the struct fs_data
2461 * to do statfs() is supported.
2463 /*#define HAS_STRUCT_FS_DATA / **/
2466 * This symbol, if defined, indicates that the fseeko routine is
2467 * available to fseek beyond 32 bits (useful for ILP32 hosts).
2469 /*#define HAS_FSEEKO / **/
2472 * This symbol, if defined, indicates that the fstatfs routine is
2473 * available to stat filesystems by file descriptors.
2475 /*#define HAS_FSTATFS / **/
2478 * This symbol, if defined, indicates that the fsync routine is
2479 * available to write a file's modified data and attributes to
2480 * permanent storage.
2482 /*#define HAS_FSYNC / **/
2485 * This symbol, if defined, indicates that the ftello routine is
2486 * available to ftell beyond 32 bits (useful for ILP32 hosts).
2488 /*#define HAS_FTELLO / **/
2491 * This symbol, if defined, indicates that the getcwd routine is
2492 * available to get the current working directory.
2494 /*#define HAS_GETCWD / **/
2497 * This symbol, if defined, indicates that the getespwnam system call is
2498 * available to retrieve enchanced (shadow) password entries by name.
2500 /*#define HAS_GETESPWNAM / **/
2503 * This symbol, if defined, indicates that the getfsstat routine is
2504 * available to stat filesystems in bulk.
2506 /*#define HAS_GETFSSTAT / **/
2509 * This symbol, if defined, indicates that the getitimer routine is
2510 * available to return interval timers.
2512 /*#define HAS_GETITIMER / **/
2515 * This symbol, if defined, indicates that the getmnt routine is
2516 * available to get filesystem mount info by filename.
2518 /*#define HAS_GETMNT / **/
2521 * This symbol, if defined, indicates that the getmntent routine is
2522 * available to iterate through mounted file systems to get their info.
2524 /*#define HAS_GETMNTENT / **/
2527 * This symbol, if defined, indicates that the getprpwnam system call is
2528 * available to retrieve protected (shadow) password entries by name.
2530 /*#define HAS_GETPRPWNAM / **/
2533 * This symbol, if defined, indicates that the getspnam system call is
2534 * available to retrieve SysV shadow password entries by name.
2536 /*#define HAS_GETSPNAM / **/
2539 * This symbol, if defined, indicates that the hasmntopt routine is
2540 * available to query the mount options of file systems.
2542 /*#define HAS_HASMNTOPT / **/
2545 * This symbol, if defined, indicates that the ilogbl routine is
2546 * available. If scalbnl is also present we can emulate frexpl.
2548 /*#define HAS_ILOGBL / **/
2551 * This symbol will defined if the C compiler supports int64_t.
2552 * Usually the <inttypes.h> needs to be included, but sometimes
2553 * <sys/types.h> is enough.
2555 /*#define HAS_INT64_T / **/
2558 * This symbol, if defined, indicates that the isfinite routine is
2559 * available to check whether a double is finite (non-infinity non-NaN).
2561 /*#define HAS_ISFINITE / **/
2564 * This symbol, if defined, indicates that the isinf routine is
2565 * available to check whether a double is an infinity.
2567 /*#define HAS_ISINF / **/
2570 * This symbol, if defined, indicates that the isnan routine is
2571 * available to check whether a double is a NaN.
2573 /*#define HAS_ISNAN / **/
2576 * This symbol, if defined, indicates that the isnanl routine is
2577 * available to check whether a long double is a NaN.
2579 /*#define HAS_ISNANL / **/
2582 * This symbol, if defined, indicates that this system's <float.h>
2583 * or <limits.h> defines the symbol LDBL_DIG, which is the number
2584 * of significant digits in a long double precision number. Unlike
2585 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
2587 /*#define HAS_LDBL_DIG / * */
2590 * This symbol, if defined, indicates that the madvise system call is
2591 * available to map a file into memory.
2593 /*#define HAS_MADVISE / **/
2596 * This symbol, if defined, indicates that the mkdtemp routine is
2597 * available to exclusively create a uniquely named temporary directory.
2599 /*#define HAS_MKDTEMP / **/
2602 * This symbol, if defined, indicates that the mkstemps routine is
2603 * available to excluslvely create and open a uniquely named
2604 * (with a suffix) temporary file.
2606 /*#define HAS_MKSTEMPS / **/
2609 * This symbol, if defined, indicates that the modfl routine is
2610 * available to split a long double x into a fractional part f and
2611 * an integer part i such that |f| < 1.0 and (f + i) = x.
2614 * This symbol, if defined, indicates that the system provides
2615 * a prototype for the modfl() function. Otherwise, it is up
2616 * to the program to supply one.
2618 /* HAS_MODFL_POW32_BUG:
2619 * This symbol, if defined, indicates that the modfl routine is
2620 * broken for long doubles >= pow(2, 32).
2621 * For example from 4294967303.150000 one would get 4294967302.000000
2622 * and 1.150000. The bug has been seen in certain versions of glibc,
2623 * release 2.2.2 is known to be okay.
2625 /*#define HAS_MODFL / **/
2626 /*#define HAS_MODFL_PROTO / **/
2627 /*#define HAS_MODFL_POW32_BUG / **/
2630 * This symbol, if defined, indicates that the mprotect system call is
2631 * available to modify the access protection of a memory mapped file.
2633 /*#define HAS_MPROTECT / **/
2635 /* HAS_STRUCT_MSGHDR:
2636 * This symbol, if defined, indicates that the struct msghdr
2639 /*#define HAS_STRUCT_MSGHDR / **/
2642 * This symbol, if defined, indicates that the nanosleep
2643 * system call is available to sleep with 1E-9 sec accuracy.
2645 /*#define HAS_NANOSLEEP / **/
2648 * This symbol, if defined, indicates that the nl_langinfo routine is
2649 * available to return local data. You will also need <langinfo.h>
2650 * and therefore I_LANGINFO.
2652 /*#define HAS_NL_LANGINFO / **/
2655 * This symbol will be defined if the C compiler supports off64_t.
2657 /*#define HAS_OFF64_T / **/
2660 * This symbol is defined if PROCSELFEXE_PATH is a symlink
2661 * to the absolute pathname of the executing program.
2663 /* PROCSELFEXE_PATH:
2664 * If HAS_PROCSELFEXE is defined this symbol is the filename
2665 * of the symbolic link pointing to the absolute pathname of
2666 * the executing program.
2668 /*#define HAS_PROCSELFEXE / **/
2669 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
2670 #define PROCSELFEXE_PATH /**/
2673 /* HAS_PTHREAD_ATTR_SETSCOPE:
2674 * This symbol, if defined, indicates that the pthread_attr_setscope
2675 * system call is available to set the contention scope attribute of
2676 * a thread attribute object.
2678 /*#define HAS_PTHREAD_ATTR_SETSCOPE / **/
2681 * This symbol, if defined, indicates that the readv routine is
2682 * available to do gather reads. You will also need <sys/uio.h>
2683 * and there I_SYSUIO.
2685 /*#define HAS_READV / **/
2688 * This symbol, if defined, indicates that the recvmsg routine is
2689 * available to send structured socket messages.
2691 /*#define HAS_RECVMSG / **/
2694 * This symbol, if defined, indicates that the system provides
2695 * a prototype for the sbrk() function. Otherwise, it is up
2696 * to the program to supply one. Good guesses are
2697 * extern void* sbrk(int);
2698 * extern void* sbrk(size_t);
2700 /*#define HAS_SBRK_PROTO / **/
2703 * This symbol, if defined, indicates that the scalbnl routine is
2704 * available. If ilogbl is also present we can emulate frexpl.
2706 /*#define HAS_SCALBNL / **/
2709 * This symbol, if defined, indicates that the sendmsg routine is
2710 * available to send structured socket messages.
2712 /*#define HAS_SENDMSG / **/
2715 * This symbol, if defined, indicates that the setitimer routine is
2716 * available to set interval timers.
2718 /*#define HAS_SETITIMER / **/
2720 /* HAS_SETPROCTITLE:
2721 * This symbol, if defined, indicates that the setproctitle routine is
2722 * available to set process title.
2724 /*#define HAS_SETPROCTITLE / **/
2727 * This symbol, if defined, indicates that sfio should
2730 /*#define USE_SFIO / **/
2733 * This symbol, if defined, indicates that the sigprocmask
2734 * system call is available to examine or change the signal mask
2735 * of the calling process.
2737 /*#define HAS_SIGPROCMASK / **/
2740 * This symbol, if defined, indicates that the sockatmark routine is
2741 * available to test whether a socket is at the out-of-band mark.
2743 /*#define HAS_SOCKATMARK / **/
2745 /* HAS_SOCKATMARK_PROTO:
2746 * This symbol, if defined, indicates that the system provides
2747 * a prototype for the sockatmark() function. Otherwise, it is up
2748 * to the program to supply one. A good guess is
2749 * extern int sockatmark(int);
2751 /*#define HAS_SOCKATMARK_PROTO / **/
2754 * This symbol, if defined, indicates that the socks5_init routine is
2755 * available to initialize SOCKS 5.
2757 /*#define HAS_SOCKS5_INIT / **/
2760 * This symbol, if defined, indicates that the sqrtl routine is
2761 * available to do long double square roots.
2763 /*#define HAS_SQRTL / **/
2765 /* HAS_SETRESGID_PROTO:
2766 * This symbol, if defined, indicates that the system provides
2767 * a prototype for the setresgid() function. Otherwise, it is up
2768 * to the program to supply one. Good guesses are
2769 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
2771 /*#define HAS_SETRESGID_PROTO / **/
2773 /* HAS_SETRESUID_PROTO:
2774 * This symbol, if defined, indicates that the system provides
2775 * a prototype for the setresuid() function. Otherwise, it is up
2776 * to the program to supply one. Good guesses are
2777 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
2779 /*#define HAS_SETRESUID_PROTO / **/
2781 /* HAS_STRUCT_STATFS_F_FLAGS:
2782 * This symbol, if defined, indicates that the struct statfs
2783 * does have the f_flags member containing the mount flags of
2784 * the filesystem containing the file.
2785 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
2786 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
2787 * have statfs() and struct statfs, they have ustat() and getmnt()
2788 * with struct ustat and struct fs_data.
2790 /*#define HAS_STRUCT_STATFS_F_FLAGS / **/
2792 /* HAS_STRUCT_STATFS:
2793 * This symbol, if defined, indicates that the struct statfs
2794 * to do statfs() is supported.
2796 /*#define HAS_STRUCT_STATFS / **/
2799 * This symbol, if defined, indicates that the fstatvfs routine is
2800 * available to stat filesystems by file descriptors.
2802 /*#define HAS_FSTATVFS / **/
2805 * This symbol, if defined, indicates that the strftime routine is
2806 * available to do time formatting.
2808 /*#define HAS_STRFTIME / **/
2811 * This symbol, if defined, indicates that the strtold routine is
2812 * available to convert strings to long doubles.
2814 /*#define HAS_STRTOLD / **/
2817 * This symbol, if defined, indicates that the strtoll routine is
2818 * available to convert strings to long longs.
2820 /*#define HAS_STRTOLL / **/
2823 * This symbol, if defined, indicates that the strtoq routine is
2824 * available to convert strings to long longs (quads).
2826 /*#define HAS_STRTOQ / **/
2829 * This symbol, if defined, indicates that the strtoull routine is
2830 * available to convert strings to unsigned long longs.
2832 /*#define HAS_STRTOULL / **/
2835 * This symbol, if defined, indicates that the strtouq routine is
2836 * available to convert strings to unsigned long longs (quads).
2838 /*#define HAS_STRTOUQ / **/
2840 /* HAS_SYSCALL_PROTO:
2841 * This symbol, if defined, indicates that the system provides
2842 * a prototype for the syscall() function. Otherwise, it is up
2843 * to the program to supply one. Good guesses are
2844 * extern int syscall(int, ...);
2845 * extern int syscall(long, ...);
2847 /*#define HAS_SYSCALL_PROTO / **/
2849 /* HAS_TELLDIR_PROTO:
2850 * This symbol, if defined, indicates that the system provides
2851 * a prototype for the telldir() function. Otherwise, it is up
2852 * to the program to supply one. A good guess is
2853 * extern long telldir(DIR*);
2855 /*#define HAS_TELLDIR_PROTO / **/
2857 /* U32_ALIGNMENT_REQUIRED:
2858 * This symbol, if defined, indicates that you must access
2859 * character data through U32-aligned pointers.
2861 #ifndef U32_ALIGNMENT_REQUIRED
2862 #define U32_ALIGNMENT_REQUIRED /**/
2866 * This symbol, if defined, indicates that the ualarm routine is
2867 * available to do alarms with microsecond granularity.
2869 /*#define HAS_UALARM / **/
2872 * This symbol, if defined, indicates that the unordered routine is
2873 * available to check whether two doubles are unordered
2874 * (effectively: whether either of them is NaN)
2876 /*#define HAS_UNORDERED / **/
2878 /* HAS_USLEEP_PROTO:
2879 * This symbol, if defined, indicates that the system provides
2880 * a prototype for the usleep() function. Otherwise, it is up
2881 * to the program to supply one. A good guess is
2882 * extern int usleep(useconds_t);
2884 /*#define HAS_USLEEP_PROTO / **/
2887 * This symbol, if defined, indicates that the ustat system call is
2888 * available to query file system statistics by dev_t.
2890 /*#define HAS_USTAT / **/
2893 * This symbol, if defined, indicates that the writev routine is
2894 * available to do scatter writes.
2896 /*#define HAS_WRITEV / **/
2898 /* USE_DYNAMIC_LOADING:
2899 * This symbol, if defined, indicates that dynamic loading of
2900 * some sort is available.
2902 /*#define USE_DYNAMIC_LOADING / **/
2905 * This symbol, if defined, tells that fflush(NULL) does flush
2906 * all pending stdio output.
2909 * This symbol, if defined, tells that to flush
2910 * all pending stdio output one must loop through all
2911 * the stdio file handles stored in an array and fflush them.
2912 * Note that if fflushNULL is defined, fflushall will not
2913 * even be probed for and will be left undefined.
2915 /*#define FFLUSH_NULL / **/
2916 /*#define FFLUSH_ALL / **/
2919 * This symbol, if defined, indicates that <crypt.h> exists and
2920 * should be included.
2922 /*#define I_CRYPT / **/
2925 * This symbol contains the type of the prefix structure element
2926 * in the <db.h> header file. In older versions of DB, it was
2927 * int, while in newer ones it is u_int32_t.
2930 * This symbol contains the type of the prefix structure element
2931 * in the <db.h> header file. In older versions of DB, it was
2932 * int, while in newer ones it is size_t.
2934 /* DB_VERSION_MAJOR_CFG:
2935 * This symbol, if defined, defines the major version number of
2936 * Berkeley DB found in the <db.h> header when Perl was configured.
2938 /* DB_VERSION_MINOR_CFG:
2939 * This symbol, if defined, defines the minor version number of
2940 * Berkeley DB found in the <db.h> header when Perl was configured.
2941 * For DB version 1 this is always 0.
2943 /* DB_VERSION_PATCH_CFG:
2944 * This symbol, if defined, defines the patch version number of
2945 * Berkeley DB found in the <db.h> header when Perl was configured.
2946 * For DB version 1 this is always 0.
2948 #define DB_Hash_t u_int32_t /**/
2949 #define DB_Prefix_t size_t /**/
2950 #define DB_VERSION_MAJOR_CFG /**/
2951 #define DB_VERSION_MINOR_CFG /**/
2952 #define DB_VERSION_PATCH_CFG /**/
2955 * This symbol, if defined, indicates that <fp.h> exists and
2956 * should be included.
2958 /*#define I_FP / **/
2961 * This symbol, if defined, indicates that <fp_class.h> exists and
2962 * should be included.
2964 /*#define I_FP_CLASS / **/
2967 * This symbol, if defined, indicates that <ieeefp.h> exists and
2968 * should be included.
2970 /*#define I_IEEEFP / **/
2973 * This symbol, if defined, indicates to the C program that it should
2974 * include <inttypes.h>.
2976 /*#define I_INTTYPES / **/
2979 * This symbol, if defined, indicates that <langinfo.h> exists and
2980 * should be included.
2982 /*#define I_LANGINFO / **/
2985 * This symbol, if defined, indicates that <libutil.h> exists and
2986 * should be included.
2988 /*#define I_LIBUTIL / **/
2991 * This symbol, if defined, indicates that <mntent.h> exists and
2992 * should be included.
2994 /*#define I_MNTENT / **/
2997 * This symbol, if defined, indicates to the C program that it should
2998 * include <netinet/tcp.h>.
3000 /*#define I_NETINET_TCP / **/
3003 * This symbol, if defined, indicates that <poll.h> exists and
3004 * should be included.
3006 /*#define I_POLL / **/
3009 * This symbol, if defined, indicates that <prot.h> exists and
3010 * should be included.
3012 /*#define I_PROT / **/
3015 * This symbol, if defined, indicates that <shadow.h> exists and
3016 * should be included.
3018 /*#define I_SHADOW / **/
3021 * This symbol, if defined, indicates that <socks.h> exists and
3022 * should be included.
3024 /*#define I_SOCKS / **/
3027 * This symbol, if defined, indicates that <sunmath.h> exists and
3028 * should be included.
3030 /*#define I_SUNMATH / **/
3033 * This symbol, if defined, indicates that <syslog.h> exists and
3034 * should be included.
3036 /*#define I_SYSLOG / **/
3039 * This symbol, if defined, indicates that <sys/mode.h> exists and
3040 * should be included.
3042 /*#define I_SYSMODE / **/
3045 * This symbol, if defined, indicates that <sys/mount.h> exists and
3046 * should be included.
3048 /*#define I_SYS_MOUNT / **/
3051 * This symbol, if defined, indicates that <sys/statfs.h> exists.
3053 /*#define I_SYS_STATFS / **/
3056 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
3057 * should be included.
3059 /*#define I_SYS_STATVFS / **/
3062 * This symbol, if defined, indicates that <sys/utsname.h> exists and
3063 * should be included.
3065 /*#define I_SYSUTSNAME / **/
3068 * This symbol, if defined, indicates that <sys/vfs.h> exists and
3069 * should be included.
3071 /*#define I_SYS_VFS / **/
3074 * This symbol, if defined, indicates that <ustat.h> exists and
3075 * should be included.
3077 /*#define I_USTAT / **/
3080 * This symbol, if defined, contains the string used by stdio to
3081 * format long doubles (format 'f') for output.
3084 * This symbol, if defined, contains the string used by stdio to
3085 * format long doubles (format 'g') for output.
3088 * This symbol, if defined, contains the string used by stdio to
3089 * format long doubles (format 'e') for output.
3092 * This symbol, if defined, contains the string used by stdio to
3093 * format long doubles (format 'f') for input.
3095 /*#define PERL_PRIfldbl "llf" / **/
3096 /*#define PERL_PRIgldbl "llg" / **/
3097 /*#define PERL_PRIeldbl "lle" / **/
3098 /*#define PERL_SCNfldbl "llf" / **/
3101 * This symbol, if defined, indicates that the system stores
3102 * the variable argument list datatype, va_list, in a format
3103 * that cannot be copied by simple assignment, so that some
3104 * other means must be used when copying is required.
3105 * As such systems vary in their provision (or non-provision)
3106 * of copying mechanisms, handy.h defines a platform-
3107 * independent macro, Perl_va_copy(src, dst), to do the job.
3109 /*#define NEED_VA_COPY / **/
3112 * This symbol defines the C type used for Perl's IV.
3115 * This symbol defines the C type used for Perl's UV.
3118 * This symbol defines the C type used for Perl's I8.
3121 * This symbol defines the C type used for Perl's U8.
3124 * This symbol defines the C type used for Perl's I16.
3127 * This symbol defines the C type used for Perl's U16.
3130 * This symbol defines the C type used for Perl's I32.
3133 * This symbol defines the C type used for Perl's U32.
3136 * This symbol defines the C type used for Perl's I64.
3139 * This symbol defines the C type used for Perl's U64.
3142 * This symbol defines the C type used for Perl's NV.
3145 * This symbol contains the sizeof(IV).
3148 * This symbol contains the sizeof(UV).
3151 * This symbol contains the sizeof(I8).
3154 * This symbol contains the sizeof(U8).
3157 * This symbol contains the sizeof(I16).
3160 * This symbol contains the sizeof(U16).
3163 * This symbol contains the sizeof(I32).
3166 * This symbol contains the sizeof(U32).
3169 * This symbol contains the sizeof(I64).
3172 * This symbol contains the sizeof(U64).
3175 * This symbol contains the sizeof(NV).
3178 * This symbol, if defined, indicates that a variable of type NVTYPE
3179 * can preserve all the bits of a variable of type UVTYPE.
3181 /* NV_PRESERVES_UV_BITS:
3182 * This symbol contains the number of bits a variable of type NVTYPE
3183 * can preserve of a variable of type UVTYPE.
3185 #define IVTYPE long /**/
3186 #define UVTYPE unsigned long /**/
3187 #define I8TYPE char /**/
3188 #define U8TYPE unsigned char /**/
3189 #define I16TYPE short /**/
3190 #define U16TYPE unsigned short /**/
3191 #define I32TYPE long /**/
3192 #define U32TYPE unsigned long /**/
3194 #define I64TYPE int64_t /**/
3195 #define U64TYPE uint64_t /**/
3197 #define NVTYPE double /**/
3198 #define IVSIZE 4 /**/
3199 #define UVSIZE 4 /**/
3200 #define I8SIZE 1 /**/
3201 #define U8SIZE 1 /**/
3202 #define I16SIZE 2 /**/
3203 #define U16SIZE 2 /**/
3204 #define I32SIZE 4 /**/
3205 #define U32SIZE 4 /**/
3207 #define I64SIZE 8 /**/
3208 #define U64SIZE 8 /**/
3210 #define NVSIZE 8 /**/
3211 #undef NV_PRESERVES_UV
3212 #define NV_PRESERVES_UV_BITS 0
3215 * This symbol defines the format string used for printing a Perl IV
3216 * as a signed decimal integer.
3219 * This symbol defines the format string used for printing a Perl UV
3220 * as an unsigned decimal integer.
3223 * This symbol defines the format string used for printing a Perl UV
3224 * as an unsigned octal integer.
3227 * This symbol defines the format string used for printing a Perl UV
3228 * as an unsigned hexadecimal integer in lowercase abcdef.
3231 * This symbol defines the format string used for printing a Perl UV
3232 * as an unsigned hexadecimal integer in uppercase ABCDEF.
3235 * This symbol defines the format string used for printing a Perl NV
3236 * using %e-ish floating point format.
3239 * This symbol defines the format string used for printing a Perl NV
3240 * using %f-ish floating point format.
3243 * This symbol defines the format string used for printing a Perl NV
3244 * using %g-ish floating point format.
3246 #define IVdf "ld" /**/
3247 #define UVuf "lu" /**/
3248 #define UVof "lo" /**/
3249 #define UVxf "lx" /**/
3250 #define UVXf "lX" /**/
3251 #define NVef "e" /**/
3252 #define NVff "f" /**/
3253 #define NVgf "g" /**/
3256 * This symbol holds the minimum number of bits operated by select.
3257 * That is, if you do select(n, ...), how many bits at least will be
3258 * cleared in the masks if some activity is detected. Usually this
3259 * is either n or 32*ceil(n/32), especially many little-endians do
3260 * the latter. This is only useful if you have select(), naturally.
3262 #define SELECT_MIN_BITS 32 /**/
3265 * This variable contains the string to put in front of a perl
3266 * script to make sure (one hopes) that it runs with perl and not
3269 #define STARTPERL "" /**/
3271 /* HAS_STDIO_STREAM_ARRAY:
3272 * This symbol, if defined, tells that there is an array
3273 * holding the stdio streams.
3275 /* STDIO_STREAM_ARRAY:
3276 * This symbol tells the name of the array holding the stdio streams.
3277 * Usual values include _iob, __iob, and __sF.
3279 /*#define HAS_STDIO_STREAM_ARRAY / **/
3280 #define STDIO_STREAM_ARRAY
3283 * This symbol, if defined, indicates that 64-bit integers should
3284 * be used when available. If not defined, the native integers
3285 * will be employed (be they 32 or 64 bits). The minimal possible
3286 * 64-bitness is used, just enough to get 64-bit integers into Perl.
3287 * This may mean using for example "long longs", while your memory
3288 * may still be limited to 2 gigabytes.
3291 * This symbol, if defined, indicates that 64-bit integers should
3292 * be used when available. If not defined, the native integers
3293 * will be used (be they 32 or 64 bits). The maximal possible
3294 * 64-bitness is employed: LP64 or ILP64, meaning that you will
3295 * be able to use more than 2 gigabytes of memory. This mode is
3296 * even more binary incompatible than USE_64_BIT_INT. You may not
3297 * be able to run the resulting executable in a 32-bit CPU at all or
3298 * you may need at least to reboot your OS to 64-bit mode.
3300 #ifndef USE_64_BIT_INT
3301 /*#define USE_64_BIT_INT / **/
3304 #ifndef USE_64_BIT_ALL
3305 /*#define USE_64_BIT_ALL / **/
3309 * This symbol, if defined, indicates that Perl should
3310 * be built to use 'fast stdio'.
3311 * Defaults to define in Perls 5.8 and earlier, to undef later.
3313 #ifndef USE_FAST_STDIO
3314 /*#define USE_FAST_STDIO / **/
3318 * This symbol, if defined, indicates that large file support
3319 * should be used when available.
3321 #ifndef USE_LARGE_FILES
3322 /*#define USE_LARGE_FILES / **/
3326 * This symbol, if defined, indicates that long doubles should
3327 * be used when available.
3329 #ifndef USE_LONG_DOUBLE
3330 /*#define USE_LONG_DOUBLE / **/
3334 * This symbol, if defined, indicates that 64-bit interfaces and
3335 * long doubles should be used when available.
3337 #ifndef USE_MORE_BITS
3338 /*#define USE_MORE_BITS / **/
3342 * This symbol, if defined, indicates that Perl should
3343 * be built to use multiplicity.
3345 #ifndef MULTIPLICITY
3346 /*#define MULTIPLICITY / **/
3350 * This symbol, if defined, indicates that the PerlIO abstraction should
3351 * be used throughout. If not defined, stdio should be
3352 * used in a fully backward compatible manner.
3355 /*#define USE_PERLIO / **/
3359 * This symbol, if defined, indicates that Perl should
3360 * be built to use socks.
3363 /*#define USE_SOCKS / **/
3366 /* PERL_XS_APIVERSION:
3367 * This variable contains the version of the oldest perl binary
3368 * compatible with the present perl. perl.c:incpush() and
3369 * lib/lib.pm will automatically search in for older
3370 * directories across major versions back to xs_apiversion.
3371 * This is only useful if you have a perl library directory tree
3372 * structured like the default one.
3373 * See INSTALL for how this works.
3374 * The versioned site_perl directory was introduced in 5.005,
3375 * so that is the lowest possible value.
3376 * Since this can depend on compile time options
3377 * it is set by Configure. Other non-default sources
3378 * of potential incompatibility, such as multiplicity, threads,
3379 * debugging, 64bits, sfio, etc., are not checked for currently,
3380 * though in principle we could go snooping around in old
3383 /* PERL_PM_APIVERSION:
3384 * This variable contains the version of the oldest perl
3385 * compatible with the present perl. (That is, pure perl modules
3386 * written for pm_apiversion will still work for the current
3387 * version). perl.c:incpush() and lib/lib.pm will automatically
3388 * search in for older directories across major versions
3389 * back to pm_apiversion. This is only useful if you have a perl
3390 * library directory tree structured like the default one. The
3391 * versioned site_perl library was introduced in 5.005, so that's
3392 * the default setting for this variable. It's hard to imagine
3393 * it changing before Perl6. It is included here for symmetry
3394 * with xs_apiveprsion -- the searching algorithms will
3395 * (presumably) be similar.
3396 * See the INSTALL file for how this works.
3398 #define PERL_XS_APIVERSION "5.008"
3399 #define PERL_PM_APIVERSION "5.005"
3401 /* HAS_DRAND48_PROTO:
3402 * This symbol, if defined, indicates that the system provides
3403 * a prototype for the drand48() function. Otherwise, it is up
3404 * to the program to supply one. A good guess is
3405 * extern double drand48(void);
3407 /*#define HAS_DRAND48_PROTO / **/
3409 /* HAS_GETHOST_PROTOS:
3410 * This symbol, if defined, indicates that <netdb.h> includes
3411 * prototypes for gethostent(), gethostbyname(), and
3412 * gethostbyaddr(). Otherwise, it is up to the program to guess
3413 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
3415 /*#define HAS_GETHOST_PROTOS / **/
3417 /* HAS_GETNET_PROTOS:
3418 * This symbol, if defined, indicates that <netdb.h> includes
3419 * prototypes for getnetent(), getnetbyname(), and
3420 * getnetbyaddr(). Otherwise, it is up to the program to guess
3421 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
3423 /*#define HAS_GETNET_PROTOS / **/
3425 /* HAS_GETPROTO_PROTOS:
3426 * This symbol, if defined, indicates that <netdb.h> includes
3427 * prototypes for getprotoent(), getprotobyname(), and
3428 * getprotobyaddr(). Otherwise, it is up to the program to guess
3429 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
3431 /*#define HAS_GETPROTO_PROTOS / **/
3433 /* HAS_GETSERV_PROTOS:
3434 * This symbol, if defined, indicates that <netdb.h> includes
3435 * prototypes for getservent(), getservbyname(), and
3436 * getservbyaddr(). Otherwise, it is up to the program to guess
3437 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
3439 /*#define HAS_GETSERV_PROTOS / **/
3442 * This symbol, if defined, indicates that the system provides
3443 * a prototype for the lseek() function. Otherwise, it is up
3444 * to the program to supply one. A good guess is
3445 * extern off_t lseek(int, off_t, int);
3447 /*#define HAS_LSEEK_PROTO / **/
3450 * This symbol holds the type used for the 1st argument
3451 * to gethostbyaddr().
3454 * This symbol holds the type used for the 2nd argument
3455 * to gethostbyaddr().
3458 * This symbol holds the type used for the argument to
3462 * This symbol holds the type used for the 1st argument to
3465 #define Netdb_host_t const char * /**/
3466 #define Netdb_hlen_t int /**/
3467 #define Netdb_name_t const char * /**/
3468 #define Netdb_net_t unsigned long /**/
3471 * This symbol holds the type used for the 2nd, 3rd, and 4th
3472 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
3473 * is defined, and 'int *' otherwise. This is only useful if you
3474 * have select(), of course.
3476 #define Select_fd_set_t int /**/
3479 * This symbol holds the type used for the size argument of
3480 * various socket calls (just the base type, not the pointer-to).
3482 #define Sock_size_t int /**/
3485 * This symbol holds a string representing the architecture name.
3486 * It may be used to construct an architecture-dependant pathname
3487 * where library files may be held under a private library, for
3490 #define ARCHNAME "unknown" /**/
3493 * This symbol, if defined, indicates that the asctime_r routine
3494 * is available to asctime re-entrantly.
3497 * This symbol encodes the prototype of asctime_r.
3498 * It is zero if d_asctime_r is undef, and one of the
3499 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
3502 /*#define HAS_ASCTIME_R / **/
3503 #define ASCTIME_R_PROTO 0 /**/
3506 * This symbol, if defined, indicates that the crypt_r routine
3507 * is available to crypt re-entrantly.
3510 * This symbol encodes the prototype of crypt_r.
3511 * It is zero if d_crypt_r is undef, and one of the
3512 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
3515 /*#define HAS_CRYPT_R / **/
3516 #define CRYPT_R_PROTO 0 /**/
3519 * This symbol, if defined, indicates that the ctermid_r routine
3520 * is available to ctermid re-entrantly.
3523 * This symbol encodes the prototype of ctermid_r.
3524 * It is zero if d_ctermid_r is undef, and one of the
3525 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
3528 /*#define HAS_CTERMID_R / **/
3529 #define CTERMID_R_PROTO 0 /**/
3532 * This symbol, if defined, indicates that the ctime_r routine
3533 * is available to ctime re-entrantly.
3536 * This symbol encodes the prototype of ctime_r.
3537 * It is zero if d_ctime_r is undef, and one of the
3538 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
3541 /*#define HAS_CTIME_R / **/
3542 #define CTIME_R_PROTO 0 /**/
3545 * This symbol, if defined, indicates that the drand48_r routine
3546 * is available to drand48 re-entrantly.
3549 * This symbol encodes the prototype of drand48_r.
3550 * It is zero if d_drand48_r is undef, and one of the
3551 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
3554 /*#define HAS_DRAND48_R / **/
3555 #define DRAND48_R_PROTO 0 /**/
3558 * This symbol, if defined, indicates that the endgrent_r routine
3559 * is available to endgrent re-entrantly.
3561 /* ENDGRENT_R_PROTO:
3562 * This symbol encodes the prototype of endgrent_r.
3563 * It is zero if d_endgrent_r is undef, and one of the
3564 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
3567 /*#define HAS_ENDGRENT_R / **/
3568 #define ENDGRENT_R_PROTO 0 /**/
3570 /* HAS_ENDHOSTENT_R:
3571 * This symbol, if defined, indicates that the endhostent_r routine
3572 * is available to endhostent re-entrantly.
3574 /* ENDHOSTENT_R_PROTO:
3575 * This symbol encodes the prototype of endhostent_r.
3576 * It is zero if d_endhostent_r is undef, and one of the
3577 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
3580 /*#define HAS_ENDHOSTENT_R / **/
3581 #define ENDHOSTENT_R_PROTO 0 /**/
3584 * This symbol, if defined, indicates that the endnetent_r routine
3585 * is available to endnetent re-entrantly.
3587 /* ENDNETENT_R_PROTO:
3588 * This symbol encodes the prototype of endnetent_r.
3589 * It is zero if d_endnetent_r is undef, and one of the
3590 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
3593 /*#define HAS_ENDNETENT_R / **/
3594 #define ENDNETENT_R_PROTO 0 /**/
3596 /* HAS_ENDPROTOENT_R:
3597 * This symbol, if defined, indicates that the endprotoent_r routine
3598 * is available to endprotoent re-entrantly.
3600 /* ENDPROTOENT_R_PROTO:
3601 * This symbol encodes the prototype of endprotoent_r.
3602 * It is zero if d_endprotoent_r is undef, and one of the
3603 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
3606 /*#define HAS_ENDPROTOENT_R / **/
3607 #define ENDPROTOENT_R_PROTO 0 /**/
3610 * This symbol, if defined, indicates that the endpwent_r routine
3611 * is available to endpwent re-entrantly.
3613 /* ENDPWENT_R_PROTO:
3614 * This symbol encodes the prototype of endpwent_r.
3615 * It is zero if d_endpwent_r is undef, and one of the
3616 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
3619 /*#define HAS_ENDPWENT_R / **/
3620 #define ENDPWENT_R_PROTO 0 /**/
3622 /* HAS_ENDSERVENT_R:
3623 * This symbol, if defined, indicates that the endservent_r routine
3624 * is available to endservent re-entrantly.
3626 /* ENDSERVENT_R_PROTO:
3627 * This symbol encodes the prototype of endservent_r.
3628 * It is zero if d_endservent_r is undef, and one of the
3629 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
3632 /*#define HAS_ENDSERVENT_R / **/
3633 #define ENDSERVENT_R_PROTO 0 /**/
3636 * This symbol, if defined, indicates that the getgrent_r routine
3637 * is available to getgrent re-entrantly.
3639 /* GETGRENT_R_PROTO:
3640 * This symbol encodes the prototype of getgrent_r.
3641 * It is zero if d_getgrent_r is undef, and one of the
3642 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
3645 /*#define HAS_GETGRENT_R / **/
3646 #define GETGRENT_R_PROTO 0 /**/
3649 * This symbol, if defined, indicates that the getgrgid_r routine
3650 * is available to getgrgid re-entrantly.
3652 /* GETGRGID_R_PROTO:
3653 * This symbol encodes the prototype of getgrgid_r.
3654 * It is zero if d_getgrgid_r is undef, and one of the
3655 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
3658 /*#define HAS_GETGRGID_R / **/
3659 #define GETGRGID_R_PROTO 0 /**/
3662 * This symbol, if defined, indicates that the getgrnam_r routine
3663 * is available to getgrnam re-entrantly.
3665 /* GETGRNAM_R_PROTO:
3666 * This symbol encodes the prototype of getgrnam_r.
3667 * It is zero if d_getgrnam_r is undef, and one of the
3668 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
3671 /*#define HAS_GETGRNAM_R / **/
3672 #define GETGRNAM_R_PROTO 0 /**/
3674 /* HAS_GETHOSTBYADDR_R:
3675 * This symbol, if defined, indicates that the gethostbyaddr_r routine
3676 * is available to gethostbyaddr re-entrantly.
3678 /* GETHOSTBYADDR_R_PROTO:
3679 * This symbol encodes the prototype of gethostbyaddr_r.
3680 * It is zero if d_gethostbyaddr_r is undef, and one of the
3681 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
3684 /*#define HAS_GETHOSTBYADDR_R / **/
3685 #define GETHOSTBYADDR_R_PROTO 0 /**/
3687 /* HAS_GETHOSTBYNAME_R:
3688 * This symbol, if defined, indicates that the gethostbyname_r routine
3689 * is available to gethostbyname re-entrantly.
3691 /* GETHOSTBYNAME_R_PROTO:
3692 * This symbol encodes the prototype of gethostbyname_r.
3693 * It is zero if d_gethostbyname_r is undef, and one of the
3694 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
3697 /*#define HAS_GETHOSTBYNAME_R / **/
3698 #define GETHOSTBYNAME_R_PROTO 0 /**/
3700 /* HAS_GETHOSTENT_R:
3701 * This symbol, if defined, indicates that the gethostent_r routine
3702 * is available to gethostent re-entrantly.
3704 /* GETHOSTENT_R_PROTO:
3705 * This symbol encodes the prototype of gethostent_r.
3706 * It is zero if d_gethostent_r is undef, and one of the
3707 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
3710 /*#define HAS_GETHOSTENT_R / **/
3711 #define GETHOSTENT_R_PROTO 0 /**/
3714 * This symbol, if defined, indicates that the getlogin_r routine
3715 * is available to getlogin re-entrantly.
3717 /* GETLOGIN_R_PROTO:
3718 * This symbol encodes the prototype of getlogin_r.
3719 * It is zero if d_getlogin_r is undef, and one of the
3720 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
3723 /*#define HAS_GETLOGIN_R / **/
3724 #define GETLOGIN_R_PROTO 0 /**/
3726 /* HAS_GETNETBYADDR_R:
3727 * This symbol, if defined, indicates that the getnetbyaddr_r routine
3728 * is available to getnetbyaddr re-entrantly.
3730 /* GETNETBYADDR_R_PROTO:
3731 * This symbol encodes the prototype of getnetbyaddr_r.
3732 * It is zero if d_getnetbyaddr_r is undef, and one of the
3733 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
3736 /*#define HAS_GETNETBYADDR_R / **/
3737 #define GETNETBYADDR_R_PROTO 0 /**/
3739 /* HAS_GETNETBYNAME_R:
3740 * This symbol, if defined, indicates that the getnetbyname_r routine
3741 * is available to getnetbyname re-entrantly.
3743 /* GETNETBYNAME_R_PROTO:
3744 * This symbol encodes the prototype of getnetbyname_r.
3745 * It is zero if d_getnetbyname_r is undef, and one of the
3746 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
3749 /*#define HAS_GETNETBYNAME_R / **/
3750 #define GETNETBYNAME_R_PROTO 0 /**/
3753 * This symbol, if defined, indicates that the getnetent_r routine
3754 * is available to getnetent re-entrantly.
3756 /* GETNETENT_R_PROTO:
3757 * This symbol encodes the prototype of getnetent_r.
3758 * It is zero if d_getnetent_r is undef, and one of the
3759 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
3762 /*#define HAS_GETNETENT_R / **/
3763 #define GETNETENT_R_PROTO 0 /**/
3765 /* HAS_GETPROTOBYNAME_R:
3766 * This symbol, if defined, indicates that the getprotobyname_r routine
3767 * is available to getprotobyname re-entrantly.
3769 /* GETPROTOBYNAME_R_PROTO:
3770 * This symbol encodes the prototype of getprotobyname_r.
3771 * It is zero if d_getprotobyname_r is undef, and one of the
3772 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
3775 /*#define HAS_GETPROTOBYNAME_R / **/
3776 #define GETPROTOBYNAME_R_PROTO 0 /**/
3778 /* HAS_GETPROTOBYNUMBER_R:
3779 * This symbol, if defined, indicates that the getprotobynumber_r routine
3780 * is available to getprotobynumber re-entrantly.
3782 /* GETPROTOBYNUMBER_R_PROTO:
3783 * This symbol encodes the prototype of getprotobynumber_r.
3784 * It is zero if d_getprotobynumber_r is undef, and one of the
3785 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
3788 /*#define HAS_GETPROTOBYNUMBER_R / **/
3789 #define GETPROTOBYNUMBER_R_PROTO 0 /**/
3791 /* HAS_GETPROTOENT_R:
3792 * This symbol, if defined, indicates that the getprotoent_r routine
3793 * is available to getprotoent re-entrantly.
3795 /* GETPROTOENT_R_PROTO:
3796 * This symbol encodes the prototype of getprotoent_r.
3797 * It is zero if d_getprotoent_r is undef, and one of the
3798 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
3801 /*#define HAS_GETPROTOENT_R / **/
3802 #define GETPROTOENT_R_PROTO 0 /**/
3805 * This symbol, if defined, indicates that the getpwent_r routine
3806 * is available to getpwent re-entrantly.
3808 /* GETPWENT_R_PROTO:
3809 * This symbol encodes the prototype of getpwent_r.
3810 * It is zero if d_getpwent_r is undef, and one of the
3811 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
3814 /*#define HAS_GETPWENT_R / **/
3815 #define GETPWENT_R_PROTO 0 /**/
3818 * This symbol, if defined, indicates that the getpwnam_r routine
3819 * is available to getpwnam re-entrantly.
3821 /* GETPWNAM_R_PROTO:
3822 * This symbol encodes the prototype of getpwnam_r.
3823 * It is zero if d_getpwnam_r is undef, and one of the
3824 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
3827 /*#define HAS_GETPWNAM_R / **/
3828 #define GETPWNAM_R_PROTO 0 /**/
3831 * This symbol, if defined, indicates that the getpwuid_r routine
3832 * is available to getpwuid re-entrantly.
3834 /* GETPWUID_R_PROTO:
3835 * This symbol encodes the prototype of getpwuid_r.
3836 * It is zero if d_getpwuid_r is undef, and one of the
3837 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
3840 /*#define HAS_GETPWUID_R / **/
3841 #define GETPWUID_R_PROTO 0 /**/
3843 /* HAS_GETSERVBYNAME_R:
3844 * This symbol, if defined, indicates that the getservbyname_r routine
3845 * is available to getservbyname re-entrantly.
3847 /* GETSERVBYNAME_R_PROTO:
3848 * This symbol encodes the prototype of getservbyname_r.
3849 * It is zero if d_getservbyname_r is undef, and one of the
3850 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
3853 /*#define HAS_GETSERVBYNAME_R / **/
3854 #define GETSERVBYNAME_R_PROTO 0 /**/
3856 /* HAS_GETSERVBYPORT_R:
3857 * This symbol, if defined, indicates that the getservbyport_r routine
3858 * is available to getservbyport re-entrantly.
3860 /* GETSERVBYPORT_R_PROTO:
3861 * This symbol encodes the prototype of getservbyport_r.
3862 * It is zero if d_getservbyport_r is undef, and one of the
3863 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
3866 /*#define HAS_GETSERVBYPORT_R / **/
3867 #define GETSERVBYPORT_R_PROTO 0 /**/
3869 /* HAS_GETSERVENT_R:
3870 * This symbol, if defined, indicates that the getservent_r routine
3871 * is available to getservent re-entrantly.
3873 /* GETSERVENT_R_PROTO:
3874 * This symbol encodes the prototype of getservent_r.
3875 * It is zero if d_getservent_r is undef, and one of the
3876 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
3879 /*#define HAS_GETSERVENT_R / **/
3880 #define GETSERVENT_R_PROTO 0 /**/
3883 * This symbol, if defined, indicates that the getspnam_r routine
3884 * is available to getspnam re-entrantly.
3886 /* GETSPNAM_R_PROTO:
3887 * This symbol encodes the prototype of getspnam_r.
3888 * It is zero if d_getspnam_r is undef, and one of the
3889 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
3892 /*#define HAS_GETSPNAM_R / **/
3893 #define GETSPNAM_R_PROTO 0 /**/
3896 * This symbol, if defined, indicates that the gmtime_r routine
3897 * is available to gmtime re-entrantly.
3900 * This symbol encodes the prototype of gmtime_r.
3901 * It is zero if d_gmtime_r is undef, and one of the
3902 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
3905 /*#define HAS_GMTIME_R / **/
3906 #define GMTIME_R_PROTO 0 /**/
3909 * This symbol, if defined, indicates that the localtime_r routine
3910 * is available to localtime re-entrantly.
3912 /* LOCALTIME_R_PROTO:
3913 * This symbol encodes the prototype of localtime_r.
3914 * It is zero if d_localtime_r is undef, and one of the
3915 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
3918 /*#define HAS_LOCALTIME_R / **/
3919 #define LOCALTIME_R_PROTO 0 /**/
3921 /* OLD_PTHREAD_CREATE_JOINABLE:
3922 * This symbol, if defined, indicates how to create pthread
3923 * in joinable (aka undetached) state. NOTE: not defined
3924 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
3925 * (the new version of the constant).
3926 * If defined, known values are PTHREAD_CREATE_UNDETACHED
3929 /*#define OLD_PTHREAD_CREATE_JOINABLE / **/
3931 /* HAS_PTHREAD_ATFORK:
3932 * This symbol, if defined, indicates that the pthread_atfork routine
3933 * is available to setup fork handlers.
3935 /*#define HAS_PTHREAD_ATFORK / **/
3937 /* HAS_PTHREAD_YIELD:
3938 * This symbol, if defined, indicates that the pthread_yield
3939 * routine is available to yield the execution of the current
3940 * thread. sched_yield is preferable to pthread_yield.
3943 * This symbol defines the way to yield the execution of
3944 * the current thread. Known ways are sched_yield,
3945 * pthread_yield, and pthread_yield with NULL.
3948 * This symbol, if defined, indicates that the sched_yield
3949 * routine is available to yield the execution of the current
3950 * thread. sched_yield is preferable to pthread_yield.
3952 /*#define HAS_PTHREAD_YIELD / **/
3953 #define SCHED_YIELD sched_yield() /**/
3954 /*#define HAS_SCHED_YIELD / **/
3957 * This symbol, if defined, indicates that the random_r routine
3958 * is available to random re-entrantly.
3961 * This symbol encodes the prototype of random_r.
3962 * It is zero if d_random_r is undef, and one of the
3963 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
3966 /*#define HAS_RANDOM_R / **/
3967 #define RANDOM_R_PROTO 0 /**/
3970 * This symbol, if defined, indicates that the readdir64_r routine
3971 * is available to readdir64 re-entrantly.
3973 /* READDIR64_R_PROTO:
3974 * This symbol encodes the prototype of readdir64_r.
3975 * It is zero if d_readdir64_r is undef, and one of the
3976 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
3979 /*#define HAS_READDIR64_R / **/
3980 #define READDIR64_R_PROTO 0 /**/
3983 * This symbol, if defined, indicates that the readdir_r routine
3984 * is available to readdir re-entrantly.
3987 * This symbol encodes the prototype of readdir_r.
3988 * It is zero if d_readdir_r is undef, and one of the
3989 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
3992 /*#define HAS_READDIR_R / **/
3993 #define READDIR_R_PROTO 0 /**/
3996 * This symbol, if defined, indicates that the setgrent_r routine
3997 * is available to setgrent re-entrantly.
3999 /* SETGRENT_R_PROTO:
4000 * This symbol encodes the prototype of setgrent_r.
4001 * It is zero if d_setgrent_r is undef, and one of the
4002 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
4005 /*#define HAS_SETGRENT_R / **/
4006 #define SETGRENT_R_PROTO 0 /**/
4008 /* HAS_SETHOSTENT_R:
4009 * This symbol, if defined, indicates that the sethostent_r routine
4010 * is available to sethostent re-entrantly.
4012 /* SETHOSTENT_R_PROTO:
4013 * This symbol encodes the prototype of sethostent_r.
4014 * It is zero if d_sethostent_r is undef, and one of the
4015 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
4018 /*#define HAS_SETHOSTENT_R / **/
4019 #define SETHOSTENT_R_PROTO 0 /**/
4022 * This symbol, if defined, indicates that the setlocale_r routine
4023 * is available to setlocale re-entrantly.
4025 /* SETLOCALE_R_PROTO:
4026 * This symbol encodes the prototype of setlocale_r.
4027 * It is zero if d_setlocale_r is undef, and one of the
4028 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
4031 /*#define HAS_SETLOCALE_R / **/
4032 #define SETLOCALE_R_PROTO 0 /**/
4035 * This symbol, if defined, indicates that the setnetent_r routine
4036 * is available to setnetent re-entrantly.
4038 /* SETNETENT_R_PROTO:
4039 * This symbol encodes the prototype of setnetent_r.
4040 * It is zero if d_setnetent_r is undef, and one of the
4041 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
4044 /*#define HAS_SETNETENT_R / **/
4045 #define SETNETENT_R_PROTO 0 /**/
4047 /* HAS_SETPROTOENT_R:
4048 * This symbol, if defined, indicates that the setprotoent_r routine
4049 * is available to setprotoent re-entrantly.
4051 /* SETPROTOENT_R_PROTO:
4052 * This symbol encodes the prototype of setprotoent_r.
4053 * It is zero if d_setprotoent_r is undef, and one of the
4054 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
4057 /*#define HAS_SETPROTOENT_R / **/
4058 #define SETPROTOENT_R_PROTO 0 /**/
4061 * This symbol, if defined, indicates that the setpwent_r routine
4062 * is available to setpwent re-entrantly.
4064 /* SETPWENT_R_PROTO:
4065 * This symbol encodes the prototype of setpwent_r.
4066 * It is zero if d_setpwent_r is undef, and one of the
4067 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
4070 /*#define HAS_SETPWENT_R / **/
4071 #define SETPWENT_R_PROTO 0 /**/
4073 /* HAS_SETSERVENT_R:
4074 * This symbol, if defined, indicates that the setservent_r routine
4075 * is available to setservent re-entrantly.
4077 /* SETSERVENT_R_PROTO:
4078 * This symbol encodes the prototype of setservent_r.
4079 * It is zero if d_setservent_r is undef, and one of the
4080 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
4083 /*#define HAS_SETSERVENT_R / **/
4084 #define SETSERVENT_R_PROTO 0 /**/
4087 * This symbol, if defined, indicates that the srand48_r routine
4088 * is available to srand48 re-entrantly.
4091 * This symbol encodes the prototype of srand48_r.
4092 * It is zero if d_srand48_r is undef, and one of the
4093 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
4096 /*#define HAS_SRAND48_R / **/
4097 #define SRAND48_R_PROTO 0 /**/
4100 * This symbol, if defined, indicates that the srandom_r routine
4101 * is available to srandom re-entrantly.
4104 * This symbol encodes the prototype of srandom_r.
4105 * It is zero if d_srandom_r is undef, and one of the
4106 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
4109 /*#define HAS_SRANDOM_R / **/
4110 #define SRANDOM_R_PROTO 0 /**/
4113 * This symbol, if defined, indicates that the strerror_r routine
4114 * is available to strerror re-entrantly.
4116 /* STRERROR_R_PROTO:
4117 * This symbol encodes the prototype of strerror_r.
4118 * It is zero if d_strerror_r is undef, and one of the
4119 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
4122 /*#define HAS_STRERROR_R / **/
4123 #define STRERROR_R_PROTO 0 /**/
4126 * This symbol, if defined, indicates that the tmpnam_r routine
4127 * is available to tmpnam re-entrantly.
4130 * This symbol encodes the prototype of tmpnam_r.
4131 * It is zero if d_tmpnam_r is undef, and one of the
4132 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
4135 /*#define HAS_TMPNAM_R / **/
4136 #define TMPNAM_R_PROTO 0 /**/
4139 * This symbol, if defined, indicates that the ttyname_r routine
4140 * is available to ttyname re-entrantly.
4143 * This symbol encodes the prototype of ttyname_r.
4144 * It is zero if d_ttyname_r is undef, and one of the
4145 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
4148 /*#define HAS_TTYNAME_R / **/
4149 #define TTYNAME_R_PROTO 0 /**/
4152 * This symbol, if defined, indicates to the C program that it should
4153 * include <mach/cthreads.h>.
4155 /*#define I_MACH_CTHREADS / **/
4158 * This symbol, if defined, indicates to the C program that it should
4159 * include <pthread.h>.
4161 /*#define I_PTHREAD / **/
4164 * This symbol, if defined, indicates that Perl should be built to
4165 * use the interpreter-based threading implementation.
4168 * This symbol, if defined, indicates that Perl should be built to
4169 * use the 5.005-based threading implementation.
4171 /* OLD_PTHREADS_API:
4172 * This symbol, if defined, indicates that Perl should
4173 * be built to use the old draft POSIX threads API.
4175 /* USE_REENTRANT_API:
4176 * This symbol, if defined, indicates that Perl should
4177 * try to use the various _r versions of library functions.
4178 * This is extremely experimental.
4180 /*#define USE_5005THREADS / **/
4181 /*#define USE_ITHREADS / **/
4182 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
4183 #define USE_THREADS /* until src is revised*/
4185 /*#define OLD_PTHREADS_API / **/
4186 /*#define USE_REENTRANT_API / **/
4189 * This symbol, if defined, indicates that the time() routine exists.
4192 * This symbol holds the type returned by time(). It can be long,
4193 * or time_t on BSD sites (in which case <sys/types.h> should be
4196 #define HAS_TIME /**/
4197 #define Time_t time_t /* Time type */
4200 * This symbol, if defined, indicates that the times() routine exists.
4201 * Note that this became obsolete on some systems (SUNOS), which now
4202 * use getrusage(). It may be necessary to include <sys/times.h>.
4204 /*#define HAS_TIMES / **/
4207 * This symbol holds the type used to declare file positions in libc.
4208 * It can be fpos_t, long, uint, etc... It may be necessary to include
4209 * <sys/types.h> to get any typedef'ed information.
4211 #define Fpos_t int /* File position type */
4214 * This symbol defines the format string used for printing a Gid_t.
4216 #define Gid_t_f "lu" /**/
4219 * This symbol holds the signedess of a Gid_t.
4220 * 1 for unsigned, -1 for signed.
4222 #define Gid_t_sign 1 /* GID sign */
4225 * This symbol holds the size of a Gid_t in bytes.
4227 #define Gid_t_size 4 /* GID size */
4230 * This symbol holds the return type of getgid() and the type of
4231 * argument to setrgid() and related functions. Typically,
4232 * it is the type of group ids in the kernel. It can be int, ushort,
4233 * gid_t, etc... It may be necessary to include <sys/types.h> to get
4234 * any typedef'ed information.
4236 #define Gid_t int /* Type for getgid(), etc... */
4239 * This symbol holds the type used to declare offsets in the kernel.
4240 * It can be int, long, off_t, etc... It may be necessary to include
4241 * <sys/types.h> to get any typedef'ed information.
4244 * This symbol holds the number of bytes used by the Off_t.
4247 * This symbol holds the number of bytes used by the Off_t.
4249 #define Off_t int /* <offset> type */
4250 #define LSEEKSIZE 4 /* <offset> size */
4251 #define Off_t_size 4 /* <offset> size */
4254 * This symbol holds the type used to declare file modes
4255 * for systems calls. It is usually mode_t, but may be
4256 * int or unsigned short. It may be necessary to include <sys/types.h>
4257 * to get any typedef'ed information.
4259 #define Mode_t int /* file mode parameter for system calls */
4262 * This symbol holds the type used to declare process ids in the kernel.
4263 * It can be int, uint, pid_t, etc... It may be necessary to include
4264 * <sys/types.h> to get any typedef'ed information.
4266 #define Pid_t int /* PID type */
4269 * This symbol holds the size of a Size_t in bytes.
4271 #define Size_t_size 4 /* */
4274 * This symbol holds the type used to declare length parameters
4275 * for string functions. It is usually size_t, but may be
4276 * unsigned long, int, etc. It may be necessary to include
4277 * <sys/types.h> to get any typedef'ed information.
4279 #define Size_t int /* length paramater for string functions */
4282 * This symbol defines the format string used for printing a Uid_t.
4284 #define Uid_t_f "lu" /**/
4287 * This symbol holds the signedess of a Uid_t.
4288 * 1 for unsigned, -1 for signed.
4290 #define Uid_t_sign 1 /* UID sign */
4293 * This symbol holds the size of a Uid_t in bytes.
4295 #define Uid_t_size 4 /* UID size */
4298 * This symbol holds the type used to declare user ids in the kernel.
4299 * It can be int, ushort, uid_t, etc... It may be necessary to include
4300 * <sys/types.h> to get any typedef'ed information.
4302 #define Uid_t int /* UID type */