1 /* This file was produced by running the config_h.SH script, which
2 * gets its values from undef, which is generally produced by
5 * Feel free to modify any of this as the need arises. Note, however,
6 * that running config_h.SH again will wipe out any changes you've made.
7 * For a more permanent change edit undef and rerun config_h.SH.
10 /* Package name : perl5
12 * Configuration time: Sun Aug 5 17:25:40 2012
13 * Configured by : Steve
21 * This symbol holds the complete pathname to the sed program.
23 #define LOC_SED "" /**/
26 * This symbol, if defined, indicates that the alarm routine is
29 #define HAS_ALARM /**/
32 * This symbol is defined if the bcmp() routine is available to
33 * compare blocks of memory.
35 /*#define HAS_BCMP / **/
38 * This symbol is defined if the bcopy() routine is available to
39 * copy blocks of memory.
41 /*#define HAS_BCOPY / **/
44 * This symbol is defined if the bzero() routine is available to
45 * set a memory block to 0.
47 /*#define HAS_BZERO / **/
50 * This symbol, if defined, indicates that the chown routine is
53 /*#define HAS_CHOWN / **/
56 * This symbol, if defined, indicates that the chroot routine is
59 /*#define HAS_CHROOT / **/
62 * This symbol, if defined, indicates that the chsize routine is available
63 * to truncate files. You might need a -lx to get this routine.
65 #define HAS_CHSIZE /**/
68 * This symbol, if defined, indicates that the crypt routine is available
69 * to encrypt passwords and the like.
71 #define HAS_CRYPT /**/
74 * This symbol, if defined, indicates that the ctermid routine is
75 * available to generate filename for terminal.
77 /*#define HAS_CTERMID / **/
80 * This symbol, if defined, indicates that the cuserid routine is
81 * available to get character login names.
83 /*#define HAS_CUSERID / **/
86 * This symbol, if defined, indicates that this system's <float.h>
87 * or <limits.h> defines the symbol DBL_DIG, which is the number
88 * of significant digits in a double precision number. If this
89 * symbol is not defined, a guess of 15 is usually pretty good.
91 #define HAS_DBL_DIG /**/
94 * This symbol, if defined, indicates that the difftime routine is
97 #define HAS_DIFFTIME /**/
100 * This symbol, if defined, indicates that the dlerror routine is
101 * available to return a string describing the last error that
102 * occurred from a call to dlopen(), dlclose() or dlsym().
104 #define HAS_DLERROR /**/
107 * This symbol, if defined, indicates that the dup2 routine is
108 * available to duplicate file descriptors.
110 #define HAS_DUP2 /**/
113 * This symbol, if defined, indicates that the fchmod routine is available
114 * to change mode of opened files. If unavailable, use chmod().
116 /*#define HAS_FCHMOD / **/
119 * This symbol, if defined, indicates that the fchown routine is available
120 * to change ownership of opened files. If unavailable, use chown().
122 /*#define HAS_FCHOWN / **/
125 * This symbol, if defined, indicates to the C program that
126 * the fcntl() function exists.
128 /*#define HAS_FCNTL / **/
131 * This symbol, if defined, indicates that the fgetpos routine is
132 * available to get the file position indicator, similar to ftell().
134 #define HAS_FGETPOS /**/
137 * This symbol, if defined, indicates that the flock routine is
138 * available to do file locking.
140 #define HAS_FLOCK /**/
143 * This symbol, if defined, indicates that the fork routine is
146 /*#define HAS_FORK / **/
149 * This symbol, if defined, indicates that the fsetpos routine is
150 * available to set the file position indicator, similar to fseek().
152 #define HAS_FSETPOS /**/
155 * This symbol, if defined, indicates that the gettimeofday() system
156 * call is available for a sub-second accuracy clock. Usually, the file
157 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
158 * The type "Timeval" should be used to refer to "struct timeval".
160 #define HAS_GETTIMEOFDAY /**/
161 #ifdef HAS_GETTIMEOFDAY
162 #define Timeval struct timeval /* Structure used by gettimeofday() */
166 * This symbol, if defined, indicates that the getgroups() routine is
167 * available to get the list of process groups. If unavailable, multiple
168 * groups are probably not supported.
170 /*#define HAS_GETGROUPS / **/
173 * This symbol, if defined, indicates that the getlogin routine is
174 * available to get the login name.
176 #define HAS_GETLOGIN /**/
179 * This symbol, if defined, indicates to the C program that
180 * the getpgid(pid) function is available to get the
183 /*#define HAS_GETPGID / **/
186 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
187 * routine is available to get the current process group.
189 /*#define HAS_GETPGRP2 / **/
192 * This symbol, if defined, indicates that the getppid routine is
193 * available to get the parent process ID.
195 /*#define HAS_GETPPID / **/
198 * This symbol, if defined, indicates that the getpriority routine is
199 * available to get a process's priority.
201 /*#define HAS_GETPRIORITY / **/
204 * This symbol, if defined, indicates to the C program that the
205 * inet_aton() function is available to parse IP address "dotted-quad"
208 /*#define HAS_INET_ATON / **/
211 * This symbol, if defined, indicates that the killpg routine is available
212 * to kill process groups. If unavailable, you probably should use kill
213 * with a negative process number.
215 #define HAS_KILLPG /**/
218 * This symbol, if defined, indicates that the link routine is
219 * available to create hard links.
221 #define HAS_LINK /**/
224 * This symbol, if defined, indicates that the localeconv routine is
225 * available for numeric and monetary formatting conventions.
227 #define HAS_LOCALECONV /**/
230 * This symbol, if defined, indicates that the lockf routine is
231 * available to do file locking.
233 /*#define HAS_LOCKF / **/
236 * This symbol, if defined, indicates that the lstat routine is
237 * available to do file stats on symbolic links.
239 /*#define HAS_LSTAT / **/
242 * This symbol, if defined, indicates that the mblen routine is available
243 * to find the number of bytes in a multibye character.
245 #define HAS_MBLEN /**/
248 * This symbol, if defined, indicates that the mbstowcs routine is
249 * available to covert a multibyte string into a wide character string.
251 #define HAS_MBSTOWCS /**/
254 * This symbol, if defined, indicates that the mbtowc routine is available
255 * to covert a multibyte to a wide character.
257 #define HAS_MBTOWC /**/
260 * This symbol, if defined, indicates that the memcmp routine is available
261 * to compare blocks of memory.
263 #define HAS_MEMCMP /**/
266 * This symbol, if defined, indicates that the memcpy routine is available
267 * to copy blocks of memory.
269 #define HAS_MEMCPY /**/
272 * This symbol, if defined, indicates that the memmove routine is available
273 * to copy potentially overlapping blocks of memory. This should be used
274 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
277 #define HAS_MEMMOVE /**/
280 * This symbol, if defined, indicates that the memset routine is available
281 * to set blocks of memory.
283 #define HAS_MEMSET /**/
286 * This symbol, if defined, indicates that the mkdir routine is available
287 * to create directories. Otherwise you should fork off a new process to
290 #define HAS_MKDIR /**/
293 * This symbol, if defined, indicates that the mkfifo routine is
294 * available to create FIFOs. Otherwise, mknod should be able to
295 * do it for you. However, if mkfifo is there, mknod might require
296 * super-user privileges which mkfifo will not.
298 /*#define HAS_MKFIFO / **/
301 * This symbol, if defined, indicates that the mktime routine is
304 #define HAS_MKTIME /**/
307 * This symbol, if defined, indicates that the msync system call is
308 * available to synchronize a mapped file.
310 /*#define HAS_MSYNC / **/
313 * This symbol, if defined, indicates that the munmap system call is
314 * available to unmap a region, usually mapped by mmap().
316 /*#define HAS_MUNMAP / **/
319 * This symbol, if defined, indicates that the nice routine is
322 /*#define HAS_NICE / **/
325 * This symbol, if defined, indicates that pathconf() is available
326 * to determine file-system related limits and options associated
327 * with a given filename.
330 * This symbol, if defined, indicates that pathconf() is available
331 * to determine file-system related limits and options associated
332 * with a given open file descriptor.
334 /*#define HAS_PATHCONF / **/
335 /*#define HAS_FPATHCONF / **/
338 * This symbol, if defined, indicates that the pause routine is
339 * available to suspend a process until a signal is received.
341 #define HAS_PAUSE /**/
344 * This symbol, if defined, indicates that the pipe routine is
345 * available to create an inter-process channel.
347 #define HAS_PIPE /**/
350 * This symbol, if defined, indicates that the poll routine is
351 * available to poll active file descriptors. Please check I_POLL and
352 * I_SYS_POLL to know which header should be included as well.
354 /*#define HAS_POLL / **/
357 * This symbol, if defined, indicates that the readdir routine is
358 * available to read directory entries. You may have to include
359 * <dirent.h>. See I_DIRENT.
361 #define HAS_READDIR /**/
364 * This symbol, if defined, indicates that the seekdir routine is
365 * available. You may have to include <dirent.h>. See I_DIRENT.
367 #define HAS_SEEKDIR /**/
370 * This symbol, if defined, indicates that the telldir routine is
371 * available. You may have to include <dirent.h>. See I_DIRENT.
373 #define HAS_TELLDIR /**/
376 * This symbol, if defined, indicates that the rewinddir routine is
377 * available. You may have to include <dirent.h>. See I_DIRENT.
379 #define HAS_REWINDDIR /**/
382 * This symbol, if defined, indicates that the readlink routine is
383 * available to read the value of a symbolic link.
385 /*#define HAS_READLINK / **/
388 * This symbol, if defined, indicates that the rename routine is available
389 * to rename files. Otherwise you should do the unlink(), link(), unlink()
392 #define HAS_RENAME /**/
395 * This symbol, if defined, indicates that the rmdir routine is
396 * available to remove directories. Otherwise you should fork off a
397 * new process to exec /bin/rmdir.
399 #define HAS_RMDIR /**/
402 * This symbol, if defined, indicates that the select routine is
403 * available to select active file descriptors. If the timeout field
404 * is used, <sys/time.h> may need to be included.
406 #define HAS_SELECT /**/
409 * This symbol, if defined, indicates that the setegid routine is available
410 * to change the effective gid of the current program.
412 /*#define HAS_SETEGID / **/
415 * This symbol, if defined, indicates that the seteuid routine is available
416 * to change the effective uid of the current program.
418 /*#define HAS_SETEUID / **/
421 * This symbol, if defined, indicates that the setgroups() routine is
422 * available to set the list of process groups. If unavailable, multiple
423 * groups are probably not supported.
425 /*#define HAS_SETGROUPS / **/
428 * This symbol, if defined, indicates that the setlinebuf routine is
429 * available to change stderr or stdout from block-buffered or unbuffered
430 * to a line-buffered mode.
432 /*#define HAS_SETLINEBUF / **/
435 * This symbol, if defined, indicates that the setlocale routine is
436 * available to handle locale-specific ctype implementations.
438 #define HAS_SETLOCALE /**/
441 * This symbol, if defined, indicates that the setpgid(pid, gpid)
442 * routine is available to set process group ID.
444 /*#define HAS_SETPGID / **/
447 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
448 * routine is available to set the current process group.
450 /*#define HAS_SETPGRP2 / **/
453 * This symbol, if defined, indicates that the setpriority routine is
454 * available to set a process's priority.
456 /*#define HAS_SETPRIORITY / **/
459 * This symbol, if defined, indicates that the setregid routine is
460 * available to change the real and effective gid of the current
464 * This symbol, if defined, indicates that the setresgid routine is
465 * available to change the real, effective and saved gid of the current
468 /*#define HAS_SETREGID / **/
469 /*#define HAS_SETRESGID / **/
472 * This symbol, if defined, indicates that the setreuid routine is
473 * available to change the real and effective uid of the current
477 * This symbol, if defined, indicates that the setresuid routine is
478 * available to change the real, effective and saved uid of the current
481 /*#define HAS_SETREUID / **/
482 /*#define HAS_SETRESUID / **/
485 * This symbol, if defined, indicates that the setrgid routine is available
486 * to change the real gid of the current program.
488 /*#define HAS_SETRGID / **/
491 * This symbol, if defined, indicates that the setruid routine is available
492 * to change the real uid of the current program.
494 /*#define HAS_SETRUID / **/
497 * This symbol, if defined, indicates that the setsid routine is
498 * available to set the process group ID.
500 /*#define HAS_SETSID / **/
503 * This symbol is defined to indicate that the strchr()/strrchr()
504 * functions are available for string searching. If not, try the
505 * index()/rindex() pair.
508 * This symbol is defined to indicate that the index()/rindex()
509 * functions are available for string searching.
511 #define HAS_STRCHR /**/
512 /*#define HAS_INDEX / **/
515 * This symbol, if defined, indicates that the strcoll routine is
516 * available to compare strings using collating information.
518 #define HAS_STRCOLL /**/
521 * This symbol, if defined, indicates that the strtod routine is
522 * available to provide better numeric string conversion than atof().
524 #define HAS_STRTOD /**/
527 * This symbol, if defined, indicates that the strtol routine is available
528 * to provide better numeric string conversion than atoi() and friends.
530 #define HAS_STRTOL /**/
533 * This symbol, if defined, indicates that the strxfrm() routine is
534 * available to transform strings.
536 #define HAS_STRXFRM /**/
539 * This symbol, if defined, indicates that the symlink routine is available
540 * to create symbolic links.
542 /*#define HAS_SYMLINK / **/
545 * This symbol, if defined, indicates that the syscall routine is
546 * available to call arbitrary system calls. If undefined, that's tough.
548 /*#define HAS_SYSCALL / **/
551 * This symbol, if defined, indicates that sysconf() is available
552 * to determine system related limits and options.
554 /*#define HAS_SYSCONF / **/
557 * This symbol, if defined, indicates that the system routine is
558 * available to issue a shell command.
560 #define HAS_SYSTEM /**/
563 * This symbol, if defined, indicates that the tcgetpgrp routine is
564 * available to get foreground process group ID.
566 /*#define HAS_TCGETPGRP / **/
569 * This symbol, if defined, indicates that the tcsetpgrp routine is
570 * available to set foreground process group ID.
572 /*#define HAS_TCSETPGRP / **/
575 * This symbol, if defined, indicates that the truncate routine is
576 * available to truncate files.
578 /*#define HAS_TRUNCATE / **/
581 * This symbol, if defined, indicates that the tzname[] array is
582 * available to access timezone names.
584 #define HAS_TZNAME /**/
587 * This symbol, if defined, indicates that the umask routine is
588 * available to set and get the value of the file creation mask.
590 #define HAS_UMASK /**/
593 * This symbol, if defined, indicates that the usleep routine is
594 * available to let the process sleep on a sub-second accuracy.
596 /*#define HAS_USLEEP / **/
599 * This symbol, if defined, indicates that wait4() exists.
601 /*#define HAS_WAIT4 / **/
604 * This symbol, if defined, indicates that the waitpid routine is
605 * available to wait for child process.
607 #define HAS_WAITPID /**/
610 * This symbol, if defined, indicates that the wcstombs routine is
611 * available to convert wide character strings to multibyte strings.
613 #define HAS_WCSTOMBS /**/
616 * This symbol, if defined, indicates that the wctomb routine is available
617 * to covert a wide character to a multibyte.
619 #define HAS_WCTOMB /**/
622 * This symbol holds the type used for the second argument to
623 * getgroups() and setgroups(). Usually, this is the same as
624 * gidtype (gid_t) , but sometimes it isn't.
625 * It can be int, ushort, gid_t, etc...
626 * It may be necessary to include <sys/types.h> to get any
627 * typedef'ed information. This is only required if you have
628 * getgroups() or setgroups()..
630 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
631 #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
635 * This symbol, if defined, indicates to the C program that it should
636 * include <arpa/inet.h> to get inet_addr and friends declarations.
638 #define I_ARPA_INET /**/
641 * This symbol, if defined, indicates that <dbm.h> exists and should
645 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
646 * should be included.
648 /*#define I_DBM / **/
649 #define I_RPCSVC_DBM /**/
652 * This symbol, if defined, indicates that <dlfcn.h> exists and should
658 * This manifest constant tells the C program to include <fcntl.h>.
663 * This symbol, if defined, indicates to the C program that it should
664 * include <float.h> to get definition of symbols like DBL_MAX or
665 * DBL_MIN, i.e. machine dependent floating point values.
670 * This symbol, if defined, indicates that <gdbm.h> exists and should
673 /*#define I_GDBM / **/
676 * This symbol, if defined, indicates to the C program that it should
677 * include <limits.h> to get definition of symbols like WORD_BIT or
678 * LONG_MAX, i.e. machine dependant limitations.
680 #define I_LIMITS /**/
683 * This symbol, if defined, indicates to the C program that it should
684 * include <locale.h>.
686 #define I_LOCALE /**/
689 * This symbol, if defined, indicates to the C program that it should
695 * This symbol, if defined, indicates to the C program that it should
696 * include <memory.h>.
698 /*#define I_MEMORY / **/
701 * This symbol, if defined, indicates to the C program that it should
702 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
704 /*#define I_NETINET_IN / **/
707 * This symbol, if defined, indicates to the C program that it should
710 /*#define I_SFIO / **/
713 * This symbol, if defined, indicates that <stddef.h> exists and should
716 #define I_STDDEF /**/
719 * This symbol, if defined, indicates that <stdlib.h> exists and should
722 #define I_STDLIB /**/
725 * This symbol, if defined, indicates to the C program that it should
726 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
728 #define I_STRING /**/
731 * This symbol, if defined, indicates to the C program that it should
732 * include <sys/dir.h>.
734 /*#define I_SYS_DIR / **/
737 * This symbol, if defined, indicates to the C program that it should
738 * include <sys/file.h> to get definition of R_OK and friends.
740 /*#define I_SYS_FILE / **/
743 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
744 * be included. Otherwise, include <sgtty.h> or <termio.h>.
747 * This symbol, if defined, indicates the <sys/sockio.h> should be included
748 * to get socket ioctl options, like SIOCATMARK.
750 /*#define I_SYS_IOCTL / **/
751 /*#define I_SYS_SOCKIO / **/
754 * This symbol, if defined, indicates to the C program that it should
755 * include <sys/ndir.h>.
757 /*#define I_SYS_NDIR / **/
760 * This symbol, if defined, indicates to the C program that it should
761 * include <sys/param.h>.
763 /*#define I_SYS_PARAM / **/
766 * This symbol, if defined, indicates that the program may include
767 * <sys/poll.h>. When I_POLL is also defined, it's probably safest
768 * to only include <poll.h>.
770 /*#define I_SYS_POLL / **/
773 * This symbol, if defined, indicates to the C program that it should
774 * include <sys/resource.h>.
776 /*#define I_SYS_RESOURCE / **/
779 * This symbol, if defined, indicates to the C program that it should
780 * include <sys/select.h> in order to get definition of struct timeval.
782 /*#define I_SYS_SELECT / **/
785 * This symbol, if defined, indicates to the C program that it should
786 * include <sys/stat.h>.
788 #define I_SYS_STAT /**/
791 * This symbol, if defined, indicates to the C program that it should
792 * include <sys/times.h>.
794 /*#define I_SYS_TIMES / **/
797 * This symbol, if defined, indicates to the C program that it should
798 * include <sys/types.h>.
800 #define I_SYS_TYPES /**/
803 * This symbol, if defined, indicates to the C program that it should
804 * include <sys/un.h> to get UNIX domain socket definitions.
806 /*#define I_SYS_UN / **/
809 * This symbol, if defined, indicates to the C program that it should
810 * include <sys/wait.h>.
812 /*#define I_SYS_WAIT / **/
815 * This symbol, if defined, indicates that the program should include
816 * <termio.h> rather than <sgtty.h>. There are also differences in
817 * the ioctl() calls that depend on the value of this symbol.
820 * This symbol, if defined, indicates that the program should include
821 * the POSIX termios.h rather than sgtty.h or termio.h.
822 * There are also differences in the ioctl() calls that depend on the
823 * value of this symbol.
826 * This symbol, if defined, indicates that the program should include
827 * <sgtty.h> rather than <termio.h>. There are also differences in
828 * the ioctl() calls that depend on the value of this symbol.
830 /*#define I_TERMIO / **/
831 /*#define I_TERMIOS / **/
832 /*#define I_SGTTY / **/
835 * This symbol, if defined, indicates to the C program that it should
836 * include <unistd.h>.
838 /*#define I_UNISTD / **/
841 * This symbol, if defined, indicates to the C program that it should
847 * This symbol, if defined, indicates to the C program that it should
848 * include <values.h> to get definition of symbols like MINFLOAT or
849 * MAXLONG, i.e. machine dependant limitations. Probably, you
850 * should use <limits.h> instead, if it is available.
852 /*#define I_VALUES / **/
855 * This symbol, if defined, indicates to the C program that it should
858 /*#define I_VFORK / **/
861 * This variable is defined on systems supporting prototype declaration
862 * of functions with a variable number of arguments.
865 * This macro is used to declare function parameters in prototypes for
866 * functions with a variable number of parameters. Use double parentheses.
869 * int printf _V((char *fmt, ...));
871 * Remember to use the plain simple _() macro when declaring a function
872 * with no variable number of arguments, since it might be possible to
873 * have a non-effect _V() macro and still get prototypes via _().
875 /*#define CAN_VAPROTO / **/
877 #define _V(args) args
883 * This symbol contains the name of the operating system, as determined
884 * by Configure. You shouldn't rely on it too much; the specific
885 * feature tests from Configure are generally more reliable.
888 * This symbol contains the version of the operating system, as determined
889 * by Configure. You shouldn't rely on it too much; the specific
890 * feature tests from Configure are generally more reliable.
892 #define OSNAME "MSWin32" /**/
893 #define OSVERS "6.1" /**/
895 /* USE_CROSS_COMPILE:
896 * This symbol, if defined, indicates that Perl is being cross-compiled.
899 * This symbol, if defined, indicates the target architecture
900 * Perl has been cross-compiled to. Undefined if not a cross-compile.
902 #ifndef USE_CROSS_COMPILE
903 /*#define USE_CROSS_COMPILE / **/
904 #define PERL_TARGETARCH "" /**/
908 * This symbol, if defined, signifies that the build
909 * process will produce some binary files that are going to be
910 * used in a cross-platform environment. This is the case for
911 * example with the NeXT "fat" binaries that contain executables
914 /*#define MULTIARCH / **/
917 * This symbol contains the number of bytes required to align a
918 * double, or a long double when applicable. Usual values are 2,
919 * 4 and 8. The default is eight, for safety.
921 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
922 # define MEM_ALIGNBYTES 8
924 #define MEM_ALIGNBYTES 8
928 * This variable, if defined, holds the name of the directory in
929 * which the user wants to put architecture-dependent public
930 * library files for perl5. It is most often a local directory
931 * such as /usr/local/lib. Programs using this variable must be
932 * prepared to deal with filename expansion. If ARCHLIB is the
933 * same as PRIVLIB, it is not defined, since presumably the
934 * program already searches PRIVLIB.
937 * This symbol contains the ~name expanded version of ARCHLIB, to be used
938 * in programs that are not prepared to deal with ~ expansion at run-time.
940 #define ARCHLIB "c:\\perl\\lib" /**/
941 /*#define ARCHLIB_EXP "" / **/
944 * This symbol holds a string representing the architecture name.
945 * It may be used to construct an architecture-dependant pathname
946 * where library files may be held under a private library, for
949 #define ARCHNAME "MSWin32-x86" /**/
952 * This symbol holds the path of the bin directory where the package will
953 * be installed. Program must be prepared to deal with ~name substitution.
956 * This symbol is the filename expanded version of the BIN symbol, for
957 * programs that do not want to deal with that at run-time.
959 /* PERL_RELOCATABLE_INC:
960 * This symbol, if defined, indicates that we'd like to relocate entries
961 * in @INC at run time based on the location of the perl binary.
963 #define BIN "c:\\perl\\bin" /**/
964 #define BIN_EXP "c:\\perl\\bin" /**/
965 #define PERL_RELOCATABLE_INC "undef" /**/
968 * This symbol contains the value of sizeof(int) so that the C
969 * preprocessor can make decisions based on it.
972 * This symbol contains the value of sizeof(long) so that the C
973 * preprocessor can make decisions based on it.
976 * This symbol contains the value of sizeof(short) so that the C
977 * preprocessor can make decisions based on it.
979 #define INTSIZE 4 /**/
980 #define LONGSIZE 4 /**/
981 #define SHORTSIZE 2 /**/
984 * This symbol holds the hexadecimal constant defined in byteorder,
985 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
986 * If the compiler supports cross-compiling or multiple-architecture
987 * binaries (eg. on NeXT systems), use compiler-defined macros to
988 * determine the byte order.
989 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
990 * Binaries (MAB) on either big endian or little endian machines.
991 * The endian-ness is available at compile-time. This only matters
992 * for perl, where the config.h can be generated and installed on
993 * one system, and used by a different architecture to build an
994 * extension. Older versions of NeXT that might not have
995 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
996 * so the default case (for NeXT) is big endian to catch them.
997 * This might matter for NeXT 3.0.
999 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
1000 # ifdef __LITTLE_ENDIAN__
1002 # define BYTEORDER 0x1234
1005 # define BYTEORDER 0x12345678
1009 # ifdef __BIG_ENDIAN__
1011 # define BYTEORDER 0x4321
1014 # define BYTEORDER 0x87654321
1019 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1020 # define BYTEORDER 0x4321
1023 #define BYTEORDER 0x1234 /* large digits for MSB */
1027 * This symbol contains the size of a char, so that the C preprocessor
1028 * can make decisions based on it.
1030 #define CHARBITS 8 /**/
1033 * This macro concatenates 2 tokens together.
1036 * This macro surrounds its token with double quotes.
1039 #define CAT2(a,b) a/**/b
1041 #define STRINGIFY(a) "a"
1044 #define PeRl_CaTiFy(a, b) a ## b
1045 #define PeRl_StGiFy(a) #a
1046 #define CAT2(a,b) PeRl_CaTiFy(a,b)
1047 #define StGiFy(a) PeRl_StGiFy(a)
1049 #define STRINGIFY(a) PeRl_StGiFy(a)
1051 #if 42 != 1 && 42 != 42
1052 #include "Bletch: How does this C preprocessor concatenate tokens?"
1056 * This symbol contains the first part of the string which will invoke
1057 * the C preprocessor on the standard input and produce to standard
1058 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1059 * call a wrapper. See CPPRUN.
1062 * This symbol contains the second part of the string which will invoke
1063 * the C preprocessor on the standard input and produce to standard
1064 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1065 * to specify standard input, otherwise the value is "".
1068 * This symbol contains the string which will invoke a C preprocessor on
1069 * the standard input and produce to standard output. It needs to end
1070 * with CPPLAST, after all other preprocessor flags have been specified.
1071 * The main difference with CPPSTDIN is that this program will never be a
1072 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1073 * available directly to the user. Note that it may well be different from
1074 * the preprocessor used to compile the C program.
1077 * This symbol is intended to be used along with CPPRUN in the same manner
1078 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1080 #define CPPSTDIN "gcc -E"
1081 #define CPPMINUS "-"
1082 #define CPPRUN "gcc -E"
1086 * This manifest constant lets the C program know that the access()
1087 * system call is available to check for accessibility using real UID/GID.
1088 * (always present on UNIX.)
1090 #define HAS_ACCESS /**/
1093 * This symbol, if defined, indicates that the accessx routine is
1094 * available to do extended access checks.
1096 /*#define HAS_ACCESSX / **/
1099 * This symbol, if defined, indicates that the asctime_r routine
1100 * is available to asctime re-entrantly.
1103 * This symbol encodes the prototype of asctime_r.
1104 * It is zero if d_asctime_r is undef, and one of the
1105 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1108 /*#define HAS_ASCTIME_R / **/
1109 #define ASCTIME_R_PROTO 0 /**/
1111 /* The HASATTRIBUTE_* defines are left undefined here because they vary from
1112 * one version of GCC to another. Instead, they are defined on the basis of
1113 * the compiler version in <perl.h>.
1115 /* HASATTRIBUTE_FORMAT:
1116 * Can we handle GCC attribute for checking printf-style formats
1118 /* PRINTF_FORMAT_NULL_OK:
1119 * Allows __printf__ format to be null when checking printf-style
1121 /* HASATTRIBUTE_MALLOC:
1122 * Can we handle GCC attribute for malloc-style functions.
1124 /* HASATTRIBUTE_NONNULL:
1125 * Can we handle GCC attribute for nonnull function parms.
1127 /* HASATTRIBUTE_NORETURN:
1128 * Can we handle GCC attribute for functions that do not return
1130 /* HASATTRIBUTE_PURE:
1131 * Can we handle GCC attribute for pure functions
1133 /* HASATTRIBUTE_UNUSED:
1134 * Can we handle GCC attribute for unused variables and arguments
1136 /* HASATTRIBUTE_DEPRECATED:
1137 * Can we handle GCC attribute for marking deprecated APIs
1139 /* HASATTRIBUTE_WARN_UNUSED_RESULT:
1140 * Can we handle GCC attribute for warning on unused results
1142 /*#define HASATTRIBUTE_DEPRECATED / **/
1143 /*#define HASATTRIBUTE_FORMAT / **/
1144 /*#define PRINTF_FORMAT_NULL_OK / **/
1145 /*#define HASATTRIBUTE_NORETURN / **/
1146 /*#define HASATTRIBUTE_MALLOC / **/
1147 /*#define HASATTRIBUTE_NONNULL / **/
1148 /*#define HASATTRIBUTE_PURE / **/
1149 /*#define HASATTRIBUTE_UNUSED / **/
1150 /*#define HASATTRIBUTE_WARN_UNUSED_RESULT / **/
1153 * This symbol is defined if the C compiler can cast negative
1154 * or large floating point numbers to 32-bit ints.
1156 #define CASTI32 /**/
1159 * This symbol is defined if the C compiler can cast negative
1160 * numbers to unsigned longs, ints and shorts.
1163 * This symbol contains flags that say what difficulties the compiler
1164 * has casting odd floating values to unsigned long:
1166 * 1 = couldn't cast < 0
1167 * 2 = couldn't cast >= 0x80000000
1168 * 4 = couldn't cast in argument expression list
1170 #define CASTNEGFLOAT /**/
1171 #define CASTFLAGS 0 /**/
1174 * This symbol, if defined, indicates that the closedir() routine
1175 * does not return a value.
1177 /*#define VOID_CLOSEDIR / **/
1180 * This symbol, if defined, indicates that this C compiler knows about
1181 * the const type. There is no need to actually test for that symbol
1182 * within your programs. The mere use of the "const" keyword will
1183 * trigger the necessary tests.
1185 #define HASCONST /**/
1191 * This symbol, if defined, indicates that the crypt_r routine
1192 * is available to crypt re-entrantly.
1195 * This symbol encodes the prototype of crypt_r.
1196 * It is zero if d_crypt_r is undef, and one of the
1197 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1200 /*#define HAS_CRYPT_R / **/
1201 #define CRYPT_R_PROTO 0 /**/
1204 * This symbol, if defined, indicates that the C-shell exists.
1207 * This symbol, if defined, contains the full pathname of csh.
1209 /*#define HAS_CSH / **/
1215 * This symbol, if defined, indicates that the ctermid_r routine
1216 * is available to ctermid re-entrantly.
1219 * This symbol encodes the prototype of ctermid_r.
1220 * It is zero if d_ctermid_r is undef, and one of the
1221 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
1224 /*#define HAS_CTERMID_R / **/
1225 #define CTERMID_R_PROTO 0 /**/
1228 * This symbol, if defined, indicates that the ctime_r routine
1229 * is available to ctime re-entrantly.
1232 * This symbol encodes the prototype of ctime_r.
1233 * It is zero if d_ctime_r is undef, and one of the
1234 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1237 /*#define HAS_CTIME_R / **/
1238 #define CTIME_R_PROTO 0 /**/
1240 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1241 * This symbol, if defined, indicates that the bug that prevents
1242 * setuid scripts from being secure is not present in this kernel.
1245 * This symbol, if defined, indicates that the C program should
1246 * check the script that it is executing for setuid/setgid bits, and
1247 * attempt to emulate setuid/setgid on systems that have disabled
1248 * setuid #! scripts because the kernel can't do it securely.
1249 * It is up to the package designer to make sure that this emulation
1250 * is done securely. Among other things, it should do an fstat on
1251 * the script it just opened to make sure it really is a setuid/setgid
1252 * script, it should make sure the arguments passed correspond exactly
1253 * to the argument on the #! line, and it should not trust any
1254 * subprocesses to which it must pass the filename rather than the
1255 * file descriptor of the script to be executed.
1257 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/
1258 /*#define DOSUID / **/
1261 * This symbol, if defined, indicates that the drand48_r routine
1262 * is available to drand48 re-entrantly.
1265 * This symbol encodes the prototype of drand48_r.
1266 * It is zero if d_drand48_r is undef, and one of the
1267 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1270 /*#define HAS_DRAND48_R / **/
1271 #define DRAND48_R_PROTO 0 /**/
1273 /* HAS_DRAND48_PROTO:
1274 * This symbol, if defined, indicates that the system provides
1275 * a prototype for the drand48() function. Otherwise, it is up
1276 * to the program to supply one. A good guess is
1277 * extern double drand48(void);
1279 /*#define HAS_DRAND48_PROTO / **/
1282 * This symbol, if defined, indicates that the eaccess routine is
1283 * available to do extended access checks.
1285 /*#define HAS_EACCESS / **/
1288 * This symbol, if defined, indicates that the getgrent routine is
1289 * available for finalizing sequential access of the group database.
1291 /*#define HAS_ENDGRENT / **/
1294 * This symbol, if defined, indicates that the endgrent_r routine
1295 * is available to endgrent re-entrantly.
1297 /* ENDGRENT_R_PROTO:
1298 * This symbol encodes the prototype of endgrent_r.
1299 * It is zero if d_endgrent_r is undef, and one of the
1300 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1303 /*#define HAS_ENDGRENT_R / **/
1304 #define ENDGRENT_R_PROTO 0 /**/
1307 * This symbol, if defined, indicates that the endhostent() routine is
1308 * available to close whatever was being used for host queries.
1310 /*#define HAS_ENDHOSTENT / **/
1312 /* HAS_ENDHOSTENT_R:
1313 * This symbol, if defined, indicates that the endhostent_r routine
1314 * is available to endhostent re-entrantly.
1316 /* ENDHOSTENT_R_PROTO:
1317 * This symbol encodes the prototype of endhostent_r.
1318 * It is zero if d_endhostent_r is undef, and one of the
1319 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
1322 /*#define HAS_ENDHOSTENT_R / **/
1323 #define ENDHOSTENT_R_PROTO 0 /**/
1326 * This symbol, if defined, indicates that the endnetent() routine is
1327 * available to close whatever was being used for network queries.
1329 /*#define HAS_ENDNETENT / **/
1332 * This symbol, if defined, indicates that the endnetent_r routine
1333 * is available to endnetent re-entrantly.
1335 /* ENDNETENT_R_PROTO:
1336 * This symbol encodes the prototype of endnetent_r.
1337 * It is zero if d_endnetent_r is undef, and one of the
1338 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
1341 /*#define HAS_ENDNETENT_R / **/
1342 #define ENDNETENT_R_PROTO 0 /**/
1345 * This symbol, if defined, indicates that the endprotoent() routine is
1346 * available to close whatever was being used for protocol queries.
1348 /*#define HAS_ENDPROTOENT / **/
1350 /* HAS_ENDPROTOENT_R:
1351 * This symbol, if defined, indicates that the endprotoent_r routine
1352 * is available to endprotoent re-entrantly.
1354 /* ENDPROTOENT_R_PROTO:
1355 * This symbol encodes the prototype of endprotoent_r.
1356 * It is zero if d_endprotoent_r is undef, and one of the
1357 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
1360 /*#define HAS_ENDPROTOENT_R / **/
1361 #define ENDPROTOENT_R_PROTO 0 /**/
1364 * This symbol, if defined, indicates that the getgrent routine is
1365 * available for finalizing sequential access of the passwd database.
1367 /*#define HAS_ENDPWENT / **/
1370 * This symbol, if defined, indicates that the endpwent_r routine
1371 * is available to endpwent re-entrantly.
1373 /* ENDPWENT_R_PROTO:
1374 * This symbol encodes the prototype of endpwent_r.
1375 * It is zero if d_endpwent_r is undef, and one of the
1376 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1379 /*#define HAS_ENDPWENT_R / **/
1380 #define ENDPWENT_R_PROTO 0 /**/
1383 * This symbol, if defined, indicates that the endservent() routine is
1384 * available to close whatever was being used for service queries.
1386 /*#define HAS_ENDSERVENT / **/
1388 /* HAS_ENDSERVENT_R:
1389 * This symbol, if defined, indicates that the endservent_r routine
1390 * is available to endservent re-entrantly.
1392 /* ENDSERVENT_R_PROTO:
1393 * This symbol encodes the prototype of endservent_r.
1394 * It is zero if d_endservent_r is undef, and one of the
1395 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
1398 /*#define HAS_ENDSERVENT_R / **/
1399 #define ENDSERVENT_R_PROTO 0 /**/
1402 * This symbol, when defined, indicates presence of the fd_set typedef
1405 #define HAS_FD_SET /**/
1408 * This symbol, if defined, indicates that the system supports filenames
1409 * longer than 14 characters.
1411 #define FLEXFILENAMES /**/
1414 * This preprocessor macro is defined to convert a floating point
1415 * number to a string without a trailing decimal point. This
1416 * emulates the behavior of sprintf("%g"), but is sometimes much more
1417 * efficient. If gconvert() is not available, but gcvt() drops the
1418 * trailing decimal point, then gcvt() is used. If all else fails,
1419 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1420 * macro are: value, number of digits, whether trailing zeros should
1421 * be retained, and the output buffer.
1422 * The usual values are:
1423 * d_Gconvert='gconvert((x),(n),(t),(b))'
1424 * d_Gconvert='gcvt((x),(n),(b))'
1425 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1426 * The last two assume trailing zeros should not be kept.
1428 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1431 * This symbol, if defined, indicates that the getgrent routine is
1432 * available for sequential access of the group database.
1434 /*#define HAS_GETGRENT / **/
1437 * This symbol, if defined, indicates that the getgrent_r routine
1438 * is available to getgrent re-entrantly.
1440 /* GETGRENT_R_PROTO:
1441 * This symbol encodes the prototype of getgrent_r.
1442 * It is zero if d_getgrent_r is undef, and one of the
1443 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1446 /*#define HAS_GETGRENT_R / **/
1447 #define GETGRENT_R_PROTO 0 /**/
1450 * This symbol, if defined, indicates that the getgrgid_r routine
1451 * is available to getgrgid re-entrantly.
1453 /* GETGRGID_R_PROTO:
1454 * This symbol encodes the prototype of getgrgid_r.
1455 * It is zero if d_getgrgid_r is undef, and one of the
1456 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1459 /*#define HAS_GETGRGID_R / **/
1460 #define GETGRGID_R_PROTO 0 /**/
1463 * This symbol, if defined, indicates that the getgrnam_r routine
1464 * is available to getgrnam re-entrantly.
1466 /* GETGRNAM_R_PROTO:
1467 * This symbol encodes the prototype of getgrnam_r.
1468 * It is zero if d_getgrnam_r is undef, and one of the
1469 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1472 /*#define HAS_GETGRNAM_R / **/
1473 #define GETGRNAM_R_PROTO 0 /**/
1475 /* HAS_GETHOSTBYADDR:
1476 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1477 * available to look up hosts by their IP addresses.
1479 #define HAS_GETHOSTBYADDR /**/
1481 /* HAS_GETHOSTBYNAME:
1482 * This symbol, if defined, indicates that the gethostbyname() routine is
1483 * available to look up host names in some data base or other.
1485 #define HAS_GETHOSTBYNAME /**/
1488 * This symbol, if defined, indicates that the gethostent() routine is
1489 * available to look up host names in some data base or another.
1491 /*#define HAS_GETHOSTENT / **/
1494 * This symbol, if defined, indicates that the C program may use the
1495 * gethostname() routine to derive the host name. See also HAS_UNAME
1499 * This symbol, if defined, indicates that the C program may use the
1500 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1504 * This symbol, if defined, indicates the command to feed to the
1505 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1506 * and HAS_UNAME. Note that the command uses a fully qualified path,
1507 * so that it is safe even if used by a process with super-user
1511 * This symbol, if defined, indicates that the C program may use the
1512 * contents of PHOSTNAME as a command to feed to the popen() routine
1513 * to derive the host name.
1515 #define HAS_GETHOSTNAME /**/
1516 #define HAS_UNAME /**/
1517 /*#define HAS_PHOSTNAME / **/
1518 #ifdef HAS_PHOSTNAME
1519 #define PHOSTNAME "" /* How to get the host name */
1522 /* HAS_GETHOSTBYADDR_R:
1523 * This symbol, if defined, indicates that the gethostbyaddr_r routine
1524 * is available to gethostbyaddr re-entrantly.
1526 /* GETHOSTBYADDR_R_PROTO:
1527 * This symbol encodes the prototype of gethostbyaddr_r.
1528 * It is zero if d_gethostbyaddr_r is undef, and one of the
1529 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
1532 /*#define HAS_GETHOSTBYADDR_R / **/
1533 #define GETHOSTBYADDR_R_PROTO 0 /**/
1535 /* HAS_GETHOSTBYNAME_R:
1536 * This symbol, if defined, indicates that the gethostbyname_r routine
1537 * is available to gethostbyname re-entrantly.
1539 /* GETHOSTBYNAME_R_PROTO:
1540 * This symbol encodes the prototype of gethostbyname_r.
1541 * It is zero if d_gethostbyname_r is undef, and one of the
1542 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
1545 /*#define HAS_GETHOSTBYNAME_R / **/
1546 #define GETHOSTBYNAME_R_PROTO 0 /**/
1548 /* HAS_GETHOSTENT_R:
1549 * This symbol, if defined, indicates that the gethostent_r routine
1550 * is available to gethostent re-entrantly.
1552 /* GETHOSTENT_R_PROTO:
1553 * This symbol encodes the prototype of gethostent_r.
1554 * It is zero if d_gethostent_r is undef, and one of the
1555 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
1558 /*#define HAS_GETHOSTENT_R / **/
1559 #define GETHOSTENT_R_PROTO 0 /**/
1561 /* HAS_GETHOST_PROTOS:
1562 * This symbol, if defined, indicates that <netdb.h> includes
1563 * prototypes for gethostent(), gethostbyname(), and
1564 * gethostbyaddr(). Otherwise, it is up to the program to guess
1565 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1567 #define HAS_GETHOST_PROTOS /**/
1570 * This symbol, if defined, indicates that the getlogin_r routine
1571 * is available to getlogin re-entrantly.
1573 /* GETLOGIN_R_PROTO:
1574 * This symbol encodes the prototype of getlogin_r.
1575 * It is zero if d_getlogin_r is undef, and one of the
1576 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1579 /*#define HAS_GETLOGIN_R / **/
1580 #define GETLOGIN_R_PROTO 0 /**/
1582 /* HAS_GETNETBYADDR:
1583 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1584 * available to look up networks by their IP addresses.
1586 /*#define HAS_GETNETBYADDR / **/
1588 /* HAS_GETNETBYNAME:
1589 * This symbol, if defined, indicates that the getnetbyname() routine is
1590 * available to look up networks by their names.
1592 /*#define HAS_GETNETBYNAME / **/
1595 * This symbol, if defined, indicates that the getnetent() routine is
1596 * available to look up network names in some data base or another.
1598 /*#define HAS_GETNETENT / **/
1600 /* HAS_GETNETBYADDR_R:
1601 * This symbol, if defined, indicates that the getnetbyaddr_r routine
1602 * is available to getnetbyaddr re-entrantly.
1604 /* GETNETBYADDR_R_PROTO:
1605 * This symbol encodes the prototype of getnetbyaddr_r.
1606 * It is zero if d_getnetbyaddr_r is undef, and one of the
1607 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
1610 /*#define HAS_GETNETBYADDR_R / **/
1611 #define GETNETBYADDR_R_PROTO 0 /**/
1613 /* HAS_GETNETBYNAME_R:
1614 * This symbol, if defined, indicates that the getnetbyname_r routine
1615 * is available to getnetbyname re-entrantly.
1617 /* GETNETBYNAME_R_PROTO:
1618 * This symbol encodes the prototype of getnetbyname_r.
1619 * It is zero if d_getnetbyname_r is undef, and one of the
1620 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
1623 /*#define HAS_GETNETBYNAME_R / **/
1624 #define GETNETBYNAME_R_PROTO 0 /**/
1627 * This symbol, if defined, indicates that the getnetent_r routine
1628 * is available to getnetent re-entrantly.
1630 /* GETNETENT_R_PROTO:
1631 * This symbol encodes the prototype of getnetent_r.
1632 * It is zero if d_getnetent_r is undef, and one of the
1633 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
1636 /*#define HAS_GETNETENT_R / **/
1637 #define GETNETENT_R_PROTO 0 /**/
1639 /* HAS_GETNET_PROTOS:
1640 * This symbol, if defined, indicates that <netdb.h> includes
1641 * prototypes for getnetent(), getnetbyname(), and
1642 * getnetbyaddr(). Otherwise, it is up to the program to guess
1643 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1645 /*#define HAS_GETNET_PROTOS / **/
1648 * This symbol, if defined, indicates that the getpagesize system call
1649 * is available to get system page size, which is the granularity of
1650 * many memory management calls.
1652 /*#define HAS_GETPAGESIZE / **/
1655 * This symbol, if defined, indicates that the getprotoent() routine is
1656 * available to look up protocols in some data base or another.
1658 /*#define HAS_GETPROTOENT / **/
1661 * This symbol, if defined, indicates that the getpgrp routine is
1662 * available to get the current process group.
1665 * This symbol, if defined, indicates that getpgrp needs one
1666 * arguments whereas USG one needs none.
1668 /*#define HAS_GETPGRP / **/
1669 /*#define USE_BSD_GETPGRP / **/
1671 /* HAS_GETPROTOBYNAME:
1672 * This symbol, if defined, indicates that the getprotobyname()
1673 * routine is available to look up protocols by their name.
1675 /* HAS_GETPROTOBYNUMBER:
1676 * This symbol, if defined, indicates that the getprotobynumber()
1677 * routine is available to look up protocols by their number.
1679 #define HAS_GETPROTOBYNAME /**/
1680 #define HAS_GETPROTOBYNUMBER /**/
1682 /* HAS_GETPROTOBYNAME_R:
1683 * This symbol, if defined, indicates that the getprotobyname_r routine
1684 * is available to getprotobyname re-entrantly.
1686 /* GETPROTOBYNAME_R_PROTO:
1687 * This symbol encodes the prototype of getprotobyname_r.
1688 * It is zero if d_getprotobyname_r is undef, and one of the
1689 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
1692 /*#define HAS_GETPROTOBYNAME_R / **/
1693 #define GETPROTOBYNAME_R_PROTO 0 /**/
1695 /* HAS_GETPROTOBYNUMBER_R:
1696 * This symbol, if defined, indicates that the getprotobynumber_r routine
1697 * is available to getprotobynumber re-entrantly.
1699 /* GETPROTOBYNUMBER_R_PROTO:
1700 * This symbol encodes the prototype of getprotobynumber_r.
1701 * It is zero if d_getprotobynumber_r is undef, and one of the
1702 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
1705 /*#define HAS_GETPROTOBYNUMBER_R / **/
1706 #define GETPROTOBYNUMBER_R_PROTO 0 /**/
1708 /* HAS_GETPROTOENT_R:
1709 * This symbol, if defined, indicates that the getprotoent_r routine
1710 * is available to getprotoent re-entrantly.
1712 /* GETPROTOENT_R_PROTO:
1713 * This symbol encodes the prototype of getprotoent_r.
1714 * It is zero if d_getprotoent_r is undef, and one of the
1715 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
1718 /*#define HAS_GETPROTOENT_R / **/
1719 #define GETPROTOENT_R_PROTO 0 /**/
1721 /* HAS_GETPROTO_PROTOS:
1722 * This symbol, if defined, indicates that <netdb.h> includes
1723 * prototypes for getprotoent(), getprotobyname(), and
1724 * getprotobyaddr(). Otherwise, it is up to the program to guess
1725 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1727 #define HAS_GETPROTO_PROTOS /**/
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 getpwent_r routine
1738 * is available to getpwent re-entrantly.
1740 /* GETPWENT_R_PROTO:
1741 * This symbol encodes the prototype of getpwent_r.
1742 * It is zero if d_getpwent_r is undef, and one of the
1743 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1746 /*#define HAS_GETPWENT_R / **/
1747 #define GETPWENT_R_PROTO 0 /**/
1750 * This symbol, if defined, indicates that the getpwnam_r routine
1751 * is available to getpwnam re-entrantly.
1753 /* GETPWNAM_R_PROTO:
1754 * This symbol encodes the prototype of getpwnam_r.
1755 * It is zero if d_getpwnam_r is undef, and one of the
1756 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1759 /*#define HAS_GETPWNAM_R / **/
1760 #define GETPWNAM_R_PROTO 0 /**/
1763 * This symbol, if defined, indicates that the getpwuid_r routine
1764 * is available to getpwuid re-entrantly.
1766 /* GETPWUID_R_PROTO:
1767 * This symbol encodes the prototype of getpwuid_r.
1768 * It is zero if d_getpwuid_r is undef, and one of the
1769 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1772 /*#define HAS_GETPWUID_R / **/
1773 #define GETPWUID_R_PROTO 0 /**/
1776 * This symbol, if defined, indicates that the getservent() routine is
1777 * available to look up network services in some data base or another.
1779 /*#define HAS_GETSERVENT / **/
1781 /* HAS_GETSERVBYNAME_R:
1782 * This symbol, if defined, indicates that the getservbyname_r routine
1783 * is available to getservbyname re-entrantly.
1785 /* GETSERVBYNAME_R_PROTO:
1786 * This symbol encodes the prototype of getservbyname_r.
1787 * It is zero if d_getservbyname_r is undef, and one of the
1788 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
1791 /*#define HAS_GETSERVBYNAME_R / **/
1792 #define GETSERVBYNAME_R_PROTO 0 /**/
1794 /* HAS_GETSERVBYPORT_R:
1795 * This symbol, if defined, indicates that the getservbyport_r routine
1796 * is available to getservbyport re-entrantly.
1798 /* GETSERVBYPORT_R_PROTO:
1799 * This symbol encodes the prototype of getservbyport_r.
1800 * It is zero if d_getservbyport_r is undef, and one of the
1801 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
1804 /*#define HAS_GETSERVBYPORT_R / **/
1805 #define GETSERVBYPORT_R_PROTO 0 /**/
1807 /* HAS_GETSERVENT_R:
1808 * This symbol, if defined, indicates that the getservent_r routine
1809 * is available to getservent re-entrantly.
1811 /* GETSERVENT_R_PROTO:
1812 * This symbol encodes the prototype of getservent_r.
1813 * It is zero if d_getservent_r is undef, and one of the
1814 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
1817 /*#define HAS_GETSERVENT_R / **/
1818 #define GETSERVENT_R_PROTO 0 /**/
1820 /* HAS_GETSERV_PROTOS:
1821 * This symbol, if defined, indicates that <netdb.h> includes
1822 * prototypes for getservent(), getservbyname(), and
1823 * getservbyaddr(). Otherwise, it is up to the program to guess
1824 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1826 #define HAS_GETSERV_PROTOS /**/
1829 * This symbol, if defined, indicates that the getspnam_r routine
1830 * is available to getspnam re-entrantly.
1832 /* GETSPNAM_R_PROTO:
1833 * This symbol encodes the prototype of getspnam_r.
1834 * It is zero if d_getspnam_r is undef, and one of the
1835 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1838 /*#define HAS_GETSPNAM_R / **/
1839 #define GETSPNAM_R_PROTO 0 /**/
1841 /* HAS_GETSERVBYNAME:
1842 * This symbol, if defined, indicates that the getservbyname()
1843 * routine is available to look up services by their name.
1845 /* HAS_GETSERVBYPORT:
1846 * This symbol, if defined, indicates that the getservbyport()
1847 * routine is available to look up services by their port.
1849 #define HAS_GETSERVBYNAME /**/
1850 #define HAS_GETSERVBYPORT /**/
1853 * This symbol, if defined, indicates that the gmtime_r routine
1854 * is available to gmtime re-entrantly.
1857 * This symbol encodes the prototype of gmtime_r.
1858 * It is zero if d_gmtime_r is undef, and one of the
1859 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1862 /*#define HAS_GMTIME_R / **/
1863 #define GMTIME_R_PROTO 0 /**/
1866 * This symbol, if defined, indicates to the C program that
1867 * the GNU C library is being used. A better check is to use
1868 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
1870 /*#define HAS_GNULIBC / **/
1871 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1872 # define _GNU_SOURCE
1876 * This symbol, if defined, indicates that the htonl() routine (and
1877 * friends htons() ntohl() ntohs()) are available to do network
1878 * order byte swapping.
1881 * This symbol, if defined, indicates that the htons() routine (and
1882 * friends htonl() ntohl() ntohs()) are available to do network
1883 * order byte swapping.
1886 * This symbol, if defined, indicates that the ntohl() routine (and
1887 * friends htonl() htons() ntohs()) are available to do network
1888 * order byte swapping.
1891 * This symbol, if defined, indicates that the ntohs() routine (and
1892 * friends htonl() htons() ntohl()) are available to do network
1893 * order byte swapping.
1895 #define HAS_HTONL /**/
1896 #define HAS_HTONS /**/
1897 #define HAS_NTOHL /**/
1898 #define HAS_NTOHS /**/
1901 * This manifest constant lets the C program know that isascii
1904 #define HAS_ISASCII /**/
1907 * This symbol, if defined, indicates that the lchown routine is
1908 * available to operate on a symbolic link (instead of following the
1911 /*#define HAS_LCHOWN / **/
1914 * This symbol, if defined, indicates that the localtime_r routine
1915 * is available to localtime re-entrantly.
1917 /* LOCALTIME_R_NEEDS_TZSET:
1918 * Many libc's localtime_r implementations do not call tzset,
1919 * making them differ from localtime(), and making timezone
1920 * changes using \undef{TZ} without explicitly calling tzset
1921 * impossible. This symbol makes us call tzset before localtime_r
1923 /*#define LOCALTIME_R_NEEDS_TZSET / **/
1924 #ifdef LOCALTIME_R_NEEDS_TZSET
1925 #define L_R_TZSET tzset(),
1930 /* LOCALTIME_R_PROTO:
1931 * This symbol encodes the prototype of localtime_r.
1932 * It is zero if d_localtime_r is undef, and one of the
1933 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1936 /*#define HAS_LOCALTIME_R / **/
1937 #define LOCALTIME_R_PROTO 0 /**/
1940 * This symbol will be defined if the C compiler supports long
1944 * This symbol contains the size of a long double, so that the
1945 * C preprocessor can make decisions based on it. It is only
1946 * defined if the system supports long doubles.
1948 #define HAS_LONG_DOUBLE /**/
1949 #ifdef HAS_LONG_DOUBLE
1950 #define LONG_DOUBLESIZE 12 /**/
1954 * This symbol will be defined if the C compiler supports long long.
1957 * This symbol contains the size of a long long, so that the
1958 * C preprocessor can make decisions based on it. It is only
1959 * defined if the system supports long long.
1961 #define HAS_LONG_LONG /**/
1962 #ifdef HAS_LONG_LONG
1963 #define LONGLONGSIZE 8 /**/
1967 * This symbol, if defined, indicates that the system provides
1968 * a prototype for the lseek() function. Otherwise, it is up
1969 * to the program to supply one. A good guess is
1970 * extern off_t lseek(int, off_t, int);
1972 #define HAS_LSEEK_PROTO /**/
1975 * This symbol, if defined, indicates that the memchr routine is available
1976 * to locate characters within a C string.
1978 #define HAS_MEMCHR /**/
1981 * This symbol, if defined, indicates that the mkstemp routine is
1982 * available to exclusively create and open a uniquely named
1985 /*#define HAS_MKSTEMP / **/
1988 * This symbol, if defined, indicates that the mmap system call is
1989 * available to map a file into memory.
1992 * This symbol holds the return type of the mmap() system call
1993 * (and simultaneously the type of the first argument).
1994 * Usually set to 'void *' or 'caddr_t'.
1996 /*#define HAS_MMAP / **/
1997 #define Mmap_t void * /**/
2000 * This symbol, if defined, indicates that the entire msg*(2) library is
2001 * supported (IPC mechanism based on message queues).
2003 /*#define HAS_MSG / **/
2006 * This manifest constant lets the C program know that the three
2007 * argument form of open(2) is available.
2009 /*#define HAS_OPEN3 / **/
2011 /* OLD_PTHREAD_CREATE_JOINABLE:
2012 * This symbol, if defined, indicates how to create pthread
2013 * in joinable (aka undetached) state. NOTE: not defined
2014 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2015 * (the new version of the constant).
2016 * If defined, known values are PTHREAD_CREATE_UNDETACHED
2019 /*#define OLD_PTHREAD_CREATE_JOINABLE / **/
2021 /* HAS_PTHREAD_ATFORK:
2022 * This symbol, if defined, indicates that the pthread_atfork routine
2023 * is available to setup fork handlers.
2025 /*#define HAS_PTHREAD_ATFORK / **/
2027 /* HAS_PTHREAD_YIELD:
2028 * This symbol, if defined, indicates that the pthread_yield
2029 * routine is available to yield the execution of the current
2030 * thread. sched_yield is preferable to pthread_yield.
2033 * This symbol defines the way to yield the execution of
2034 * the current thread. Known ways are sched_yield,
2035 * pthread_yield, and pthread_yield with NULL.
2038 * This symbol, if defined, indicates that the sched_yield
2039 * routine is available to yield the execution of the current
2040 * thread. sched_yield is preferable to pthread_yield.
2042 /*#define HAS_PTHREAD_YIELD / **/
2043 #define SCHED_YIELD /**/
2044 /*#define HAS_SCHED_YIELD / **/
2047 * This symbol, if defined, indicates that the random_r routine
2048 * is available to random re-entrantly.
2051 * This symbol encodes the prototype of random_r.
2052 * It is zero if d_random_r is undef, and one of the
2053 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
2056 /*#define HAS_RANDOM_R / **/
2057 #define RANDOM_R_PROTO 0 /**/
2060 * This symbol, if defined, indicates that the readdir64_r routine
2061 * is available to readdir64 re-entrantly.
2063 /* READDIR64_R_PROTO:
2064 * This symbol encodes the prototype of readdir64_r.
2065 * It is zero if d_readdir64_r is undef, and one of the
2066 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
2069 /*#define HAS_READDIR64_R / **/
2070 #define READDIR64_R_PROTO 0 /**/
2073 * This symbol, if defined, indicates that the readdir_r routine
2074 * is available to readdir re-entrantly.
2077 * This symbol encodes the prototype of readdir_r.
2078 * It is zero if d_readdir_r is undef, and one of the
2079 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
2082 /*#define HAS_READDIR_R / **/
2083 #define READDIR_R_PROTO 0 /**/
2086 * This symbol, if defined, indicates that the bcopy routine is available
2087 * to copy potentially overlapping memory blocks. Normally, you should
2088 * probably use memmove() or memcpy(). If neither is defined, roll your
2091 /*#define HAS_SAFE_BCOPY / **/
2094 * This symbol, if defined, indicates that the memcpy routine is available
2095 * to copy potentially overlapping memory blocks. If you need to
2096 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
2097 * use memmove() instead, if available.
2099 /*#define HAS_SAFE_MEMCPY / **/
2102 * This symbol, if defined, indicates that the memcmp routine is available
2103 * and can be used to compare relative magnitudes of chars with their high
2104 * bits set. If it is not defined, roll your own version.
2106 #define HAS_SANE_MEMCMP /**/
2109 * This symbol, if defined, indicates that the entire sem*(2) library is
2112 /*#define HAS_SEM / **/
2115 * This symbol, if defined, indicates that the setgrent routine is
2116 * available for initializing sequential access of the group database.
2118 /*#define HAS_SETGRENT / **/
2121 * This symbol, if defined, indicates that the setgrent_r routine
2122 * is available to setgrent re-entrantly.
2124 /* SETGRENT_R_PROTO:
2125 * This symbol encodes the prototype of setgrent_r.
2126 * It is zero if d_setgrent_r is undef, and one of the
2127 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
2130 /*#define HAS_SETGRENT_R / **/
2131 #define SETGRENT_R_PROTO 0 /**/
2134 * This symbol, if defined, indicates that the sethostent() routine is
2137 /*#define HAS_SETHOSTENT / **/
2139 /* HAS_SETHOSTENT_R:
2140 * This symbol, if defined, indicates that the sethostent_r routine
2141 * is available to sethostent re-entrantly.
2143 /* SETHOSTENT_R_PROTO:
2144 * This symbol encodes the prototype of sethostent_r.
2145 * It is zero if d_sethostent_r is undef, and one of the
2146 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
2149 /*#define HAS_SETHOSTENT_R / **/
2150 #define SETHOSTENT_R_PROTO 0 /**/
2153 * This symbol, if defined, indicates that the setlocale_r routine
2154 * is available to setlocale re-entrantly.
2156 /* SETLOCALE_R_PROTO:
2157 * This symbol encodes the prototype of setlocale_r.
2158 * It is zero if d_setlocale_r is undef, and one of the
2159 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
2162 /*#define HAS_SETLOCALE_R / **/
2163 #define SETLOCALE_R_PROTO 0 /**/
2166 * This symbol, if defined, indicates that the setnetent() routine is
2169 /*#define HAS_SETNETENT / **/
2172 * This symbol, if defined, indicates that the setnetent_r routine
2173 * is available to setnetent re-entrantly.
2175 /* SETNETENT_R_PROTO:
2176 * This symbol encodes the prototype of setnetent_r.
2177 * It is zero if d_setnetent_r is undef, and one of the
2178 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
2181 /*#define HAS_SETNETENT_R / **/
2182 #define SETNETENT_R_PROTO 0 /**/
2185 * This symbol, if defined, indicates that the setprotoent() routine is
2188 /*#define HAS_SETPROTOENT / **/
2191 * This symbol, if defined, indicates that the setpgrp routine is
2192 * available to set the current process group.
2195 * This symbol, if defined, indicates that setpgrp needs two
2196 * arguments whereas USG one needs none. See also HAS_SETPGID
2197 * for a POSIX interface.
2199 /*#define HAS_SETPGRP / **/
2200 /*#define USE_BSD_SETPGRP / **/
2202 /* HAS_SETPROTOENT_R:
2203 * This symbol, if defined, indicates that the setprotoent_r routine
2204 * is available to setprotoent re-entrantly.
2206 /* SETPROTOENT_R_PROTO:
2207 * This symbol encodes the prototype of setprotoent_r.
2208 * It is zero if d_setprotoent_r is undef, and one of the
2209 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
2212 /*#define HAS_SETPROTOENT_R / **/
2213 #define SETPROTOENT_R_PROTO 0 /**/
2216 * This symbol, if defined, indicates that the setpwent routine is
2217 * available for initializing sequential access of the passwd database.
2219 /*#define HAS_SETPWENT / **/
2222 * This symbol, if defined, indicates that the setpwent_r routine
2223 * is available to setpwent re-entrantly.
2225 /* SETPWENT_R_PROTO:
2226 * This symbol encodes the prototype of setpwent_r.
2227 * It is zero if d_setpwent_r is undef, and one of the
2228 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2231 /*#define HAS_SETPWENT_R / **/
2232 #define SETPWENT_R_PROTO 0 /**/
2235 * This symbol, if defined, indicates that the setservent() routine is
2238 /*#define HAS_SETSERVENT / **/
2240 /* HAS_SETSERVENT_R:
2241 * This symbol, if defined, indicates that the setservent_r routine
2242 * is available to setservent re-entrantly.
2244 /* SETSERVENT_R_PROTO:
2245 * This symbol encodes the prototype of setservent_r.
2246 * It is zero if d_setservent_r is undef, and one of the
2247 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
2250 /*#define HAS_SETSERVENT_R / **/
2251 #define SETSERVENT_R_PROTO 0 /**/
2254 * This symbol, if defined, indicates that the setvbuf routine is
2255 * available to change buffering on an open stdio stream.
2256 * to a line-buffered mode.
2258 #define HAS_SETVBUF /**/
2261 * This symbol, if defined, indicates that the entire shm*(2) library is
2264 /*#define HAS_SHM / **/
2267 * This symbol holds the return type of the shmat() system call.
2268 * Usually set to 'void *' or 'char *'.
2270 /* HAS_SHMAT_PROTOTYPE:
2271 * This symbol, if defined, indicates that the sys/shm.h includes
2272 * a prototype for shmat(). Otherwise, it is up to the program to
2273 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
2274 * but not always right so it should be emitted by the program only
2275 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
2277 #define Shmat_t void * /**/
2278 /*#define HAS_SHMAT_PROTOTYPE / **/
2281 * This symbol, if defined, indicates that Vr4's sigaction() routine
2284 /*#define HAS_SIGACTION / **/
2287 * This variable indicates to the C program that the sigsetjmp()
2288 * routine is available to save the calling process's registers
2289 * and stack environment for later use by siglongjmp(), and
2290 * to optionally save the process's signal mask. See
2291 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
2294 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
2297 * This macro is used in the same way as sigsetjmp(), but will invoke
2298 * traditional setjmp() if sigsetjmp isn't available.
2299 * See HAS_SIGSETJMP.
2302 * This macro is used in the same way as siglongjmp(), but will invoke
2303 * traditional longjmp() if siglongjmp isn't available.
2304 * See HAS_SIGSETJMP.
2306 /*#define HAS_SIGSETJMP / **/
2307 #ifdef HAS_SIGSETJMP
2308 #define Sigjmp_buf sigjmp_buf
2309 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
2310 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
2312 #define Sigjmp_buf jmp_buf
2313 #define Sigsetjmp(buf,save_mask) setjmp((buf))
2314 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
2318 * This symbol, if defined, indicates that the BSD socket interface is
2322 * This symbol, if defined, indicates that the BSD socketpair() call is
2326 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2327 * Checking just with #ifdef might not be enough because this symbol
2328 * has been known to be an enum.
2330 /* HAS_MSG_DONTROUTE:
2331 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2332 * Checking just with #ifdef might not be enough because this symbol
2333 * has been known to be an enum.
2336 * This symbol, if defined, indicates that the MSG_OOB is supported.
2337 * Checking just with #ifdef might not be enough because this symbol
2338 * has been known to be an enum.
2341 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2342 * Checking just with #ifdef might not be enough because this symbol
2343 * has been known to be an enum.
2346 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2347 * Checking just with #ifdef might not be enough because this symbol
2348 * has been known to be an enum.
2351 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2352 * Checking just with #ifdef might not be enough because this symbol
2353 * has been known to be an enum.
2355 /* HAS_SOCKADDR_SA_LEN:
2356 * This symbol, if defined, indicates that the struct sockaddr
2357 * structure has a member called sa_len, indicating the length of
2360 /* HAS_SOCKADDR_IN6:
2361 * This symbol, if defined, indicates the availability of
2362 * struct sockaddr_in6;
2364 /* HAS_SIN6_SCOPE_ID:
2365 * This symbol, if defined, indicates that the struct sockaddr_in6
2366 * structure has a member called sin6_scope_id.
2369 * This symbol, if defined, indicates the availability of
2373 * This symbol, if defined, indicates the availability of
2376 #define HAS_SOCKET /**/
2377 /*#define HAS_SOCKETPAIR / **/
2378 /*#define HAS_SOCKADDR_SA_LEN / **/
2379 /*#define HAS_MSG_CTRUNC / **/
2380 /*#define HAS_MSG_DONTROUTE / **/
2381 /*#define HAS_MSG_OOB / **/
2382 /*#define HAS_MSG_PEEK / **/
2383 /*#define HAS_MSG_PROXY / **/
2384 /*#define HAS_SCM_RIGHTS / **/
2385 /*#define HAS_SOCKADDR_IN6 / **/
2386 #define HAS_SIN6_SCOPE_ID /**/
2387 /*#define HAS_IP_MREQ / **/
2388 /*#define HAS_IPV6_MREQ / **/
2391 * This symbol, if defined, indicates that the srand48_r routine
2392 * is available to srand48 re-entrantly.
2395 * This symbol encodes the prototype of srand48_r.
2396 * It is zero if d_srand48_r is undef, and one of the
2397 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2400 /*#define HAS_SRAND48_R / **/
2401 #define SRAND48_R_PROTO 0 /**/
2404 * This symbol, if defined, indicates that the srandom_r routine
2405 * is available to srandom re-entrantly.
2408 * This symbol encodes the prototype of srandom_r.
2409 * It is zero if d_srandom_r is undef, and one of the
2410 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2413 /*#define HAS_SRANDOM_R / **/
2414 #define SRANDOM_R_PROTO 0 /**/
2417 * This symbol is defined if this system has a stat structure declaring
2418 * st_blksize and st_blocks.
2420 #ifndef USE_STAT_BLOCKS
2421 /*#define USE_STAT_BLOCKS / **/
2424 /* HAS_STATIC_INLINE:
2425 * This symbol, if defined, indicates that the C compiler supports
2426 * C99-style static inline. That is, the function can't be called
2427 * from another translation unit.
2429 /* PERL_STATIC_INLINE:
2430 * This symbol gives the best-guess incantation to use for static
2431 * inline functions. If HAS_STATIC_INLINE is defined, this will
2432 * give C99-style inline. If HAS_STATIC_INLINE is not defined,
2433 * this will give a plain 'static'. It will always be defined
2434 * to something that gives static linkage.
2435 * Possibilities include
2436 * static inline (c99)
2437 * static __inline__ (gcc -ansi)
2438 * static __inline (MSVC)
2439 * static _inline (older MSVC)
2440 * static (c89 compilers)
2442 #define HAS_STATIC_INLINE /**/
2443 #define PERL_STATIC_INLINE static __inline__ /**/
2446 * This symbol is defined if the _ptr and _cnt fields (or similar)
2447 * of the stdio FILE structure can be used to access the stdio buffer
2448 * for a file handle. If this is defined, then the FILE_ptr(fp)
2449 * and FILE_cnt(fp) macros will also be defined and should be used
2450 * to access these fields.
2453 * This macro is used to access the _ptr field (or equivalent) of the
2454 * FILE structure pointed to by its argument. This macro will always be
2455 * defined if USE_STDIO_PTR is defined.
2457 /* STDIO_PTR_LVALUE:
2458 * This symbol is defined if the FILE_ptr macro can be used as an
2462 * This macro is used to access the _cnt field (or equivalent) of the
2463 * FILE structure pointed to by its argument. This macro will always be
2464 * defined if USE_STDIO_PTR is defined.
2466 /* STDIO_CNT_LVALUE:
2467 * This symbol is defined if the FILE_cnt macro can be used as an
2470 /* STDIO_PTR_LVAL_SETS_CNT:
2471 * This symbol is defined if using the FILE_ptr macro as an lvalue
2472 * to increase the pointer by n has the side effect of decreasing the
2473 * value of File_cnt(fp) by n.
2475 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
2476 * This symbol is defined if using the FILE_ptr macro as an lvalue
2477 * to increase the pointer by n leaves File_cnt(fp) unchanged.
2479 #define USE_STDIO_PTR /**/
2480 #ifdef USE_STDIO_PTR
2481 #define FILE_ptr(fp) ((fp)->_ptr)
2482 #define STDIO_PTR_LVALUE /**/
2483 #define FILE_cnt(fp) ((fp)->_cnt)
2484 #define STDIO_CNT_LVALUE /**/
2485 /*#define STDIO_PTR_LVAL_SETS_CNT / **/
2486 #define STDIO_PTR_LVAL_NOCHANGE_CNT /**/
2490 * This symbol is defined if the _base field (or similar) of the
2491 * stdio FILE structure can be used to access the stdio buffer for
2492 * a file handle. If this is defined, then the FILE_base(fp) macro
2493 * will also be defined and should be used to access this field.
2494 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2495 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2496 * will never be defined unless USE_STDIO_PTR is.
2499 * This macro is used to access the _base field (or equivalent) of the
2500 * FILE structure pointed to by its argument. This macro will always be
2501 * defined if USE_STDIO_BASE is defined.
2504 * This macro is used to determine the number of bytes in the I/O
2505 * buffer pointed to by _base field (or equivalent) of the FILE
2506 * structure pointed to its argument. This macro will always be defined
2507 * if USE_STDIO_BASE is defined.
2509 #define USE_STDIO_BASE /**/
2510 #ifdef USE_STDIO_BASE
2511 #define FILE_base(fp) ((fp)->_base)
2512 #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
2516 * This symbol, if defined, indicates that this C compiler knows how
2517 * to copy structures. If undefined, you'll need to use a block copy
2518 * routine of some sort instead.
2520 #define USE_STRUCT_COPY /**/
2523 * This symbol, if defined, indicates that the strerror routine is
2524 * available to translate error numbers to strings. See the writeup
2525 * of Strerror() in this file before you try to define your own.
2528 * This symbol, if defined, indicates that the sys_errlist array is
2529 * available to translate error numbers to strings. The extern int
2530 * sys_nerr gives the size of that table.
2533 * This preprocessor symbol is defined as a macro if strerror() is
2534 * not available to translate error numbers to strings but sys_errlist[]
2537 #define HAS_STRERROR /**/
2538 #define HAS_SYS_ERRLIST /**/
2539 #define Strerror(e) strerror(e)
2542 * This symbol, if defined, indicates that the strerror_r routine
2543 * is available to strerror re-entrantly.
2545 /* STRERROR_R_PROTO:
2546 * This symbol encodes the prototype of strerror_r.
2547 * It is zero if d_strerror_r is undef, and one of the
2548 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2551 /*#define HAS_STRERROR_R / **/
2552 #define STRERROR_R_PROTO 0 /**/
2555 * This symbol, if defined, indicates that the strtoul routine is
2556 * available to provide conversion of strings to unsigned long.
2558 #define HAS_STRTOUL /**/
2561 * This symbol, if defined, indicates that the time() routine exists.
2564 * This symbol holds the type returned by time(). It can be long,
2565 * or time_t on BSD sites (in which case <sys/types.h> should be
2568 #define HAS_TIME /**/
2569 #define Time_t time_t /* Time type */
2572 * This symbol, if defined, indicates that the times() routine exists.
2573 * Note that this became obsolete on some systems (SUNOS), which now
2574 * use getrusage(). It may be necessary to include <sys/times.h>.
2576 #define HAS_TIMES /**/
2579 * This symbol, if defined, indicates that the tmpnam_r routine
2580 * is available to tmpnam re-entrantly.
2583 * This symbol encodes the prototype of tmpnam_r.
2584 * It is zero if d_tmpnam_r is undef, and one of the
2585 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2588 /*#define HAS_TMPNAM_R / **/
2589 #define TMPNAM_R_PROTO 0 /**/
2592 * This symbol, if defined, indicates that the ttyname_r routine
2593 * is available to ttyname re-entrantly.
2596 * This symbol encodes the prototype of ttyname_r.
2597 * It is zero if d_ttyname_r is undef, and one of the
2598 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
2601 /*#define HAS_TTYNAME_R / **/
2602 #define TTYNAME_R_PROTO 0 /**/
2605 * This symbol, if defined, indicates that the union semun is
2606 * defined by including <sys/sem.h>. If not, the user code
2607 * probably needs to define it as:
2610 * struct semid_ds *buf;
2611 * unsigned short *array;
2614 /* USE_SEMCTL_SEMUN:
2615 * This symbol, if defined, indicates that union semun is
2616 * used for semctl IPC_STAT.
2618 /* USE_SEMCTL_SEMID_DS:
2619 * This symbol, if defined, indicates that struct semid_ds * is
2620 * used for semctl IPC_STAT.
2622 #define HAS_UNION_SEMUN /**/
2623 /*#define USE_SEMCTL_SEMUN / **/
2624 /*#define USE_SEMCTL_SEMID_DS / **/
2627 * This symbol, if defined, indicates that vfork() exists.
2629 /*#define HAS_VFORK / **/
2632 * This symbol, if defined, indicates that an emulation of the
2633 * fork routine is available.
2635 /*#define HAS_PSEUDOFORK / **/
2638 * This symbol's value is either "void" or "int", corresponding to the
2639 * appropriate return type of a signal handler. Thus, you can declare
2640 * a signal handler using "Signal_t (*handler)()", and define the
2641 * handler using "Signal_t handler(sig)".
2643 #define Signal_t void /* Signal handler's return type */
2646 * This symbol, if defined, indicates that this C compiler knows about
2647 * the volatile declaration.
2649 #define HASVOLATILE /**/
2655 * This symbol, if defined, indicates that the vprintf routine is available
2656 * to printf with a pointer to an argument list. If unavailable, you
2657 * may need to write your own, probably in terms of _doprnt().
2659 /* USE_CHAR_VSPRINTF:
2660 * This symbol is defined if this system has vsprintf() returning type
2661 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2662 * is up to the package author to declare vsprintf correctly based on the
2665 #define HAS_VPRINTF /**/
2666 /*#define USE_CHAR_VSPRINTF / **/
2669 * This symbol contains the size of a double, so that the C preprocessor
2670 * can make decisions based on it.
2672 #define DOUBLESIZE 8 /**/
2675 * This symbol, if defined, indicates that this system uses
2678 /*#define EBCDIC / **/
2681 * This symbol holds the type used to declare file positions in libc.
2682 * It can be fpos_t, long, uint, etc... It may be necessary to include
2683 * <sys/types.h> to get any typedef'ed information.
2685 #define Fpos_t fpos_t /* File position type */
2688 * This symbol defines the format string used for printing a Gid_t.
2690 #define Gid_t_f "ld" /**/
2693 * This symbol holds the signedess of a Gid_t.
2694 * 1 for unsigned, -1 for signed.
2696 #define Gid_t_sign -1 /* GID sign */
2699 * This symbol holds the size of a Gid_t in bytes.
2701 #define Gid_t_size 4 /* GID size */
2704 * This symbol holds the return type of getgid() and the type of
2705 * argument to setrgid() and related functions. Typically,
2706 * it is the type of group ids in the kernel. It can be int, ushort,
2707 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2708 * any typedef'ed information.
2710 #define Gid_t gid_t /* Type for getgid(), etc... */
2713 * This symbol, if defined, indicates to the C program that it should
2714 * include <dirent.h>. Using this symbol also triggers the definition
2715 * of the Direntry_t define which ends up being 'struct dirent' or
2716 * 'struct direct' depending on the availability of <dirent.h>.
2719 * This symbol, if defined, indicates to the C program that the length
2720 * of directory entry names is provided by a d_namlen field. Otherwise
2721 * you need to do strlen() on the d_name field.
2724 * This symbol is set to 'struct direct' or 'struct dirent' depending on
2725 * whether dirent is available or not. You should use this pseudo type to
2726 * portably declare your directory entries.
2728 #define I_DIRENT /**/
2729 #define DIRNAMLEN /**/
2730 #define Direntry_t struct direct
2733 * This symbol, if defined, indicates to the C program that it should
2737 * This symbol, if defined, indicates to the C program that struct group
2738 * in <grp.h> contains gr_passwd.
2740 /*#define I_GRP / **/
2741 /*#define GRPASSWD / **/
2744 * This symbol, if defined, indicates to the C program that it should
2745 * include <mach/cthreads.h>.
2747 /*#define I_MACH_CTHREADS / **/
2750 * This symbol, if defined, indicates that <ndbm.h> exists and should
2754 * This symbol, if defined, indicates that <gdbm/ndbm.h> exists and should
2755 * be included. This was the location of the ndbm.h compatibility file
2759 * This symbol, if defined, indicates that <gdbm-ndbm.h> exists and should
2760 * be included. This is the location of the ndbm.h compatibility file
2763 /* NDBM_H_USES_PROTOTYPES:
2764 * This symbol, if defined, indicates that <ndbm.h> uses real ANSI C
2765 * prototypes instead of K&R style function declarations without any
2766 * parameter information. While ANSI C prototypes are supported in C++,
2767 * K&R style function declarations will yield errors.
2769 /* GDBMNDBM_H_USES_PROTOTYPES:
2770 * This symbol, if defined, indicates that <gdbm/ndbm.h> uses real ANSI C
2771 * prototypes instead of K&R style function declarations without any
2772 * parameter information. While ANSI C prototypes are supported in C++,
2773 * K&R style function declarations will yield errors.
2775 /* GDBM_NDBM_H_USES_PROTOTYPES:
2776 * This symbol, if defined, indicates that <gdbm-ndbm.h> uses real ANSI C
2777 * prototypes instead of K&R style function declarations without any
2778 * parameter information. While ANSI C prototypes are supported in C++,
2779 * K&R style function declarations will yield errors.
2781 /*#define I_NDBM / **/
2782 /*#define I_GDBMNDBM / **/
2783 /*#define I_GDBM_NDBM / **/
2784 /*#define NDBM_H_USES_PROTOTYPES / **/
2785 /*#define GDBMNDBM_H_USES_PROTOTYPES / **/
2786 /*#define GDBM_NDBM_H_USES_PROTOTYPES / **/
2789 * This symbol, if defined, indicates that <netdb.h> exists and
2790 * should be included.
2792 /*#define I_NETDB / **/
2795 * This symbol, if defined, indicates that <net/errno.h> exists and
2796 * should be included.
2798 /*#define I_NET_ERRNO / **/
2801 * This symbol, if defined, indicates to the C program that it should
2802 * include <pthread.h>.
2804 /*#define I_PTHREAD / **/
2807 * This symbol, if defined, indicates to the C program that it should
2811 * This symbol, if defined, indicates to the C program that struct passwd
2812 * contains pw_quota.
2815 * This symbol, if defined, indicates to the C program that struct passwd
2819 * This symbol, if defined, indicates to the C program that struct passwd
2820 * contains pw_change.
2823 * This symbol, if defined, indicates to the C program that struct passwd
2824 * contains pw_class.
2827 * This symbol, if defined, indicates to the C program that struct passwd
2828 * contains pw_expire.
2831 * This symbol, if defined, indicates to the C program that struct passwd
2832 * contains pw_comment.
2835 * This symbol, if defined, indicates to the C program that struct passwd
2836 * contains pw_gecos.
2839 * This symbol, if defined, indicates to the C program that struct passwd
2840 * contains pw_passwd.
2842 /*#define I_PWD / **/
2843 /*#define PWQUOTA / **/
2844 /*#define PWAGE / **/
2845 /*#define PWCHANGE / **/
2846 /*#define PWCLASS / **/
2847 /*#define PWEXPIRE / **/
2848 /*#define PWCOMMENT / **/
2849 /*#define PWGECOS / **/
2850 /*#define PWPASSWD / **/
2853 * This symbol, if defined, indicates to the C program that it should
2854 * include <sys/access.h>.
2856 /*#define I_SYS_ACCESS / **/
2859 * This symbol, if defined, indicates to the C program that it should
2860 * include <sys/security.h>.
2862 /*#define I_SYS_SECURITY / **/
2865 * This symbol, if defined, indicates that <sys/uio.h> exists and
2866 * should be included.
2868 /*#define I_SYSUIO / **/
2871 * This symbol, if defined, indicates to the C program that it should
2875 * This symbol, if defined, indicates to the C program that it should
2876 * include <sys/time.h>.
2878 /* I_SYS_TIME_KERNEL:
2879 * This symbol, if defined, indicates to the C program that it should
2880 * include <sys/time.h> with KERNEL defined.
2883 * This symbol, if defined, indicates to the C program that
2884 * the struct tm has a tm_zone field.
2886 /* HAS_TM_TM_GMTOFF:
2887 * This symbol, if defined, indicates to the C program that
2888 * the struct tm has a tm_gmtoff field.
2891 /*#define I_SYS_TIME / **/
2892 /*#define I_SYS_TIME_KERNEL / **/
2893 /*#define HAS_TM_TM_ZONE / **/
2894 /*#define HAS_TM_TM_GMTOFF / **/
2897 * This symbol, if defined, indicates that <stdarg.h> exists and should
2901 * This symbol, if defined, indicates to the C program that it should
2902 * include <varargs.h>.
2904 #define I_STDARG /**/
2905 /*#define I_VARARGS / **/
2907 /* PERL_INC_VERSION_LIST:
2908 * This variable specifies the list of subdirectories in over
2909 * which perl.c:incpush() and lib/lib.pm will automatically
2910 * search when adding directories to @INC, in a format suitable
2911 * for a C initialization string. See the inc_version_list entry
2912 * in Porting/Glossary for more details.
2914 /*#define PERL_INC_VERSION_LIST 0 / **/
2916 /* INSTALL_USR_BIN_PERL:
2917 * This symbol, if defined, indicates that Perl is to be installed
2918 * also as /usr/bin/perl.
2920 /*#define INSTALL_USR_BIN_PERL / **/
2923 * This symbol holds the type used to declare offsets in the kernel.
2924 * It can be int, long, off_t, etc... It may be necessary to include
2925 * <sys/types.h> to get any typedef'ed information.
2928 * This symbol holds the number of bytes used by the Off_t.
2931 * This symbol holds the number of bytes used by the Off_t.
2933 #define Off_t long /* <offset> type */
2934 #define LSEEKSIZE 4 /* <offset> size */
2935 #define Off_t_size 4 /* <offset> size */
2938 * This variable contains the return type of free(). It is usually
2939 * void, but occasionally int.
2942 * This symbol is the type of pointer returned by malloc and realloc.
2944 #define Malloc_t void * /**/
2945 #define Free_t void /**/
2947 /* PERL_MALLOC_WRAP:
2948 * This symbol, if defined, indicates that we'd like malloc wrap checks.
2950 #define PERL_MALLOC_WRAP /**/
2953 * This symbol, if defined, indicates that we're using our own malloc.
2955 /*#define MYMALLOC / **/
2958 * This symbol holds the type used to declare file modes
2959 * for systems calls. It is usually mode_t, but may be
2960 * int or unsigned short. It may be necessary to include <sys/types.h>
2961 * to get any typedef'ed information.
2963 #define Mode_t mode_t /* file mode parameter for system calls */
2966 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2967 * non-blocking I/O for the file descriptor. Note that there is no way
2968 * back, i.e. you cannot turn it blocking again this way. If you wish to
2969 * alternatively switch between blocking and non-blocking, use the
2970 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
2973 * This symbol holds the errno error code set by read() when no data was
2974 * present on the non-blocking file descriptor.
2977 * This symbol holds the return code from read() when no data is present
2978 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
2979 * not defined, then you can't distinguish between no data and EOF by
2980 * issuing a read(). You'll have to find another way to tell for sure!
2983 * This symbol, if defined, indicates to the C program that a read() on
2984 * a non-blocking file descriptor will return 0 on EOF, and not the value
2985 * held in RD_NODATA (-1 usually, in that case!).
2987 #define VAL_O_NONBLOCK O_NONBLOCK
2988 #define VAL_EAGAIN EAGAIN
2989 #define RD_NODATA -1
2990 #define EOF_NONBLOCK
2993 * This symbol holds the type used for the 1st argument
2994 * to gethostbyaddr().
2997 * This symbol holds the type used for the 2nd argument
2998 * to gethostbyaddr().
3001 * This symbol holds the type used for the argument to
3005 * This symbol holds the type used for the 1st argument to
3008 #define Netdb_host_t char * /**/
3009 #define Netdb_hlen_t int /**/
3010 #define Netdb_name_t char * /**/
3011 #define Netdb_net_t long /**/
3013 /* PERL_OTHERLIBDIRS:
3014 * This variable contains a colon-separated set of paths for the perl
3015 * binary to search for additional library files or modules.
3016 * These directories will be tacked to the end of @INC.
3017 * Perl will automatically search below each path for version-
3018 * and architecture-specific directories. See PERL_INC_VERSION_LIST
3021 /*#define PERL_OTHERLIBDIRS "" / **/
3024 * This symbol holds the type used to declare process ids in the kernel.
3025 * It can be int, uint, pid_t, etc... It may be necessary to include
3026 * <sys/types.h> to get any typedef'ed information.
3028 #define Pid_t int /* PID type */
3031 * This symbol contains the name of the private library for this package.
3032 * The library is private in the sense that it needn't be in anyone's
3033 * execution path, but it should be accessible by the world. The program
3034 * should be prepared to do ~ expansion.
3037 * This symbol contains the ~name expanded version of PRIVLIB, to be used
3038 * in programs that are not prepared to deal with ~ expansion at run-time.
3040 #define PRIVLIB "c:\\perl\\lib" /**/
3041 #define PRIVLIB_EXP (win32_get_privlib(PERL_VERSION_STRING, NULL)) /**/
3044 * If defined, this macro indicates that the C compiler can handle
3045 * function prototypes.
3048 * This macro is used to declare function parameters for folks who want
3049 * to make declarations with prototypes using a different style than
3050 * the above macros. Use double parentheses. For example:
3052 * int main _((int argc, char *argv[]));
3054 #define CAN_PROTOTYPE /**/
3055 #ifdef CAN_PROTOTYPE
3056 #define _(args) args
3062 * This symbol contains the size of a pointer, so that the C preprocessor
3063 * can make decisions based on it. It will be sizeof(void *) if
3064 * the compiler supports (void *); otherwise it will be
3067 #define PTRSIZE 4 /**/
3070 * This symbol, if defined, tells that there's a 64-bit integer type,
3071 * Quad_t, and its unsigned counterpart, Uquad_t. QUADKIND will be one
3072 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, QUAD_IS_INT64_T,
3073 * or QUAD_IS___INT64.
3075 #define HAS_QUAD /**/
3077 # define Quad_t long long /**/
3078 # define Uquad_t unsigned long long /**/
3079 # define QUADKIND 3 /**/
3080 # define QUAD_IS_INT 1
3081 # define QUAD_IS_LONG 2
3082 # define QUAD_IS_LONG_LONG 3
3083 # define QUAD_IS_INT64_T 4
3084 # define QUAD_IS___INT64 5
3088 * This macro is to be used to generate uniformly distributed
3089 * random numbers over the range [0., 1.[. You may have to supply
3090 * an 'extern double drand48();' in your program since SunOS 4.1.3
3091 * doesn't provide you with anything relevant in its headers.
3092 * See HAS_DRAND48_PROTO.
3095 * This symbol defines the type of the argument of the
3096 * random seed function.
3099 * This symbol defines the macro to be used in seeding the
3100 * random number generator (see Drand01).
3103 * This symbol indicates how many bits are produced by the
3104 * function used to generate normalized random numbers.
3105 * Values include 15, 16, 31, and 48.
3107 #define Drand01() (rand()/(double)((unsigned)1<<RANDBITS)) /**/
3108 #define Rand_seed_t unsigned /**/
3109 #define seedDrand01(x) srand((Rand_seed_t)x) /**/
3110 #define RANDBITS 15 /**/
3113 * This symbol holds the type used for the 2nd, 3rd, and 4th
3114 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
3115 * is defined, and 'int *' otherwise. This is only useful if you
3116 * have select(), of course.
3118 #define Select_fd_set_t Perl_fd_set * /**/
3121 * This symbol contains the full pathname to the shell used on this
3122 * on this system to execute Bourne shell scripts. Usually, this will be
3123 * /bin/sh, though it's possible that some systems will have /bin/ksh,
3124 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
3127 #define SH_PATH "cmd /x /c" /**/
3130 * This symbol contains a list of signal names in order of
3131 * signal number. This is intended
3132 * to be used as a static array initialization, like this:
3133 * char *sig_name[] = { SIG_NAME };
3134 * The signals in the list are separated with commas, and each signal
3135 * is surrounded by double quotes. There is no leading SIG in the signal
3136 * name, i.e. SIGQUIT is known as "QUIT".
3137 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3138 * etc., where nn is the actual signal number (e.g. NUM37).
3139 * The signal number for sig_name[i] is stored in sig_num[i].
3140 * The last element is 0 to terminate the list with a NULL. This
3141 * corresponds to the 0 at the end of the sig_name_init list.
3142 * Note that this variable is initialized from the sig_name_init,
3143 * not from sig_name (which is unused).
3146 * This symbol contains a list of signal numbers, in the same order as the
3147 * SIG_NAME list. It is suitable for static array initialization, as in:
3148 * int sig_num[] = { SIG_NUM };
3149 * The signals in the list are separated with commas, and the indices
3150 * within that list and the SIG_NAME list match, so it's easy to compute
3151 * the signal name from a number or vice versa at the price of a small
3152 * dynamic linear lookup.
3153 * Duplicates are allowed, but are moved to the end of the list.
3154 * The signal number corresponding to sig_name[i] is sig_number[i].
3155 * if (i < NSIG) then sig_number[i] == i.
3156 * The last element is 0, corresponding to the 0 at the end of
3157 * the sig_name_init list.
3158 * Note that this variable is initialized from the sig_num_init,
3159 * not from sig_num (which is unused).
3162 * This variable contains the number of elements of the SIG_NAME
3163 * and SIG_NUM arrays, excluding the final NULL entry.
3165 #define SIG_NAME "ZERO", "HUP", "INT", "QUIT", "ILL", "NUM05", "NUM06", "NUM07", "FPE", "KILL", "NUM10", "SEGV", "NUM12", "PIPE", "ALRM", "TERM", "NUM16", "NUM17", "NUM18", "NUM19", "CHLD", "BREAK", "ABRT", "STOP", "NUM24", "CONT", "CLD", 0 /**/
3166 #define SIG_NUM 0, 1, 2, 21, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 20, 0 /**/
3167 #define SIG_SIZE 27 /**/
3170 * This symbol contains the name of the private library for this package.
3171 * The library is private in the sense that it needn't be in anyone's
3172 * execution path, but it should be accessible by the world. The program
3173 * should be prepared to do ~ expansion.
3174 * The standard distribution will put nothing in this directory.
3175 * After perl has been installed, users may install their own local
3176 * architecture-dependent modules in this directory with
3177 * MakeMaker Makefile.PL
3178 * or equivalent. See INSTALL for details.
3181 * This symbol contains the ~name expanded version of SITEARCH, to be used
3182 * in programs that are not prepared to deal with ~ expansion at run-time.
3184 #define SITEARCH "c:\\perl\\site\\lib" /**/
3185 /*#define SITEARCH_EXP "" / **/
3188 * This symbol contains the name of the private library for this package.
3189 * The library is private in the sense that it needn't be in anyone's
3190 * execution path, but it should be accessible by the world. The program
3191 * should be prepared to do ~ expansion.
3192 * The standard distribution will put nothing in this directory.
3193 * After perl has been installed, users may install their own local
3194 * architecture-independent modules in this directory with
3195 * MakeMaker Makefile.PL
3196 * or equivalent. See INSTALL for details.
3199 * This symbol contains the ~name expanded version of SITELIB, to be used
3200 * in programs that are not prepared to deal with ~ expansion at run-time.
3203 * This define is SITELIB_EXP with any trailing version-specific component
3204 * removed. The elements in inc_version_list (inc_version_list.U) can
3205 * be tacked onto this variable to generate a list of directories to search.
3207 #define SITELIB "c:\\perl\\site\\lib" /**/
3208 #define SITELIB_EXP (win32_get_sitelib(PERL_VERSION_STRING, NULL)) /**/
3209 #define SITELIB_STEM "" /**/
3212 * This symbol holds the size of a Size_t in bytes.
3214 #define Size_t_size 4 /**/
3217 * This symbol holds the type used to declare length parameters
3218 * for string functions. It is usually size_t, but may be
3219 * unsigned long, int, etc. It may be necessary to include
3220 * <sys/types.h> to get any typedef'ed information.
3222 #define Size_t size_t /* length parameter for string functions */
3225 * This symbol holds the type used for the size argument of
3226 * various socket calls (just the base type, not the pointer-to).
3228 #define Sock_size_t int /**/
3231 * This symbol holds the type used by functions that return
3232 * a count of bytes or an error condition. It must be a signed type.
3233 * It is usually ssize_t, but may be long or int, etc.
3234 * It may be necessary to include <sys/types.h> or <unistd.h>
3235 * to get any typedef'ed information.
3236 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3238 #define SSize_t int /* signed count of bytes */
3241 * This symbol is defined to be the type of char used in stdio.h.
3242 * It has the values "unsigned char" or "char".
3244 #define STDCHAR char /**/
3247 * This symbol defines the format string used for printing a Uid_t.
3249 #define Uid_t_f "ld" /**/
3252 * This symbol holds the signedess of a Uid_t.
3253 * 1 for unsigned, -1 for signed.
3255 #define Uid_t_sign -1 /* UID sign */
3258 * This symbol holds the size of a Uid_t in bytes.
3260 #define Uid_t_size 4 /* UID size */
3263 * This symbol holds the type used to declare user ids in the kernel.
3264 * It can be int, ushort, uid_t, etc... It may be necessary to include
3265 * <sys/types.h> to get any typedef'ed information.
3267 #define Uid_t uid_t /* UID type */
3270 * This symbol, if defined, indicates that Perl should be built to
3271 * use the interpreter-based threading implementation.
3274 * This symbol, if defined, indicates that Perl should be built to
3275 * use the 5.005-based threading implementation.
3276 * Only valid up to 5.8.x.
3278 /* OLD_PTHREADS_API:
3279 * This symbol, if defined, indicates that Perl should
3280 * be built to use the old draft POSIX threads API.
3282 /* USE_REENTRANT_API:
3283 * This symbol, if defined, indicates that Perl should
3284 * try to use the various _r versions of library functions.
3285 * This is extremely experimental.
3287 /*#define USE_5005THREADS / **/
3288 /*#define USE_ITHREADS / **/
3289 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
3290 #define USE_THREADS /* until src is revised*/
3292 /*#define OLD_PTHREADS_API / **/
3293 /*#define USE_REENTRANT_API / **/
3296 * If defined, this symbol contains the name of a private library.
3297 * The library is private in the sense that it needn't be in anyone's
3298 * execution path, but it should be accessible by the world.
3299 * It may have a ~ on the front.
3300 * The standard distribution will put nothing in this directory.
3301 * Vendors who distribute perl may wish to place their own
3302 * architecture-dependent modules and extensions in this directory with
3303 * MakeMaker Makefile.PL INSTALLDIRS=vendor
3304 * or equivalent. See INSTALL for details.
3306 /* PERL_VENDORARCH_EXP:
3307 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
3308 * in programs that are not prepared to deal with ~ expansion at run-time.
3310 /*#define PERL_VENDORARCH "" / **/
3311 /*#define PERL_VENDORARCH_EXP "" / **/
3313 /* PERL_VENDORLIB_EXP:
3314 * This symbol contains the ~name expanded version of VENDORLIB, to be used
3315 * in programs that are not prepared to deal with ~ expansion at run-time.
3317 /* PERL_VENDORLIB_STEM:
3318 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
3319 * removed. The elements in inc_version_list (inc_version_list.U) can
3320 * be tacked onto this variable to generate a list of directories to search.
3322 /*#define PERL_VENDORLIB_EXP "" / **/
3323 /*#define PERL_VENDORLIB_STEM "" / **/
3326 * This symbol indicates how much support of the void type is given by this
3327 * compiler. What various bits mean:
3329 * 1 = supports declaration of void
3330 * 2 = supports arrays of pointers to functions returning void
3331 * 4 = supports comparisons between pointers to void functions and
3332 * addresses of void functions
3333 * 8 = supports declaration of generic void pointers
3335 * The package designer should define VOIDUSED to indicate the requirements
3336 * of the package. This can be done either by #defining VOIDUSED before
3337 * including config.h, or by defining defvoidused in Myinit.U. If the
3338 * latter approach is taken, only those flags will be tested. If the
3339 * level of void support necessary is not present, defines void to int.
3344 #define VOIDFLAGS 15
3345 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
3346 #define void int /* is void to be avoided? */
3347 #define M_VOID /* Xenix strikes again */
3351 * This symbol, if defined, indicates that Perl was configured with
3352 * -Dusedevel, to enable development features. This should not be
3353 * done for production builds.
3355 /*#define PERL_USE_DEVEL / **/
3358 * This symbol, if defined, indicates that the atolf routine is
3359 * available to convert strings into long doubles.
3361 /*#define HAS_ATOLF / **/
3364 * This symbol, if defined, indicates that the atoll routine is
3365 * available to convert strings into long longs.
3367 /*#define HAS_ATOLL / **/
3370 * This symbol, if defined, indicates that the _fwalk system call is
3371 * available to apply a function to all the file handles.
3373 /*#define HAS__FWALK / **/
3376 * This symbol, if defined, indicates that the aintl routine is
3377 * available. If copysignl is also present we can emulate modfl.
3379 /*#define HAS_AINTL / **/
3381 /* HAS_BUILTIN_CHOOSE_EXPR:
3382 * Can we handle GCC builtin for compile-time ternary-like expressions
3384 /* HAS_BUILTIN_EXPECT:
3385 * Can we handle GCC builtin for telling that certain values are more
3388 /*#define HAS_BUILTIN_EXPECT / **/
3389 /*#define HAS_BUILTIN_CHOOSE_EXPR / **/
3391 /* HAS_C99_VARIADIC_MACROS:
3392 * If defined, the compiler supports C99 variadic macros.
3394 /*#define HAS_C99_VARIADIC_MACROS / **/
3397 * This symbol, if defined, indicates that the class routine is
3398 * available to classify doubles. Available for example in AIX.
3399 * The returned values are defined in <float.h> and are:
3401 * FP_PLUS_NORM Positive normalized, nonzero
3402 * FP_MINUS_NORM Negative normalized, nonzero
3403 * FP_PLUS_DENORM Positive denormalized, nonzero
3404 * FP_MINUS_DENORM Negative denormalized, nonzero
3406 * FP_MINUS_ZERO -0.0
3409 * FP_NANS Signaling Not a Number (NaNS)
3410 * FP_NANQ Quiet Not a Number (NaNQ)
3412 /*#define HAS_CLASS / **/
3415 * This symbol, if defined, indicates that the clearenv () routine is
3416 * available for use.
3418 /*#define HAS_CLEARENV / **/
3420 /* HAS_STRUCT_CMSGHDR:
3421 * This symbol, if defined, indicates that the struct cmsghdr
3424 /*#define HAS_STRUCT_CMSGHDR / **/
3427 * This symbol, if defined, indicates that the copysignl routine is
3428 * available. If aintl is also present we can emulate modfl.
3430 /*#define HAS_COPYSIGNL / **/
3433 * This symbol, if defined, indicates that a C++ compiler was
3434 * used to compiled Perl and will be used to compile extensions.
3436 /*#define USE_CPLUSPLUS / **/
3438 /* HAS_DBMINIT_PROTO:
3439 * This symbol, if defined, indicates that the system provides
3440 * a prototype for the dbminit() function. Otherwise, it is up
3441 * to the program to supply one. A good guess is
3442 * extern int dbminit(char *);
3444 /*#define HAS_DBMINIT_PROTO / **/
3447 * This symbol, if defined, indicates that the the DIR* dirstream
3448 * structure contains a member variable named dd_fd.
3450 /*#define HAS_DIR_DD_FD / **/
3453 * This manifest constant lets the C program know that dirfd
3456 /*#define HAS_DIRFD / **/
3458 /* DLSYM_NEEDS_UNDERSCORE:
3459 * This symbol, if defined, indicates that we need to prepend an
3460 * underscore to the symbol name before calling dlsym(). This only
3461 * makes sense if you *have* dlsym, which we will presume is the
3462 * case if you're using dl_dlopen.xs.
3464 /*#define DLSYM_NEEDS_UNDERSCORE / **/
3467 * This symbol, if defined, indicates that the "fast stdio"
3468 * is available to manipulate the stdio buffers directly.
3470 #define HAS_FAST_STDIO /**/
3473 * This symbol, if defined, indicates that the fchdir routine is
3474 * available to change directory using a file descriptor.
3476 /*#define HAS_FCHDIR / **/
3479 * This symbol, if defined, indicates that fcntl() can be used
3480 * for file locking. Normally on Unix systems this is defined.
3481 * It may be undefined on VMS.
3483 /*#define FCNTL_CAN_LOCK / **/
3486 * This symbol, if defined, indicates that the finite routine is
3487 * available to check whether a double is finite (non-infinity non-NaN).
3489 /*#define HAS_FINITE / **/
3492 * This symbol, if defined, indicates that the finitel routine is
3493 * available to check whether a long double is finite
3494 * (non-infinity non-NaN).
3496 /*#define HAS_FINITEL / **/
3499 * This symbol, if defined, indicates that the system provides
3500 * a prototype for the flock() function. Otherwise, it is up
3501 * to the program to supply one. A good guess is
3502 * extern int flock(int, int);
3504 #define HAS_FLOCK_PROTO /**/
3507 * This symbol, if defined, indicates that the fp_class routine is
3508 * available to classify doubles. Available for example in Digital UNIX.
3509 * The returned values are defined in <math.h> and are:
3511 * FP_SNAN Signaling NaN (Not-a-Number)
3512 * FP_QNAN Quiet NaN (Not-a-Number)
3513 * FP_POS_INF +infinity
3514 * FP_NEG_INF -infinity
3515 * FP_POS_NORM Positive normalized
3516 * FP_NEG_NORM Negative normalized
3517 * FP_POS_DENORM Positive denormalized
3518 * FP_NEG_DENORM Negative denormalized
3519 * FP_POS_ZERO +0.0 (positive zero)
3520 * FP_NEG_ZERO -0.0 (negative zero)
3522 /*#define HAS_FP_CLASS / **/
3525 * This symbol, if defined, indicates that the fpclass routine is
3526 * available to classify doubles. Available for example in Solaris/SVR4.
3527 * The returned values are defined in <ieeefp.h> and are:
3529 * FP_SNAN signaling NaN
3531 * FP_NINF negative infinity
3532 * FP_PINF positive infinity
3533 * FP_NDENORM negative denormalized non-zero
3534 * FP_PDENORM positive denormalized non-zero
3535 * FP_NZERO negative zero
3536 * FP_PZERO positive zero
3537 * FP_NNORM negative normalized non-zero
3538 * FP_PNORM positive normalized non-zero
3540 /*#define HAS_FPCLASS / **/
3543 * This symbol, if defined, indicates that the fpclassify routine is
3544 * available to classify doubles. Available for example in HP-UX.
3545 * The returned values are defined in <math.h> and are
3547 * FP_NORMAL Normalized
3549 * FP_INFINITE Infinity
3550 * FP_SUBNORMAL Denormalized
3554 /*#define HAS_FPCLASSIFY / **/
3557 * This symbol, if defined, indicates that the fpclassl routine is
3558 * available to classify long doubles. Available for example in IRIX.
3559 * The returned values are defined in <ieeefp.h> and are:
3561 * FP_SNAN signaling NaN
3563 * FP_NINF negative infinity
3564 * FP_PINF positive infinity
3565 * FP_NDENORM negative denormalized non-zero
3566 * FP_PDENORM positive denormalized non-zero
3567 * FP_NZERO negative zero
3568 * FP_PZERO positive zero
3569 * FP_NNORM negative normalized non-zero
3570 * FP_PNORM positive normalized non-zero
3572 /*#define HAS_FPCLASSL / **/
3575 * This symbol will be defined if the C compiler supports fpos64_t.
3577 /*#define HAS_FPOS64_T / **/
3580 * This symbol, if defined, indicates that the frexpl routine is
3581 * available to break a long double floating-point number into
3582 * a normalized fraction and an integral power of 2.
3584 /*#define HAS_FREXPL / **/
3586 /* HAS_STRUCT_FS_DATA:
3587 * This symbol, if defined, indicates that the struct fs_data
3588 * to do statfs() is supported.
3590 /*#define HAS_STRUCT_FS_DATA / **/
3593 * This symbol, if defined, indicates that the fseeko routine is
3594 * available to fseek beyond 32 bits (useful for ILP32 hosts).
3596 /*#define HAS_FSEEKO / **/
3599 * This symbol, if defined, indicates that the fstatfs routine is
3600 * available to stat filesystems by file descriptors.
3602 /*#define HAS_FSTATFS / **/
3605 * This symbol, if defined, indicates that the fsync routine is
3606 * available to write a file's modified data and attributes to
3607 * permanent storage.
3609 /*#define HAS_FSYNC / **/
3612 * This symbol, if defined, indicates that the ftello routine is
3613 * available to ftell beyond 32 bits (useful for ILP32 hosts).
3615 /*#define HAS_FTELLO / **/
3618 * This symbol, if defined, indicates that the futimes routine is
3619 * available to change file descriptor time stamps with struct timevals.
3621 /*#define HAS_FUTIMES / **/
3624 * This symbol, if defined, indicates that the getaddrinfo() function
3625 * is available for use.
3627 /*#define HAS_GETADDRINFO / **/
3630 * This symbol, if defined, indicates that the getcwd routine is
3631 * available to get the current working directory.
3633 #define HAS_GETCWD /**/
3636 * This symbol, if defined, indicates that the getespwnam system call is
3637 * available to retrieve enhanced (shadow) password entries by name.
3639 /*#define HAS_GETESPWNAM / **/
3642 * This symbol, if defined, indicates that the getfsstat routine is
3643 * available to stat filesystems in bulk.
3645 /*#define HAS_GETFSSTAT / **/
3648 * This symbol, if defined, indicates that the getitimer routine is
3649 * available to return interval timers.
3651 /*#define HAS_GETITIMER / **/
3654 * This symbol, if defined, indicates that the getmnt routine is
3655 * available to get filesystem mount info by filename.
3657 /*#define HAS_GETMNT / **/
3660 * This symbol, if defined, indicates that the getmntent routine is
3661 * available to iterate through mounted file systems to get their info.
3663 /*#define HAS_GETMNTENT / **/
3666 * This symbol, if defined, indicates that the getnameinfo() function
3667 * is available for use.
3669 /*#define HAS_GETNAMEINFO / **/
3672 * This symbol, if defined, indicates that the getprpwnam system call is
3673 * available to retrieve protected (shadow) password entries by name.
3675 /*#define HAS_GETPRPWNAM / **/
3678 * This symbol, if defined, indicates that the getspnam system call is
3679 * available to retrieve SysV shadow password entries by name.
3681 /*#define HAS_GETSPNAM / **/
3684 * This symbol, if defined, indicates that the hasmntopt routine is
3685 * available to query the mount options of file systems.
3687 /*#define HAS_HASMNTOPT / **/
3690 * This symbol, if defined, indicates that the ilogbl routine is
3691 * available. If scalbnl is also present we can emulate frexpl.
3693 /*#define HAS_ILOGBL / **/
3696 * This symbol, if defined, indicates that the inet_ntop() function
3697 * is available to parse IPv4 and IPv6 strings.
3699 /*#define HAS_INETNTOP / **/
3702 * This symbol, if defined, indicates that the inet_pton() function
3703 * is available to parse IPv4 and IPv6 strings.
3705 /*#define HAS_INETPTON / **/
3708 * This symbol will defined if the C compiler supports int64_t.
3709 * Usually the <inttypes.h> needs to be included, but sometimes
3710 * <sys/types.h> is enough.
3712 /*#define HAS_INT64_T / **/
3715 * This manifest constant lets the C program know that isblank
3718 /*#define HAS_ISBLANK / **/
3721 * This symbol, if defined, indicates that the isfinite routine is
3722 * available to check whether a double is finite (non-infinity non-NaN).
3724 /*#define HAS_ISFINITE / **/
3727 * This symbol, if defined, indicates that the isinf routine is
3728 * available to check whether a double is an infinity.
3730 /*#define HAS_ISINF / **/
3733 * This symbol, if defined, indicates that the isnan routine is
3734 * available to check whether a double is a NaN.
3736 #define HAS_ISNAN /**/
3739 * This symbol, if defined, indicates that the isnanl routine is
3740 * available to check whether a long double is a NaN.
3742 /*#define HAS_ISNANL / **/
3745 * This symbol, if defined, indicates that this system's <float.h>
3746 * or <limits.h> defines the symbol LDBL_DIG, which is the number
3747 * of significant digits in a long double precision number. Unlike
3748 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
3750 #define HAS_LDBL_DIG /**/
3752 /* LIBM_LIB_VERSION:
3753 * This symbol, if defined, indicates that libm exports _LIB_VERSION
3754 * and that math.h defines the enum to manipulate it.
3756 /*#define LIBM_LIB_VERSION / **/
3759 * This symbol, if defined, indicates that the madvise system call is
3760 * available to map a file into memory.
3762 /*#define HAS_MADVISE / **/
3765 * This symbol, if defined, indicates that the malloc_size
3766 * routine is available for use.
3768 /*#define HAS_MALLOC_SIZE / **/
3770 /* HAS_MALLOC_GOOD_SIZE:
3771 * This symbol, if defined, indicates that the malloc_good_size
3772 * routine is available for use.
3774 /*#define HAS_MALLOC_GOOD_SIZE / **/
3777 * This symbol, if defined, indicates that the mkdtemp routine is
3778 * available to exclusively create a uniquely named temporary directory.
3780 /*#define HAS_MKDTEMP / **/
3783 * This symbol, if defined, indicates that the mkstemps routine is
3784 * available to exclusively create and open a uniquely named
3785 * (with a suffix) temporary file.
3787 /*#define HAS_MKSTEMPS / **/
3790 * This symbol, if defined, indicates that the modfl routine is
3791 * available to split a long double x into a fractional part f and
3792 * an integer part i such that |f| < 1.0 and (f + i) = x.
3795 * This symbol, if defined, indicates that the system provides
3796 * a prototype for the modfl() function. Otherwise, it is up
3797 * to the program to supply one.
3799 /* HAS_MODFL_POW32_BUG:
3800 * This symbol, if defined, indicates that the modfl routine is
3801 * broken for long doubles >= pow(2, 32).
3802 * For example from 4294967303.150000 one would get 4294967302.000000
3803 * and 1.150000. The bug has been seen in certain versions of glibc,
3804 * release 2.2.2 is known to be okay.
3806 /*#define HAS_MODFL / **/
3807 /*#define HAS_MODFL_PROTO / **/
3808 /*#define HAS_MODFL_POW32_BUG / **/
3811 * This symbol, if defined, indicates that the mprotect system call is
3812 * available to modify the access protection of a memory mapped file.
3814 /*#define HAS_MPROTECT / **/
3816 /* HAS_STRUCT_MSGHDR:
3817 * This symbol, if defined, indicates that the struct msghdr
3820 /*#define HAS_STRUCT_MSGHDR / **/
3823 * This symbol, if defined, indicates that the nl_langinfo routine is
3824 * available to return local data. You will also need <langinfo.h>
3825 * and therefore I_LANGINFO.
3827 /*#define HAS_NL_LANGINFO / **/
3830 * This symbol will be defined if the C compiler supports off64_t.
3832 /*#define HAS_OFF64_T / **/
3835 * This symbol, if defined, indicates that the prctl routine is
3836 * available to set process title.
3838 /* HAS_PRCTL_SET_NAME:
3839 * This symbol, if defined, indicates that the prctl routine is
3840 * available to set process title and supports PR_SET_NAME.
3842 /*#define HAS_PRCTL / **/
3843 /*#define HAS_PRCTL_SET_NAME / **/
3846 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3847 * to the absolute pathname of the executing program.
3849 /* PROCSELFEXE_PATH:
3850 * If HAS_PROCSELFEXE is defined this symbol is the filename
3851 * of the symbolic link pointing to the absolute pathname of
3852 * the executing program.
3854 /*#define HAS_PROCSELFEXE / **/
3855 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3856 #define PROCSELFEXE_PATH /**/
3859 /* HAS_PTHREAD_ATTR_SETSCOPE:
3860 * This symbol, if defined, indicates that the pthread_attr_setscope
3861 * system call is available to set the contention scope attribute of
3862 * a thread attribute object.
3864 /*#define HAS_PTHREAD_ATTR_SETSCOPE / **/
3867 * This symbol, if defined, indicates that the readv routine is
3868 * available to do gather reads. You will also need <sys/uio.h>
3869 * and there I_SYSUIO.
3871 /*#define HAS_READV / **/
3874 * This symbol, if defined, indicates that the recvmsg routine is
3875 * available to send structured socket messages.
3877 /*#define HAS_RECVMSG / **/
3880 * This symbol, if defined, indicates that the system provides
3881 * a prototype for the sbrk() function. Otherwise, it is up
3882 * to the program to supply one. Good guesses are
3883 * extern void* sbrk(int);
3884 * extern void* sbrk(size_t);
3886 /*#define HAS_SBRK_PROTO / **/
3889 * This symbol, if defined, indicates that the scalbnl routine is
3890 * available. If ilogbl is also present we can emulate frexpl.
3892 /*#define HAS_SCALBNL / **/
3895 * This symbol, if defined, indicates that the sendmsg routine is
3896 * available to send structured socket messages.
3898 /*#define HAS_SENDMSG / **/
3901 * This symbol, if defined, indicates that the setitimer routine is
3902 * available to set interval timers.
3904 /*#define HAS_SETITIMER / **/
3906 /* HAS_SETPROCTITLE:
3907 * This symbol, if defined, indicates that the setproctitle routine is
3908 * available to set process title.
3910 /*#define HAS_SETPROCTITLE / **/
3913 * This symbol, if defined, indicates that sfio should
3916 /*#define USE_SFIO / **/
3919 * This symbol, if defined, indicates that the signbit routine is
3920 * available to check if the given number has the sign bit set.
3921 * This should include correct testing of -0.0. This will only be set
3922 * if the signbit() routine is safe to use with the NV type used internally
3923 * in perl. Users should call Perl_signbit(), which will be #defined to
3924 * the system's signbit() function or macro if this symbol is defined.
3926 /*#define HAS_SIGNBIT / **/
3929 * This symbol, if defined, indicates that the sigprocmask
3930 * system call is available to examine or change the signal mask
3931 * of the calling process.
3933 /*#define HAS_SIGPROCMASK / **/
3935 /* USE_SITECUSTOMIZE:
3936 * This symbol, if defined, indicates that sitecustomize should
3939 #ifndef USE_SITECUSTOMIZE
3940 /*#define USE_SITECUSTOMIZE / **/
3944 * This symbol, if defined, indicates that the snprintf () library
3945 * function is available for use.
3948 * This symbol, if defined, indicates that the vsnprintf () library
3949 * function is available for use.
3951 #define HAS_SNPRINTF /**/
3952 #define HAS_VSNPRINTF /**/
3955 * This symbol, if defined, indicates that the sockatmark routine is
3956 * available to test whether a socket is at the out-of-band mark.
3958 /*#define HAS_SOCKATMARK / **/
3960 /* HAS_SOCKATMARK_PROTO:
3961 * This symbol, if defined, indicates that the system provides
3962 * a prototype for the sockatmark() function. Otherwise, it is up
3963 * to the program to supply one. A good guess is
3964 * extern int sockatmark(int);
3966 /*#define HAS_SOCKATMARK_PROTO / **/
3969 * This symbol, if defined, indicates that the socks5_init routine is
3970 * available to initialize SOCKS 5.
3972 /*#define HAS_SOCKS5_INIT / **/
3974 /* SPRINTF_RETURNS_STRLEN:
3975 * This variable defines whether sprintf returns the length of the string
3976 * (as per the ANSI spec). Some C libraries retain compatibility with
3977 * pre-ANSI C and return a pointer to the passed in buffer; for these
3978 * this variable will be undef.
3980 #define SPRINTF_RETURNS_STRLEN /**/
3983 * This symbol, if defined, indicates that the sqrtl routine is
3984 * available to do long double square roots.
3986 /*#define HAS_SQRTL / **/
3988 /* HAS_SETRESGID_PROTO:
3989 * This symbol, if defined, indicates that the system provides
3990 * a prototype for the setresgid() function. Otherwise, it is up
3991 * to the program to supply one. Good guesses are
3992 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3994 /*#define HAS_SETRESGID_PROTO / **/
3996 /* HAS_SETRESUID_PROTO:
3997 * This symbol, if defined, indicates that the system provides
3998 * a prototype for the setresuid() function. Otherwise, it is up
3999 * to the program to supply one. Good guesses are
4000 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
4002 /*#define HAS_SETRESUID_PROTO / **/
4004 /* HAS_STRUCT_STATFS_F_FLAGS:
4005 * This symbol, if defined, indicates that the struct statfs
4006 * does have the f_flags member containing the mount flags of
4007 * the filesystem containing the file.
4008 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
4009 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
4010 * have statfs() and struct statfs, they have ustat() and getmnt()
4011 * with struct ustat and struct fs_data.
4013 /*#define HAS_STRUCT_STATFS_F_FLAGS / **/
4015 /* HAS_STRUCT_STATFS:
4016 * This symbol, if defined, indicates that the struct statfs
4017 * to do statfs() is supported.
4019 /*#define HAS_STRUCT_STATFS / **/
4022 * This symbol, if defined, indicates that the fstatvfs routine is
4023 * available to stat filesystems by file descriptors.
4025 /*#define HAS_FSTATVFS / **/
4028 * This symbol, if defined, indicates that the strftime routine is
4029 * available to do time formatting.
4031 #define HAS_STRFTIME /**/
4034 * This symbol, if defined, indicates that the strlcat () routine is
4035 * available to do string concatenation.
4037 /*#define HAS_STRLCAT / **/
4040 * This symbol, if defined, indicates that the strlcpy () routine is
4041 * available to do string copying.
4043 /*#define HAS_STRLCPY / **/
4046 * This symbol, if defined, indicates that the strtold routine is
4047 * available to convert strings to long doubles.
4049 /*#define HAS_STRTOLD / **/
4052 * This symbol, if defined, indicates that the strtoll routine is
4053 * available to convert strings to long longs.
4055 /*#define HAS_STRTOLL / **/
4058 * This symbol, if defined, indicates that the strtoq routine is
4059 * available to convert strings to long longs (quads).
4061 /*#define HAS_STRTOQ / **/
4064 * This symbol, if defined, indicates that the strtoull routine is
4065 * available to convert strings to unsigned long longs.
4067 /*#define HAS_STRTOULL / **/
4070 * This symbol, if defined, indicates that the strtouq routine is
4071 * available to convert strings to unsigned long longs (quads).
4073 /*#define HAS_STRTOUQ / **/
4075 /* HAS_SYSCALL_PROTO:
4076 * This symbol, if defined, indicates that the system provides
4077 * a prototype for the syscall() function. Otherwise, it is up
4078 * to the program to supply one. Good guesses are
4079 * extern int syscall(int, ...);
4080 * extern int syscall(long, ...);
4082 /*#define HAS_SYSCALL_PROTO / **/
4084 /* HAS_TELLDIR_PROTO:
4085 * This symbol, if defined, indicates that the system provides
4086 * a prototype for the telldir() function. Otherwise, it is up
4087 * to the program to supply one. A good guess is
4088 * extern long telldir(DIR*);
4090 #define HAS_TELLDIR_PROTO /**/
4093 * This symbol, if defined, indicates that the ctime64 () routine is
4094 * available to do the 64bit variant of ctime ()
4097 * This symbol, if defined, indicates that the localtime64 () routine is
4098 * available to do the 64bit variant of localtime ()
4101 * This symbol, if defined, indicates that the gmtime64 () routine is
4102 * available to do the 64bit variant of gmtime ()
4105 * This symbol, if defined, indicates that the mktime64 () routine is
4106 * available to do the 64bit variant of mktime ()
4109 * This symbol, if defined, indicates that the difftime64 () routine is
4110 * available to do the 64bit variant of difftime ()
4113 * This symbol, if defined, indicates that the asctime64 () routine is
4114 * available to do the 64bit variant of asctime ()
4116 /*#define HAS_CTIME64 / **/
4117 /*#define HAS_LOCALTIME64 / **/
4118 /*#define HAS_GMTIME64 / **/
4119 /*#define HAS_MKTIME64 / **/
4120 /*#define HAS_DIFFTIME64 / **/
4121 /*#define HAS_ASCTIME64 / **/
4124 * This symbol, if defined, indicates that the timegm routine is
4125 * available to do the opposite of gmtime ()
4127 /*#define HAS_TIMEGM / **/
4129 /* U32_ALIGNMENT_REQUIRED:
4130 * This symbol, if defined, indicates that you must access
4131 * character data through U32-aligned pointers.
4133 #ifndef U32_ALIGNMENT_REQUIRED
4134 #define U32_ALIGNMENT_REQUIRED /**/
4138 * This symbol, if defined, indicates that the ualarm routine is
4139 * available to do alarms with microsecond granularity.
4141 /*#define HAS_UALARM / **/
4144 * This symbol, if defined, indicates that the unordered routine is
4145 * available to check whether two doubles are unordered
4146 * (effectively: whether either of them is NaN)
4148 /*#define HAS_UNORDERED / **/
4151 * This symbol, if defined, indicates that the unsetenv () routine is
4152 * available for use.
4154 /*#define HAS_UNSETENV / **/
4156 /* HAS_USLEEP_PROTO:
4157 * This symbol, if defined, indicates that the system provides
4158 * a prototype for the usleep() function. Otherwise, it is up
4159 * to the program to supply one. A good guess is
4160 * extern int usleep(useconds_t);
4162 /*#define HAS_USLEEP_PROTO / **/
4165 * This symbol, if defined, indicates that the ustat system call is
4166 * available to query file system statistics by dev_t.
4168 /*#define HAS_USTAT / **/
4171 * This symbol, if defined, indicates that the writev routine is
4172 * available to do scatter writes.
4174 /*#define HAS_WRITEV / **/
4176 /* USE_DYNAMIC_LOADING:
4177 * This symbol, if defined, indicates that dynamic loading of
4178 * some sort is available.
4180 #define USE_DYNAMIC_LOADING /**/
4183 * This symbol, if defined, tells that fflush(NULL) does flush
4184 * all pending stdio output.
4187 * This symbol, if defined, tells that to flush
4188 * all pending stdio output one must loop through all
4189 * the stdio file handles stored in an array and fflush them.
4190 * Note that if fflushNULL is defined, fflushall will not
4191 * even be probed for and will be left undefined.
4193 #define FFLUSH_NULL /**/
4194 /*#define FFLUSH_ALL / **/
4197 * This symbol, if defined, indicates that <assert.h> exists and
4198 * could be included by the C program to get the assert() macro.
4200 #define I_ASSERT /**/
4203 * This symbol, if defined, indicates that <crypt.h> exists and
4204 * should be included.
4206 /*#define I_CRYPT / **/
4209 * This symbol contains the type of the prefix structure element
4210 * in the <db.h> header file. In older versions of DB, it was
4211 * int, while in newer ones it is u_int32_t.
4214 * This symbol contains the type of the prefix structure element
4215 * in the <db.h> header file. In older versions of DB, it was
4216 * int, while in newer ones it is size_t.
4218 /* DB_VERSION_MAJOR_CFG:
4219 * This symbol, if defined, defines the major version number of
4220 * Berkeley DB found in the <db.h> header when Perl was configured.
4222 /* DB_VERSION_MINOR_CFG:
4223 * This symbol, if defined, defines the minor version number of
4224 * Berkeley DB found in the <db.h> header when Perl was configured.
4225 * For DB version 1 this is always 0.
4227 /* DB_VERSION_PATCH_CFG:
4228 * This symbol, if defined, defines the patch version number of
4229 * Berkeley DB found in the <db.h> header when Perl was configured.
4230 * For DB version 1 this is always 0.
4232 #define DB_Hash_t int /**/
4233 #define DB_Prefix_t int /**/
4234 #define DB_VERSION_MAJOR_CFG 0 /**/
4235 #define DB_VERSION_MINOR_CFG 0 /**/
4236 #define DB_VERSION_PATCH_CFG 0 /**/
4239 * This symbol, if defined, indicates that <fp.h> exists and
4240 * should be included.
4242 /*#define I_FP / **/
4245 * This symbol, if defined, indicates that <fp_class.h> exists and
4246 * should be included.
4248 /*#define I_FP_CLASS / **/
4251 * This symbol, if defined, indicates that <ieeefp.h> exists and
4252 * should be included.
4254 /*#define I_IEEEFP / **/
4257 * This symbol, if defined, indicates to the C program that it should
4258 * include <inttypes.h>.
4260 /*#define I_INTTYPES / **/
4263 * This symbol, if defined, indicates that <langinfo.h> exists and
4264 * should be included.
4266 /*#define I_LANGINFO / **/
4269 * This symbol, if defined, indicates that <libutil.h> exists and
4270 * should be included.
4272 /*#define I_LIBUTIL / **/
4275 * This symbol, if defined, indicates to the C program that it should
4276 * include <malloc/malloc.h>.
4278 /*#define I_MALLOCMALLOC / **/
4281 * This symbol, if defined, indicates that <mntent.h> exists and
4282 * should be included.
4284 /*#define I_MNTENT / **/
4287 * This symbol, if defined, indicates to the C program that it should
4288 * include <netinet/tcp.h>.
4290 /*#define I_NETINET_TCP / **/
4293 * This symbol, if defined, indicates that <poll.h> exists and
4294 * should be included. (see also HAS_POLL)
4296 /*#define I_POLL / **/
4299 * This symbol, if defined, indicates that <prot.h> exists and
4300 * should be included.
4302 /*#define I_PROT / **/
4305 * This symbol, if defined, indicates that <shadow.h> exists and
4306 * should be included.
4308 /*#define I_SHADOW / **/
4311 * This symbol, if defined, indicates that <socks.h> exists and
4312 * should be included.
4314 /*#define I_SOCKS / **/
4317 * This symbol, if defined, indicates that <stdbool.h> exists and
4320 /*#define I_STDBOOL / **/
4323 * This symbol, if defined, indicates that <sunmath.h> exists and
4324 * should be included.
4326 /*#define I_SUNMATH / **/
4329 * This symbol, if defined, indicates that <syslog.h> exists and
4330 * should be included.
4332 /*#define I_SYSLOG / **/
4335 * This symbol, if defined, indicates that <sys/mode.h> exists and
4336 * should be included.
4338 /*#define I_SYSMODE / **/
4341 * This symbol, if defined, indicates that <sys/mount.h> exists and
4342 * should be included.
4344 /*#define I_SYS_MOUNT / **/
4347 * This symbol, if defined, indicates that <sys/statfs.h> exists.
4349 /*#define I_SYS_STATFS / **/
4352 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
4353 * should be included.
4355 /*#define I_SYS_STATVFS / **/
4358 * This symbol, if defined, indicates that <sys/utsname.h> exists and
4359 * should be included.
4361 /*#define I_SYSUTSNAME / **/
4364 * This symbol, if defined, indicates that <sys/vfs.h> exists and
4365 * should be included.
4367 /*#define I_SYS_VFS / **/
4370 * This symbol, if defined, indicates that <ustat.h> exists and
4371 * should be included.
4373 /*#define I_USTAT / **/
4376 * This symbol, if defined, contains the string used by stdio to
4377 * format long doubles (format 'f') for output.
4380 * This symbol, if defined, contains the string used by stdio to
4381 * format long doubles (format 'g') for output.
4384 * This symbol, if defined, contains the string used by stdio to
4385 * format long doubles (format 'e') for output.
4388 * This symbol, if defined, contains the string used by stdio to
4389 * format long doubles (format 'f') for input.
4391 /*#define PERL_PRIfldbl "f" / **/
4392 /*#define PERL_PRIgldbl "g" / **/
4393 /*#define PERL_PRIeldbl "e" / **/
4394 /*#define PERL_SCNfldbl "f" / **/
4397 * This symbol, if defined, indicates that the Misc Attribution
4398 * Declaration code should be conditionally compiled.
4400 /*#define PERL_MAD / **/
4403 * This symbol, if defined, indicates that the system stores
4404 * the variable argument list datatype, va_list, in a format
4405 * that cannot be copied by simple assignment, so that some
4406 * other means must be used when copying is required.
4407 * As such systems vary in their provision (or non-provision)
4408 * of copying mechanisms, handy.h defines a platform-
4409 * independent macro, Perl_va_copy(src, dst), to do the job.
4411 /*#define NEED_VA_COPY / **/
4414 * This symbol defines the C type used for Perl's IV.
4417 * This symbol defines the C type used for Perl's UV.
4420 * This symbol defines the C type used for Perl's I8.
4423 * This symbol defines the C type used for Perl's U8.
4426 * This symbol defines the C type used for Perl's I16.
4429 * This symbol defines the C type used for Perl's U16.
4432 * This symbol defines the C type used for Perl's I32.
4435 * This symbol defines the C type used for Perl's U32.
4438 * This symbol defines the C type used for Perl's I64.
4441 * This symbol defines the C type used for Perl's U64.
4444 * This symbol defines the C type used for Perl's NV.
4447 * This symbol contains the sizeof(IV).
4450 * This symbol contains the sizeof(UV).
4453 * This symbol contains the sizeof(I8).
4456 * This symbol contains the sizeof(U8).
4459 * This symbol contains the sizeof(I16).
4462 * This symbol contains the sizeof(U16).
4465 * This symbol contains the sizeof(I32).
4468 * This symbol contains the sizeof(U32).
4471 * This symbol contains the sizeof(I64).
4474 * This symbol contains the sizeof(U64).
4477 * This symbol contains the sizeof(NV).
4480 * This symbol, if defined, indicates that a variable of type NVTYPE
4481 * can preserve all the bits of a variable of type UVTYPE.
4483 /* NV_PRESERVES_UV_BITS:
4484 * This symbol contains the number of bits a variable of type NVTYPE
4485 * can preserve of a variable of type UVTYPE.
4487 /* NV_OVERFLOWS_INTEGERS_AT:
4488 * This symbol gives the largest integer value that NVs can hold. This
4489 * value + 1.0 cannot be stored accurately. It is expressed as constant
4490 * floating point expression to reduce the chance of decimal/binary
4491 * conversion issues. If it can not be determined, the value 0 is given.
4493 /* NV_ZERO_IS_ALLBITS_ZERO:
4494 * This symbol, if defined, indicates that a variable of type NVTYPE
4495 * stores 0.0 in memory as all bits zero.
4497 #define IVTYPE long /**/
4498 #define UVTYPE unsigned long /**/
4499 #define I8TYPE char /**/
4500 #define U8TYPE unsigned char /**/
4501 #define I16TYPE short /**/
4502 #define U16TYPE unsigned short /**/
4503 #define I32TYPE long /**/
4504 #define U32TYPE unsigned long /**/
4506 #define I64TYPE long long /**/
4507 #define U64TYPE unsigned long long /**/
4509 #define NVTYPE double /**/
4510 #define IVSIZE 4 /**/
4511 #define UVSIZE 4 /**/
4512 #define I8SIZE 1 /**/
4513 #define U8SIZE 1 /**/
4514 #define I16SIZE 2 /**/
4515 #define U16SIZE 2 /**/
4516 #define I32SIZE 4 /**/
4517 #define U32SIZE 4 /**/
4519 #define I64SIZE 8 /**/
4520 #define U64SIZE 8 /**/
4522 #define NVSIZE 8 /**/
4523 #define NV_PRESERVES_UV
4524 #define NV_PRESERVES_UV_BITS 32
4525 #define NV_OVERFLOWS_INTEGERS_AT 256.0*256.0*256.0*256.0*256.0*256.0*2.0*2.0*2.0*2.0*2.0
4526 #define NV_ZERO_IS_ALLBITS_ZERO
4529 # if BYTEORDER == 0x1234
4531 # define BYTEORDER 0x12345678
4533 # if BYTEORDER == 0x4321
4535 # define BYTEORDER 0x87654321
4542 * This symbol defines the format string used for printing a Perl IV
4543 * as a signed decimal integer.
4546 * This symbol defines the format string used for printing a Perl UV
4547 * as an unsigned decimal integer.
4550 * This symbol defines the format string used for printing a Perl UV
4551 * as an unsigned octal integer.
4554 * This symbol defines the format string used for printing a Perl UV
4555 * as an unsigned hexadecimal integer in lowercase abcdef.
4558 * This symbol defines the format string used for printing a Perl UV
4559 * as an unsigned hexadecimal integer in uppercase ABCDEF.
4562 * This symbol defines the format string used for printing a Perl NV
4563 * using %e-ish floating point format.
4566 * This symbol defines the format string used for printing a Perl NV
4567 * using %f-ish floating point format.
4570 * This symbol defines the format string used for printing a Perl NV
4571 * using %g-ish floating point format.
4573 #define IVdf "ld" /**/
4574 #define UVuf "lu" /**/
4575 #define UVof "lo" /**/
4576 #define UVxf "lx" /**/
4577 #define UVXf "lX" /**/
4578 #define NVef "e" /**/
4579 #define NVff "f" /**/
4580 #define NVgf "g" /**/
4583 * This symbol holds the minimum number of bits operated by select.
4584 * That is, if you do select(n, ...), how many bits at least will be
4585 * cleared in the masks if some activity is detected. Usually this
4586 * is either n or 32*ceil(n/32), especially many little-endians do
4587 * the latter. This is only useful if you have select(), naturally.
4589 #define SELECT_MIN_BITS 32 /**/
4592 * This variable contains the size of struct stat's st_ino in bytes.
4595 * This symbol holds the signedess of struct stat's st_ino.
4596 * 1 for unsigned, -1 for signed.
4598 #define ST_INO_SIGN 1 /* st_ino sign */
4599 #define ST_INO_SIZE 4 /* st_ino size */
4602 * This variable contains the string to put in front of a perl
4603 * script to make sure (one hopes) that it runs with perl and not
4606 #define STARTPERL "#!perl" /**/
4608 /* HAS_STDIO_STREAM_ARRAY:
4609 * This symbol, if defined, tells that there is an array
4610 * holding the stdio streams.
4612 /* STDIO_STREAM_ARRAY:
4613 * This symbol tells the name of the array holding the stdio streams.
4614 * Usual values include _iob, __iob, and __sF.
4616 /*#define HAS_STDIO_STREAM_ARRAY / **/
4617 #ifdef HAS_STDIO_STREAM_ARRAY
4618 #define STDIO_STREAM_ARRAY
4622 * This symbol contains the maximum value for the time_t offset that
4623 * the system function gmtime () accepts, and defaults to 0
4626 * This symbol contains the minimum value for the time_t offset that
4627 * the system function gmtime () accepts, and defaults to 0
4630 * This symbol contains the maximum value for the time_t offset that
4631 * the system function localtime () accepts, and defaults to 0
4634 * This symbol contains the minimum value for the time_t offset that
4635 * the system function localtime () accepts, and defaults to 0
4637 #define GMTIME_MAX 2147483647 /**/
4638 #define GMTIME_MIN 0 /**/
4639 #define LOCALTIME_MAX 2147483647 /**/
4640 #define LOCALTIME_MIN 0 /**/
4643 * This symbol, if defined, indicates that 64-bit integers should
4644 * be used when available. If not defined, the native integers
4645 * will be employed (be they 32 or 64 bits). The minimal possible
4646 * 64-bitness is used, just enough to get 64-bit integers into Perl.
4647 * This may mean using for example "long longs", while your memory
4648 * may still be limited to 2 gigabytes.
4651 * This symbol, if defined, indicates that 64-bit integers should
4652 * be used when available. If not defined, the native integers
4653 * will be used (be they 32 or 64 bits). The maximal possible
4654 * 64-bitness is employed: LP64 or ILP64, meaning that you will
4655 * be able to use more than 2 gigabytes of memory. This mode is
4656 * even more binary incompatible than USE_64_BIT_INT. You may not
4657 * be able to run the resulting executable in a 32-bit CPU at all or
4658 * you may need at least to reboot your OS to 64-bit mode.
4660 #ifndef USE_64_BIT_INT
4661 /*#define USE_64_BIT_INT / **/
4663 #ifndef USE_64_BIT_ALL
4664 /*#define USE_64_BIT_ALL / **/
4668 * This symbol, if defined, indicates that Perl should
4669 * be built with support for DTrace.
4671 /*#define USE_DTRACE / **/
4674 * This symbol, if defined, indicates that Perl should
4675 * be built to use 'fast stdio'.
4676 * Defaults to define in Perls 5.8 and earlier, to undef later.
4678 #ifndef USE_FAST_STDIO
4679 /*#define USE_FAST_STDIO / **/
4682 /* USE_KERN_PROC_PATHNAME:
4683 * This symbol, if defined, indicates that we can use sysctl with
4684 * KERN_PROC_PATHNAME to get a full path for the executable, and hence
4685 * convert $^X to an absolute path.
4687 /*#define USE_KERN_PROC_PATHNAME / **/
4690 * This symbol, if defined, indicates that large file support
4691 * should be used when available.
4693 #ifndef USE_LARGE_FILES
4694 /*#define USE_LARGE_FILES / **/
4698 * This symbol, if defined, indicates that long doubles should
4699 * be used when available.
4701 #ifndef USE_LONG_DOUBLE
4702 /*#define USE_LONG_DOUBLE / **/
4706 * This symbol, if defined, indicates that 64-bit interfaces and
4707 * long doubles should be used when available.
4709 #ifndef USE_MORE_BITS
4710 /*#define USE_MORE_BITS / **/
4714 * This symbol, if defined, indicates that Perl should
4715 * be built to use multiplicity.
4717 #ifndef MULTIPLICITY
4718 /*#define MULTIPLICITY / **/
4721 /* USE_NSGETEXECUTABLEPATH:
4722 * This symbol, if defined, indicates that we can use _NSGetExecutablePath
4723 * and realpath to get a full path for the executable, and hence convert
4724 * $^X to an absolute path.
4726 /*#define USE_NSGETEXECUTABLEPATH / **/
4729 * This symbol, if defined, indicates that the PerlIO abstraction should
4730 * be used throughout. If not defined, stdio should be
4731 * used in a fully backward compatible manner.
4734 /*#define USE_PERLIO / **/
4738 * This symbol, if defined, indicates that Perl should
4739 * be built to use socks.
4742 /*#define USE_SOCKS / **/