2 * This file was produced by running the config_h.SH script, which
3 * gets its values from undef, which is generally produced by
6 * Feel free to modify any of this as the need arises. Note, however,
7 * that running config_h.SH again will wipe out any changes you've made.
8 * For a more permanent change edit undef and rerun config_h.SH.
10 * $Id: Config_h.U 1 2006-08-24 12:32:52Z rmanfredi $
14 * Package name : perl5
16 * Configuration time: Fri Dec 12 15:41:26 2008
17 * Configured by : shay
25 * This symbol holds the complete pathname to the sed program.
27 #define LOC_SED "" /**/
30 * This symbol, if defined, indicates that the alarm routine is
33 #define HAS_ALARM /**/
36 * This symbol is defined if the bcmp() routine is available to
37 * compare blocks of memory.
39 /*#define HAS_BCMP /**/
42 * This symbol is defined if the bcopy() routine is available to
43 * copy blocks of memory.
45 /*#define HAS_BCOPY /**/
48 * This symbol is defined if the bzero() routine is available to
49 * set a memory block to 0.
51 /*#define HAS_BZERO /**/
54 * This symbol, if defined, indicates that the chown routine is
57 /*#define HAS_CHOWN /**/
60 * This symbol, if defined, indicates that the chroot routine is
63 /*#define HAS_CHROOT /**/
66 * This symbol, if defined, indicates that the chsize routine is available
67 * to truncate files. You might need a -lx to get this routine.
69 #define HAS_CHSIZE /**/
72 * This symbol, if defined, indicates that the crypt routine is available
73 * to encrypt passwords and the like.
75 /*#define HAS_CRYPT /**/
78 * This symbol, if defined, indicates that the ctermid routine is
79 * available to generate filename for terminal.
81 /*#define HAS_CTERMID /**/
84 * This symbol, if defined, indicates that the cuserid routine is
85 * available to get character login names.
87 /*#define HAS_CUSERID /**/
90 * This symbol, if defined, indicates that this system's <float.h>
91 * or <limits.h> defines the symbol DBL_DIG, which is the number
92 * of significant digits in a double precision number. If this
93 * symbol is not defined, a guess of 15 is usually pretty good.
95 #define HAS_DBL_DIG /**/
98 * This symbol, if defined, indicates that the difftime routine is
101 #define HAS_DIFFTIME /**/
104 * This symbol, if defined, indicates that the dlerror routine is
105 * available to return a string describing the last error that
106 * occurred from a call to dlopen(), dlclose() or dlsym().
108 #define HAS_DLERROR /**/
110 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
111 * This symbol, if defined, indicates that the bug that prevents
112 * setuid scripts from being secure is not present in this kernel.
115 * This symbol, if defined, indicates that the C program should
116 * check the script that it is executing for setuid/setgid bits, and
117 * attempt to emulate setuid/setgid on systems that have disabled
118 * setuid #! scripts because the kernel can't do it securely.
119 * It is up to the package designer to make sure that this emulation
120 * is done securely. Among other things, it should do an fstat on
121 * the script it just opened to make sure it really is a setuid/setgid
122 * script, it should make sure the arguments passed correspond exactly
123 * to the argument on the #! line, and it should not trust any
124 * subprocesses to which it must pass the filename rather than the
125 * file descriptor of the script to be executed.
127 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
128 /*#define DOSUID /**/
131 * This symbol, if defined, indicates that the dup2 routine is
132 * available to duplicate file descriptors.
134 #define HAS_DUP2 /**/
137 * This symbol, if defined, indicates that the fchmod routine is available
138 * to change mode of opened files. If unavailable, use chmod().
140 /*#define HAS_FCHMOD /**/
143 * This symbol, if defined, indicates that the fchown routine is available
144 * to change ownership of opened files. If unavailable, use chown().
146 /*#define HAS_FCHOWN /**/
149 * This symbol, if defined, indicates to the C program that
150 * the fcntl() function exists.
152 /*#define HAS_FCNTL /**/
155 * This symbol, if defined, indicates that the fgetpos routine is
156 * available to get the file position indicator, similar to ftell().
158 #define HAS_FGETPOS /**/
161 * This symbol, if defined, indicates that the flock routine is
162 * available to do file locking.
164 #define HAS_FLOCK /**/
167 * This symbol, if defined, indicates that the fork routine is
170 /*#define HAS_FORK /**/
173 * This symbol, if defined, indicates that the fsetpos routine is
174 * available to set the file position indicator, similar to fseek().
176 #define HAS_FSETPOS /**/
179 * This symbol, if defined, indicates that the gettimeofday() system
180 * call is available for a sub-second accuracy clock. Usually, the file
181 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
182 * The type "Timeval" should be used to refer to "struct timeval".
184 #define HAS_GETTIMEOFDAY /**/
185 #ifdef HAS_GETTIMEOFDAY
186 #define Timeval struct timeval /* Structure used by gettimeofday() */
190 * This symbol, if defined, indicates that the getgroups() routine is
191 * available to get the list of process groups. If unavailable, multiple
192 * groups are probably not supported.
194 /*#define HAS_GETGROUPS /**/
197 * This symbol, if defined, indicates that the getlogin routine is
198 * available to get the login name.
200 #define HAS_GETLOGIN /**/
203 * This symbol, if defined, indicates to the C program that
204 * the getpgid(pid) function is available to get the
207 /*#define HAS_GETPGID /**/
210 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
211 * routine is available to get the current process group.
213 /*#define HAS_GETPGRP2 /**/
216 * This symbol, if defined, indicates that the getppid routine is
217 * available to get the parent process ID.
219 /*#define HAS_GETPPID /**/
222 * This symbol, if defined, indicates that the getpriority routine is
223 * available to get a process's priority.
225 /*#define HAS_GETPRIORITY /**/
228 * This symbol, if defined, indicates to the C program that the
229 * inet_aton() function is available to parse IP address "dotted-quad"
232 /*#define HAS_INET_ATON /**/
235 * This symbol, if defined, indicates that the killpg routine is available
236 * to kill process groups. If unavailable, you probably should use kill
237 * with a negative process number.
239 #define HAS_KILLPG /**/
242 * This symbol, if defined, indicates that the link routine is
243 * available to create hard links.
245 #define HAS_LINK /**/
248 * This symbol, if defined, indicates that the localeconv routine is
249 * available for numeric and monetary formatting conventions.
251 #define HAS_LOCALECONV /**/
254 * This symbol, if defined, indicates that the lockf routine is
255 * available to do file locking.
257 /*#define HAS_LOCKF /**/
260 * This symbol, if defined, indicates that the lstat routine is
261 * available to do file stats on symbolic links.
263 /*#define HAS_LSTAT /**/
266 * This symbol, if defined, indicates that the mblen routine is available
267 * to find the number of bytes in a multibye character.
269 #define HAS_MBLEN /**/
272 * This symbol, if defined, indicates that the mbstowcs routine is
273 * available to covert a multibyte string into a wide character string.
275 #define HAS_MBSTOWCS /**/
278 * This symbol, if defined, indicates that the mbtowc routine is available
279 * to covert a multibyte to a wide character.
281 #define HAS_MBTOWC /**/
284 * This symbol, if defined, indicates that the memcmp routine is available
285 * to compare blocks of memory.
287 #define HAS_MEMCMP /**/
290 * This symbol, if defined, indicates that the memcpy routine is available
291 * to copy blocks of memory.
293 #define HAS_MEMCPY /**/
296 * This symbol, if defined, indicates that the memmove routine is available
297 * to copy potentially overlapping blocks of memory. This should be used
298 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
301 #define HAS_MEMMOVE /**/
304 * This symbol, if defined, indicates that the memset routine is available
305 * to set blocks of memory.
307 #define HAS_MEMSET /**/
310 * This symbol, if defined, indicates that the mkdir routine is available
311 * to create directories. Otherwise you should fork off a new process to
314 #define HAS_MKDIR /**/
317 * This symbol, if defined, indicates that the mkfifo routine is
318 * available to create FIFOs. Otherwise, mknod should be able to
319 * do it for you. However, if mkfifo is there, mknod might require
320 * super-user privileges which mkfifo will not.
322 /*#define HAS_MKFIFO /**/
325 * This symbol, if defined, indicates that the mktime routine is
328 #define HAS_MKTIME /**/
331 * This symbol, if defined, indicates that the msync system call is
332 * available to synchronize a mapped file.
334 /*#define HAS_MSYNC /**/
337 * This symbol, if defined, indicates that the munmap system call is
338 * available to unmap a region, usually mapped by mmap().
340 /*#define HAS_MUNMAP /**/
343 * This symbol, if defined, indicates that the nice routine is
346 /*#define HAS_NICE /**/
349 * This symbol, if defined, indicates that pathconf() is available
350 * to determine file-system related limits and options associated
351 * with a given filename.
354 * This symbol, if defined, indicates that pathconf() is available
355 * to determine file-system related limits and options associated
356 * with a given open file descriptor.
358 /*#define HAS_PATHCONF /**/
359 /*#define HAS_FPATHCONF /**/
362 * This symbol, if defined, indicates that the pause routine is
363 * available to suspend a process until a signal is received.
365 #define HAS_PAUSE /**/
368 * This symbol, if defined, indicates that the pipe routine is
369 * available to create an inter-process channel.
371 #define HAS_PIPE /**/
374 * This symbol, if defined, indicates that the poll routine is
375 * available to poll active file descriptors. Please check I_POLL and
376 * I_SYS_POLL to know which header should be included as well.
378 /*#define HAS_POLL /**/
381 * This symbol, if defined, indicates that the readdir routine is
382 * available to read directory entries. You may have to include
383 * <dirent.h>. See I_DIRENT.
385 #define HAS_READDIR /**/
388 * This symbol, if defined, indicates that the seekdir routine is
389 * available. You may have to include <dirent.h>. See I_DIRENT.
391 #define HAS_SEEKDIR /**/
394 * This symbol, if defined, indicates that the telldir routine is
395 * available. You may have to include <dirent.h>. See I_DIRENT.
397 #define HAS_TELLDIR /**/
400 * This symbol, if defined, indicates that the rewinddir routine is
401 * available. You may have to include <dirent.h>. See I_DIRENT.
403 #define HAS_REWINDDIR /**/
406 * This symbol, if defined, indicates that the readlink routine is
407 * available to read the value of a symbolic link.
409 /*#define HAS_READLINK /**/
412 * This symbol, if defined, indicates that the rename routine is available
413 * to rename files. Otherwise you should do the unlink(), link(), unlink()
416 #define HAS_RENAME /**/
419 * This symbol, if defined, indicates that the rmdir routine is
420 * available to remove directories. Otherwise you should fork off a
421 * new process to exec /bin/rmdir.
423 #define HAS_RMDIR /**/
426 * This symbol, if defined, indicates that the select routine is
427 * available to select active file descriptors. If the timeout field
428 * is used, <sys/time.h> may need to be included.
430 #define HAS_SELECT /**/
433 * This symbol, if defined, indicates that the setegid routine is available
434 * to change the effective gid of the current program.
436 /*#define HAS_SETEGID /**/
439 * This symbol, if defined, indicates that the seteuid routine is available
440 * to change the effective uid of the current program.
442 /*#define HAS_SETEUID /**/
445 * This symbol, if defined, indicates that the setgroups() routine is
446 * available to set the list of process groups. If unavailable, multiple
447 * groups are probably not supported.
449 /*#define HAS_SETGROUPS /**/
452 * This symbol, if defined, indicates that the setlinebuf routine is
453 * available to change stderr or stdout from block-buffered or unbuffered
454 * to a line-buffered mode.
456 /*#define HAS_SETLINEBUF /**/
459 * This symbol, if defined, indicates that the setlocale routine is
460 * available to handle locale-specific ctype implementations.
462 #define HAS_SETLOCALE /**/
465 * This symbol, if defined, indicates that the setpgid(pid, gpid)
466 * routine is available to set process group ID.
468 /*#define HAS_SETPGID /**/
471 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
472 * routine is available to set the current process group.
474 /*#define HAS_SETPGRP2 /**/
477 * This symbol, if defined, indicates that the setpriority routine is
478 * available to set a process's priority.
480 /*#define HAS_SETPRIORITY /**/
483 * This symbol, if defined, indicates that the setregid routine is
484 * available to change the real and effective gid of the current
488 * This symbol, if defined, indicates that the setresgid routine is
489 * available to change the real, effective and saved gid of the current
492 /*#define HAS_SETREGID /**/
493 /*#define HAS_SETRESGID /**/
496 * This symbol, if defined, indicates that the setreuid routine is
497 * available to change the real and effective uid of the current
501 * This symbol, if defined, indicates that the setresuid routine is
502 * available to change the real, effective and saved uid of the current
505 /*#define HAS_SETREUID /**/
506 /*#define HAS_SETRESUID /**/
509 * This symbol, if defined, indicates that the setrgid routine is available
510 * to change the real gid of the current program.
512 /*#define HAS_SETRGID /**/
515 * This symbol, if defined, indicates that the setruid routine is available
516 * to change the real uid of the current program.
518 /*#define HAS_SETRUID /**/
521 * This symbol, if defined, indicates that the setsid routine is
522 * available to set the process group ID.
524 /*#define HAS_SETSID /**/
527 * This symbol is defined to indicate that the strchr()/strrchr()
528 * functions are available for string searching. If not, try the
529 * index()/rindex() pair.
532 * This symbol is defined to indicate that the index()/rindex()
533 * functions are available for string searching.
535 #define HAS_STRCHR /**/
536 /*#define HAS_INDEX /**/
539 * This symbol, if defined, indicates that the strcoll routine is
540 * available to compare strings using collating information.
542 #define HAS_STRCOLL /**/
545 * This symbol, if defined, indicates that the strtod routine is
546 * available to provide better numeric string conversion than atof().
548 #define HAS_STRTOD /**/
551 * This symbol, if defined, indicates that the strtol routine is available
552 * to provide better numeric string conversion than atoi() and friends.
554 #define HAS_STRTOL /**/
557 * This symbol, if defined, indicates that the strxfrm() routine is
558 * available to transform strings.
560 #define HAS_STRXFRM /**/
563 * This symbol, if defined, indicates that the symlink routine is available
564 * to create symbolic links.
566 /*#define HAS_SYMLINK /**/
569 * This symbol, if defined, indicates that the syscall routine is
570 * available to call arbitrary system calls. If undefined, that's tough.
572 /*#define HAS_SYSCALL /**/
575 * This symbol, if defined, indicates that sysconf() is available
576 * to determine system related limits and options.
578 /*#define HAS_SYSCONF /**/
581 * This symbol, if defined, indicates that the system routine is
582 * available to issue a shell command.
584 #define HAS_SYSTEM /**/
587 * This symbol, if defined, indicates that the tcgetpgrp routine is
588 * available to get foreground process group ID.
590 /*#define HAS_TCGETPGRP /**/
593 * This symbol, if defined, indicates that the tcsetpgrp routine is
594 * available to set foreground process group ID.
596 /*#define HAS_TCSETPGRP /**/
599 * This symbol, if defined, indicates that the truncate routine is
600 * available to truncate files.
602 /*#define HAS_TRUNCATE /**/
605 * This symbol, if defined, indicates that the tzname[] array is
606 * available to access timezone names.
608 #define HAS_TZNAME /**/
611 * This symbol, if defined, indicates that the umask routine is
612 * available to set and get the value of the file creation mask.
614 #define HAS_UMASK /**/
617 * This symbol, if defined, indicates that the usleep routine is
618 * available to let the process sleep on a sub-second accuracy.
620 /*#define HAS_USLEEP /**/
623 * This symbol, if defined, indicates that wait4() exists.
625 /*#define HAS_WAIT4 /**/
628 * This symbol, if defined, indicates that the waitpid routine is
629 * available to wait for child process.
631 #define HAS_WAITPID /**/
634 * This symbol, if defined, indicates that the wcstombs routine is
635 * available to convert wide character strings to multibyte strings.
637 #define HAS_WCSTOMBS /**/
640 * This symbol, if defined, indicates that the wctomb routine is available
641 * to covert a wide character to a multibyte.
643 #define HAS_WCTOMB /**/
646 * This symbol holds the type used for the second argument to
647 * getgroups() and setgroups(). Usually, this is the same as
648 * gidtype (gid_t) , but sometimes it isn't.
649 * It can be int, ushort, gid_t, etc...
650 * It may be necessary to include <sys/types.h> to get any
651 * typedef'ed information. This is only required if you have
652 * getgroups() or setgroups()..
654 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
655 #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
659 * This symbol, if defined, indicates to the C program that it should
660 * include <arpa/inet.h> to get inet_addr and friends declarations.
662 #define I_ARPA_INET /**/
665 * This symbol, if defined, indicates that <dbm.h> exists and should
669 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
670 * should be included.
673 #define I_RPCSVC_DBM /**/
676 * This symbol, if defined, indicates that <dlfcn.h> exists and should
682 * This manifest constant tells the C program to include <fcntl.h>.
687 * This symbol, if defined, indicates to the C program that it should
688 * include <float.h> to get definition of symbols like DBL_MAX or
689 * DBL_MIN, i.e. machine dependent floating point values.
694 * This symbol, if defined, indicates that <gdbm.h> exists and should
697 /*#define I_GDBM /**/
700 * This symbol, if defined, indicates to the C program that it should
701 * include <limits.h> to get definition of symbols like WORD_BIT or
702 * LONG_MAX, i.e. machine dependant limitations.
704 #define I_LIMITS /**/
707 * This symbol, if defined, indicates to the C program that it should
708 * include <locale.h>.
710 #define I_LOCALE /**/
713 * This symbol, if defined, indicates to the C program that it should
719 * This symbol, if defined, indicates to the C program that it should
720 * include <memory.h>.
722 /*#define I_MEMORY /**/
725 * This symbol, if defined, indicates to the C program that it should
726 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
728 /*#define I_NETINET_IN /**/
731 * This symbol, if defined, indicates to the C program that it should
734 /*#define I_SFIO /**/
737 * This symbol, if defined, indicates that <stddef.h> exists and should
740 #define I_STDDEF /**/
743 * This symbol, if defined, indicates that <stdlib.h> exists and should
746 #define I_STDLIB /**/
749 * This symbol, if defined, indicates to the C program that it should
750 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
752 #define I_STRING /**/
755 * This symbol, if defined, indicates to the C program that it should
756 * include <sys/dir.h>.
758 /*#define I_SYS_DIR /**/
761 * This symbol, if defined, indicates to the C program that it should
762 * include <sys/file.h> to get definition of R_OK and friends.
764 /*#define I_SYS_FILE /**/
767 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
768 * be included. Otherwise, include <sgtty.h> or <termio.h>.
771 * This symbol, if defined, indicates the <sys/sockio.h> should be included
772 * to get socket ioctl options, like SIOCATMARK.
774 /*#define I_SYS_IOCTL /**/
775 /*#define I_SYS_SOCKIO /**/
778 * This symbol, if defined, indicates to the C program that it should
779 * include <sys/ndir.h>.
781 /*#define I_SYS_NDIR /**/
784 * This symbol, if defined, indicates to the C program that it should
785 * include <sys/param.h>.
787 /*#define I_SYS_PARAM /**/
790 * This symbol, if defined, indicates that the program may include
791 * <sys/poll.h>. When I_POLL is also defined, it's probably safest
792 * to only include <poll.h>.
794 /*#define I_SYS_POLL /**/
797 * This symbol, if defined, indicates to the C program that it should
798 * include <sys/resource.h>.
800 /*#define I_SYS_RESOURCE /**/
803 * This symbol, if defined, indicates to the C program that it should
804 * include <sys/select.h> in order to get definition of struct timeval.
806 /*#define I_SYS_SELECT /**/
809 * This symbol, if defined, indicates to the C program that it should
810 * include <sys/stat.h>.
812 #define I_SYS_STAT /**/
815 * This symbol, if defined, indicates to the C program that it should
816 * include <sys/times.h>.
818 /*#define I_SYS_TIMES /**/
821 * This symbol, if defined, indicates to the C program that it should
822 * include <sys/types.h>.
824 #define I_SYS_TYPES /**/
827 * This symbol, if defined, indicates to the C program that it should
828 * include <sys/un.h> to get UNIX domain socket definitions.
830 /*#define I_SYS_UN /**/
833 * This symbol, if defined, indicates to the C program that it should
834 * include <sys/wait.h>.
836 /*#define I_SYS_WAIT /**/
839 * This symbol, if defined, indicates that the program should include
840 * <termio.h> rather than <sgtty.h>. There are also differences in
841 * the ioctl() calls that depend on the value of this symbol.
844 * This symbol, if defined, indicates that the program should include
845 * the POSIX termios.h rather than sgtty.h or termio.h.
846 * There are also differences in the ioctl() calls that depend on the
847 * value of this symbol.
850 * This symbol, if defined, indicates that the program should include
851 * <sgtty.h> rather than <termio.h>. There are also differences in
852 * the ioctl() calls that depend on the value of this symbol.
854 /*#define I_TERMIO /**/
855 /*#define I_TERMIOS /**/
856 /*#define I_SGTTY /**/
859 * This symbol, if defined, indicates to the C program that it should
860 * include <unistd.h>.
862 /*#define I_UNISTD /**/
865 * This symbol, if defined, indicates to the C program that it should
871 * This symbol, if defined, indicates to the C program that it should
872 * include <values.h> to get definition of symbols like MINFLOAT or
873 * MAXLONG, i.e. machine dependant limitations. Probably, you
874 * should use <limits.h> instead, if it is available.
876 /*#define I_VALUES /**/
879 * This symbol, if defined, indicates to the C program that it should
882 /*#define I_VFORK /**/
885 * This symbol contains the value of sizeof(int) so that the C
886 * preprocessor can make decisions based on it.
889 * This symbol contains the value of sizeof(long) so that the C
890 * preprocessor can make decisions based on it.
893 * This symbol contains the value of sizeof(short) so that the C
894 * preprocessor can make decisions based on it.
896 #define INTSIZE 4 /**/
897 #define LONGSIZE 4 /**/
898 #define SHORTSIZE 2 /**/
901 * This symbol, if defined, signifies that the build
902 * process will produce some binary files that are going to be
903 * used in a cross-platform environment. This is the case for
904 * example with the NeXT "fat" binaries that contain executables
907 /*#define MULTIARCH /**/
910 * This symbol, if defined, tells that there's a 64-bit integer type,
911 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
912 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, QUAD_IS_INT64_T,
913 * or QUAD_IS___INT64.
915 #define HAS_QUAD /**/
918 # define Quad_t long long /**/
919 # define Uquad_t unsigned long long /**/
920 # define QUADKIND 3 /**/
922 # define Quad_t __int64 /**/
923 # define Uquad_t unsigned __int64 /**/
924 # define QUADKIND 5 /**/
926 # define QUAD_IS_INT 1
927 # define QUAD_IS_LONG 2
928 # define QUAD_IS_LONG_LONG 3
929 # define QUAD_IS_INT64_T 4
930 # define QUAD_IS___INT64 5
934 * This symbol contains the name of the operating system, as determined
935 * by Configure. You shouldn't rely on it too much; the specific
936 * feature tests from Configure are generally more reliable.
939 * This symbol contains the version of the operating system, as determined
940 * by Configure. You shouldn't rely on it too much; the specific
941 * feature tests from Configure are generally more reliable.
943 #define OSNAME "MSWin32" /**/
944 #define OSVERS "5.1" /**/
947 * This variable, if defined, holds the name of the directory in
948 * which the user wants to put architecture-dependent public
949 * library files for perl5. It is most often a local directory
950 * such as /usr/local/lib. Programs using this variable must be
951 * prepared to deal with filename expansion. If ARCHLIB is the
952 * same as PRIVLIB, it is not defined, since presumably the
953 * program already searches PRIVLIB.
956 * This symbol contains the ~name expanded version of ARCHLIB, to be used
957 * in programs that are not prepared to deal with ~ expansion at run-time.
959 #define ARCHLIB "c:\\perl\\lib" /**/
960 /*#define ARCHLIB_EXP "" /**/
963 * This symbol holds a string representing the architecture name.
964 * It may be used to construct an architecture-dependant pathname
965 * where library files may be held under a private library, for
968 #define ARCHNAME "MSWin32-x86" /**/
971 * This symbol holds the path of the bin directory where the package will
972 * be installed. Program must be prepared to deal with ~name substitution.
975 * This symbol is the filename expanded version of the BIN symbol, for
976 * programs that do not want to deal with that at run-time.
978 /* PERL_RELOCATABLE_INC:
979 * This symbol, if defined, indicates that we'd like to relocate entries
980 * in @INC at run time based on the location of the perl binary.
982 #define BIN "c:\\perl\\bin" /**/
983 #define BIN_EXP "c:\\perl\\bin" /**/
984 #define PERL_RELOCATABLE_INC "undef" /**/
987 * This macro concatenates 2 tokens together.
990 * This macro surrounds its token with double quotes.
993 #define CAT2(a,b) a/**/b
995 #define STRINGIFY(a) "a"
998 #define PeRl_CaTiFy(a, b) a ## b
999 #define PeRl_StGiFy(a) #a
1000 #define CAT2(a,b) PeRl_CaTiFy(a,b)
1001 #define StGiFy(a) PeRl_StGiFy(a)
1003 #define STRINGIFY(a) PeRl_StGiFy(a)
1005 #if 42 != 1 && 42 != 42
1006 #include "Bletch: How does this C preprocessor concatenate tokens?"
1010 * This symbol contains the first part of the string which will invoke
1011 * the C preprocessor on the standard input and produce to standard
1012 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1013 * call a wrapper. See CPPRUN.
1016 * This symbol contains the second part of the string which will invoke
1017 * the C preprocessor on the standard input and produce to standard
1018 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1019 * to specify standard input, otherwise the value is "".
1022 * This symbol contains the string which will invoke a C preprocessor on
1023 * the standard input and produce to standard output. It needs to end
1024 * with CPPLAST, after all other preprocessor flags have been specified.
1025 * The main difference with CPPSTDIN is that this program will never be a
1026 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1027 * available directly to the user. Note that it may well be different from
1028 * the preprocessor used to compile the C program.
1031 * This symbol is intended to be used along with CPPRUN in the same manner
1032 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1035 # define CPPSTDIN "gcc -E"
1036 # define CPPMINUS "-"
1037 # define CPPRUN "gcc -E"
1039 # define CPPSTDIN "cppstdin"
1040 # define CPPMINUS ""
1041 # define CPPRUN "cl -nologo -E"
1046 * This manifest constant lets the C program know that the access()
1047 * system call is available to check for accessibility using real UID/GID.
1048 * (always present on UNIX.)
1050 #define HAS_ACCESS /**/
1053 * This symbol, if defined, indicates that the accessx routine is
1054 * available to do extended access checks.
1056 /*#define HAS_ACCESSX /**/
1059 * This symbol, if defined, indicates that the asctime_r routine
1060 * is available to asctime re-entrantly.
1063 * This symbol encodes the prototype of asctime_r.
1064 * It is zero if d_asctime_r is undef, and one of the
1065 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1068 /*#define HAS_ASCTIME_R /**/
1069 #define ASCTIME_R_PROTO 0 /**/
1071 /* The HASATTRIBUTE_* defines are left undefined here because they vary from
1072 * one version of GCC to another. Instead, they are defined on the basis of
1073 * the compiler version in <perl.h>.
1075 /* HASATTRIBUTE_FORMAT:
1076 * Can we handle GCC attribute for checking printf-style formats
1078 /* PRINTF_FORMAT_NULL_OK:
1079 * Allows __printf__ format to be null when checking printf-style
1081 /* HASATTRIBUTE_MALLOC:
1082 * Can we handle GCC attribute for malloc-style functions.
1084 /* HASATTRIBUTE_NONNULL:
1085 * Can we handle GCC attribute for nonnull function parms.
1087 /* HASATTRIBUTE_NORETURN:
1088 * Can we handle GCC attribute for functions that do not return
1090 /* HASATTRIBUTE_PURE:
1091 * Can we handle GCC attribute for pure functions
1093 /* HASATTRIBUTE_UNUSED:
1094 * Can we handle GCC attribute for unused variables and arguments
1096 /* HASATTRIBUTE_DEPRECATED:
1097 * Can we handle GCC attribute for marking deprecated APIs
1099 /* HASATTRIBUTE_WARN_UNUSED_RESULT:
1100 * Can we handle GCC attribute for warning on unused results
1102 /*#define HASATTRIBUTE_DEPRECATED /**/
1103 /*#define HASATTRIBUTE_FORMAT /**/
1104 /*#define PRINTF_FORMAT_NULL_OK /**/
1105 /*#define HASATTRIBUTE_NORETURN /**/
1106 /*#define HASATTRIBUTE_MALLOC /**/
1107 /*#define HASATTRIBUTE_NONNULL /**/
1108 /*#define HASATTRIBUTE_PURE /**/
1109 /*#define HASATTRIBUTE_UNUSED /**/
1110 /*#define HASATTRIBUTE_WARN_UNUSED_RESULT /**/
1113 * This symbol, if defined, indicates that this C compiler knows about
1114 * the const type. There is no need to actually test for that symbol
1115 * within your programs. The mere use of the "const" keyword will
1116 * trigger the necessary tests.
1118 #define HASCONST /**/
1124 * This symbol, if defined, indicates that the crypt_r routine
1125 * is available to crypt re-entrantly.
1128 * This symbol encodes the prototype of crypt_r.
1129 * It is zero if d_crypt_r is undef, and one of the
1130 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1133 /*#define HAS_CRYPT_R /**/
1134 #define CRYPT_R_PROTO 0 /**/
1137 * This symbol, if defined, indicates that the C-shell exists.
1140 * This symbol, if defined, contains the full pathname of csh.
1142 /*#define HAS_CSH /**/
1148 * This symbol, if defined, indicates that the ctermid_r routine
1149 * is available to ctermid re-entrantly.
1152 * This symbol encodes the prototype of ctermid_r.
1153 * It is zero if d_ctermid_r is undef, and one of the
1154 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
1157 /*#define HAS_CTERMID_R /**/
1158 #define CTERMID_R_PROTO 0 /**/
1161 * This symbol, if defined, indicates that the ctime_r routine
1162 * is available to ctime re-entrantly.
1165 * This symbol encodes the prototype of ctime_r.
1166 * It is zero if d_ctime_r is undef, and one of the
1167 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1170 /*#define HAS_CTIME_R /**/
1171 #define CTIME_R_PROTO 0 /**/
1174 * This symbol, if defined, indicates that the drand48_r routine
1175 * is available to drand48 re-entrantly.
1178 * This symbol encodes the prototype of drand48_r.
1179 * It is zero if d_drand48_r is undef, and one of the
1180 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1183 /*#define HAS_DRAND48_R /**/
1184 #define DRAND48_R_PROTO 0 /**/
1186 /* HAS_DRAND48_PROTO:
1187 * This symbol, if defined, indicates that the system provides
1188 * a prototype for the drand48() function. Otherwise, it is up
1189 * to the program to supply one. A good guess is
1190 * extern double drand48(void);
1192 /*#define HAS_DRAND48_PROTO /**/
1195 * This symbol, if defined, indicates that the eaccess routine is
1196 * available to do extended access checks.
1198 /*#define HAS_EACCESS /**/
1201 * This symbol, if defined, indicates that the getgrent routine is
1202 * available for finalizing sequential access of the group database.
1204 /*#define HAS_ENDGRENT /**/
1207 * This symbol, if defined, indicates that the endgrent_r routine
1208 * is available to endgrent re-entrantly.
1210 /* ENDGRENT_R_PROTO:
1211 * This symbol encodes the prototype of endgrent_r.
1212 * It is zero if d_endgrent_r is undef, and one of the
1213 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1216 /*#define HAS_ENDGRENT_R /**/
1217 #define ENDGRENT_R_PROTO 0 /**/
1220 * This symbol, if defined, indicates that the endhostent() routine is
1221 * available to close whatever was being used for host queries.
1223 /*#define HAS_ENDHOSTENT /**/
1225 /* HAS_ENDHOSTENT_R:
1226 * This symbol, if defined, indicates that the endhostent_r routine
1227 * is available to endhostent re-entrantly.
1229 /* ENDHOSTENT_R_PROTO:
1230 * This symbol encodes the prototype of endhostent_r.
1231 * It is zero if d_endhostent_r is undef, and one of the
1232 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
1235 /*#define HAS_ENDHOSTENT_R /**/
1236 #define ENDHOSTENT_R_PROTO 0 /**/
1239 * This symbol, if defined, indicates that the endnetent() routine is
1240 * available to close whatever was being used for network queries.
1242 /*#define HAS_ENDNETENT /**/
1245 * This symbol, if defined, indicates that the endnetent_r routine
1246 * is available to endnetent re-entrantly.
1248 /* ENDNETENT_R_PROTO:
1249 * This symbol encodes the prototype of endnetent_r.
1250 * It is zero if d_endnetent_r is undef, and one of the
1251 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
1254 /*#define HAS_ENDNETENT_R /**/
1255 #define ENDNETENT_R_PROTO 0 /**/
1258 * This symbol, if defined, indicates that the endprotoent() routine is
1259 * available to close whatever was being used for protocol queries.
1261 /*#define HAS_ENDPROTOENT /**/
1263 /* HAS_ENDPROTOENT_R:
1264 * This symbol, if defined, indicates that the endprotoent_r routine
1265 * is available to endprotoent re-entrantly.
1267 /* ENDPROTOENT_R_PROTO:
1268 * This symbol encodes the prototype of endprotoent_r.
1269 * It is zero if d_endprotoent_r is undef, and one of the
1270 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
1273 /*#define HAS_ENDPROTOENT_R /**/
1274 #define ENDPROTOENT_R_PROTO 0 /**/
1277 * This symbol, if defined, indicates that the getgrent routine is
1278 * available for finalizing sequential access of the passwd database.
1280 /*#define HAS_ENDPWENT /**/
1283 * This symbol, if defined, indicates that the endpwent_r routine
1284 * is available to endpwent re-entrantly.
1286 /* ENDPWENT_R_PROTO:
1287 * This symbol encodes the prototype of endpwent_r.
1288 * It is zero if d_endpwent_r is undef, and one of the
1289 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1292 /*#define HAS_ENDPWENT_R /**/
1293 #define ENDPWENT_R_PROTO 0 /**/
1296 * This symbol, if defined, indicates that the endservent() routine is
1297 * available to close whatever was being used for service queries.
1299 /*#define HAS_ENDSERVENT /**/
1301 /* HAS_ENDSERVENT_R:
1302 * This symbol, if defined, indicates that the endservent_r routine
1303 * is available to endservent re-entrantly.
1305 /* ENDSERVENT_R_PROTO:
1306 * This symbol encodes the prototype of endservent_r.
1307 * It is zero if d_endservent_r is undef, and one of the
1308 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
1311 /*#define HAS_ENDSERVENT_R /**/
1312 #define ENDSERVENT_R_PROTO 0 /**/
1315 * This symbol, if defined, indicates that the system supports filenames
1316 * longer than 14 characters.
1318 #define FLEXFILENAMES /**/
1321 * This symbol, if defined, indicates that the getgrent routine is
1322 * available for sequential access of the group database.
1324 /*#define HAS_GETGRENT /**/
1327 * This symbol, if defined, indicates that the getgrent_r routine
1328 * is available to getgrent re-entrantly.
1330 /* GETGRENT_R_PROTO:
1331 * This symbol encodes the prototype of getgrent_r.
1332 * It is zero if d_getgrent_r is undef, and one of the
1333 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1336 /*#define HAS_GETGRENT_R /**/
1337 #define GETGRENT_R_PROTO 0 /**/
1340 * This symbol, if defined, indicates that the getgrgid_r routine
1341 * is available to getgrgid re-entrantly.
1343 /* GETGRGID_R_PROTO:
1344 * This symbol encodes the prototype of getgrgid_r.
1345 * It is zero if d_getgrgid_r is undef, and one of the
1346 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1349 /*#define HAS_GETGRGID_R /**/
1350 #define GETGRGID_R_PROTO 0 /**/
1353 * This symbol, if defined, indicates that the getgrnam_r routine
1354 * is available to getgrnam re-entrantly.
1356 /* GETGRNAM_R_PROTO:
1357 * This symbol encodes the prototype of getgrnam_r.
1358 * It is zero if d_getgrnam_r is undef, and one of the
1359 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1362 /*#define HAS_GETGRNAM_R /**/
1363 #define GETGRNAM_R_PROTO 0 /**/
1365 /* HAS_GETHOSTBYADDR:
1366 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1367 * available to look up hosts by their IP addresses.
1369 #define HAS_GETHOSTBYADDR /**/
1371 /* HAS_GETHOSTBYNAME:
1372 * This symbol, if defined, indicates that the gethostbyname() routine is
1373 * available to look up host names in some data base or other.
1375 #define HAS_GETHOSTBYNAME /**/
1378 * This symbol, if defined, indicates that the gethostent() routine is
1379 * available to look up host names in some data base or another.
1381 /*#define HAS_GETHOSTENT /**/
1384 * This symbol, if defined, indicates that the C program may use the
1385 * gethostname() routine to derive the host name. See also HAS_UNAME
1389 * This symbol, if defined, indicates that the C program may use the
1390 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1394 * This symbol, if defined, indicates the command to feed to the
1395 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1396 * and HAS_UNAME. Note that the command uses a fully qualified path,
1397 * so that it is safe even if used by a process with super-user
1401 * This symbol, if defined, indicates that the C program may use the
1402 * contents of PHOSTNAME as a command to feed to the popen() routine
1403 * to derive the host name.
1405 #define HAS_GETHOSTNAME /**/
1406 #define HAS_UNAME /**/
1407 /*#define HAS_PHOSTNAME /**/
1408 #ifdef HAS_PHOSTNAME
1409 #define PHOSTNAME "" /* How to get the host name */
1412 /* HAS_GETHOSTBYADDR_R:
1413 * This symbol, if defined, indicates that the gethostbyaddr_r routine
1414 * is available to gethostbyaddr re-entrantly.
1416 /* GETHOSTBYADDR_R_PROTO:
1417 * This symbol encodes the prototype of gethostbyaddr_r.
1418 * It is zero if d_gethostbyaddr_r is undef, and one of the
1419 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
1422 /*#define HAS_GETHOSTBYADDR_R /**/
1423 #define GETHOSTBYADDR_R_PROTO 0 /**/
1425 /* HAS_GETHOSTBYNAME_R:
1426 * This symbol, if defined, indicates that the gethostbyname_r routine
1427 * is available to gethostbyname re-entrantly.
1429 /* GETHOSTBYNAME_R_PROTO:
1430 * This symbol encodes the prototype of gethostbyname_r.
1431 * It is zero if d_gethostbyname_r is undef, and one of the
1432 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
1435 /*#define HAS_GETHOSTBYNAME_R /**/
1436 #define GETHOSTBYNAME_R_PROTO 0 /**/
1438 /* HAS_GETHOSTENT_R:
1439 * This symbol, if defined, indicates that the gethostent_r routine
1440 * is available to gethostent re-entrantly.
1442 /* GETHOSTENT_R_PROTO:
1443 * This symbol encodes the prototype of gethostent_r.
1444 * It is zero if d_gethostent_r is undef, and one of the
1445 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
1448 /*#define HAS_GETHOSTENT_R /**/
1449 #define GETHOSTENT_R_PROTO 0 /**/
1451 /* HAS_GETHOST_PROTOS:
1452 * This symbol, if defined, indicates that <netdb.h> includes
1453 * prototypes for gethostent(), gethostbyname(), and
1454 * gethostbyaddr(). Otherwise, it is up to the program to guess
1455 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1457 #define HAS_GETHOST_PROTOS /**/
1460 * This symbol, if defined, indicates that the getlogin_r routine
1461 * is available to getlogin re-entrantly.
1463 /* GETLOGIN_R_PROTO:
1464 * This symbol encodes the prototype of getlogin_r.
1465 * It is zero if d_getlogin_r is undef, and one of the
1466 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1469 /*#define HAS_GETLOGIN_R /**/
1470 #define GETLOGIN_R_PROTO 0 /**/
1472 /* HAS_GETNETBYADDR:
1473 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1474 * available to look up networks by their IP addresses.
1476 /*#define HAS_GETNETBYADDR /**/
1478 /* HAS_GETNETBYNAME:
1479 * This symbol, if defined, indicates that the getnetbyname() routine is
1480 * available to look up networks by their names.
1482 /*#define HAS_GETNETBYNAME /**/
1485 * This symbol, if defined, indicates that the getnetent() routine is
1486 * available to look up network names in some data base or another.
1488 /*#define HAS_GETNETENT /**/
1490 /* HAS_GETNETBYADDR_R:
1491 * This symbol, if defined, indicates that the getnetbyaddr_r routine
1492 * is available to getnetbyaddr re-entrantly.
1494 /* GETNETBYADDR_R_PROTO:
1495 * This symbol encodes the prototype of getnetbyaddr_r.
1496 * It is zero if d_getnetbyaddr_r is undef, and one of the
1497 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
1500 /*#define HAS_GETNETBYADDR_R /**/
1501 #define GETNETBYADDR_R_PROTO 0 /**/
1503 /* HAS_GETNETBYNAME_R:
1504 * This symbol, if defined, indicates that the getnetbyname_r routine
1505 * is available to getnetbyname re-entrantly.
1507 /* GETNETBYNAME_R_PROTO:
1508 * This symbol encodes the prototype of getnetbyname_r.
1509 * It is zero if d_getnetbyname_r is undef, and one of the
1510 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
1513 /*#define HAS_GETNETBYNAME_R /**/
1514 #define GETNETBYNAME_R_PROTO 0 /**/
1517 * This symbol, if defined, indicates that the getnetent_r routine
1518 * is available to getnetent re-entrantly.
1520 /* GETNETENT_R_PROTO:
1521 * This symbol encodes the prototype of getnetent_r.
1522 * It is zero if d_getnetent_r is undef, and one of the
1523 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
1526 /*#define HAS_GETNETENT_R /**/
1527 #define GETNETENT_R_PROTO 0 /**/
1529 /* HAS_GETNET_PROTOS:
1530 * This symbol, if defined, indicates that <netdb.h> includes
1531 * prototypes for getnetent(), getnetbyname(), and
1532 * getnetbyaddr(). Otherwise, it is up to the program to guess
1533 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1535 /*#define HAS_GETNET_PROTOS /**/
1538 * This symbol, if defined, indicates that the getprotoent() routine is
1539 * available to look up protocols in some data base or another.
1541 /*#define HAS_GETPROTOENT /**/
1544 * This symbol, if defined, indicates that the getpgrp routine is
1545 * available to get the current process group.
1548 * This symbol, if defined, indicates that getpgrp needs one
1549 * arguments whereas USG one needs none.
1551 /*#define HAS_GETPGRP /**/
1552 /*#define USE_BSD_GETPGRP /**/
1554 /* HAS_GETPROTOBYNAME:
1555 * This symbol, if defined, indicates that the getprotobyname()
1556 * routine is available to look up protocols by their name.
1558 /* HAS_GETPROTOBYNUMBER:
1559 * This symbol, if defined, indicates that the getprotobynumber()
1560 * routine is available to look up protocols by their number.
1562 #define HAS_GETPROTOBYNAME /**/
1563 #define HAS_GETPROTOBYNUMBER /**/
1565 /* HAS_GETPROTOBYNAME_R:
1566 * This symbol, if defined, indicates that the getprotobyname_r routine
1567 * is available to getprotobyname re-entrantly.
1569 /* GETPROTOBYNAME_R_PROTO:
1570 * This symbol encodes the prototype of getprotobyname_r.
1571 * It is zero if d_getprotobyname_r is undef, and one of the
1572 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
1575 /*#define HAS_GETPROTOBYNAME_R /**/
1576 #define GETPROTOBYNAME_R_PROTO 0 /**/
1578 /* HAS_GETPROTOBYNUMBER_R:
1579 * This symbol, if defined, indicates that the getprotobynumber_r routine
1580 * is available to getprotobynumber re-entrantly.
1582 /* GETPROTOBYNUMBER_R_PROTO:
1583 * This symbol encodes the prototype of getprotobynumber_r.
1584 * It is zero if d_getprotobynumber_r is undef, and one of the
1585 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
1588 /*#define HAS_GETPROTOBYNUMBER_R /**/
1589 #define GETPROTOBYNUMBER_R_PROTO 0 /**/
1591 /* HAS_GETPROTOENT_R:
1592 * This symbol, if defined, indicates that the getprotoent_r routine
1593 * is available to getprotoent re-entrantly.
1595 /* GETPROTOENT_R_PROTO:
1596 * This symbol encodes the prototype of getprotoent_r.
1597 * It is zero if d_getprotoent_r is undef, and one of the
1598 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
1601 /*#define HAS_GETPROTOENT_R /**/
1602 #define GETPROTOENT_R_PROTO 0 /**/
1604 /* HAS_GETPROTO_PROTOS:
1605 * This symbol, if defined, indicates that <netdb.h> includes
1606 * prototypes for getprotoent(), getprotobyname(), and
1607 * getprotobyaddr(). Otherwise, it is up to the program to guess
1608 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1610 #define HAS_GETPROTO_PROTOS /**/
1613 * This symbol, if defined, indicates that the getpwent routine is
1614 * available for sequential access of the passwd database.
1615 * If this is not available, the older getpw() function may be available.
1617 /*#define HAS_GETPWENT /**/
1620 * This symbol, if defined, indicates that the getpwent_r routine
1621 * is available to getpwent re-entrantly.
1623 /* GETPWENT_R_PROTO:
1624 * This symbol encodes the prototype of getpwent_r.
1625 * It is zero if d_getpwent_r is undef, and one of the
1626 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1629 /*#define HAS_GETPWENT_R /**/
1630 #define GETPWENT_R_PROTO 0 /**/
1633 * This symbol, if defined, indicates that the getpwnam_r routine
1634 * is available to getpwnam re-entrantly.
1636 /* GETPWNAM_R_PROTO:
1637 * This symbol encodes the prototype of getpwnam_r.
1638 * It is zero if d_getpwnam_r is undef, and one of the
1639 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1642 /*#define HAS_GETPWNAM_R /**/
1643 #define GETPWNAM_R_PROTO 0 /**/
1646 * This symbol, if defined, indicates that the getpwuid_r routine
1647 * is available to getpwuid re-entrantly.
1649 /* GETPWUID_R_PROTO:
1650 * This symbol encodes the prototype of getpwuid_r.
1651 * It is zero if d_getpwuid_r is undef, and one of the
1652 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1655 /*#define HAS_GETPWUID_R /**/
1656 #define GETPWUID_R_PROTO 0 /**/
1659 * This symbol, if defined, indicates that the getservent() routine is
1660 * available to look up network services in some data base or another.
1662 /*#define HAS_GETSERVENT /**/
1664 /* HAS_GETSERVBYNAME_R:
1665 * This symbol, if defined, indicates that the getservbyname_r routine
1666 * is available to getservbyname re-entrantly.
1668 /* GETSERVBYNAME_R_PROTO:
1669 * This symbol encodes the prototype of getservbyname_r.
1670 * It is zero if d_getservbyname_r is undef, and one of the
1671 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
1674 /*#define HAS_GETSERVBYNAME_R /**/
1675 #define GETSERVBYNAME_R_PROTO 0 /**/
1677 /* HAS_GETSERVBYPORT_R:
1678 * This symbol, if defined, indicates that the getservbyport_r routine
1679 * is available to getservbyport re-entrantly.
1681 /* GETSERVBYPORT_R_PROTO:
1682 * This symbol encodes the prototype of getservbyport_r.
1683 * It is zero if d_getservbyport_r is undef, and one of the
1684 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
1687 /*#define HAS_GETSERVBYPORT_R /**/
1688 #define GETSERVBYPORT_R_PROTO 0 /**/
1690 /* HAS_GETSERVENT_R:
1691 * This symbol, if defined, indicates that the getservent_r routine
1692 * is available to getservent re-entrantly.
1694 /* GETSERVENT_R_PROTO:
1695 * This symbol encodes the prototype of getservent_r.
1696 * It is zero if d_getservent_r is undef, and one of the
1697 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
1700 /*#define HAS_GETSERVENT_R /**/
1701 #define GETSERVENT_R_PROTO 0 /**/
1703 /* HAS_GETSERV_PROTOS:
1704 * This symbol, if defined, indicates that <netdb.h> includes
1705 * prototypes for getservent(), getservbyname(), and
1706 * getservbyaddr(). Otherwise, it is up to the program to guess
1707 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1709 #define HAS_GETSERV_PROTOS /**/
1712 * This symbol, if defined, indicates that the getspnam_r routine
1713 * is available to getspnam re-entrantly.
1715 /* GETSPNAM_R_PROTO:
1716 * This symbol encodes the prototype of getspnam_r.
1717 * It is zero if d_getspnam_r is undef, and one of the
1718 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1721 /*#define HAS_GETSPNAM_R /**/
1722 #define GETSPNAM_R_PROTO 0 /**/
1724 /* HAS_GETSERVBYNAME:
1725 * This symbol, if defined, indicates that the getservbyname()
1726 * routine is available to look up services by their name.
1728 /* HAS_GETSERVBYPORT:
1729 * This symbol, if defined, indicates that the getservbyport()
1730 * routine is available to look up services by their port.
1732 #define HAS_GETSERVBYNAME /**/
1733 #define HAS_GETSERVBYPORT /**/
1736 * This symbol, if defined, indicates that the gmtime_r routine
1737 * is available to gmtime re-entrantly.
1740 * This symbol encodes the prototype of gmtime_r.
1741 * It is zero if d_gmtime_r is undef, and one of the
1742 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1745 /*#define HAS_GMTIME_R /**/
1746 #define GMTIME_R_PROTO 0 /**/
1749 * This symbol, if defined, indicates that the htonl() routine (and
1750 * friends htons() ntohl() ntohs()) are available to do network
1751 * order byte swapping.
1754 * This symbol, if defined, indicates that the htons() routine (and
1755 * friends htonl() ntohl() ntohs()) are available to do network
1756 * order byte swapping.
1759 * This symbol, if defined, indicates that the ntohl() routine (and
1760 * friends htonl() htons() ntohs()) are available to do network
1761 * order byte swapping.
1764 * This symbol, if defined, indicates that the ntohs() routine (and
1765 * friends htonl() htons() ntohl()) are available to do network
1766 * order byte swapping.
1768 #define HAS_HTONL /**/
1769 #define HAS_HTONS /**/
1770 #define HAS_NTOHL /**/
1771 #define HAS_NTOHS /**/
1774 * This symbol, if defined, indicates that the localtime_r routine
1775 * is available to localtime re-entrantly.
1777 /* LOCALTIME_R_NEEDS_TZSET:
1778 * Many libc's localtime_r implementations do not call tzset,
1779 * making them differ from localtime(), and making timezone
1780 * changes using \undef{TZ} without explicitly calling tzset
1781 * impossible. This symbol makes us call tzset before localtime_r
1783 /*#define LOCALTIME_R_NEEDS_TZSET /**/
1784 #ifdef LOCALTIME_R_NEEDS_TZSET
1785 #define L_R_TZSET tzset(),
1790 /* LOCALTIME_R_PROTO:
1791 * This symbol encodes the prototype of localtime_r.
1792 * It is zero if d_localtime_r is undef, and one of the
1793 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1796 /*#define HAS_LOCALTIME_R /**/
1797 #define LOCALTIME_R_PROTO 0 /**/
1800 * This symbol will be defined if the C compiler supports long
1804 * This symbol contains the size of a long double, so that the
1805 * C preprocessor can make decisions based on it. It is only
1806 * defined if the system supports long doubles.
1808 #define HAS_LONG_DOUBLE /**/
1809 #ifdef HAS_LONG_DOUBLE
1811 # define LONG_DOUBLESIZE 12 /**/
1813 # define LONG_DOUBLESIZE 8 /**/
1818 * This symbol will be defined if the C compiler supports long long.
1821 * This symbol contains the size of a long long, so that the
1822 * C preprocessor can make decisions based on it. It is only
1823 * defined if the system supports long long.
1825 /*#define HAS_LONG_LONG /**/
1826 #ifdef HAS_LONG_LONG
1827 #define LONGLONGSIZE 8 /**/
1831 * This symbol, if defined, indicates that the system provides
1832 * a prototype for the lseek() function. Otherwise, it is up
1833 * to the program to supply one. A good guess is
1834 * extern off_t lseek(int, off_t, int);
1836 #define HAS_LSEEK_PROTO /**/
1839 * This symbol, if defined, indicates that the memchr routine is available
1840 * to locate characters within a C string.
1842 #define HAS_MEMCHR /**/
1845 * This symbol, if defined, indicates that the mkstemp routine is
1846 * available to exclusively create and open a uniquely named
1849 /*#define HAS_MKSTEMP /**/
1852 * This symbol, if defined, indicates that the mmap system call is
1853 * available to map a file into memory.
1856 * This symbol holds the return type of the mmap() system call
1857 * (and simultaneously the type of the first argument).
1858 * Usually set to 'void *' or 'caddr_t'.
1860 /*#define HAS_MMAP /**/
1861 #define Mmap_t void * /**/
1864 * This symbol, if defined, indicates that the entire msg*(2) library is
1865 * supported (IPC mechanism based on message queues).
1867 /*#define HAS_MSG /**/
1869 /* OLD_PTHREAD_CREATE_JOINABLE:
1870 * This symbol, if defined, indicates how to create pthread
1871 * in joinable (aka undetached) state. NOTE: not defined
1872 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1873 * (the new version of the constant).
1874 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1877 /*#define OLD_PTHREAD_CREATE_JOINABLE /**/
1879 /* HAS_PTHREAD_ATFORK:
1880 * This symbol, if defined, indicates that the pthread_atfork routine
1881 * is available to setup fork handlers.
1883 /*#define HAS_PTHREAD_ATFORK /**/
1885 /* HAS_PTHREAD_YIELD:
1886 * This symbol, if defined, indicates that the pthread_yield
1887 * routine is available to yield the execution of the current
1888 * thread. sched_yield is preferable to pthread_yield.
1891 * This symbol defines the way to yield the execution of
1892 * the current thread. Known ways are sched_yield,
1893 * pthread_yield, and pthread_yield with NULL.
1896 * This symbol, if defined, indicates that the sched_yield
1897 * routine is available to yield the execution of the current
1898 * thread. sched_yield is preferable to pthread_yield.
1900 /*#define HAS_PTHREAD_YIELD /**/
1901 #define SCHED_YIELD /**/
1902 /*#define HAS_SCHED_YIELD /**/
1905 * This symbol, if defined, indicates that the random_r routine
1906 * is available to random re-entrantly.
1909 * This symbol encodes the prototype of random_r.
1910 * It is zero if d_random_r is undef, and one of the
1911 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
1914 /*#define HAS_RANDOM_R /**/
1915 #define RANDOM_R_PROTO 0 /**/
1918 * This symbol, if defined, indicates that the readdir64_r routine
1919 * is available to readdir64 re-entrantly.
1921 /* READDIR64_R_PROTO:
1922 * This symbol encodes the prototype of readdir64_r.
1923 * It is zero if d_readdir64_r is undef, and one of the
1924 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
1927 /*#define HAS_READDIR64_R /**/
1928 #define READDIR64_R_PROTO 0 /**/
1931 * This symbol, if defined, indicates that the readdir_r routine
1932 * is available to readdir re-entrantly.
1935 * This symbol encodes the prototype of readdir_r.
1936 * It is zero if d_readdir_r is undef, and one of the
1937 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
1940 /*#define HAS_READDIR_R /**/
1941 #define READDIR_R_PROTO 0 /**/
1944 * This symbol, if defined, indicates that the entire sem*(2) library is
1947 /*#define HAS_SEM /**/
1950 * This symbol, if defined, indicates that the setgrent routine is
1951 * available for initializing sequential access of the group database.
1953 /*#define HAS_SETGRENT /**/
1956 * This symbol, if defined, indicates that the setgrent_r routine
1957 * is available to setgrent re-entrantly.
1959 /* SETGRENT_R_PROTO:
1960 * This symbol encodes the prototype of setgrent_r.
1961 * It is zero if d_setgrent_r is undef, and one of the
1962 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
1965 /*#define HAS_SETGRENT_R /**/
1966 #define SETGRENT_R_PROTO 0 /**/
1969 * This symbol, if defined, indicates that the sethostent() routine is
1972 /*#define HAS_SETHOSTENT /**/
1974 /* HAS_SETHOSTENT_R:
1975 * This symbol, if defined, indicates that the sethostent_r routine
1976 * is available to sethostent re-entrantly.
1978 /* SETHOSTENT_R_PROTO:
1979 * This symbol encodes the prototype of sethostent_r.
1980 * It is zero if d_sethostent_r is undef, and one of the
1981 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
1984 /*#define HAS_SETHOSTENT_R /**/
1985 #define SETHOSTENT_R_PROTO 0 /**/
1988 * This symbol, if defined, indicates that the setlocale_r routine
1989 * is available to setlocale re-entrantly.
1991 /* SETLOCALE_R_PROTO:
1992 * This symbol encodes the prototype of setlocale_r.
1993 * It is zero if d_setlocale_r is undef, and one of the
1994 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
1997 /*#define HAS_SETLOCALE_R /**/
1998 #define SETLOCALE_R_PROTO 0 /**/
2001 * This symbol, if defined, indicates that the setnetent() routine is
2004 /*#define HAS_SETNETENT /**/
2007 * This symbol, if defined, indicates that the setnetent_r routine
2008 * is available to setnetent re-entrantly.
2010 /* SETNETENT_R_PROTO:
2011 * This symbol encodes the prototype of setnetent_r.
2012 * It is zero if d_setnetent_r is undef, and one of the
2013 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
2016 /*#define HAS_SETNETENT_R /**/
2017 #define SETNETENT_R_PROTO 0 /**/
2020 * This symbol, if defined, indicates that the setprotoent() routine is
2023 /*#define HAS_SETPROTOENT /**/
2026 * This symbol, if defined, indicates that the setpgrp routine is
2027 * available to set the current process group.
2030 * This symbol, if defined, indicates that setpgrp needs two
2031 * arguments whereas USG one needs none. See also HAS_SETPGID
2032 * for a POSIX interface.
2034 /*#define HAS_SETPGRP /**/
2035 /*#define USE_BSD_SETPGRP /**/
2037 /* HAS_SETPROTOENT_R:
2038 * This symbol, if defined, indicates that the setprotoent_r routine
2039 * is available to setprotoent re-entrantly.
2041 /* SETPROTOENT_R_PROTO:
2042 * This symbol encodes the prototype of setprotoent_r.
2043 * It is zero if d_setprotoent_r is undef, and one of the
2044 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
2047 /*#define HAS_SETPROTOENT_R /**/
2048 #define SETPROTOENT_R_PROTO 0 /**/
2051 * This symbol, if defined, indicates that the setpwent routine is
2052 * available for initializing sequential access of the passwd database.
2054 /*#define HAS_SETPWENT /**/
2057 * This symbol, if defined, indicates that the setpwent_r routine
2058 * is available to setpwent re-entrantly.
2060 /* SETPWENT_R_PROTO:
2061 * This symbol encodes the prototype of setpwent_r.
2062 * It is zero if d_setpwent_r is undef, and one of the
2063 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2066 /*#define HAS_SETPWENT_R /**/
2067 #define SETPWENT_R_PROTO 0 /**/
2070 * This symbol, if defined, indicates that the setservent() routine is
2073 /*#define HAS_SETSERVENT /**/
2075 /* HAS_SETSERVENT_R:
2076 * This symbol, if defined, indicates that the setservent_r routine
2077 * is available to setservent re-entrantly.
2079 /* SETSERVENT_R_PROTO:
2080 * This symbol encodes the prototype of setservent_r.
2081 * It is zero if d_setservent_r is undef, and one of the
2082 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
2085 /*#define HAS_SETSERVENT_R /**/
2086 #define SETSERVENT_R_PROTO 0 /**/
2089 * This symbol, if defined, indicates that the setvbuf routine is
2090 * available to change buffering on an open stdio stream.
2091 * to a line-buffered mode.
2093 #define HAS_SETVBUF /**/
2096 * This symbol, if defined, indicates that the entire shm*(2) library is
2099 /*#define HAS_SHM /**/
2102 * This symbol holds the return type of the shmat() system call.
2103 * Usually set to 'void *' or 'char *'.
2105 /* HAS_SHMAT_PROTOTYPE:
2106 * This symbol, if defined, indicates that the sys/shm.h includes
2107 * a prototype for shmat(). Otherwise, it is up to the program to
2108 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
2109 * but not always right so it should be emitted by the program only
2110 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
2112 #define Shmat_t void * /**/
2113 /*#define HAS_SHMAT_PROTOTYPE /**/
2116 * This symbol, if defined, indicates that the BSD socket interface is
2120 * This symbol, if defined, indicates that the BSD socketpair() call is
2124 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2125 * Checking just with #ifdef might not be enough because this symbol
2126 * has been known to be an enum.
2128 /* HAS_MSG_DONTROUTE:
2129 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2130 * Checking just with #ifdef might not be enough because this symbol
2131 * has been known to be an enum.
2134 * This symbol, if defined, indicates that the MSG_OOB is supported.
2135 * Checking just with #ifdef might not be enough because this symbol
2136 * has been known to be an enum.
2139 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2140 * Checking just with #ifdef might not be enough because this symbol
2141 * has been known to be an enum.
2144 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2145 * Checking just with #ifdef might not be enough because this symbol
2146 * has been known to be an enum.
2149 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2150 * Checking just with #ifdef might not be enough because this symbol
2151 * has been known to be an enum.
2153 #define HAS_SOCKET /**/
2154 /*#define HAS_SOCKETPAIR /**/
2155 /*#define HAS_MSG_CTRUNC /**/
2156 /*#define HAS_MSG_DONTROUTE /**/
2157 /*#define HAS_MSG_OOB /**/
2158 /*#define HAS_MSG_PEEK /**/
2159 /*#define HAS_MSG_PROXY /**/
2160 /*#define HAS_SCM_RIGHTS /**/
2163 * This symbol, if defined, indicates that the srand48_r routine
2164 * is available to srand48 re-entrantly.
2167 * This symbol encodes the prototype of srand48_r.
2168 * It is zero if d_srand48_r is undef, and one of the
2169 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2172 /*#define HAS_SRAND48_R /**/
2173 #define SRAND48_R_PROTO 0 /**/
2176 * This symbol, if defined, indicates that the srandom_r routine
2177 * is available to srandom re-entrantly.
2180 * This symbol encodes the prototype of srandom_r.
2181 * It is zero if d_srandom_r is undef, and one of the
2182 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2185 /*#define HAS_SRANDOM_R /**/
2186 #define SRANDOM_R_PROTO 0 /**/
2189 * This symbol is defined if this system has a stat structure declaring
2190 * st_blksize and st_blocks.
2192 #ifndef USE_STAT_BLOCKS
2193 /*#define USE_STAT_BLOCKS /**/
2197 * This symbol, if defined, indicates that this C compiler knows how
2198 * to copy structures. If undefined, you'll need to use a block copy
2199 * routine of some sort instead.
2201 #define USE_STRUCT_COPY /**/
2204 * This symbol, if defined, indicates that the strerror routine is
2205 * available to translate error numbers to strings. See the writeup
2206 * of Strerror() in this file before you try to define your own.
2209 * This symbol, if defined, indicates that the sys_errlist array is
2210 * available to translate error numbers to strings. The extern int
2211 * sys_nerr gives the size of that table.
2214 * This preprocessor symbol is defined as a macro if strerror() is
2215 * not available to translate error numbers to strings but sys_errlist[]
2218 #define HAS_STRERROR /**/
2219 #define HAS_SYS_ERRLIST /**/
2220 #define Strerror(e) strerror(e)
2223 * This symbol, if defined, indicates that the strerror_r routine
2224 * is available to strerror re-entrantly.
2226 /* STRERROR_R_PROTO:
2227 * This symbol encodes the prototype of strerror_r.
2228 * It is zero if d_strerror_r is undef, and one of the
2229 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2232 /*#define HAS_STRERROR_R /**/
2233 #define STRERROR_R_PROTO 0 /**/
2236 * This symbol, if defined, indicates that the strtoul routine is
2237 * available to provide conversion of strings to unsigned long.
2239 #define HAS_STRTOUL /**/
2242 * This symbol, if defined, indicates that the time() routine exists.
2245 * This symbol holds the type returned by time(). It can be long,
2246 * or time_t on BSD sites (in which case <sys/types.h> should be
2249 #define HAS_TIME /**/
2250 #define Time_t time_t /* Time type */
2253 * This symbol, if defined, indicates that the times() routine exists.
2254 * Note that this became obsolete on some systems (SUNOS), which now
2255 * use getrusage(). It may be necessary to include <sys/times.h>.
2257 #define HAS_TIMES /**/
2260 * This symbol, if defined, indicates that the tmpnam_r routine
2261 * is available to tmpnam re-entrantly.
2264 * This symbol encodes the prototype of tmpnam_r.
2265 * It is zero if d_tmpnam_r is undef, and one of the
2266 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2269 /*#define HAS_TMPNAM_R /**/
2270 #define TMPNAM_R_PROTO 0 /**/
2273 * This symbol, if defined, indicates that the ttyname_r routine
2274 * is available to ttyname re-entrantly.
2277 * This symbol encodes the prototype of ttyname_r.
2278 * It is zero if d_ttyname_r is undef, and one of the
2279 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
2282 /*#define HAS_TTYNAME_R /**/
2283 #define TTYNAME_R_PROTO 0 /**/
2286 * This symbol, if defined, indicates that the union semun is
2287 * defined by including <sys/sem.h>. If not, the user code
2288 * probably needs to define it as:
2291 * struct semid_ds *buf;
2292 * unsigned short *array;
2295 /* USE_SEMCTL_SEMUN:
2296 * This symbol, if defined, indicates that union semun is
2297 * used for semctl IPC_STAT.
2299 /* USE_SEMCTL_SEMID_DS:
2300 * This symbol, if defined, indicates that struct semid_ds * is
2301 * used for semctl IPC_STAT.
2303 #define HAS_UNION_SEMUN /**/
2304 /*#define USE_SEMCTL_SEMUN /**/
2305 /*#define USE_SEMCTL_SEMID_DS /**/
2308 * This symbol, if defined, indicates that vfork() exists.
2310 /*#define HAS_VFORK /**/
2313 * This symbol, if defined, indicates that an emulation of the
2314 * fork routine is available.
2316 /*#define HAS_PSEUDOFORK /**/
2319 * This symbol's value is either "void" or "int", corresponding to the
2320 * appropriate return type of a signal handler. Thus, you can declare
2321 * a signal handler using "Signal_t (*handler)()", and define the
2322 * handler using "Signal_t handler(sig)".
2324 #define Signal_t void /* Signal handler's return type */
2327 * This symbol, if defined, indicates that this C compiler knows about
2328 * the volatile declaration.
2330 #define HASVOLATILE /**/
2336 * This symbol holds the type used to declare file positions in libc.
2337 * It can be fpos_t, long, uint, etc... It may be necessary to include
2338 * <sys/types.h> to get any typedef'ed information.
2340 #define Fpos_t fpos_t /* File position type */
2343 * This symbol defines the format string used for printing a Gid_t.
2345 #define Gid_t_f "ld" /**/
2348 * This symbol holds the signedess of a Gid_t.
2349 * 1 for unsigned, -1 for signed.
2351 #define Gid_t_sign -1 /* GID sign */
2354 * This symbol holds the size of a Gid_t in bytes.
2356 #define Gid_t_size 4 /* GID size */
2359 * This symbol holds the return type of getgid() and the type of
2360 * argument to setrgid() and related functions. Typically,
2361 * it is the type of group ids in the kernel. It can be int, ushort,
2362 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2363 * any typedef'ed information.
2365 #define Gid_t gid_t /* Type for getgid(), etc... */
2368 * This symbol, if defined, indicates to the C program that it should
2369 * include <dirent.h>. Using this symbol also triggers the definition
2370 * of the Direntry_t define which ends up being 'struct dirent' or
2371 * 'struct direct' depending on the availability of <dirent.h>.
2374 * This symbol, if defined, indicates to the C program that the length
2375 * of directory entry names is provided by a d_namlen field. Otherwise
2376 * you need to do strlen() on the d_name field.
2379 * This symbol is set to 'struct direct' or 'struct dirent' depending on
2380 * whether dirent is available or not. You should use this pseudo type to
2381 * portably declare your directory entries.
2383 #define I_DIRENT /**/
2384 #define DIRNAMLEN /**/
2385 #define Direntry_t struct direct
2388 * This symbol, if defined, indicates to the C program that it should
2392 * This symbol, if defined, indicates to the C program that struct group
2393 * in <grp.h> contains gr_passwd.
2395 /*#define I_GRP /**/
2396 /*#define GRPASSWD /**/
2399 * This symbol, if defined, indicates to the C program that it should
2400 * include <mach/cthreads.h>.
2402 /*#define I_MACH_CTHREADS /**/
2405 * This symbol, if defined, indicates that <ndbm.h> exists and should
2409 * This symbol, if defined, indicates that <gdbm/ndbm.h> exists and should
2410 * be included. This was the location of the ndbm.h compatibility file
2414 * This symbol, if defined, indicates that <gdbm-ndbm.h> exists and should
2415 * be included. This is the location of the ndbm.h compatibility file
2418 /* NDBM_H_USES_PROTOTYPES:
2419 * This symbol, if defined, indicates that <ndbm.h> uses real ANSI C
2420 * prototypes instead of K&R style function declarations without any
2421 * parameter information. While ANSI C prototypes are supported in C++,
2422 * K&R style function declarations will yield errors.
2424 /* GDBMNDBM_H_USES_PROTOTYPES:
2425 * This symbol, if defined, indicates that <gdbm/ndbm.h> uses real ANSI C
2426 * prototypes instead of K&R style function declarations without any
2427 * parameter information. While ANSI C prototypes are supported in C++,
2428 * K&R style function declarations will yield errors.
2430 /* GDBM_NDBM_H_USES_PROTOTYPES:
2431 * This symbol, if defined, indicates that <gdbm-ndbm.h> uses real ANSI C
2432 * prototypes instead of K&R style function declarations without any
2433 * parameter information. While ANSI C prototypes are supported in C++,
2434 * K&R style function declarations will yield errors.
2436 /*#define I_NDBM /**/
2437 /*#define I_GDBMNDBM /**/
2438 /*#define I_GDBM_NDBM /**/
2439 /*#define NDBM_H_USES_PROTOTYPES /**/
2440 /*#define GDBMNDBM_H_USES_PROTOTYPES /**/
2441 /*#define GDBM_NDBM_H_USES_PROTOTYPES /**/
2444 * This symbol, if defined, indicates that <netdb.h> exists and
2445 * should be included.
2447 /*#define I_NETDB /**/
2450 * This symbol, if defined, indicates that <net/errno.h> exists and
2451 * should be included.
2453 /*#define I_NET_ERRNO /**/
2456 * This symbol, if defined, indicates to the C program that it should
2457 * include <pthread.h>.
2459 /*#define I_PTHREAD /**/
2462 * This symbol, if defined, indicates to the C program that it should
2466 * This symbol, if defined, indicates to the C program that struct passwd
2467 * contains pw_quota.
2470 * This symbol, if defined, indicates to the C program that struct passwd
2474 * This symbol, if defined, indicates to the C program that struct passwd
2475 * contains pw_change.
2478 * This symbol, if defined, indicates to the C program that struct passwd
2479 * contains pw_class.
2482 * This symbol, if defined, indicates to the C program that struct passwd
2483 * contains pw_expire.
2486 * This symbol, if defined, indicates to the C program that struct passwd
2487 * contains pw_comment.
2490 * This symbol, if defined, indicates to the C program that struct passwd
2491 * contains pw_gecos.
2494 * This symbol, if defined, indicates to the C program that struct passwd
2495 * contains pw_passwd.
2497 /*#define I_PWD /**/
2498 /*#define PWQUOTA /**/
2499 /*#define PWAGE /**/
2500 /*#define PWCHANGE /**/
2501 /*#define PWCLASS /**/
2502 /*#define PWEXPIRE /**/
2503 /*#define PWCOMMENT /**/
2504 /*#define PWGECOS /**/
2505 /*#define PWPASSWD /**/
2508 * This symbol, if defined, indicates to the C program that it should
2509 * include <sys/access.h>.
2511 /*#define I_SYS_ACCESS /**/
2514 * This symbol, if defined, indicates to the C program that it should
2515 * include <sys/security.h>.
2517 /*#define I_SYS_SECURITY /**/
2520 * This symbol, if defined, indicates that <sys/uio.h> exists and
2521 * should be included.
2523 /*#define I_SYSUIO /**/
2526 * This symbol, if defined, indicates that <stdarg.h> exists and should
2530 * This symbol, if defined, indicates to the C program that it should
2531 * include <varargs.h>.
2533 #define I_STDARG /**/
2534 /*#define I_VARARGS /**/
2536 /* PERL_INC_VERSION_LIST:
2537 * This variable specifies the list of subdirectories in over
2538 * which perl.c:incpush() and lib/lib.pm will automatically
2539 * search when adding directories to @INC, in a format suitable
2540 * for a C initialization string. See the inc_version_list entry
2541 * in Porting/Glossary for more details.
2543 /*#define PERL_INC_VERSION_LIST 0 /**/
2545 /* INSTALL_USR_BIN_PERL:
2546 * This symbol, if defined, indicates that Perl is to be installed
2547 * also as /usr/bin/perl.
2549 /*#define INSTALL_USR_BIN_PERL /**/
2552 * This symbol holds the type used to declare offsets in the kernel.
2553 * It can be int, long, off_t, etc... It may be necessary to include
2554 * <sys/types.h> to get any typedef'ed information.
2557 * This symbol holds the number of bytes used by the Off_t.
2560 * This symbol holds the number of bytes used by the Off_t.
2562 #define Off_t long /* <offset> type */
2563 #define LSEEKSIZE 4 /* <offset> size */
2564 #define Off_t_size 4 /* <offset> size */
2567 * This variable contains the return type of free(). It is usually
2568 * void, but occasionally int.
2571 * This symbol is the type of pointer returned by malloc and realloc.
2573 #define Malloc_t void * /**/
2574 #define Free_t void /**/
2576 /* PERL_MALLOC_WRAP:
2577 * This symbol, if defined, indicates that we'd like malloc wrap checks.
2579 #define PERL_MALLOC_WRAP /**/
2582 * This symbol, if defined, indicates that we're using our own malloc.
2584 /*#define MYMALLOC /**/
2587 * This symbol holds the type used to declare file modes
2588 * for systems calls. It is usually mode_t, but may be
2589 * int or unsigned short. It may be necessary to include <sys/types.h>
2590 * to get any typedef'ed information.
2592 #define Mode_t mode_t /* file mode parameter for system calls */
2595 * This symbol holds the type used for the 1st argument
2596 * to gethostbyaddr().
2599 * This symbol holds the type used for the 2nd argument
2600 * to gethostbyaddr().
2603 * This symbol holds the type used for the argument to
2607 * This symbol holds the type used for the 1st argument to
2610 #define Netdb_host_t char * /**/
2611 #define Netdb_hlen_t int /**/
2612 #define Netdb_name_t char * /**/
2613 #define Netdb_net_t long /**/
2615 /* PERL_OTHERLIBDIRS:
2616 * This variable contains a colon-separated set of paths for the perl
2617 * binary to search for additional library files or modules.
2618 * These directories will be tacked to the end of @INC.
2619 * Perl will automatically search below each path for version-
2620 * and architecture-specific directories. See PERL_INC_VERSION_LIST
2623 /*#define PERL_OTHERLIBDIRS "" /**/
2626 * This symbol holds the type used to declare process ids in the kernel.
2627 * It can be int, uint, pid_t, etc... It may be necessary to include
2628 * <sys/types.h> to get any typedef'ed information.
2630 #define Pid_t int /* PID type */
2633 * This symbol contains the name of the private library for this package.
2634 * The library is private in the sense that it needn't be in anyone's
2635 * execution path, but it should be accessible by the world. The program
2636 * should be prepared to do ~ expansion.
2639 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2640 * in programs that are not prepared to deal with ~ expansion at run-time.
2642 #define PRIVLIB "c:\\perl\\lib" /**/
2643 #define PRIVLIB_EXP (win32_get_privlib(PERL_VERSION_STRING, NULL)) /**/
2646 * If defined, this macro indicates that the C compiler can handle
2647 * function prototypes.
2650 * This macro is used to declare function parameters for folks who want
2651 * to make declarations with prototypes using a different style than
2652 * the above macros. Use double parentheses. For example:
2654 * int main _((int argc, char *argv[]));
2656 #define CAN_PROTOTYPE /**/
2657 #ifdef CAN_PROTOTYPE
2658 #define _(args) args
2664 * This symbol holds the type used for the 2nd, 3rd, and 4th
2665 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2666 * is defined, and 'int *' otherwise. This is only useful if you
2667 * have select(), of course.
2669 #define Select_fd_set_t Perl_fd_set * /**/
2672 * This symbol contains the full pathname to the shell used on this
2673 * on this system to execute Bourne shell scripts. Usually, this will be
2674 * /bin/sh, though it's possible that some systems will have /bin/ksh,
2675 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
2678 #define SH_PATH "cmd /x /c" /**/
2681 * This symbol contains a list of signal names in order of
2682 * signal number. This is intended
2683 * to be used as a static array initialization, like this:
2684 * char *sig_name[] = { SIG_NAME };
2685 * The signals in the list are separated with commas, and each signal
2686 * is surrounded by double quotes. There is no leading SIG in the signal
2687 * name, i.e. SIGQUIT is known as "QUIT".
2688 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2689 * etc., where nn is the actual signal number (e.g. NUM37).
2690 * The signal number for sig_name[i] is stored in sig_num[i].
2691 * The last element is 0 to terminate the list with a NULL. This
2692 * corresponds to the 0 at the end of the sig_name_init list.
2693 * Note that this variable is initialized from the sig_name_init,
2694 * not from sig_name (which is unused).
2697 * This symbol contains a list of signal numbers, in the same order as the
2698 * SIG_NAME list. It is suitable for static array initialization, as in:
2699 * int sig_num[] = { SIG_NUM };
2700 * The signals in the list are separated with commas, and the indices
2701 * within that list and the SIG_NAME list match, so it's easy to compute
2702 * the signal name from a number or vice versa at the price of a small
2703 * dynamic linear lookup.
2704 * Duplicates are allowed, but are moved to the end of the list.
2705 * The signal number corresponding to sig_name[i] is sig_number[i].
2706 * if (i < NSIG) then sig_number[i] == i.
2707 * The last element is 0, corresponding to the 0 at the end of
2708 * the sig_name_init list.
2709 * Note that this variable is initialized from the sig_num_init,
2710 * not from sig_num (which is unused).
2713 * This variable contains the number of elements of the SIG_NAME
2714 * and SIG_NUM arrays, excluding the final NULL entry.
2716 #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 /**/
2717 #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 /**/
2718 #define SIG_SIZE 27 /**/
2721 * This symbol contains the name of the private library for this package.
2722 * The library is private in the sense that it needn't be in anyone's
2723 * execution path, but it should be accessible by the world. The program
2724 * should be prepared to do ~ expansion.
2725 * The standard distribution will put nothing in this directory.
2726 * After perl has been installed, users may install their own local
2727 * architecture-dependent modules in this directory with
2728 * MakeMaker Makefile.PL
2729 * or equivalent. See INSTALL for details.
2732 * This symbol contains the ~name expanded version of SITEARCH, to be used
2733 * in programs that are not prepared to deal with ~ expansion at run-time.
2735 #define SITEARCH "c:\\perl\\site\\lib" /**/
2736 /*#define SITEARCH_EXP "" /**/
2739 * This symbol contains the name of the private library for this package.
2740 * The library is private in the sense that it needn't be in anyone's
2741 * execution path, but it should be accessible by the world. The program
2742 * should be prepared to do ~ expansion.
2743 * The standard distribution will put nothing in this directory.
2744 * After perl has been installed, users may install their own local
2745 * architecture-independent modules in this directory with
2746 * MakeMaker Makefile.PL
2747 * or equivalent. See INSTALL for details.
2750 * This symbol contains the ~name expanded version of SITELIB, to be used
2751 * in programs that are not prepared to deal with ~ expansion at run-time.
2754 * This define is SITELIB_EXP with any trailing version-specific component
2755 * removed. The elements in inc_version_list (inc_version_list.U) can
2756 * be tacked onto this variable to generate a list of directories to search.
2758 #define SITELIB "c:\\perl\\site\\lib" /**/
2759 #define SITELIB_EXP (win32_get_sitelib(PERL_VERSION_STRING, NULL)) /**/
2760 #define SITELIB_STEM "" /**/
2763 * This symbol holds the size of a Size_t in bytes.
2765 #define Size_t_size 4 /**/
2768 * This symbol holds the type used to declare length parameters
2769 * for string functions. It is usually size_t, but may be
2770 * unsigned long, int, etc. It may be necessary to include
2771 * <sys/types.h> to get any typedef'ed information.
2773 #define Size_t size_t /* length paramater for string functions */
2776 * This symbol holds the type used for the size argument of
2777 * various socket calls (just the base type, not the pointer-to).
2779 #define Sock_size_t int /**/
2782 * This symbol is defined to be the type of char used in stdio.h.
2783 * It has the values "unsigned char" or "char".
2785 #define STDCHAR char /**/
2788 * This symbol defines the format string used for printing a Uid_t.
2790 #define Uid_t_f "ld" /**/
2793 * This symbol holds the signedess of a Uid_t.
2794 * 1 for unsigned, -1 for signed.
2796 #define Uid_t_sign -1 /* UID sign */
2799 * This symbol holds the size of a Uid_t in bytes.
2801 #define Uid_t_size 4 /* UID size */
2804 * This symbol holds the type used to declare user ids in the kernel.
2805 * It can be int, ushort, uid_t, etc... It may be necessary to include
2806 * <sys/types.h> to get any typedef'ed information.
2808 #define Uid_t uid_t /* UID type */
2811 * This symbol, if defined, indicates that Perl should be built to
2812 * use the interpreter-based threading implementation.
2815 * This symbol, if defined, indicates that Perl should be built to
2816 * use the 5.005-based threading implementation.
2817 * Only valid up to 5.8.x.
2819 /* OLD_PTHREADS_API:
2820 * This symbol, if defined, indicates that Perl should
2821 * be built to use the old draft POSIX threads API.
2823 /* USE_REENTRANT_API:
2824 * This symbol, if defined, indicates that Perl should
2825 * try to use the various _r versions of library functions.
2826 * This is extremely experimental.
2828 /*#define USE_5005THREADS /**/
2829 /*#define USE_ITHREADS /**/
2830 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
2831 #define USE_THREADS /* until src is revised*/
2833 /*#define OLD_PTHREADS_API /**/
2834 /*#define USE_REENTRANT_API /**/
2837 * If defined, this symbol contains the name of a private library.
2838 * The library is private in the sense that it needn't be in anyone's
2839 * execution path, but it should be accessible by the world.
2840 * It may have a ~ on the front.
2841 * The standard distribution will put nothing in this directory.
2842 * Vendors who distribute perl may wish to place their own
2843 * architecture-dependent modules and extensions in this directory with
2844 * MakeMaker Makefile.PL INSTALLDIRS=vendor
2845 * or equivalent. See INSTALL for details.
2847 /* PERL_VENDORARCH_EXP:
2848 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
2849 * in programs that are not prepared to deal with ~ expansion at run-time.
2851 /*#define PERL_VENDORARCH "" /**/
2852 /*#define PERL_VENDORARCH_EXP "" /**/
2854 /* PERL_VENDORLIB_EXP:
2855 * This symbol contains the ~name expanded version of VENDORLIB, to be used
2856 * in programs that are not prepared to deal with ~ expansion at run-time.
2858 /* PERL_VENDORLIB_STEM:
2859 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
2860 * removed. The elements in inc_version_list (inc_version_list.U) can
2861 * be tacked onto this variable to generate a list of directories to search.
2863 /*#define PERL_VENDORLIB_EXP "" /**/
2864 /*#define PERL_VENDORLIB_STEM "" /**/
2867 * This symbol indicates how much support of the void type is given by this
2868 * compiler. What various bits mean:
2870 * 1 = supports declaration of void
2871 * 2 = supports arrays of pointers to functions returning void
2872 * 4 = supports comparisons between pointers to void functions and
2873 * addresses of void functions
2874 * 8 = suports declaration of generic void pointers
2876 * The package designer should define VOIDUSED to indicate the requirements
2877 * of the package. This can be done either by #defining VOIDUSED before
2878 * including config.h, or by defining defvoidused in Myinit.U. If the
2879 * latter approach is taken, only those flags will be tested. If the
2880 * level of void support necessary is not present, defines void to int.
2885 #define VOIDFLAGS 15
2886 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
2887 #define void int /* is void to be avoided? */
2888 #define M_VOID /* Xenix strikes again */
2891 /* USE_CROSS_COMPILE:
2892 * This symbol, if defined, indicates that Perl is being cross-compiled.
2895 * This symbol, if defined, indicates the target architecture
2896 * Perl has been cross-compiled to. Undefined if not a cross-compile.
2898 #ifndef USE_CROSS_COMPILE
2899 /*#define USE_CROSS_COMPILE /**/
2900 #define PERL_TARGETARCH "" /**/
2904 * This symbol contains the number of bytes required to align a
2905 * double, or a long double when applicable. Usual values are 2,
2906 * 4 and 8. The default is eight, for safety.
2908 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
2909 # define MEM_ALIGNBYTES 8
2911 #define MEM_ALIGNBYTES 8
2915 * This symbol holds the hexadecimal constant defined in byteorder,
2916 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
2917 * If the compiler supports cross-compiling or multiple-architecture
2918 * binaries (eg. on NeXT systems), use compiler-defined macros to
2919 * determine the byte order.
2920 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
2921 * Binaries (MAB) on either big endian or little endian machines.
2922 * The endian-ness is available at compile-time. This only matters
2923 * for perl, where the config.h can be generated and installed on
2924 * one system, and used by a different architecture to build an
2925 * extension. Older versions of NeXT that might not have
2926 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
2927 * so the default case (for NeXT) is big endian to catch them.
2928 * This might matter for NeXT 3.0.
2930 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
2931 # ifdef __LITTLE_ENDIAN__
2933 # define BYTEORDER 0x1234
2936 # define BYTEORDER 0x12345678
2940 # ifdef __BIG_ENDIAN__
2942 # define BYTEORDER 0x4321
2945 # define BYTEORDER 0x87654321
2950 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
2951 # define BYTEORDER 0x4321
2954 #define BYTEORDER 0x1234 /* large digits for MSB */
2958 * This symbol is defined if the C compiler can cast negative
2959 * or large floating point numbers to 32-bit ints.
2962 # define CASTI32 /**/
2966 * This symbol is defined if the C compiler can cast negative
2967 * numbers to unsigned longs, ints and shorts.
2970 * This symbol contains flags that say what difficulties the compiler
2971 * has casting odd floating values to unsigned long:
2973 * 1 = couldn't cast < 0
2974 * 2 = couldn't cast >= 0x80000000
2975 * 4 = couldn't cast in argument expression list
2977 #define CASTNEGFLOAT /**/
2978 #define CASTFLAGS 0 /**/
2981 * This symbol, if defined, indicates that the closedir() routine
2982 * does not return a value.
2984 /*#define VOID_CLOSEDIR /**/
2987 * This symbol, when defined, indicates presence of the fd_set typedef
2990 #define HAS_FD_SET /**/
2993 * This preprocessor macro is defined to convert a floating point
2994 * number to a string without a trailing decimal point. This
2995 * emulates the behavior of sprintf("%g"), but is sometimes much more
2996 * efficient. If gconvert() is not available, but gcvt() drops the
2997 * trailing decimal point, then gcvt() is used. If all else fails,
2998 * a macro using sprintf("%g") is used. Arguments for the Gconvert
2999 * macro are: value, number of digits, whether trailing zeros should
3000 * be retained, and the output buffer.
3001 * The usual values are:
3002 * d_Gconvert='gconvert((x),(n),(t),(b))'
3003 * d_Gconvert='gcvt((x),(n),(b))'
3004 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
3005 * The last two assume trailing zeros should not be kept.
3007 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
3010 * This symbol, if defined, indicates that the getpagesize system call
3011 * is available to get system page size, which is the granularity of
3012 * many memory management calls.
3014 /*#define HAS_GETPAGESIZE /**/
3017 * This symbol, if defined, indicates to the C program that
3018 * the GNU C library is being used. A better check is to use
3019 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
3021 /*#define HAS_GNULIBC /**/
3022 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
3023 # define _GNU_SOURCE
3027 * This manifest constant lets the C program know that isascii
3030 #define HAS_ISASCII /**/
3033 * This symbol, if defined, indicates that the lchown routine is
3034 * available to operate on a symbolic link (instead of following the
3037 /*#define HAS_LCHOWN /**/
3040 * This manifest constant lets the C program know that the three
3041 * argument form of open(2) is available.
3043 /*#define HAS_OPEN3 /**/
3046 * This symbol, if defined, indicates that the bcopy routine is available
3047 * to copy potentially overlapping memory blocks. Normally, you should
3048 * probably use memmove() or memcpy(). If neither is defined, roll your
3051 /*#define HAS_SAFE_BCOPY /**/
3054 * This symbol, if defined, indicates that the memcpy routine is available
3055 * to copy potentially overlapping memory blocks. If you need to
3056 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
3057 * use memmove() instead, if available.
3059 /*#define HAS_SAFE_MEMCPY /**/
3062 * This symbol, if defined, indicates that the memcmp routine is available
3063 * and can be used to compare relative magnitudes of chars with their high
3064 * bits set. If it is not defined, roll your own version.
3066 #define HAS_SANE_MEMCMP /**/
3069 * This symbol, if defined, indicates that Vr4's sigaction() routine
3072 /*#define HAS_SIGACTION /**/
3075 * This variable indicates to the C program that the sigsetjmp()
3076 * routine is available to save the calling process's registers
3077 * and stack environment for later use by siglongjmp(), and
3078 * to optionally save the process's signal mask. See
3079 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
3082 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
3085 * This macro is used in the same way as sigsetjmp(), but will invoke
3086 * traditional setjmp() if sigsetjmp isn't available.
3087 * See HAS_SIGSETJMP.
3090 * This macro is used in the same way as siglongjmp(), but will invoke
3091 * traditional longjmp() if siglongjmp isn't available.
3092 * See HAS_SIGSETJMP.
3094 /*#define HAS_SIGSETJMP /**/
3095 #ifdef HAS_SIGSETJMP
3096 #define Sigjmp_buf sigjmp_buf
3097 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
3098 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
3100 #define Sigjmp_buf jmp_buf
3101 #define Sigsetjmp(buf,save_mask) setjmp((buf))
3102 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
3106 * This symbol is defined if the _ptr and _cnt fields (or similar)
3107 * of the stdio FILE structure can be used to access the stdio buffer
3108 * for a file handle. If this is defined, then the FILE_ptr(fp)
3109 * and FILE_cnt(fp) macros will also be defined and should be used
3110 * to access these fields.
3113 * This macro is used to access the _ptr field (or equivalent) of the
3114 * FILE structure pointed to by its argument. This macro will always be
3115 * defined if USE_STDIO_PTR is defined.
3117 /* STDIO_PTR_LVALUE:
3118 * This symbol is defined if the FILE_ptr macro can be used as an
3122 * This macro is used to access the _cnt field (or equivalent) of the
3123 * FILE structure pointed to by its argument. This macro will always be
3124 * defined if USE_STDIO_PTR is defined.
3126 /* STDIO_CNT_LVALUE:
3127 * This symbol is defined if the FILE_cnt macro can be used as an
3130 /* STDIO_PTR_LVAL_SETS_CNT:
3131 * This symbol is defined if using the FILE_ptr macro as an lvalue
3132 * to increase the pointer by n has the side effect of decreasing the
3133 * value of File_cnt(fp) by n.
3135 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
3136 * This symbol is defined if using the FILE_ptr macro as an lvalue
3137 * to increase the pointer by n leaves File_cnt(fp) unchanged.
3139 #define USE_STDIO_PTR /**/
3140 #ifdef USE_STDIO_PTR
3141 #define FILE_ptr(fp) ((fp)->_ptr)
3142 #define STDIO_PTR_LVALUE /**/
3143 #define FILE_cnt(fp) ((fp)->_cnt)
3144 #define STDIO_CNT_LVALUE /**/
3145 /*#define STDIO_PTR_LVAL_SETS_CNT /**/
3146 #define STDIO_PTR_LVAL_NOCHANGE_CNT /**/
3150 * This symbol is defined if the _base field (or similar) of the
3151 * stdio FILE structure can be used to access the stdio buffer for
3152 * a file handle. If this is defined, then the FILE_base(fp) macro
3153 * will also be defined and should be used to access this field.
3154 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
3155 * to determine the number of bytes in the buffer. USE_STDIO_BASE
3156 * will never be defined unless USE_STDIO_PTR is.
3159 * This macro is used to access the _base field (or equivalent) of the
3160 * FILE structure pointed to by its argument. This macro will always be
3161 * defined if USE_STDIO_BASE is defined.
3164 * This macro is used to determine the number of bytes in the I/O
3165 * buffer pointed to by _base field (or equivalent) of the FILE
3166 * structure pointed to its argument. This macro will always be defined
3167 * if USE_STDIO_BASE is defined.
3169 #define USE_STDIO_BASE /**/
3170 #ifdef USE_STDIO_BASE
3171 #define FILE_base(fp) ((fp)->_base)
3172 #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
3176 * This symbol, if defined, indicates that the vprintf routine is available
3177 * to printf with a pointer to an argument list. If unavailable, you
3178 * may need to write your own, probably in terms of _doprnt().
3180 /* USE_CHAR_VSPRINTF:
3181 * This symbol is defined if this system has vsprintf() returning type
3182 * (char*). The trend seems to be to declare it as "int vsprintf()". It
3183 * is up to the package author to declare vsprintf correctly based on the
3186 #define HAS_VPRINTF /**/
3187 /*#define USE_CHAR_VSPRINTF /**/
3190 * This symbol contains the size of a double, so that the C preprocessor
3191 * can make decisions based on it.
3193 #define DOUBLESIZE 8 /**/
3196 * This symbol, if defined, indicates to the C program that it should
3200 * This symbol, if defined, indicates to the C program that it should
3201 * include <sys/time.h>.
3203 /* I_SYS_TIME_KERNEL:
3204 * This symbol, if defined, indicates to the C program that it should
3205 * include <sys/time.h> with KERNEL defined.
3208 * This symbol, if defined, indicates to the C program that
3209 * the struct tm has a tm_zone field.
3211 /* HAS_TM_TM_GMTOFF:
3212 * This symbol, if defined, indicates to the C program that
3213 * the struct tm has a tm_gmtoff field.
3216 /*#define I_SYS_TIME /**/
3217 /*#define I_SYS_TIME_KERNEL /**/
3218 /*#define HAS_TM_TM_ZONE /**/
3219 /*#define HAS_TM_TM_GMTOFF /**/
3222 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
3223 * non-blocking I/O for the file descriptor. Note that there is no way
3224 * back, i.e. you cannot turn it blocking again this way. If you wish to
3225 * alternatively switch between blocking and non-blocking, use the
3226 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
3229 * This symbol holds the errno error code set by read() when no data was
3230 * present on the non-blocking file descriptor.
3233 * This symbol holds the return code from read() when no data is present
3234 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
3235 * not defined, then you can't distinguish between no data and EOF by
3236 * issuing a read(). You'll have to find another way to tell for sure!
3239 * This symbol, if defined, indicates to the C program that a read() on
3240 * a non-blocking file descriptor will return 0 on EOF, and not the value
3241 * held in RD_NODATA (-1 usually, in that case!).
3243 #define VAL_O_NONBLOCK O_NONBLOCK
3244 #define VAL_EAGAIN EAGAIN
3245 #define RD_NODATA -1
3246 #define EOF_NONBLOCK
3249 * This symbol contains the size of a pointer, so that the C preprocessor
3250 * can make decisions based on it. It will be sizeof(void *) if
3251 * the compiler supports (void *); otherwise it will be
3254 #define PTRSIZE 4 /**/
3257 * This macro is to be used to generate uniformly distributed
3258 * random numbers over the range [0., 1.[. You may have to supply
3259 * an 'extern double drand48();' in your program since SunOS 4.1.3
3260 * doesn't provide you with anything relevant in its headers.
3261 * See HAS_DRAND48_PROTO.
3264 * This symbol defines the type of the argument of the
3265 * random seed function.
3268 * This symbol defines the macro to be used in seeding the
3269 * random number generator (see Drand01).
3272 * This symbol indicates how many bits are produced by the
3273 * function used to generate normalized random numbers.
3274 * Values include 15, 16, 31, and 48.
3276 #define Drand01() (rand()/(double)((unsigned)1<<RANDBITS)) /**/
3277 #define Rand_seed_t unsigned /**/
3278 #define seedDrand01(x) srand((Rand_seed_t)x) /**/
3279 #define RANDBITS 15 /**/
3282 * This symbol holds the type used by functions that return
3283 * a count of bytes or an error condition. It must be a signed type.
3284 * It is usually ssize_t, but may be long or int, etc.
3285 * It may be necessary to include <sys/types.h> or <unistd.h>
3286 * to get any typedef'ed information.
3287 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3289 #define SSize_t int /* signed count of bytes */
3292 * This symbol, if defined, indicates that this system uses
3295 /*#define EBCDIC /**/
3298 * This symbol, if defined, indicates that Perl was configured with
3299 * -Dusedevel, to enable development features. This should not be
3300 * done for production builds.
3302 /*#define PERL_USE_DEVEL /**/
3305 * This symbol, if defined, indicates that the atolf routine is
3306 * available to convert strings into long doubles.
3308 /*#define HAS_ATOLF /**/
3311 * This symbol, if defined, indicates that the atoll routine is
3312 * available to convert strings into long longs.
3314 /*#define HAS_ATOLL /**/
3317 * This symbol, if defined, indicates that the _fwalk system call is
3318 * available to apply a function to all the file handles.
3320 /*#define HAS__FWALK /**/
3323 * This symbol, if defined, indicates that the aintl routine is
3324 * available. If copysignl is also present we can emulate modfl.
3326 /*#define HAS_AINTL /**/
3328 /* HAS_BUILTIN_CHOOSE_EXPR:
3329 * Can we handle GCC builtin for compile-time ternary-like expressions
3331 /* HAS_BUILTIN_EXPECT:
3332 * Can we handle GCC builtin for telling that certain values are more
3335 /*#define HAS_BUILTIN_EXPECT /**/
3336 /*#define HAS_BUILTIN_CHOOSE_EXPR /**/
3338 /* HAS_C99_VARIADIC_MACROS:
3339 * If defined, the compiler supports C99 variadic macros.
3341 /*#define HAS_C99_VARIADIC_MACROS /**/
3344 * This symbol, if defined, indicates that the class routine is
3345 * available to classify doubles. Available for example in AIX.
3346 * The returned values are defined in <float.h> and are:
3348 * FP_PLUS_NORM Positive normalized, nonzero
3349 * FP_MINUS_NORM Negative normalized, nonzero
3350 * FP_PLUS_DENORM Positive denormalized, nonzero
3351 * FP_MINUS_DENORM Negative denormalized, nonzero
3353 * FP_MINUS_ZERO -0.0
3356 * FP_NANS Signaling Not a Number (NaNS)
3357 * FP_NANQ Quiet Not a Number (NaNQ)
3359 /*#define HAS_CLASS /**/
3362 * This symbol, if defined, indicates that the clearenv () routine is
3363 * available for use.
3365 /*#define HAS_CLEARENV /**/
3367 /* HAS_STRUCT_CMSGHDR:
3368 * This symbol, if defined, indicates that the struct cmsghdr
3371 /*#define HAS_STRUCT_CMSGHDR /**/
3374 * This symbol, if defined, indicates that the copysignl routine is
3375 * available. If aintl is also present we can emulate modfl.
3377 /*#define HAS_COPYSIGNL /**/
3380 * This symbol, if defined, indicates that a C++ compiler was
3381 * used to compiled Perl and will be used to compile extensions.
3383 /*#define USE_CPLUSPLUS /**/
3385 /* HAS_DBMINIT_PROTO:
3386 * This symbol, if defined, indicates that the system provides
3387 * a prototype for the dbminit() function. Otherwise, it is up
3388 * to the program to supply one. A good guess is
3389 * extern int dbminit(char *);
3391 /*#define HAS_DBMINIT_PROTO /**/
3394 * This symbol, if defined, indicates that the the DIR* dirstream
3395 * structure contains a member variable named dd_fd.
3397 /*#define HAS_DIR_DD_FD /**/
3400 * This manifest constant lets the C program know that dirfd
3403 /*#define HAS_DIRFD /**/
3405 /* DLSYM_NEEDS_UNDERSCORE:
3406 * This symbol, if defined, indicates that we need to prepend an
3407 * underscore to the symbol name before calling dlsym(). This only
3408 * makes sense if you *have* dlsym, which we will presume is the
3409 * case if you're using dl_dlopen.xs.
3411 /*#define DLSYM_NEEDS_UNDERSCORE /**/
3414 * This symbol, if defined, indicates that the "fast stdio"
3415 * is available to manipulate the stdio buffers directly.
3417 #define HAS_FAST_STDIO /**/
3420 * This symbol, if defined, indicates that the fchdir routine is
3421 * available to change directory using a file descriptor.
3423 /*#define HAS_FCHDIR /**/
3426 * This symbol, if defined, indicates that fcntl() can be used
3427 * for file locking. Normally on Unix systems this is defined.
3428 * It may be undefined on VMS.
3430 /*#define FCNTL_CAN_LOCK /**/
3433 * This symbol, if defined, indicates that the finite routine is
3434 * available to check whether a double is finite (non-infinity non-NaN).
3436 /*#define HAS_FINITE /**/
3439 * This symbol, if defined, indicates that the finitel routine is
3440 * available to check whether a long double is finite
3441 * (non-infinity non-NaN).
3443 /*#define HAS_FINITEL /**/
3446 * This symbol, if defined, indicates that the system provides
3447 * a prototype for the flock() function. Otherwise, it is up
3448 * to the program to supply one. A good guess is
3449 * extern int flock(int, int);
3451 #define HAS_FLOCK_PROTO /**/
3454 * This symbol, if defined, indicates that the fp_class routine is
3455 * available to classify doubles. Available for example in Digital UNIX.
3456 * The returned values are defined in <math.h> and are:
3458 * FP_SNAN Signaling NaN (Not-a-Number)
3459 * FP_QNAN Quiet NaN (Not-a-Number)
3460 * FP_POS_INF +infinity
3461 * FP_NEG_INF -infinity
3462 * FP_POS_NORM Positive normalized
3463 * FP_NEG_NORM Negative normalized
3464 * FP_POS_DENORM Positive denormalized
3465 * FP_NEG_DENORM Negative denormalized
3466 * FP_POS_ZERO +0.0 (positive zero)
3467 * FP_NEG_ZERO -0.0 (negative zero)
3469 /*#define HAS_FP_CLASS /**/
3472 * This symbol, if defined, indicates that the fpclass routine is
3473 * available to classify doubles. Available for example in Solaris/SVR4.
3474 * The returned values are defined in <ieeefp.h> and are:
3476 * FP_SNAN signaling NaN
3478 * FP_NINF negative infinity
3479 * FP_PINF positive infinity
3480 * FP_NDENORM negative denormalized non-zero
3481 * FP_PDENORM positive denormalized non-zero
3482 * FP_NZERO negative zero
3483 * FP_PZERO positive zero
3484 * FP_NNORM negative normalized non-zero
3485 * FP_PNORM positive normalized non-zero
3487 /*#define HAS_FPCLASS /**/
3490 * This symbol, if defined, indicates that the fpclassify routine is
3491 * available to classify doubles. Available for example in HP-UX.
3492 * The returned values are defined in <math.h> and are
3494 * FP_NORMAL Normalized
3496 * FP_INFINITE Infinity
3497 * FP_SUBNORMAL Denormalized
3501 /*#define HAS_FPCLASSIFY /**/
3504 * This symbol, if defined, indicates that the fpclassl routine is
3505 * available to classify long doubles. Available for example in IRIX.
3506 * The returned values are defined in <ieeefp.h> and are:
3508 * FP_SNAN signaling NaN
3510 * FP_NINF negative infinity
3511 * FP_PINF positive infinity
3512 * FP_NDENORM negative denormalized non-zero
3513 * FP_PDENORM positive denormalized non-zero
3514 * FP_NZERO negative zero
3515 * FP_PZERO positive zero
3516 * FP_NNORM negative normalized non-zero
3517 * FP_PNORM positive normalized non-zero
3519 /*#define HAS_FPCLASSL /**/
3522 * This symbol will be defined if the C compiler supports fpos64_t.
3524 /*#define HAS_FPOS64_T /**/
3527 * This symbol, if defined, indicates that the frexpl routine is
3528 * available to break a long double floating-point number into
3529 * a normalized fraction and an integral power of 2.
3531 /*#define HAS_FREXPL /**/
3533 /* HAS_STRUCT_FS_DATA:
3534 * This symbol, if defined, indicates that the struct fs_data
3535 * to do statfs() is supported.
3537 /*#define HAS_STRUCT_FS_DATA /**/
3540 * This symbol, if defined, indicates that the fseeko routine is
3541 * available to fseek beyond 32 bits (useful for ILP32 hosts).
3543 /*#define HAS_FSEEKO /**/
3546 * This symbol, if defined, indicates that the fstatfs routine is
3547 * available to stat filesystems by file descriptors.
3549 /*#define HAS_FSTATFS /**/
3552 * This symbol, if defined, indicates that the fsync routine is
3553 * available to write a file's modified data and attributes to
3554 * permanent storage.
3556 /*#define HAS_FSYNC /**/
3559 * This symbol, if defined, indicates that the ftello routine is
3560 * available to ftell beyond 32 bits (useful for ILP32 hosts).
3562 /*#define HAS_FTELLO /**/
3565 * This symbol, if defined, indicates that the futimes routine is
3566 * available to change file descriptor time stamps with struct timevals.
3568 /*#define HAS_FUTIMES /**/
3571 * This symbol, if defined, indicates that the getcwd routine is
3572 * available to get the current working directory.
3574 #define HAS_GETCWD /**/
3577 * This symbol, if defined, indicates that the getespwnam system call is
3578 * available to retrieve enchanced (shadow) password entries by name.
3580 /*#define HAS_GETESPWNAM /**/
3583 * This symbol, if defined, indicates that the getfsstat routine is
3584 * available to stat filesystems in bulk.
3586 /*#define HAS_GETFSSTAT /**/
3589 * This symbol, if defined, indicates that the getitimer routine is
3590 * available to return interval timers.
3592 /*#define HAS_GETITIMER /**/
3595 * This symbol, if defined, indicates that the getmnt routine is
3596 * available to get filesystem mount info by filename.
3598 /*#define HAS_GETMNT /**/
3601 * This symbol, if defined, indicates that the getmntent routine is
3602 * available to iterate through mounted file systems to get their info.
3604 /*#define HAS_GETMNTENT /**/
3607 * This symbol, if defined, indicates that the getprpwnam system call is
3608 * available to retrieve protected (shadow) password entries by name.
3610 /*#define HAS_GETPRPWNAM /**/
3613 * This symbol, if defined, indicates that the getspnam system call is
3614 * available to retrieve SysV shadow password entries by name.
3616 /*#define HAS_GETSPNAM /**/
3619 * This symbol, if defined, indicates that the hasmntopt routine is
3620 * available to query the mount options of file systems.
3622 /*#define HAS_HASMNTOPT /**/
3625 * This symbol, if defined, indicates that the ilogbl routine is
3626 * available. If scalbnl is also present we can emulate frexpl.
3628 /*#define HAS_ILOGBL /**/
3631 * This symbol will defined if the C compiler supports int64_t.
3632 * Usually the <inttypes.h> needs to be included, but sometimes
3633 * <sys/types.h> is enough.
3635 /*#define HAS_INT64_T /**/
3638 * This symbol, if defined, indicates that the isfinite routine is
3639 * available to check whether a double is finite (non-infinity non-NaN).
3641 /*#define HAS_ISFINITE /**/
3644 * This symbol, if defined, indicates that the isinf routine is
3645 * available to check whether a double is an infinity.
3647 /*#define HAS_ISINF /**/
3650 * This symbol, if defined, indicates that the isnan routine is
3651 * available to check whether a double is a NaN.
3653 #define HAS_ISNAN /**/
3656 * This symbol, if defined, indicates that the isnanl routine is
3657 * available to check whether a long double is a NaN.
3659 /*#define HAS_ISNANL /**/
3662 * This symbol, if defined, indicates that this system's <float.h>
3663 * or <limits.h> defines the symbol LDBL_DIG, which is the number
3664 * of significant digits in a long double precision number. Unlike
3665 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
3667 #define HAS_LDBL_DIG /**/
3669 /* LIBM_LIB_VERSION:
3670 * This symbol, if defined, indicates that libm exports _LIB_VERSION
3671 * and that math.h defines the enum to manipulate it.
3673 /*#define LIBM_LIB_VERSION /**/
3676 * This symbol, if defined, indicates that the madvise system call is
3677 * available to map a file into memory.
3679 /*#define HAS_MADVISE /**/
3682 * This symbol, if defined, indicates that the malloc_size
3683 * routine is available for use.
3685 /*#define HAS_MALLOC_SIZE /**/
3687 /* HAS_MALLOC_GOOD_SIZE:
3688 * This symbol, if defined, indicates that the malloc_good_size
3689 * routine is available for use.
3691 /*#define HAS_MALLOC_GOOD_SIZE /**/
3694 * This symbol, if defined, indicates that the mkdtemp routine is
3695 * available to exclusively create a uniquely named temporary directory.
3697 /*#define HAS_MKDTEMP /**/
3700 * This symbol, if defined, indicates that the mkstemps routine is
3701 * available to excluslvely create and open a uniquely named
3702 * (with a suffix) temporary file.
3704 /*#define HAS_MKSTEMPS /**/
3707 * This symbol, if defined, indicates that the modfl routine is
3708 * available to split a long double x into a fractional part f and
3709 * an integer part i such that |f| < 1.0 and (f + i) = x.
3712 * This symbol, if defined, indicates that the system provides
3713 * a prototype for the modfl() function. Otherwise, it is up
3714 * to the program to supply one.
3716 /* HAS_MODFL_POW32_BUG:
3717 * This symbol, if defined, indicates that the modfl routine is
3718 * broken for long doubles >= pow(2, 32).
3719 * For example from 4294967303.150000 one would get 4294967302.000000
3720 * and 1.150000. The bug has been seen in certain versions of glibc,
3721 * release 2.2.2 is known to be okay.
3723 /*#define HAS_MODFL /**/
3724 /*#define HAS_MODFL_PROTO /**/
3725 /*#define HAS_MODFL_POW32_BUG /**/
3728 * This symbol, if defined, indicates that the mprotect system call is
3729 * available to modify the access protection of a memory mapped file.
3731 /*#define HAS_MPROTECT /**/
3733 /* HAS_STRUCT_MSGHDR:
3734 * This symbol, if defined, indicates that the struct msghdr
3737 /*#define HAS_STRUCT_MSGHDR /**/
3740 * This symbol, if defined, indicates that the nl_langinfo routine is
3741 * available to return local data. You will also need <langinfo.h>
3742 * and therefore I_LANGINFO.
3744 /*#define HAS_NL_LANGINFO /**/
3747 * This symbol will be defined if the C compiler supports off64_t.
3749 /*#define HAS_OFF64_T /**/
3752 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3753 * to the absolute pathname of the executing program.
3755 /* PROCSELFEXE_PATH:
3756 * If HAS_PROCSELFEXE is defined this symbol is the filename
3757 * of the symbolic link pointing to the absolute pathname of
3758 * the executing program.
3760 /*#define HAS_PROCSELFEXE /**/
3761 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3762 #define PROCSELFEXE_PATH /**/
3765 /* HAS_PTHREAD_ATTR_SETSCOPE:
3766 * This symbol, if defined, indicates that the pthread_attr_setscope
3767 * system call is available to set the contention scope attribute of
3768 * a thread attribute object.
3770 /*#define HAS_PTHREAD_ATTR_SETSCOPE /**/
3773 * This symbol, if defined, indicates that the readv routine is
3774 * available to do gather reads. You will also need <sys/uio.h>
3775 * and there I_SYSUIO.
3777 /*#define HAS_READV /**/
3780 * This symbol, if defined, indicates that the recvmsg routine is
3781 * available to send structured socket messages.
3783 /*#define HAS_RECVMSG /**/
3786 * This symbol, if defined, indicates that the system provides
3787 * a prototype for the sbrk() function. Otherwise, it is up
3788 * to the program to supply one. Good guesses are
3789 * extern void* sbrk(int);
3790 * extern void* sbrk(size_t);
3792 /*#define HAS_SBRK_PROTO /**/
3795 * This symbol, if defined, indicates that the scalbnl routine is
3796 * available. If ilogbl is also present we can emulate frexpl.
3798 /*#define HAS_SCALBNL /**/
3801 * This symbol, if defined, indicates that the sendmsg routine is
3802 * available to send structured socket messages.
3804 /*#define HAS_SENDMSG /**/
3807 * This symbol, if defined, indicates that the setitimer routine is
3808 * available to set interval timers.
3810 /*#define HAS_SETITIMER /**/
3812 /* HAS_SETPROCTITLE:
3813 * This symbol, if defined, indicates that the setproctitle routine is
3814 * available to set process title.
3816 /*#define HAS_SETPROCTITLE /**/
3819 * This symbol, if defined, indicates that sfio should
3822 /*#define USE_SFIO /**/
3825 * This symbol, if defined, indicates that the signbit routine is
3826 * available to check if the given number has the sign bit set.
3827 * This should include correct testing of -0.0. This will only be set
3828 * if the signbit() routine is safe to use with the NV type used internally
3829 * in perl. Users should call Perl_signbit(), which will be #defined to
3830 * the system's signbit() function or macro if this symbol is defined.
3832 /*#define HAS_SIGNBIT /**/
3835 * This symbol, if defined, indicates that the sigprocmask
3836 * system call is available to examine or change the signal mask
3837 * of the calling process.
3839 /*#define HAS_SIGPROCMASK /**/
3841 /* USE_SITECUSTOMIZE:
3842 * This symbol, if defined, indicates that sitecustomize should
3845 #ifndef USE_SITECUSTOMIZE
3846 /*#define USE_SITECUSTOMIZE /**/
3850 * This symbol, if defined, indicates that the snprintf () library
3851 * function is available for use.
3854 * This symbol, if defined, indicates that the vsnprintf () library
3855 * function is available for use.
3857 #define HAS_SNPRINTF /**/
3858 #define HAS_VSNPRINTF /**/
3861 * This symbol, if defined, indicates that the sockatmark routine is
3862 * available to test whether a socket is at the out-of-band mark.
3864 /*#define HAS_SOCKATMARK /**/
3866 /* HAS_SOCKATMARK_PROTO:
3867 * This symbol, if defined, indicates that the system provides
3868 * a prototype for the sockatmark() function. Otherwise, it is up
3869 * to the program to supply one. A good guess is
3870 * extern int sockatmark(int);
3872 /*#define HAS_SOCKATMARK_PROTO /**/
3875 * This symbol, if defined, indicates that the socks5_init routine is
3876 * available to initialize SOCKS 5.
3878 /*#define HAS_SOCKS5_INIT /**/
3880 /* SPRINTF_RETURNS_STRLEN:
3881 * This variable defines whether sprintf returns the length of the string
3882 * (as per the ANSI spec). Some C libraries retain compatibility with
3883 * pre-ANSI C and return a pointer to the passed in buffer; for these
3884 * this variable will be undef.
3886 #define SPRINTF_RETURNS_STRLEN /**/
3889 * This symbol, if defined, indicates that the sqrtl routine is
3890 * available to do long double square roots.
3892 /*#define HAS_SQRTL /**/
3894 /* HAS_SETRESGID_PROTO:
3895 * This symbol, if defined, indicates that the system provides
3896 * a prototype for the setresgid() function. Otherwise, it is up
3897 * to the program to supply one. Good guesses are
3898 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3900 /*#define HAS_SETRESGID_PROTO /**/
3902 /* HAS_SETRESUID_PROTO:
3903 * This symbol, if defined, indicates that the system provides
3904 * a prototype for the setresuid() function. Otherwise, it is up
3905 * to the program to supply one. Good guesses are
3906 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3908 /*#define HAS_SETRESUID_PROTO /**/
3910 /* HAS_STRUCT_STATFS_F_FLAGS:
3911 * This symbol, if defined, indicates that the struct statfs
3912 * does have the f_flags member containing the mount flags of
3913 * the filesystem containing the file.
3914 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
3915 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
3916 * have statfs() and struct statfs, they have ustat() and getmnt()
3917 * with struct ustat and struct fs_data.
3919 /*#define HAS_STRUCT_STATFS_F_FLAGS /**/
3921 /* HAS_STRUCT_STATFS:
3922 * This symbol, if defined, indicates that the struct statfs
3923 * to do statfs() is supported.
3925 /*#define HAS_STRUCT_STATFS /**/
3928 * This symbol, if defined, indicates that the fstatvfs routine is
3929 * available to stat filesystems by file descriptors.
3931 /*#define HAS_FSTATVFS /**/
3934 * This symbol, if defined, indicates that the strftime routine is
3935 * available to do time formatting.
3937 #define HAS_STRFTIME /**/
3940 * This symbol, if defined, indicates that the strlcat () routine is
3941 * available to do string concatenation.
3943 /*#define HAS_STRLCAT /**/
3946 * This symbol, if defined, indicates that the strlcpy () routine is
3947 * available to do string copying.
3949 /*#define HAS_STRLCPY /**/
3952 * This symbol, if defined, indicates that the strtold routine is
3953 * available to convert strings to long doubles.
3955 /*#define HAS_STRTOLD /**/
3958 * This symbol, if defined, indicates that the strtoll routine is
3959 * available to convert strings to long longs.
3961 /*#define HAS_STRTOLL /**/
3964 * This symbol, if defined, indicates that the strtoq routine is
3965 * available to convert strings to long longs (quads).
3967 /*#define HAS_STRTOQ /**/
3970 * This symbol, if defined, indicates that the strtoull routine is
3971 * available to convert strings to unsigned long longs.
3973 /*#define HAS_STRTOULL /**/
3976 * This symbol, if defined, indicates that the strtouq routine is
3977 * available to convert strings to unsigned long longs (quads).
3979 /*#define HAS_STRTOUQ /**/
3981 /* HAS_SYSCALL_PROTO:
3982 * This symbol, if defined, indicates that the system provides
3983 * a prototype for the syscall() function. Otherwise, it is up
3984 * to the program to supply one. Good guesses are
3985 * extern int syscall(int, ...);
3986 * extern int syscall(long, ...);
3988 /*#define HAS_SYSCALL_PROTO /**/
3990 /* HAS_TELLDIR_PROTO:
3991 * This symbol, if defined, indicates that the system provides
3992 * a prototype for the telldir() function. Otherwise, it is up
3993 * to the program to supply one. A good guess is
3994 * extern long telldir(DIR*);
3996 #define HAS_TELLDIR_PROTO /**/
3999 * This symbol, if defined, indicates that the ctime64 () routine is
4000 * available to do the 64bit variant of ctime ()
4003 * This symbol, if defined, indicates that the localtime64 () routine is
4004 * available to do the 64bit variant of localtime ()
4007 * This symbol, if defined, indicates that the gmtime64 () routine is
4008 * available to do the 64bit variant of gmtime ()
4011 * This symbol, if defined, indicates that the mktime64 () routine is
4012 * available to do the 64bit variant of mktime ()
4015 * This symbol, if defined, indicates that the difftime64 () routine is
4016 * available to do the 64bit variant of difftime ()
4019 * This symbol, if defined, indicates that the asctime64 () routine is
4020 * available to do the 64bit variant of asctime ()
4022 /*#define HAS_CTIME64 /**/
4023 /*#define HAS_LOCALTIME64 /**/
4024 /*#define HAS_GMTIME64 /**/
4025 /*#define HAS_MKTIME64 /**/
4026 /*#define HAS_DIFFTIME64 /**/
4027 /*#define HAS_ASCTIME64 /**/
4030 * This symbol, if defined, indicates that the timegm routine is
4031 * available to do the opposite of gmtime ()
4033 /*#define HAS_TIMEGM /**/
4035 /* U32_ALIGNMENT_REQUIRED:
4036 * This symbol, if defined, indicates that you must access
4037 * character data through U32-aligned pointers.
4039 #ifndef U32_ALIGNMENT_REQUIRED
4040 #define U32_ALIGNMENT_REQUIRED /**/
4044 * This symbol, if defined, indicates that the ualarm routine is
4045 * available to do alarms with microsecond granularity.
4047 /*#define HAS_UALARM /**/
4050 * This symbol, if defined, indicates that the unordered routine is
4051 * available to check whether two doubles are unordered
4052 * (effectively: whether either of them is NaN)
4054 /*#define HAS_UNORDERED /**/
4057 * This symbol, if defined, indicates that the unsetenv () routine is
4058 * available for use.
4060 /*#define HAS_UNSETENV /**/
4062 /* HAS_USLEEP_PROTO:
4063 * This symbol, if defined, indicates that the system provides
4064 * a prototype for the usleep() function. Otherwise, it is up
4065 * to the program to supply one. A good guess is
4066 * extern int usleep(useconds_t);
4068 /*#define HAS_USLEEP_PROTO /**/
4071 * This symbol, if defined, indicates that the ustat system call is
4072 * available to query file system statistics by dev_t.
4074 /*#define HAS_USTAT /**/
4077 * This symbol, if defined, indicates that the writev routine is
4078 * available to do scatter writes.
4080 /*#define HAS_WRITEV /**/
4082 /* USE_DYNAMIC_LOADING:
4083 * This symbol, if defined, indicates that dynamic loading of
4084 * some sort is available.
4086 #define USE_DYNAMIC_LOADING /**/
4089 * This symbol, if defined, tells that fflush(NULL) does flush
4090 * all pending stdio output.
4093 * This symbol, if defined, tells that to flush
4094 * all pending stdio output one must loop through all
4095 * the stdio file handles stored in an array and fflush them.
4096 * Note that if fflushNULL is defined, fflushall will not
4097 * even be probed for and will be left undefined.
4099 #define FFLUSH_NULL /**/
4100 /*#define FFLUSH_ALL /**/
4103 * This symbol, if defined, indicates that <assert.h> exists and
4104 * could be included by the C program to get the assert() macro.
4106 #define I_ASSERT /**/
4109 * This symbol, if defined, indicates that <crypt.h> exists and
4110 * should be included.
4112 /*#define I_CRYPT /**/
4115 * This symbol contains the type of the prefix structure element
4116 * in the <db.h> header file. In older versions of DB, it was
4117 * int, while in newer ones it is u_int32_t.
4120 * This symbol contains the type of the prefix structure element
4121 * in the <db.h> header file. In older versions of DB, it was
4122 * int, while in newer ones it is size_t.
4124 /* DB_VERSION_MAJOR_CFG:
4125 * This symbol, if defined, defines the major version number of
4126 * Berkeley DB found in the <db.h> header when Perl was configured.
4128 /* DB_VERSION_MINOR_CFG:
4129 * This symbol, if defined, defines the minor version number of
4130 * Berkeley DB found in the <db.h> header when Perl was configured.
4131 * For DB version 1 this is always 0.
4133 /* DB_VERSION_PATCH_CFG:
4134 * This symbol, if defined, defines the patch version number of
4135 * Berkeley DB found in the <db.h> header when Perl was configured.
4136 * For DB version 1 this is always 0.
4138 #define DB_Hash_t int /**/
4139 #define DB_Prefix_t int /**/
4140 #define DB_VERSION_MAJOR_CFG 0 /**/
4141 #define DB_VERSION_MINOR_CFG 0 /**/
4142 #define DB_VERSION_PATCH_CFG 0 /**/
4145 * This symbol, if defined, indicates that <fp.h> exists and
4146 * should be included.
4151 * This symbol, if defined, indicates that <fp_class.h> exists and
4152 * should be included.
4154 /*#define I_FP_CLASS /**/
4157 * This symbol, if defined, indicates that <ieeefp.h> exists and
4158 * should be included.
4160 /*#define I_IEEEFP /**/
4163 * This symbol, if defined, indicates to the C program that it should
4164 * include <inttypes.h>.
4166 /*#define I_INTTYPES /**/
4169 * This symbol, if defined, indicates that <langinfo.h> exists and
4170 * should be included.
4172 /*#define I_LANGINFO /**/
4175 * This symbol, if defined, indicates that <libutil.h> exists and
4176 * should be included.
4178 /*#define I_LIBUTIL /**/
4181 * This symbol, if defined, indicates to the C program that it should
4182 * include <malloc/malloc.h>.
4184 /*#define I_MALLOCMALLOC /**/
4187 * This symbol, if defined, indicates that <mntent.h> exists and
4188 * should be included.
4190 /*#define I_MNTENT /**/
4193 * This symbol, if defined, indicates to the C program that it should
4194 * include <netinet/tcp.h>.
4196 /*#define I_NETINET_TCP /**/
4199 * This symbol, if defined, indicates that <poll.h> exists and
4200 * should be included. (see also HAS_POLL)
4202 /*#define I_POLL /**/
4205 * This symbol, if defined, indicates that <prot.h> exists and
4206 * should be included.
4208 /*#define I_PROT /**/
4211 * This symbol, if defined, indicates that <shadow.h> exists and
4212 * should be included.
4214 /*#define I_SHADOW /**/
4217 * This symbol, if defined, indicates that <socks.h> exists and
4218 * should be included.
4220 /*#define I_SOCKS /**/
4223 * This symbol, if defined, indicates that <sunmath.h> exists and
4224 * should be included.
4226 /*#define I_SUNMATH /**/
4229 * This symbol, if defined, indicates that <syslog.h> exists and
4230 * should be included.
4232 /*#define I_SYSLOG /**/
4235 * This symbol, if defined, indicates that <sys/mode.h> exists and
4236 * should be included.
4238 /*#define I_SYSMODE /**/
4241 * This symbol, if defined, indicates that <sys/mount.h> exists and
4242 * should be included.
4244 /*#define I_SYS_MOUNT /**/
4247 * This symbol, if defined, indicates that <sys/statfs.h> exists.
4249 /*#define I_SYS_STATFS /**/
4252 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
4253 * should be included.
4255 /*#define I_SYS_STATVFS /**/
4258 * This symbol, if defined, indicates that <sys/utsname.h> exists and
4259 * should be included.
4261 /*#define I_SYSUTSNAME /**/
4264 * This symbol, if defined, indicates that <sys/vfs.h> exists and
4265 * should be included.
4267 /*#define I_SYS_VFS /**/
4270 * This symbol, if defined, indicates that <ustat.h> exists and
4271 * should be included.
4273 /*#define I_USTAT /**/
4276 * This symbol, if defined, contains the string used by stdio to
4277 * format long doubles (format 'f') for output.
4280 * This symbol, if defined, contains the string used by stdio to
4281 * format long doubles (format 'g') for output.
4284 * This symbol, if defined, contains the string used by stdio to
4285 * format long doubles (format 'e') for output.
4288 * This symbol, if defined, contains the string used by stdio to
4289 * format long doubles (format 'f') for input.
4291 /*#define PERL_PRIfldbl "f" /**/
4292 /*#define PERL_PRIgldbl "g" /**/
4293 /*#define PERL_PRIeldbl "e" /**/
4294 /*#define PERL_SCNfldbl "f" /**/
4297 * This symbol, if defined, indicates that the Misc Attribution
4298 * Declaration code should be conditionally compiled.
4300 /*#define PERL_MAD /**/
4303 * This symbol, if defined, indicates that the system stores
4304 * the variable argument list datatype, va_list, in a format
4305 * that cannot be copied by simple assignment, so that some
4306 * other means must be used when copying is required.
4307 * As such systems vary in their provision (or non-provision)
4308 * of copying mechanisms, handy.h defines a platform-
4309 * independent macro, Perl_va_copy(src, dst), to do the job.
4311 /*#define NEED_VA_COPY /**/
4314 * This symbol defines the C type used for Perl's IV.
4317 * This symbol defines the C type used for Perl's UV.
4320 * This symbol defines the C type used for Perl's I8.
4323 * This symbol defines the C type used for Perl's U8.
4326 * This symbol defines the C type used for Perl's I16.
4329 * This symbol defines the C type used for Perl's U16.
4332 * This symbol defines the C type used for Perl's I32.
4335 * This symbol defines the C type used for Perl's U32.
4338 * This symbol defines the C type used for Perl's I64.
4341 * This symbol defines the C type used for Perl's U64.
4344 * This symbol defines the C type used for Perl's NV.
4347 * This symbol contains the sizeof(IV).
4350 * This symbol contains the sizeof(UV).
4353 * This symbol contains the sizeof(I8).
4356 * This symbol contains the sizeof(U8).
4359 * This symbol contains the sizeof(I16).
4362 * This symbol contains the sizeof(U16).
4365 * This symbol contains the sizeof(I32).
4368 * This symbol contains the sizeof(U32).
4371 * This symbol contains the sizeof(I64).
4374 * This symbol contains the sizeof(U64).
4377 * This symbol contains the sizeof(NV).
4380 * This symbol, if defined, indicates that a variable of type NVTYPE
4381 * can preserve all the bits of a variable of type UVTYPE.
4383 /* NV_PRESERVES_UV_BITS:
4384 * This symbol contains the number of bits a variable of type NVTYPE
4385 * can preserve of a variable of type UVTYPE.
4387 /* NV_OVERFLOWS_INTEGERS_AT:
4388 * This symbol gives the largest integer value that NVs can hold. This
4389 * value + 1.0 cannot be stored accurately. It is expressed as constant
4390 * floating point expression to reduce the chance of decimale/binary
4391 * conversion issues. If it can not be determined, the value 0 is given.
4393 /* NV_ZERO_IS_ALLBITS_ZERO:
4394 * This symbol, if defined, indicates that a variable of type NVTYPE
4395 * stores 0.0 in memory as all bits zero.
4397 #define IVTYPE long /**/
4398 #define UVTYPE unsigned long /**/
4399 #define I8TYPE char /**/
4400 #define U8TYPE unsigned char /**/
4401 #define I16TYPE short /**/
4402 #define U16TYPE unsigned short /**/
4403 #define I32TYPE long /**/
4404 #define U32TYPE unsigned long /**/
4407 # define I64TYPE long long /**/
4408 # define U64TYPE unsigned long long /**/
4410 # define I64TYPE __int64 /**/
4411 # define U64TYPE unsigned __int64 /**/
4414 #define NVTYPE double /**/
4415 #define IVSIZE 4 /**/
4416 #define UVSIZE 4 /**/
4417 #define I8SIZE 1 /**/
4418 #define U8SIZE 1 /**/
4419 #define I16SIZE 2 /**/
4420 #define U16SIZE 2 /**/
4421 #define I32SIZE 4 /**/
4422 #define U32SIZE 4 /**/
4424 #define I64SIZE 8 /**/
4425 #define U64SIZE 8 /**/
4427 #define NVSIZE 8 /**/
4428 #define NV_PRESERVES_UV
4429 #define NV_PRESERVES_UV_BITS 32
4430 #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
4431 #define NV_ZERO_IS_ALLBITS_ZERO
4434 # if BYTEORDER == 0x1234
4436 # define BYTEORDER 0x12345678
4438 # if BYTEORDER == 0x4321
4440 # define BYTEORDER 0x87654321
4447 * This symbol defines the format string used for printing a Perl IV
4448 * as a signed decimal integer.
4451 * This symbol defines the format string used for printing a Perl UV
4452 * as an unsigned decimal integer.
4455 * This symbol defines the format string used for printing a Perl UV
4456 * as an unsigned octal integer.
4459 * This symbol defines the format string used for printing a Perl UV
4460 * as an unsigned hexadecimal integer in lowercase abcdef.
4463 * This symbol defines the format string used for printing a Perl UV
4464 * as an unsigned hexadecimal integer in uppercase ABCDEF.
4467 * This symbol defines the format string used for printing a Perl NV
4468 * using %e-ish floating point format.
4471 * This symbol defines the format string used for printing a Perl NV
4472 * using %f-ish floating point format.
4475 * This symbol defines the format string used for printing a Perl NV
4476 * using %g-ish floating point format.
4478 #define IVdf "ld" /**/
4479 #define UVuf "lu" /**/
4480 #define UVof "lo" /**/
4481 #define UVxf "lx" /**/
4482 #define UVXf "lX" /**/
4483 #define NVef "e" /**/
4484 #define NVff "f" /**/
4485 #define NVgf "g" /**/
4488 * This symbol holds the minimum number of bits operated by select.
4489 * That is, if you do select(n, ...), how many bits at least will be
4490 * cleared in the masks if some activity is detected. Usually this
4491 * is either n or 32*ceil(n/32), especially many little-endians do
4492 * the latter. This is only useful if you have select(), naturally.
4494 #define SELECT_MIN_BITS 32 /**/
4497 * This variable contains the string to put in front of a perl
4498 * script to make sure (one hopes) that it runs with perl and not
4501 #define STARTPERL "#!perl" /**/
4503 /* HAS_STDIO_STREAM_ARRAY:
4504 * This symbol, if defined, tells that there is an array
4505 * holding the stdio streams.
4507 /* STDIO_STREAM_ARRAY:
4508 * This symbol tells the name of the array holding the stdio streams.
4509 * Usual values include _iob, __iob, and __sF.
4511 /*#define HAS_STDIO_STREAM_ARRAY /**/
4512 #ifdef HAS_STDIO_STREAM_ARRAY
4513 #define STDIO_STREAM_ARRAY
4517 * This symbol contains the maximum value for the time_t offset that
4518 * the system function gmtime () accepts, and defaults to 0
4521 * This symbol contains the minimum value for the time_t offset that
4522 * the system function gmtime () accepts, and defaults to 0
4525 * This symbol contains the maximum value for the time_t offset that
4526 * the system function localtime () accepts, and defaults to 0
4529 * This symbol contains the minimum value for the time_t offset that
4530 * the system function localtime () accepts, and defaults to 0
4532 #define GMTIME_MAX 2147483647 /**/
4533 #define GMTIME_MIN 0 /**/
4534 #define LOCALTIME_MAX 2147483647 /**/
4535 #define LOCALTIME_MIN 0 /**/
4538 * This symbol, if defined, indicates that 64-bit integers should
4539 * be used when available. If not defined, the native integers
4540 * will be employed (be they 32 or 64 bits). The minimal possible
4541 * 64-bitness is used, just enough to get 64-bit integers into Perl.
4542 * This may mean using for example "long longs", while your memory
4543 * may still be limited to 2 gigabytes.
4546 * This symbol, if defined, indicates that 64-bit integers should
4547 * be used when available. If not defined, the native integers
4548 * will be used (be they 32 or 64 bits). The maximal possible
4549 * 64-bitness is employed: LP64 or ILP64, meaning that you will
4550 * be able to use more than 2 gigabytes of memory. This mode is
4551 * even more binary incompatible than USE_64_BIT_INT. You may not
4552 * be able to run the resulting executable in a 32-bit CPU at all or
4553 * you may need at least to reboot your OS to 64-bit mode.
4555 #ifndef USE_64_BIT_INT
4556 /*#define USE_64_BIT_INT /**/
4558 #ifndef USE_64_BIT_ALL
4559 /*#define USE_64_BIT_ALL /**/
4563 * This symbol, if defined, indicates that Perl should
4564 * be built with support for DTrace.
4566 /*#define USE_DTRACE /**/
4569 * This symbol, if defined, indicates that Perl should
4570 * be built to use 'fast stdio'.
4571 * Defaults to define in Perls 5.8 and earlier, to undef later.
4573 #ifndef USE_FAST_STDIO
4574 /*#define USE_FAST_STDIO /**/
4578 * This symbol, if defined, indicates that large file support
4579 * should be used when available.
4581 #ifndef USE_LARGE_FILES
4582 /*#define USE_LARGE_FILES /**/
4586 * This symbol, if defined, indicates that long doubles should
4587 * be used when available.
4589 #ifndef USE_LONG_DOUBLE
4590 /*#define USE_LONG_DOUBLE /**/
4594 * This symbol, if defined, indicates that 64-bit interfaces and
4595 * long doubles should be used when available.
4597 #ifndef USE_MORE_BITS
4598 /*#define USE_MORE_BITS /**/
4602 * This symbol, if defined, indicates that Perl should
4603 * be built to use multiplicity.
4605 #ifndef MULTIPLICITY
4606 /*#define MULTIPLICITY /**/
4610 * This symbol, if defined, indicates that the PerlIO abstraction should
4611 * be used throughout. If not defined, stdio should be
4612 * used in a fully backward compatible manner.
4615 /*#define USE_PERLIO /**/
4619 * This symbol, if defined, indicates that Perl should
4620 * be built to use socks.
4623 /*#define USE_SOCKS /**/