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:19:23 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 /**/
111 * This symbol, if defined, indicates that the dup2 routine is
112 * available to duplicate file descriptors.
114 #define HAS_DUP2 /**/
117 * This symbol, if defined, indicates that the fchmod routine is available
118 * to change mode of opened files. If unavailable, use chmod().
120 /*#define HAS_FCHMOD /**/
123 * This symbol, if defined, indicates that the fchown routine is available
124 * to change ownership of opened files. If unavailable, use chown().
126 /*#define HAS_FCHOWN /**/
129 * This symbol, if defined, indicates to the C program that
130 * the fcntl() function exists.
132 /*#define HAS_FCNTL /**/
135 * This symbol, if defined, indicates that the fgetpos routine is
136 * available to get the file position indicator, similar to ftell().
138 #define HAS_FGETPOS /**/
141 * This symbol, if defined, indicates that the flock routine is
142 * available to do file locking.
144 #define HAS_FLOCK /**/
147 * This symbol, if defined, indicates that the fork routine is
150 /*#define HAS_FORK /**/
153 * This symbol, if defined, indicates that the fsetpos routine is
154 * available to set the file position indicator, similar to fseek().
156 #define HAS_FSETPOS /**/
159 * This symbol, if defined, indicates that the gettimeofday() system
160 * call is available for a sub-second accuracy clock. Usually, the file
161 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
162 * The type "Timeval" should be used to refer to "struct timeval".
164 #define HAS_GETTIMEOFDAY /**/
165 #ifdef HAS_GETTIMEOFDAY
166 #define Timeval struct timeval /* Structure used by gettimeofday() */
170 * This symbol, if defined, indicates that the getgroups() routine is
171 * available to get the list of process groups. If unavailable, multiple
172 * groups are probably not supported.
174 /*#define HAS_GETGROUPS /**/
177 * This symbol, if defined, indicates that the getlogin routine is
178 * available to get the login name.
180 #define HAS_GETLOGIN /**/
183 * This symbol, if defined, indicates to the C program that
184 * the getpgid(pid) function is available to get the
187 /*#define HAS_GETPGID /**/
190 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
191 * routine is available to get the current process group.
193 /*#define HAS_GETPGRP2 /**/
196 * This symbol, if defined, indicates that the getppid routine is
197 * available to get the parent process ID.
199 /*#define HAS_GETPPID /**/
202 * This symbol, if defined, indicates that the getpriority routine is
203 * available to get a process's priority.
205 /*#define HAS_GETPRIORITY /**/
208 * This symbol, if defined, indicates to the C program that the
209 * inet_aton() function is available to parse IP address "dotted-quad"
212 /*#define HAS_INET_ATON /**/
215 * This symbol, if defined, indicates that the killpg routine is available
216 * to kill process groups. If unavailable, you probably should use kill
217 * with a negative process number.
219 #define HAS_KILLPG /**/
222 * This symbol, if defined, indicates that the link routine is
223 * available to create hard links.
225 #define HAS_LINK /**/
228 * This symbol, if defined, indicates that the localeconv routine is
229 * available for numeric and monetary formatting conventions.
231 #define HAS_LOCALECONV /**/
234 * This symbol, if defined, indicates that the lockf routine is
235 * available to do file locking.
237 /*#define HAS_LOCKF /**/
240 * This symbol, if defined, indicates that the lstat routine is
241 * available to do file stats on symbolic links.
243 /*#define HAS_LSTAT /**/
246 * This symbol, if defined, indicates that the mblen routine is available
247 * to find the number of bytes in a multibye character.
249 #define HAS_MBLEN /**/
252 * This symbol, if defined, indicates that the mbstowcs routine is
253 * available to covert a multibyte string into a wide character string.
255 #define HAS_MBSTOWCS /**/
258 * This symbol, if defined, indicates that the mbtowc routine is available
259 * to covert a multibyte to a wide character.
261 #define HAS_MBTOWC /**/
264 * This symbol, if defined, indicates that the memcmp routine is available
265 * to compare blocks of memory.
267 #define HAS_MEMCMP /**/
270 * This symbol, if defined, indicates that the memcpy routine is available
271 * to copy blocks of memory.
273 #define HAS_MEMCPY /**/
276 * This symbol, if defined, indicates that the memmove routine is available
277 * to copy potentially overlapping blocks of memory. This should be used
278 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
281 #define HAS_MEMMOVE /**/
284 * This symbol, if defined, indicates that the memset routine is available
285 * to set blocks of memory.
287 #define HAS_MEMSET /**/
290 * This symbol, if defined, indicates that the mkdir routine is available
291 * to create directories. Otherwise you should fork off a new process to
294 #define HAS_MKDIR /**/
297 * This symbol, if defined, indicates that the mkfifo routine is
298 * available to create FIFOs. Otherwise, mknod should be able to
299 * do it for you. However, if mkfifo is there, mknod might require
300 * super-user privileges which mkfifo will not.
302 /*#define HAS_MKFIFO /**/
305 * This symbol, if defined, indicates that the mktime routine is
308 #define HAS_MKTIME /**/
311 * This symbol, if defined, indicates that the msync system call is
312 * available to synchronize a mapped file.
314 /*#define HAS_MSYNC /**/
317 * This symbol, if defined, indicates that the munmap system call is
318 * available to unmap a region, usually mapped by mmap().
320 /*#define HAS_MUNMAP /**/
323 * This symbol, if defined, indicates that the nice routine is
326 /*#define HAS_NICE /**/
329 * This symbol, if defined, indicates that pathconf() is available
330 * to determine file-system related limits and options associated
331 * with a given filename.
334 * This symbol, if defined, indicates that pathconf() is available
335 * to determine file-system related limits and options associated
336 * with a given open file descriptor.
338 /*#define HAS_PATHCONF /**/
339 /*#define HAS_FPATHCONF /**/
342 * This symbol, if defined, indicates that the pause routine is
343 * available to suspend a process until a signal is received.
345 #define HAS_PAUSE /**/
348 * This symbol, if defined, indicates that the pipe routine is
349 * available to create an inter-process channel.
351 #define HAS_PIPE /**/
354 * This symbol, if defined, indicates that the poll routine is
355 * available to poll active file descriptors. Please check I_POLL and
356 * I_SYS_POLL to know which header should be included as well.
358 /*#define HAS_POLL /**/
361 * This symbol, if defined, indicates that the readdir routine is
362 * available to read directory entries. You may have to include
363 * <dirent.h>. See I_DIRENT.
365 #define HAS_READDIR /**/
368 * This symbol, if defined, indicates that the seekdir routine is
369 * available. You may have to include <dirent.h>. See I_DIRENT.
371 #define HAS_SEEKDIR /**/
374 * This symbol, if defined, indicates that the telldir routine is
375 * available. You may have to include <dirent.h>. See I_DIRENT.
377 #define HAS_TELLDIR /**/
380 * This symbol, if defined, indicates that the rewinddir routine is
381 * available. You may have to include <dirent.h>. See I_DIRENT.
383 #define HAS_REWINDDIR /**/
386 * This symbol, if defined, indicates that the readlink routine is
387 * available to read the value of a symbolic link.
389 /*#define HAS_READLINK /**/
392 * This symbol, if defined, indicates that the rename routine is available
393 * to rename files. Otherwise you should do the unlink(), link(), unlink()
396 #define HAS_RENAME /**/
399 * This symbol, if defined, indicates that the rmdir routine is
400 * available to remove directories. Otherwise you should fork off a
401 * new process to exec /bin/rmdir.
403 #define HAS_RMDIR /**/
406 * This symbol, if defined, indicates that the select routine is
407 * available to select active file descriptors. If the timeout field
408 * is used, <sys/time.h> may need to be included.
410 #define HAS_SELECT /**/
413 * This symbol, if defined, indicates that the setegid routine is available
414 * to change the effective gid of the current program.
416 /*#define HAS_SETEGID /**/
419 * This symbol, if defined, indicates that the seteuid routine is available
420 * to change the effective uid of the current program.
422 /*#define HAS_SETEUID /**/
425 * This symbol, if defined, indicates that the setgroups() routine is
426 * available to set the list of process groups. If unavailable, multiple
427 * groups are probably not supported.
429 /*#define HAS_SETGROUPS /**/
432 * This symbol, if defined, indicates that the setlinebuf routine is
433 * available to change stderr or stdout from block-buffered or unbuffered
434 * to a line-buffered mode.
436 /*#define HAS_SETLINEBUF /**/
439 * This symbol, if defined, indicates that the setlocale routine is
440 * available to handle locale-specific ctype implementations.
442 #define HAS_SETLOCALE /**/
445 * This symbol, if defined, indicates that the setpgid(pid, gpid)
446 * routine is available to set process group ID.
448 /*#define HAS_SETPGID /**/
451 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
452 * routine is available to set the current process group.
454 /*#define HAS_SETPGRP2 /**/
457 * This symbol, if defined, indicates that the setpriority routine is
458 * available to set a process's priority.
460 /*#define HAS_SETPRIORITY /**/
463 * This symbol, if defined, indicates that the setregid routine is
464 * available to change the real and effective gid of the current
468 * This symbol, if defined, indicates that the setresgid routine is
469 * available to change the real, effective and saved gid of the current
472 /*#define HAS_SETREGID /**/
473 /*#define HAS_SETRESGID /**/
476 * This symbol, if defined, indicates that the setreuid routine is
477 * available to change the real and effective uid of the current
481 * This symbol, if defined, indicates that the setresuid routine is
482 * available to change the real, effective and saved uid of the current
485 /*#define HAS_SETREUID /**/
486 /*#define HAS_SETRESUID /**/
489 * This symbol, if defined, indicates that the setrgid routine is available
490 * to change the real gid of the current program.
492 /*#define HAS_SETRGID /**/
495 * This symbol, if defined, indicates that the setruid routine is available
496 * to change the real uid of the current program.
498 /*#define HAS_SETRUID /**/
501 * This symbol, if defined, indicates that the setsid routine is
502 * available to set the process group ID.
504 /*#define HAS_SETSID /**/
507 * This symbol is defined to indicate that the strchr()/strrchr()
508 * functions are available for string searching. If not, try the
509 * index()/rindex() pair.
512 * This symbol is defined to indicate that the index()/rindex()
513 * functions are available for string searching.
515 #define HAS_STRCHR /**/
516 /*#define HAS_INDEX /**/
519 * This symbol, if defined, indicates that the strcoll routine is
520 * available to compare strings using collating information.
522 #define HAS_STRCOLL /**/
525 * This symbol, if defined, indicates that the strtod routine is
526 * available to provide better numeric string conversion than atof().
528 #define HAS_STRTOD /**/
531 * This symbol, if defined, indicates that the strtol routine is available
532 * to provide better numeric string conversion than atoi() and friends.
534 #define HAS_STRTOL /**/
537 * This symbol, if defined, indicates that the strxfrm() routine is
538 * available to transform strings.
540 #define HAS_STRXFRM /**/
543 * This symbol, if defined, indicates that the symlink routine is available
544 * to create symbolic links.
546 /*#define HAS_SYMLINK /**/
549 * This symbol, if defined, indicates that the syscall routine is
550 * available to call arbitrary system calls. If undefined, that's tough.
552 /*#define HAS_SYSCALL /**/
555 * This symbol, if defined, indicates that sysconf() is available
556 * to determine system related limits and options.
558 /*#define HAS_SYSCONF /**/
561 * This symbol, if defined, indicates that the system routine is
562 * available to issue a shell command.
564 #define HAS_SYSTEM /**/
567 * This symbol, if defined, indicates that the tcgetpgrp routine is
568 * available to get foreground process group ID.
570 /*#define HAS_TCGETPGRP /**/
573 * This symbol, if defined, indicates that the tcsetpgrp routine is
574 * available to set foreground process group ID.
576 /*#define HAS_TCSETPGRP /**/
579 * This symbol, if defined, indicates that the truncate routine is
580 * available to truncate files.
582 /*#define HAS_TRUNCATE /**/
585 * This symbol, if defined, indicates that the tzname[] array is
586 * available to access timezone names.
588 #define HAS_TZNAME /**/
591 * This symbol, if defined, indicates that the umask routine is
592 * available to set and get the value of the file creation mask.
594 #define HAS_UMASK /**/
597 * This symbol, if defined, indicates that the usleep routine is
598 * available to let the process sleep on a sub-second accuracy.
600 /*#define HAS_USLEEP /**/
603 * This symbol, if defined, indicates that wait4() exists.
605 /*#define HAS_WAIT4 /**/
608 * This symbol, if defined, indicates that the waitpid routine is
609 * available to wait for child process.
611 #define HAS_WAITPID /**/
614 * This symbol, if defined, indicates that the wcstombs routine is
615 * available to convert wide character strings to multibyte strings.
617 #define HAS_WCSTOMBS /**/
620 * This symbol, if defined, indicates that the wctomb routine is available
621 * to covert a wide character to a multibyte.
623 #define HAS_WCTOMB /**/
626 * This symbol holds the type used for the second argument to
627 * getgroups() and setgroups(). Usually, this is the same as
628 * gidtype (gid_t) , but sometimes it isn't.
629 * It can be int, ushort, gid_t, etc...
630 * It may be necessary to include <sys/types.h> to get any
631 * typedef'ed information. This is only required if you have
632 * getgroups() or setgroups()..
634 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
635 #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
639 * This symbol, if defined, indicates to the C program that it should
640 * include <arpa/inet.h> to get inet_addr and friends declarations.
642 #define I_ARPA_INET /**/
645 * This symbol, if defined, indicates that <dbm.h> exists and should
649 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
650 * should be included.
653 #define I_RPCSVC_DBM /**/
656 * This symbol, if defined, indicates that <dlfcn.h> exists and should
662 * This manifest constant tells the C program to include <fcntl.h>.
667 * This symbol, if defined, indicates to the C program that it should
668 * include <float.h> to get definition of symbols like DBL_MAX or
669 * DBL_MIN, i.e. machine dependent floating point values.
674 * This symbol, if defined, indicates that <gdbm.h> exists and should
677 /*#define I_GDBM /**/
680 * This symbol, if defined, indicates to the C program that it should
681 * include <limits.h> to get definition of symbols like WORD_BIT or
682 * LONG_MAX, i.e. machine dependant limitations.
684 #define I_LIMITS /**/
687 * This symbol, if defined, indicates to the C program that it should
688 * include <locale.h>.
690 #define I_LOCALE /**/
693 * This symbol, if defined, indicates to the C program that it should
699 * This symbol, if defined, indicates to the C program that it should
700 * include <memory.h>.
702 /*#define I_MEMORY /**/
705 * This symbol, if defined, indicates to the C program that it should
706 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
708 /*#define I_NETINET_IN /**/
711 * This symbol, if defined, indicates to the C program that it should
714 /*#define I_SFIO /**/
717 * This symbol, if defined, indicates that <stddef.h> exists and should
720 #define I_STDDEF /**/
723 * This symbol, if defined, indicates that <stdlib.h> exists and should
726 #define I_STDLIB /**/
729 * This symbol, if defined, indicates to the C program that it should
730 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
732 #define I_STRING /**/
735 * This symbol, if defined, indicates to the C program that it should
736 * include <sys/dir.h>.
738 /*#define I_SYS_DIR /**/
741 * This symbol, if defined, indicates to the C program that it should
742 * include <sys/file.h> to get definition of R_OK and friends.
744 /*#define I_SYS_FILE /**/
747 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
748 * be included. Otherwise, include <sgtty.h> or <termio.h>.
751 * This symbol, if defined, indicates the <sys/sockio.h> should be included
752 * to get socket ioctl options, like SIOCATMARK.
754 /*#define I_SYS_IOCTL /**/
755 /*#define I_SYS_SOCKIO /**/
758 * This symbol, if defined, indicates to the C program that it should
759 * include <sys/ndir.h>.
761 /*#define I_SYS_NDIR /**/
764 * This symbol, if defined, indicates to the C program that it should
765 * include <sys/param.h>.
767 /*#define I_SYS_PARAM /**/
770 * This symbol, if defined, indicates that the program may include
771 * <sys/poll.h>. When I_POLL is also defined, it's probably safest
772 * to only include <poll.h>.
774 /*#define I_SYS_POLL /**/
777 * This symbol, if defined, indicates to the C program that it should
778 * include <sys/resource.h>.
780 /*#define I_SYS_RESOURCE /**/
783 * This symbol, if defined, indicates to the C program that it should
784 * include <sys/select.h> in order to get definition of struct timeval.
786 /*#define I_SYS_SELECT /**/
789 * This symbol, if defined, indicates to the C program that it should
790 * include <sys/stat.h>.
792 #define I_SYS_STAT /**/
795 * This symbol, if defined, indicates to the C program that it should
796 * include <sys/times.h>.
798 /*#define I_SYS_TIMES /**/
801 * This symbol, if defined, indicates to the C program that it should
802 * include <sys/types.h>.
804 #define I_SYS_TYPES /**/
807 * This symbol, if defined, indicates to the C program that it should
808 * include <sys/un.h> to get UNIX domain socket definitions.
810 /*#define I_SYS_UN /**/
813 * This symbol, if defined, indicates to the C program that it should
814 * include <sys/wait.h>.
816 /*#define I_SYS_WAIT /**/
819 * This symbol, if defined, indicates that the program should include
820 * <termio.h> rather than <sgtty.h>. There are also differences in
821 * the ioctl() calls that depend on the value of this symbol.
824 * This symbol, if defined, indicates that the program should include
825 * the POSIX termios.h rather than sgtty.h or termio.h.
826 * There are also differences in the ioctl() calls that depend on the
827 * value of this symbol.
830 * This symbol, if defined, indicates that the program should include
831 * <sgtty.h> rather than <termio.h>. There are also differences in
832 * the ioctl() calls that depend on the value of this symbol.
834 /*#define I_TERMIO /**/
835 /*#define I_TERMIOS /**/
836 /*#define I_SGTTY /**/
839 * This symbol, if defined, indicates to the C program that it should
840 * include <unistd.h>.
842 /*#define I_UNISTD /**/
845 * This symbol, if defined, indicates to the C program that it should
851 * This symbol, if defined, indicates to the C program that it should
852 * include <values.h> to get definition of symbols like MINFLOAT or
853 * MAXLONG, i.e. machine dependant limitations. Probably, you
854 * should use <limits.h> instead, if it is available.
856 /*#define I_VALUES /**/
859 * This symbol, if defined, indicates to the C program that it should
862 /*#define I_VFORK /**/
865 * This symbol contains the value of sizeof(int) so that the C
866 * preprocessor can make decisions based on it.
869 * This symbol contains the value of sizeof(long) so that the C
870 * preprocessor can make decisions based on it.
873 * This symbol contains the value of sizeof(short) so that the C
874 * preprocessor can make decisions based on it.
876 #define INTSIZE 4 /**/
877 #define LONGSIZE 4 /**/
878 #define SHORTSIZE 2 /**/
881 * This symbol, if defined, signifies that the build
882 * process will produce some binary files that are going to be
883 * used in a cross-platform environment. This is the case for
884 * example with the NeXT "fat" binaries that contain executables
887 /*#define MULTIARCH /**/
890 * This symbol, if defined, tells that there's a 64-bit integer type,
891 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
892 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, QUAD_IS_INT64_T
893 * or QUAD_IS___INT64.
895 #define HAS_QUAD /**/
898 # define Quad_t __int64 /**/
899 # define Uquad_t unsigned __int64 /**/
900 # define QUADKIND 5 /**/
901 # else /* gcc presumably */
902 # define Quad_t long long /**/
903 # define Uquad_t unsigned long long /**/
904 # define QUADKIND 3 /**/
906 # define QUAD_IS_INT 1
907 # define QUAD_IS_LONG 2
908 # define QUAD_IS_LONG_LONG 3
909 # define QUAD_IS_INT64_T 4
910 # define QUAD_IS___INT64 5
914 * This symbol contains the name of the operating system, as determined
915 * by Configure. You shouldn't rely on it too much; the specific
916 * feature tests from Configure are generally more reliable.
919 * This symbol contains the version of the operating system, as determined
920 * by Configure. You shouldn't rely on it too much; the specific
921 * feature tests from Configure are generally more reliable.
923 #define OSNAME "MSWin32" /**/
924 #define OSVERS "5.1" /**/
927 * This variable, if defined, holds the name of the directory in
928 * which the user wants to put architecture-dependent public
929 * library files for perl5. It is most often a local directory
930 * such as /usr/local/lib. Programs using this variable must be
931 * prepared to deal with filename expansion. If ARCHLIB is the
932 * same as PRIVLIB, it is not defined, since presumably the
933 * program already searches PRIVLIB.
936 * This symbol contains the ~name expanded version of ARCHLIB, to be used
937 * in programs that are not prepared to deal with ~ expansion at run-time.
939 #define ARCHLIB "c:\\perl\\lib" /**/
940 /*#define ARCHLIB_EXP "" /**/
943 * This symbol holds a string representing the architecture name.
944 * It may be used to construct an architecture-dependant pathname
945 * where library files may be held under a private library, for
948 #define ARCHNAME "MSWin32-x64" /**/
951 * This symbol holds the path of the bin directory where the package will
952 * be installed. Program must be prepared to deal with ~name substitution.
955 * This symbol is the filename expanded version of the BIN symbol, for
956 * programs that do not want to deal with that at run-time.
958 /* PERL_RELOCATABLE_INC:
959 * This symbol, if defined, indicates that we'd like to relocate entries
960 * in @INC at run time based on the location of the perl binary.
962 #define BIN "c:\\perl\\bin" /**/
963 #define BIN_EXP "c:\\perl\\bin" /**/
964 #define PERL_RELOCATABLE_INC "undef" /**/
967 * This macro concatenates 2 tokens together.
970 * This macro surrounds its token with double quotes.
973 #define CAT2(a,b) a/**/b
974 #define STRINGIFY(a) "a"
977 #define PeRl_CaTiFy(a, b) a ## b
978 #define PeRl_StGiFy(a) #a
979 #define CAT2(a,b) PeRl_CaTiFy(a,b)
980 #define StGiFy(a) PeRl_StGiFy(a)
981 #define STRINGIFY(a) PeRl_StGiFy(a)
983 #if 42 != 1 && 42 != 42
984 #include "Bletch: How does this C preprocessor concatenate tokens?"
988 * This symbol contains the first part of the string which will invoke
989 * the C preprocessor on the standard input and produce to standard
990 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
991 * call a wrapper. See CPPRUN.
994 * This symbol contains the second part of the string which will invoke
995 * the C preprocessor on the standard input and produce to standard
996 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
997 * to specify standard input, otherwise the value is "".
1000 * This symbol contains the string which will invoke a C preprocessor on
1001 * the standard input and produce to standard output. It needs to end
1002 * with CPPLAST, after all other preprocessor flags have been specified.
1003 * The main difference with CPPSTDIN is that this program will never be a
1004 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1005 * available directly to the user. Note that it may well be different from
1006 * the preprocessor used to compile the C program.
1009 * This symbol is intended to be used along with CPPRUN in the same manner
1010 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1013 # define CPPSTDIN "cppstdin"
1014 # define CPPMINUS ""
1015 # define CPPRUN "cl -nologo -E"
1017 # define CPPSTDIN "gcc -E"
1018 # define CPPMINUS "-"
1019 # define CPPRUN "gcc -E"
1024 * This manifest constant lets the C program know that the access()
1025 * system call is available to check for accessibility using real UID/GID.
1026 * (always present on UNIX.)
1028 #define HAS_ACCESS /**/
1031 * This symbol, if defined, indicates that the accessx routine is
1032 * available to do extended access checks.
1034 /*#define HAS_ACCESSX /**/
1037 * This symbol, if defined, indicates that the asctime_r routine
1038 * is available to asctime re-entrantly.
1041 * This symbol encodes the prototype of asctime_r.
1042 * It is zero if d_asctime_r is undef, and one of the
1043 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1046 /*#define HAS_ASCTIME_R /**/
1047 #define ASCTIME_R_PROTO 0 /**/
1049 /* HASATTRIBUTE_FORMAT:
1050 * Can we handle GCC attribute for checking printf-style formats
1052 /* PRINTF_FORMAT_NULL_OK:
1053 * Allows __printf__ format to be null when checking printf-style
1055 /* HASATTRIBUTE_MALLOC:
1056 * Can we handle GCC attribute for malloc-style functions.
1058 /* HASATTRIBUTE_NONNULL:
1059 * Can we handle GCC attribute for nonnull function parms.
1061 /* HASATTRIBUTE_NORETURN:
1062 * Can we handle GCC attribute for functions that do not return
1064 /* HASATTRIBUTE_PURE:
1065 * Can we handle GCC attribute for pure functions
1067 /* HASATTRIBUTE_UNUSED:
1068 * Can we handle GCC attribute for unused variables and arguments
1070 /* HASATTRIBUTE_DEPRECATED:
1071 * Can we handle GCC attribute for marking deprecated APIs
1073 /* HASATTRIBUTE_WARN_UNUSED_RESULT:
1074 * Can we handle GCC attribute for warning on unused results
1076 /*#define HASATTRIBUTE_DEPRECATED /**/
1077 /*#define HASATTRIBUTE_FORMAT /**/
1078 /*#define PRINTF_FORMAT_NULL_OK /**/
1079 /*#define HASATTRIBUTE_NORETURN /**/
1080 /*#define HASATTRIBUTE_MALLOC /**/
1081 /*#define HASATTRIBUTE_NONNULL /**/
1082 /*#define HASATTRIBUTE_PURE /**/
1083 /*#define HASATTRIBUTE_UNUSED /**/
1084 /*#define HASATTRIBUTE_WARN_UNUSED_RESULT /**/
1087 * This symbol, if defined, indicates that this C compiler knows about
1088 * the const type. There is no need to actually test for that symbol
1089 * within your programs. The mere use of the "const" keyword will
1090 * trigger the necessary tests.
1092 #define HASCONST /**/
1098 * This symbol, if defined, indicates that the crypt_r routine
1099 * is available to crypt re-entrantly.
1102 * This symbol encodes the prototype of crypt_r.
1103 * It is zero if d_crypt_r is undef, and one of the
1104 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1107 /*#define HAS_CRYPT_R /**/
1108 #define CRYPT_R_PROTO 0 /**/
1111 * This symbol, if defined, indicates that the C-shell exists.
1114 * This symbol, if defined, contains the full pathname of csh.
1116 /*#define HAS_CSH /**/
1122 * This symbol, if defined, indicates that the ctermid_r routine
1123 * is available to ctermid re-entrantly.
1126 * This symbol encodes the prototype of ctermid_r.
1127 * It is zero if d_ctermid_r is undef, and one of the
1128 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
1131 /*#define HAS_CTERMID_R /**/
1132 #define CTERMID_R_PROTO 0 /**/
1135 * This symbol, if defined, indicates that the ctime_r routine
1136 * is available to ctime re-entrantly.
1139 * This symbol encodes the prototype of ctime_r.
1140 * It is zero if d_ctime_r is undef, and one of the
1141 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1144 /*#define HAS_CTIME_R /**/
1145 #define CTIME_R_PROTO 0 /**/
1148 * This symbol, if defined, indicates that the drand48_r routine
1149 * is available to drand48 re-entrantly.
1152 * This symbol encodes the prototype of drand48_r.
1153 * It is zero if d_drand48_r is undef, and one of the
1154 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1157 /*#define HAS_DRAND48_R /**/
1158 #define DRAND48_R_PROTO 0 /**/
1160 /* HAS_DRAND48_PROTO:
1161 * This symbol, if defined, indicates that the system provides
1162 * a prototype for the drand48() function. Otherwise, it is up
1163 * to the program to supply one. A good guess is
1164 * extern double drand48(void);
1166 /*#define HAS_DRAND48_PROTO /**/
1169 * This symbol, if defined, indicates that the eaccess routine is
1170 * available to do extended access checks.
1172 /*#define HAS_EACCESS /**/
1175 * This symbol, if defined, indicates that the getgrent routine is
1176 * available for finalizing sequential access of the group database.
1178 /*#define HAS_ENDGRENT /**/
1181 * This symbol, if defined, indicates that the endgrent_r routine
1182 * is available to endgrent re-entrantly.
1184 /* ENDGRENT_R_PROTO:
1185 * This symbol encodes the prototype of endgrent_r.
1186 * It is zero if d_endgrent_r is undef, and one of the
1187 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1190 /*#define HAS_ENDGRENT_R /**/
1191 #define ENDGRENT_R_PROTO 0 /**/
1194 * This symbol, if defined, indicates that the endhostent() routine is
1195 * available to close whatever was being used for host queries.
1197 /*#define HAS_ENDHOSTENT /**/
1199 /* HAS_ENDHOSTENT_R:
1200 * This symbol, if defined, indicates that the endhostent_r routine
1201 * is available to endhostent re-entrantly.
1203 /* ENDHOSTENT_R_PROTO:
1204 * This symbol encodes the prototype of endhostent_r.
1205 * It is zero if d_endhostent_r is undef, and one of the
1206 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
1209 /*#define HAS_ENDHOSTENT_R /**/
1210 #define ENDHOSTENT_R_PROTO 0 /**/
1213 * This symbol, if defined, indicates that the endnetent() routine is
1214 * available to close whatever was being used for network queries.
1216 /*#define HAS_ENDNETENT /**/
1219 * This symbol, if defined, indicates that the endnetent_r routine
1220 * is available to endnetent re-entrantly.
1222 /* ENDNETENT_R_PROTO:
1223 * This symbol encodes the prototype of endnetent_r.
1224 * It is zero if d_endnetent_r is undef, and one of the
1225 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
1228 /*#define HAS_ENDNETENT_R /**/
1229 #define ENDNETENT_R_PROTO 0 /**/
1232 * This symbol, if defined, indicates that the endprotoent() routine is
1233 * available to close whatever was being used for protocol queries.
1235 /*#define HAS_ENDPROTOENT /**/
1237 /* HAS_ENDPROTOENT_R:
1238 * This symbol, if defined, indicates that the endprotoent_r routine
1239 * is available to endprotoent re-entrantly.
1241 /* ENDPROTOENT_R_PROTO:
1242 * This symbol encodes the prototype of endprotoent_r.
1243 * It is zero if d_endprotoent_r is undef, and one of the
1244 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
1247 /*#define HAS_ENDPROTOENT_R /**/
1248 #define ENDPROTOENT_R_PROTO 0 /**/
1251 * This symbol, if defined, indicates that the getgrent routine is
1252 * available for finalizing sequential access of the passwd database.
1254 /*#define HAS_ENDPWENT /**/
1257 * This symbol, if defined, indicates that the endpwent_r routine
1258 * is available to endpwent re-entrantly.
1260 /* ENDPWENT_R_PROTO:
1261 * This symbol encodes the prototype of endpwent_r.
1262 * It is zero if d_endpwent_r is undef, and one of the
1263 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1266 /*#define HAS_ENDPWENT_R /**/
1267 #define ENDPWENT_R_PROTO 0 /**/
1270 * This symbol, if defined, indicates that the endservent() routine is
1271 * available to close whatever was being used for service queries.
1273 /*#define HAS_ENDSERVENT /**/
1275 /* HAS_ENDSERVENT_R:
1276 * This symbol, if defined, indicates that the endservent_r routine
1277 * is available to endservent re-entrantly.
1279 /* ENDSERVENT_R_PROTO:
1280 * This symbol encodes the prototype of endservent_r.
1281 * It is zero if d_endservent_r is undef, and one of the
1282 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
1285 /*#define HAS_ENDSERVENT_R /**/
1286 #define ENDSERVENT_R_PROTO 0 /**/
1289 * This symbol, if defined, indicates that the system supports filenames
1290 * longer than 14 characters.
1292 #define FLEXFILENAMES /**/
1295 * This symbol, if defined, indicates that the getgrent routine is
1296 * available for sequential access of the group database.
1298 /*#define HAS_GETGRENT /**/
1301 * This symbol, if defined, indicates that the getgrent_r routine
1302 * is available to getgrent re-entrantly.
1304 /* GETGRENT_R_PROTO:
1305 * This symbol encodes the prototype of getgrent_r.
1306 * It is zero if d_getgrent_r is undef, and one of the
1307 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1310 /*#define HAS_GETGRENT_R /**/
1311 #define GETGRENT_R_PROTO 0 /**/
1314 * This symbol, if defined, indicates that the getgrgid_r routine
1315 * is available to getgrgid re-entrantly.
1317 /* GETGRGID_R_PROTO:
1318 * This symbol encodes the prototype of getgrgid_r.
1319 * It is zero if d_getgrgid_r is undef, and one of the
1320 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1323 /*#define HAS_GETGRGID_R /**/
1324 #define GETGRGID_R_PROTO 0 /**/
1327 * This symbol, if defined, indicates that the getgrnam_r routine
1328 * is available to getgrnam re-entrantly.
1330 /* GETGRNAM_R_PROTO:
1331 * This symbol encodes the prototype of getgrnam_r.
1332 * It is zero if d_getgrnam_r is undef, and one of the
1333 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1336 /*#define HAS_GETGRNAM_R /**/
1337 #define GETGRNAM_R_PROTO 0 /**/
1339 /* HAS_GETHOSTBYADDR:
1340 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1341 * available to look up hosts by their IP addresses.
1343 #define HAS_GETHOSTBYADDR /**/
1345 /* HAS_GETHOSTBYNAME:
1346 * This symbol, if defined, indicates that the gethostbyname() routine is
1347 * available to look up host names in some data base or other.
1349 #define HAS_GETHOSTBYNAME /**/
1352 * This symbol, if defined, indicates that the gethostent() routine is
1353 * available to look up host names in some data base or another.
1355 /*#define HAS_GETHOSTENT /**/
1358 * This symbol, if defined, indicates that the C program may use the
1359 * gethostname() routine to derive the host name. See also HAS_UNAME
1363 * This symbol, if defined, indicates that the C program may use the
1364 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1368 * This symbol, if defined, indicates the command to feed to the
1369 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1370 * and HAS_UNAME. Note that the command uses a fully qualified path,
1371 * so that it is safe even if used by a process with super-user
1375 * This symbol, if defined, indicates that the C program may use the
1376 * contents of PHOSTNAME as a command to feed to the popen() routine
1377 * to derive the host name.
1379 #define HAS_GETHOSTNAME /**/
1380 #define HAS_UNAME /**/
1381 /*#define HAS_PHOSTNAME /**/
1382 #ifdef HAS_PHOSTNAME
1383 #define PHOSTNAME "" /* How to get the host name */
1386 /* HAS_GETHOSTBYADDR_R:
1387 * This symbol, if defined, indicates that the gethostbyaddr_r routine
1388 * is available to gethostbyaddr re-entrantly.
1390 /* GETHOSTBYADDR_R_PROTO:
1391 * This symbol encodes the prototype of gethostbyaddr_r.
1392 * It is zero if d_gethostbyaddr_r is undef, and one of the
1393 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
1396 /*#define HAS_GETHOSTBYADDR_R /**/
1397 #define GETHOSTBYADDR_R_PROTO 0 /**/
1399 /* HAS_GETHOSTBYNAME_R:
1400 * This symbol, if defined, indicates that the gethostbyname_r routine
1401 * is available to gethostbyname re-entrantly.
1403 /* GETHOSTBYNAME_R_PROTO:
1404 * This symbol encodes the prototype of gethostbyname_r.
1405 * It is zero if d_gethostbyname_r is undef, and one of the
1406 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
1409 /*#define HAS_GETHOSTBYNAME_R /**/
1410 #define GETHOSTBYNAME_R_PROTO 0 /**/
1412 /* HAS_GETHOSTENT_R:
1413 * This symbol, if defined, indicates that the gethostent_r routine
1414 * is available to gethostent re-entrantly.
1416 /* GETHOSTENT_R_PROTO:
1417 * This symbol encodes the prototype of gethostent_r.
1418 * It is zero if d_gethostent_r is undef, and one of the
1419 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
1422 /*#define HAS_GETHOSTENT_R /**/
1423 #define GETHOSTENT_R_PROTO 0 /**/
1425 /* HAS_GETHOST_PROTOS:
1426 * This symbol, if defined, indicates that <netdb.h> includes
1427 * prototypes for gethostent(), gethostbyname(), and
1428 * gethostbyaddr(). Otherwise, it is up to the program to guess
1429 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1431 #define HAS_GETHOST_PROTOS /**/
1434 * This symbol, if defined, indicates that the getlogin_r routine
1435 * is available to getlogin re-entrantly.
1437 /* GETLOGIN_R_PROTO:
1438 * This symbol encodes the prototype of getlogin_r.
1439 * It is zero if d_getlogin_r is undef, and one of the
1440 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1443 /*#define HAS_GETLOGIN_R /**/
1444 #define GETLOGIN_R_PROTO 0 /**/
1446 /* HAS_GETNETBYADDR:
1447 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1448 * available to look up networks by their IP addresses.
1450 /*#define HAS_GETNETBYADDR /**/
1452 /* HAS_GETNETBYNAME:
1453 * This symbol, if defined, indicates that the getnetbyname() routine is
1454 * available to look up networks by their names.
1456 /*#define HAS_GETNETBYNAME /**/
1459 * This symbol, if defined, indicates that the getnetent() routine is
1460 * available to look up network names in some data base or another.
1462 /*#define HAS_GETNETENT /**/
1464 /* HAS_GETNETBYADDR_R:
1465 * This symbol, if defined, indicates that the getnetbyaddr_r routine
1466 * is available to getnetbyaddr re-entrantly.
1468 /* GETNETBYADDR_R_PROTO:
1469 * This symbol encodes the prototype of getnetbyaddr_r.
1470 * It is zero if d_getnetbyaddr_r is undef, and one of the
1471 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
1474 /*#define HAS_GETNETBYADDR_R /**/
1475 #define GETNETBYADDR_R_PROTO 0 /**/
1477 /* HAS_GETNETBYNAME_R:
1478 * This symbol, if defined, indicates that the getnetbyname_r routine
1479 * is available to getnetbyname re-entrantly.
1481 /* GETNETBYNAME_R_PROTO:
1482 * This symbol encodes the prototype of getnetbyname_r.
1483 * It is zero if d_getnetbyname_r is undef, and one of the
1484 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
1487 /*#define HAS_GETNETBYNAME_R /**/
1488 #define GETNETBYNAME_R_PROTO 0 /**/
1491 * This symbol, if defined, indicates that the getnetent_r routine
1492 * is available to getnetent re-entrantly.
1494 /* GETNETENT_R_PROTO:
1495 * This symbol encodes the prototype of getnetent_r.
1496 * It is zero if d_getnetent_r is undef, and one of the
1497 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
1500 /*#define HAS_GETNETENT_R /**/
1501 #define GETNETENT_R_PROTO 0 /**/
1503 /* HAS_GETNET_PROTOS:
1504 * This symbol, if defined, indicates that <netdb.h> includes
1505 * prototypes for getnetent(), getnetbyname(), and
1506 * getnetbyaddr(). Otherwise, it is up to the program to guess
1507 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1509 /*#define HAS_GETNET_PROTOS /**/
1512 * This symbol, if defined, indicates that the getprotoent() routine is
1513 * available to look up protocols in some data base or another.
1515 /*#define HAS_GETPROTOENT /**/
1518 * This symbol, if defined, indicates that the getpgrp routine is
1519 * available to get the current process group.
1522 * This symbol, if defined, indicates that getpgrp needs one
1523 * arguments whereas USG one needs none.
1525 /*#define HAS_GETPGRP /**/
1526 /*#define USE_BSD_GETPGRP /**/
1528 /* HAS_GETPROTOBYNAME:
1529 * This symbol, if defined, indicates that the getprotobyname()
1530 * routine is available to look up protocols by their name.
1532 /* HAS_GETPROTOBYNUMBER:
1533 * This symbol, if defined, indicates that the getprotobynumber()
1534 * routine is available to look up protocols by their number.
1536 #define HAS_GETPROTOBYNAME /**/
1537 #define HAS_GETPROTOBYNUMBER /**/
1539 /* HAS_GETPROTOBYNAME_R:
1540 * This symbol, if defined, indicates that the getprotobyname_r routine
1541 * is available to getprotobyname re-entrantly.
1543 /* GETPROTOBYNAME_R_PROTO:
1544 * This symbol encodes the prototype of getprotobyname_r.
1545 * It is zero if d_getprotobyname_r is undef, and one of the
1546 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
1549 /*#define HAS_GETPROTOBYNAME_R /**/
1550 #define GETPROTOBYNAME_R_PROTO 0 /**/
1552 /* HAS_GETPROTOBYNUMBER_R:
1553 * This symbol, if defined, indicates that the getprotobynumber_r routine
1554 * is available to getprotobynumber re-entrantly.
1556 /* GETPROTOBYNUMBER_R_PROTO:
1557 * This symbol encodes the prototype of getprotobynumber_r.
1558 * It is zero if d_getprotobynumber_r is undef, and one of the
1559 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
1562 /*#define HAS_GETPROTOBYNUMBER_R /**/
1563 #define GETPROTOBYNUMBER_R_PROTO 0 /**/
1565 /* HAS_GETPROTOENT_R:
1566 * This symbol, if defined, indicates that the getprotoent_r routine
1567 * is available to getprotoent re-entrantly.
1569 /* GETPROTOENT_R_PROTO:
1570 * This symbol encodes the prototype of getprotoent_r.
1571 * It is zero if d_getprotoent_r is undef, and one of the
1572 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
1575 /*#define HAS_GETPROTOENT_R /**/
1576 #define GETPROTOENT_R_PROTO 0 /**/
1578 /* HAS_GETPROTO_PROTOS:
1579 * This symbol, if defined, indicates that <netdb.h> includes
1580 * prototypes for getprotoent(), getprotobyname(), and
1581 * getprotobyaddr(). Otherwise, it is up to the program to guess
1582 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1584 #define HAS_GETPROTO_PROTOS /**/
1587 * This symbol, if defined, indicates that the getpwent routine is
1588 * available for sequential access of the passwd database.
1589 * If this is not available, the older getpw() function may be available.
1591 /*#define HAS_GETPWENT /**/
1594 * This symbol, if defined, indicates that the getpwent_r routine
1595 * is available to getpwent re-entrantly.
1597 /* GETPWENT_R_PROTO:
1598 * This symbol encodes the prototype of getpwent_r.
1599 * It is zero if d_getpwent_r is undef, and one of the
1600 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1603 /*#define HAS_GETPWENT_R /**/
1604 #define GETPWENT_R_PROTO 0 /**/
1607 * This symbol, if defined, indicates that the getpwnam_r routine
1608 * is available to getpwnam re-entrantly.
1610 /* GETPWNAM_R_PROTO:
1611 * This symbol encodes the prototype of getpwnam_r.
1612 * It is zero if d_getpwnam_r is undef, and one of the
1613 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1616 /*#define HAS_GETPWNAM_R /**/
1617 #define GETPWNAM_R_PROTO 0 /**/
1620 * This symbol, if defined, indicates that the getpwuid_r routine
1621 * is available to getpwuid re-entrantly.
1623 /* GETPWUID_R_PROTO:
1624 * This symbol encodes the prototype of getpwuid_r.
1625 * It is zero if d_getpwuid_r is undef, and one of the
1626 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1629 /*#define HAS_GETPWUID_R /**/
1630 #define GETPWUID_R_PROTO 0 /**/
1633 * This symbol, if defined, indicates that the getservent() routine is
1634 * available to look up network services in some data base or another.
1636 /*#define HAS_GETSERVENT /**/
1638 /* HAS_GETSERVBYNAME_R:
1639 * This symbol, if defined, indicates that the getservbyname_r routine
1640 * is available to getservbyname re-entrantly.
1642 /* GETSERVBYNAME_R_PROTO:
1643 * This symbol encodes the prototype of getservbyname_r.
1644 * It is zero if d_getservbyname_r is undef, and one of the
1645 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
1648 /*#define HAS_GETSERVBYNAME_R /**/
1649 #define GETSERVBYNAME_R_PROTO 0 /**/
1651 /* HAS_GETSERVBYPORT_R:
1652 * This symbol, if defined, indicates that the getservbyport_r routine
1653 * is available to getservbyport re-entrantly.
1655 /* GETSERVBYPORT_R_PROTO:
1656 * This symbol encodes the prototype of getservbyport_r.
1657 * It is zero if d_getservbyport_r is undef, and one of the
1658 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
1661 /*#define HAS_GETSERVBYPORT_R /**/
1662 #define GETSERVBYPORT_R_PROTO 0 /**/
1664 /* HAS_GETSERVENT_R:
1665 * This symbol, if defined, indicates that the getservent_r routine
1666 * is available to getservent re-entrantly.
1668 /* GETSERVENT_R_PROTO:
1669 * This symbol encodes the prototype of getservent_r.
1670 * It is zero if d_getservent_r is undef, and one of the
1671 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
1674 /*#define HAS_GETSERVENT_R /**/
1675 #define GETSERVENT_R_PROTO 0 /**/
1677 /* HAS_GETSERV_PROTOS:
1678 * This symbol, if defined, indicates that <netdb.h> includes
1679 * prototypes for getservent(), getservbyname(), and
1680 * getservbyaddr(). Otherwise, it is up to the program to guess
1681 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1683 #define HAS_GETSERV_PROTOS /**/
1686 * This symbol, if defined, indicates that the getspnam_r routine
1687 * is available to getspnam re-entrantly.
1689 /* GETSPNAM_R_PROTO:
1690 * This symbol encodes the prototype of getspnam_r.
1691 * It is zero if d_getspnam_r is undef, and one of the
1692 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1695 /*#define HAS_GETSPNAM_R /**/
1696 #define GETSPNAM_R_PROTO 0 /**/
1698 /* HAS_GETSERVBYNAME:
1699 * This symbol, if defined, indicates that the getservbyname()
1700 * routine is available to look up services by their name.
1702 /* HAS_GETSERVBYPORT:
1703 * This symbol, if defined, indicates that the getservbyport()
1704 * routine is available to look up services by their port.
1706 #define HAS_GETSERVBYNAME /**/
1707 #define HAS_GETSERVBYPORT /**/
1710 * This symbol, if defined, indicates that the gmtime_r routine
1711 * is available to gmtime re-entrantly.
1714 * This symbol encodes the prototype of gmtime_r.
1715 * It is zero if d_gmtime_r is undef, and one of the
1716 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1719 /*#define HAS_GMTIME_R /**/
1720 #define GMTIME_R_PROTO 0 /**/
1723 * This symbol, if defined, indicates that the htonl() routine (and
1724 * friends htons() ntohl() ntohs()) are available to do network
1725 * order byte swapping.
1728 * This symbol, if defined, indicates that the htons() routine (and
1729 * friends htonl() ntohl() ntohs()) are available to do network
1730 * order byte swapping.
1733 * This symbol, if defined, indicates that the ntohl() routine (and
1734 * friends htonl() htons() ntohs()) are available to do network
1735 * order byte swapping.
1738 * This symbol, if defined, indicates that the ntohs() routine (and
1739 * friends htonl() htons() ntohl()) are available to do network
1740 * order byte swapping.
1742 #define HAS_HTONL /**/
1743 #define HAS_HTONS /**/
1744 #define HAS_NTOHL /**/
1745 #define HAS_NTOHS /**/
1748 * This symbol, if defined, indicates that the localtime_r routine
1749 * is available to localtime re-entrantly.
1751 /* LOCALTIME_R_NEEDS_TZSET:
1752 * Many libc's localtime_r implementations do not call tzset,
1753 * making them differ from localtime(), and making timezone
1754 * changes using \undef{TZ} without explicitly calling tzset
1755 * impossible. This symbol makes us call tzset before localtime_r
1757 /*#define LOCALTIME_R_NEEDS_TZSET /**/
1758 #ifdef LOCALTIME_R_NEEDS_TZSET
1759 #define L_R_TZSET tzset(),
1764 /* LOCALTIME_R_PROTO:
1765 * This symbol encodes the prototype of localtime_r.
1766 * It is zero if d_localtime_r is undef, and one of the
1767 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1770 /*#define HAS_LOCALTIME_R /**/
1771 #define LOCALTIME_R_PROTO 0 /**/
1774 * This symbol will be defined if the C compiler supports long
1778 * This symbol contains the size of a long double, so that the
1779 * C preprocessor can make decisions based on it. It is only
1780 * defined if the system supports long doubles.
1782 #define HAS_LONG_DOUBLE /**/
1783 #ifdef HAS_LONG_DOUBLE
1785 # define LONG_DOUBLESIZE 8 /**/
1787 # define LONG_DOUBLESIZE 12 /**/
1792 * This symbol will be defined if the C compiler supports long long.
1795 * This symbol contains the size of a long long, so that the
1796 * C preprocessor can make decisions based on it. It is only
1797 * defined if the system supports long long.
1800 # define HAS_LONG_LONG /**/
1802 #ifdef HAS_LONG_LONG
1803 #define LONGLONGSIZE 8 /**/
1807 * This symbol, if defined, indicates that the system provides
1808 * a prototype for the lseek() function. Otherwise, it is up
1809 * to the program to supply one. A good guess is
1810 * extern off_t lseek(int, off_t, int);
1812 #define HAS_LSEEK_PROTO /**/
1815 * This symbol, if defined, indicates that the memchr routine is available
1816 * to locate characters within a C string.
1818 #define HAS_MEMCHR /**/
1821 * This symbol, if defined, indicates that the mkstemp routine is
1822 * available to exclusively create and open a uniquely named
1825 /*#define HAS_MKSTEMP /**/
1828 * This symbol, if defined, indicates that the mmap system call is
1829 * available to map a file into memory.
1832 * This symbol holds the return type of the mmap() system call
1833 * (and simultaneously the type of the first argument).
1834 * Usually set to 'void *' or 'caddr_t'.
1836 /*#define HAS_MMAP /**/
1837 #define Mmap_t void * /**/
1840 * This symbol, if defined, indicates that the entire msg*(2) library is
1841 * supported (IPC mechanism based on message queues).
1843 /*#define HAS_MSG /**/
1845 /* OLD_PTHREAD_CREATE_JOINABLE:
1846 * This symbol, if defined, indicates how to create pthread
1847 * in joinable (aka undetached) state. NOTE: not defined
1848 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1849 * (the new version of the constant).
1850 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1853 /*#define OLD_PTHREAD_CREATE_JOINABLE /**/
1855 /* HAS_PTHREAD_ATFORK:
1856 * This symbol, if defined, indicates that the pthread_atfork routine
1857 * is available to setup fork handlers.
1859 /*#define HAS_PTHREAD_ATFORK /**/
1861 /* HAS_PTHREAD_YIELD:
1862 * This symbol, if defined, indicates that the pthread_yield
1863 * routine is available to yield the execution of the current
1864 * thread. sched_yield is preferable to pthread_yield.
1867 * This symbol defines the way to yield the execution of
1868 * the current thread. Known ways are sched_yield,
1869 * pthread_yield, and pthread_yield with NULL.
1872 * This symbol, if defined, indicates that the sched_yield
1873 * routine is available to yield the execution of the current
1874 * thread. sched_yield is preferable to pthread_yield.
1876 /*#define HAS_PTHREAD_YIELD /**/
1877 #define SCHED_YIELD /**/
1878 /*#define HAS_SCHED_YIELD /**/
1881 * This symbol, if defined, indicates that the random_r routine
1882 * is available to random re-entrantly.
1885 * This symbol encodes the prototype of random_r.
1886 * It is zero if d_random_r is undef, and one of the
1887 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
1890 /*#define HAS_RANDOM_R /**/
1891 #define RANDOM_R_PROTO 0 /**/
1894 * This symbol, if defined, indicates that the readdir64_r routine
1895 * is available to readdir64 re-entrantly.
1897 /* READDIR64_R_PROTO:
1898 * This symbol encodes the prototype of readdir64_r.
1899 * It is zero if d_readdir64_r is undef, and one of the
1900 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
1903 /*#define HAS_READDIR64_R /**/
1904 #define READDIR64_R_PROTO 0 /**/
1907 * This symbol, if defined, indicates that the readdir_r routine
1908 * is available to readdir re-entrantly.
1911 * This symbol encodes the prototype of readdir_r.
1912 * It is zero if d_readdir_r is undef, and one of the
1913 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
1916 /*#define HAS_READDIR_R /**/
1917 #define READDIR_R_PROTO 0 /**/
1920 * This symbol, if defined, indicates that the entire sem*(2) library is
1923 /*#define HAS_SEM /**/
1926 * This symbol, if defined, indicates that the setgrent routine is
1927 * available for initializing sequential access of the group database.
1929 /*#define HAS_SETGRENT /**/
1932 * This symbol, if defined, indicates that the setgrent_r routine
1933 * is available to setgrent re-entrantly.
1935 /* SETGRENT_R_PROTO:
1936 * This symbol encodes the prototype of setgrent_r.
1937 * It is zero if d_setgrent_r is undef, and one of the
1938 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
1941 /*#define HAS_SETGRENT_R /**/
1942 #define SETGRENT_R_PROTO 0 /**/
1945 * This symbol, if defined, indicates that the sethostent() routine is
1948 /*#define HAS_SETHOSTENT /**/
1950 /* HAS_SETHOSTENT_R:
1951 * This symbol, if defined, indicates that the sethostent_r routine
1952 * is available to sethostent re-entrantly.
1954 /* SETHOSTENT_R_PROTO:
1955 * This symbol encodes the prototype of sethostent_r.
1956 * It is zero if d_sethostent_r is undef, and one of the
1957 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
1960 /*#define HAS_SETHOSTENT_R /**/
1961 #define SETHOSTENT_R_PROTO 0 /**/
1964 * This symbol, if defined, indicates that the setlocale_r routine
1965 * is available to setlocale re-entrantly.
1967 /* SETLOCALE_R_PROTO:
1968 * This symbol encodes the prototype of setlocale_r.
1969 * It is zero if d_setlocale_r is undef, and one of the
1970 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
1973 /*#define HAS_SETLOCALE_R /**/
1974 #define SETLOCALE_R_PROTO 0 /**/
1977 * This symbol, if defined, indicates that the setnetent() routine is
1980 /*#define HAS_SETNETENT /**/
1983 * This symbol, if defined, indicates that the setnetent_r routine
1984 * is available to setnetent re-entrantly.
1986 /* SETNETENT_R_PROTO:
1987 * This symbol encodes the prototype of setnetent_r.
1988 * It is zero if d_setnetent_r is undef, and one of the
1989 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
1992 /*#define HAS_SETNETENT_R /**/
1993 #define SETNETENT_R_PROTO 0 /**/
1996 * This symbol, if defined, indicates that the setprotoent() routine is
1999 /*#define HAS_SETPROTOENT /**/
2002 * This symbol, if defined, indicates that the setpgrp routine is
2003 * available to set the current process group.
2006 * This symbol, if defined, indicates that setpgrp needs two
2007 * arguments whereas USG one needs none. See also HAS_SETPGID
2008 * for a POSIX interface.
2010 /*#define HAS_SETPGRP /**/
2011 /*#define USE_BSD_SETPGRP /**/
2013 /* HAS_SETPROTOENT_R:
2014 * This symbol, if defined, indicates that the setprotoent_r routine
2015 * is available to setprotoent re-entrantly.
2017 /* SETPROTOENT_R_PROTO:
2018 * This symbol encodes the prototype of setprotoent_r.
2019 * It is zero if d_setprotoent_r is undef, and one of the
2020 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
2023 /*#define HAS_SETPROTOENT_R /**/
2024 #define SETPROTOENT_R_PROTO 0 /**/
2027 * This symbol, if defined, indicates that the setpwent routine is
2028 * available for initializing sequential access of the passwd database.
2030 /*#define HAS_SETPWENT /**/
2033 * This symbol, if defined, indicates that the setpwent_r routine
2034 * is available to setpwent re-entrantly.
2036 /* SETPWENT_R_PROTO:
2037 * This symbol encodes the prototype of setpwent_r.
2038 * It is zero if d_setpwent_r is undef, and one of the
2039 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2042 /*#define HAS_SETPWENT_R /**/
2043 #define SETPWENT_R_PROTO 0 /**/
2046 * This symbol, if defined, indicates that the setservent() routine is
2049 /*#define HAS_SETSERVENT /**/
2051 /* HAS_SETSERVENT_R:
2052 * This symbol, if defined, indicates that the setservent_r routine
2053 * is available to setservent re-entrantly.
2055 /* SETSERVENT_R_PROTO:
2056 * This symbol encodes the prototype of setservent_r.
2057 * It is zero if d_setservent_r is undef, and one of the
2058 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
2061 /*#define HAS_SETSERVENT_R /**/
2062 #define SETSERVENT_R_PROTO 0 /**/
2065 * This symbol, if defined, indicates that the setvbuf routine is
2066 * available to change buffering on an open stdio stream.
2067 * to a line-buffered mode.
2069 #define HAS_SETVBUF /**/
2072 * This symbol, if defined, indicates that the entire shm*(2) library is
2075 /*#define HAS_SHM /**/
2078 * This symbol holds the return type of the shmat() system call.
2079 * Usually set to 'void *' or 'char *'.
2081 /* HAS_SHMAT_PROTOTYPE:
2082 * This symbol, if defined, indicates that the sys/shm.h includes
2083 * a prototype for shmat(). Otherwise, it is up to the program to
2084 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
2085 * but not always right so it should be emitted by the program only
2086 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
2088 #define Shmat_t void * /**/
2089 /*#define HAS_SHMAT_PROTOTYPE /**/
2092 * This symbol, if defined, indicates that the BSD socket interface is
2096 * This symbol, if defined, indicates that the BSD socketpair() call is
2100 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2101 * Checking just with #ifdef might not be enough because this symbol
2102 * has been known to be an enum.
2104 /* HAS_MSG_DONTROUTE:
2105 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2106 * Checking just with #ifdef might not be enough because this symbol
2107 * has been known to be an enum.
2110 * This symbol, if defined, indicates that the MSG_OOB is supported.
2111 * Checking just with #ifdef might not be enough because this symbol
2112 * has been known to be an enum.
2115 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2116 * Checking just with #ifdef might not be enough because this symbol
2117 * has been known to be an enum.
2120 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2121 * Checking just with #ifdef might not be enough because this symbol
2122 * has been known to be an enum.
2125 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2126 * Checking just with #ifdef might not be enough because this symbol
2127 * has been known to be an enum.
2129 #define HAS_SOCKET /**/
2130 /*#define HAS_SOCKETPAIR /**/
2131 /*#define HAS_MSG_CTRUNC /**/
2132 /*#define HAS_MSG_DONTROUTE /**/
2133 /*#define HAS_MSG_OOB /**/
2134 /*#define HAS_MSG_PEEK /**/
2135 /*#define HAS_MSG_PROXY /**/
2136 /*#define HAS_SCM_RIGHTS /**/
2139 * This symbol, if defined, indicates that the srand48_r routine
2140 * is available to srand48 re-entrantly.
2143 * This symbol encodes the prototype of srand48_r.
2144 * It is zero if d_srand48_r is undef, and one of the
2145 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2148 /*#define HAS_SRAND48_R /**/
2149 #define SRAND48_R_PROTO 0 /**/
2152 * This symbol, if defined, indicates that the srandom_r routine
2153 * is available to srandom re-entrantly.
2156 * This symbol encodes the prototype of srandom_r.
2157 * It is zero if d_srandom_r is undef, and one of the
2158 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2161 /*#define HAS_SRANDOM_R /**/
2162 #define SRANDOM_R_PROTO 0 /**/
2165 * This symbol is defined if this system has a stat structure declaring
2166 * st_blksize and st_blocks.
2168 #ifndef USE_STAT_BLOCKS
2169 /*#define USE_STAT_BLOCKS /**/
2173 * This symbol, if defined, indicates that this C compiler knows how
2174 * to copy structures. If undefined, you'll need to use a block copy
2175 * routine of some sort instead.
2177 #define USE_STRUCT_COPY /**/
2180 * This symbol, if defined, indicates that the strerror routine is
2181 * available to translate error numbers to strings. See the writeup
2182 * of Strerror() in this file before you try to define your own.
2185 * This symbol, if defined, indicates that the sys_errlist array is
2186 * available to translate error numbers to strings. The extern int
2187 * sys_nerr gives the size of that table.
2190 * This preprocessor symbol is defined as a macro if strerror() is
2191 * not available to translate error numbers to strings but sys_errlist[]
2194 #define HAS_STRERROR /**/
2195 #define HAS_SYS_ERRLIST /**/
2196 #define Strerror(e) strerror(e)
2199 * This symbol, if defined, indicates that the strerror_r routine
2200 * is available to strerror re-entrantly.
2202 /* STRERROR_R_PROTO:
2203 * This symbol encodes the prototype of strerror_r.
2204 * It is zero if d_strerror_r is undef, and one of the
2205 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2208 /*#define HAS_STRERROR_R /**/
2209 #define STRERROR_R_PROTO 0 /**/
2212 * This symbol, if defined, indicates that the strtoul routine is
2213 * available to provide conversion of strings to unsigned long.
2215 #define HAS_STRTOUL /**/
2218 * This symbol, if defined, indicates that the time() routine exists.
2221 * This symbol holds the type returned by time(). It can be long,
2222 * or time_t on BSD sites (in which case <sys/types.h> should be
2225 #define HAS_TIME /**/
2226 #define Time_t time_t /* Time type */
2229 * This symbol, if defined, indicates that the times() routine exists.
2230 * Note that this became obsolete on some systems (SUNOS), which now
2231 * use getrusage(). It may be necessary to include <sys/times.h>.
2233 #define HAS_TIMES /**/
2236 * This symbol, if defined, indicates that the tmpnam_r routine
2237 * is available to tmpnam re-entrantly.
2240 * This symbol encodes the prototype of tmpnam_r.
2241 * It is zero if d_tmpnam_r is undef, and one of the
2242 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2245 /*#define HAS_TMPNAM_R /**/
2246 #define TMPNAM_R_PROTO 0 /**/
2249 * This symbol, if defined, indicates that the ttyname_r routine
2250 * is available to ttyname re-entrantly.
2253 * This symbol encodes the prototype of ttyname_r.
2254 * It is zero if d_ttyname_r is undef, and one of the
2255 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
2258 /*#define HAS_TTYNAME_R /**/
2259 #define TTYNAME_R_PROTO 0 /**/
2262 * This symbol, if defined, indicates that the union semun is
2263 * defined by including <sys/sem.h>. If not, the user code
2264 * probably needs to define it as:
2267 * struct semid_ds *buf;
2268 * unsigned short *array;
2271 /* USE_SEMCTL_SEMUN:
2272 * This symbol, if defined, indicates that union semun is
2273 * used for semctl IPC_STAT.
2275 /* USE_SEMCTL_SEMID_DS:
2276 * This symbol, if defined, indicates that struct semid_ds * is
2277 * used for semctl IPC_STAT.
2279 #define HAS_UNION_SEMUN /**/
2280 /*#define USE_SEMCTL_SEMUN /**/
2281 /*#define USE_SEMCTL_SEMID_DS /**/
2284 * This symbol, if defined, indicates that vfork() exists.
2286 /*#define HAS_VFORK /**/
2289 * This symbol, if defined, indicates that an emulation of the
2290 * fork routine is available.
2292 /*#define HAS_PSEUDOFORK /**/
2295 * This symbol's value is either "void" or "int", corresponding to the
2296 * appropriate return type of a signal handler. Thus, you can declare
2297 * a signal handler using "Signal_t (*handler)()", and define the
2298 * handler using "Signal_t handler(sig)".
2300 #define Signal_t void /* Signal handler's return type */
2303 * This symbol, if defined, indicates that this C compiler knows about
2304 * the volatile declaration.
2306 #define HASVOLATILE /**/
2312 * This symbol holds the type used to declare file positions in libc.
2313 * It can be fpos_t, long, uint, etc... It may be necessary to include
2314 * <sys/types.h> to get any typedef'ed information.
2316 #define Fpos_t fpos_t /* File position type */
2319 * This symbol defines the format string used for printing a Gid_t.
2321 #define Gid_t_f "ld" /**/
2324 * This symbol holds the signedess of a Gid_t.
2325 * 1 for unsigned, -1 for signed.
2327 #define Gid_t_sign -1 /* GID sign */
2330 * This symbol holds the size of a Gid_t in bytes.
2332 #define Gid_t_size 4 /* GID size */
2335 * This symbol holds the return type of getgid() and the type of
2336 * argument to setrgid() and related functions. Typically,
2337 * it is the type of group ids in the kernel. It can be int, ushort,
2338 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2339 * any typedef'ed information.
2341 #define Gid_t gid_t /* Type for getgid(), etc... */
2344 * This symbol, if defined, indicates to the C program that it should
2345 * include <dirent.h>. Using this symbol also triggers the definition
2346 * of the Direntry_t define which ends up being 'struct dirent' or
2347 * 'struct direct' depending on the availability of <dirent.h>.
2350 * This symbol, if defined, indicates to the C program that the length
2351 * of directory entry names is provided by a d_namlen field. Otherwise
2352 * you need to do strlen() on the d_name field.
2355 * This symbol is set to 'struct direct' or 'struct dirent' depending on
2356 * whether dirent is available or not. You should use this pseudo type to
2357 * portably declare your directory entries.
2359 #define I_DIRENT /**/
2360 #define DIRNAMLEN /**/
2361 #define Direntry_t struct direct
2364 * This symbol, if defined, indicates to the C program that it should
2368 * This symbol, if defined, indicates to the C program that struct group
2369 * in <grp.h> contains gr_passwd.
2371 /*#define I_GRP /**/
2372 /*#define GRPASSWD /**/
2375 * This symbol, if defined, indicates to the C program that it should
2376 * include <mach/cthreads.h>.
2378 /*#define I_MACH_CTHREADS /**/
2381 * This symbol, if defined, indicates that <ndbm.h> exists and should
2385 * This symbol, if defined, indicates that <gdbm/ndbm.h> exists and should
2386 * be included. This was the location of the ndbm.h compatibility file
2390 * This symbol, if defined, indicates that <gdbm-ndbm.h> exists and should
2391 * be included. This is the location of the ndbm.h compatibility file
2394 /* NDBM_H_USES_PROTOTYPES:
2395 * This symbol, if defined, indicates that <ndbm.h> uses real ANSI C
2396 * prototypes instead of K&R style function declarations without any
2397 * parameter information. While ANSI C prototypes are supported in C++,
2398 * K&R style function declarations will yield errors.
2400 /* GDBMNDBM_H_USES_PROTOTYPES:
2401 * This symbol, if defined, indicates that <gdbm/ndbm.h> uses real ANSI C
2402 * prototypes instead of K&R style function declarations without any
2403 * parameter information. While ANSI C prototypes are supported in C++,
2404 * K&R style function declarations will yield errors.
2406 /* GDBM_NDBM_H_USES_PROTOTYPES:
2407 * This symbol, if defined, indicates that <gdbm-ndbm.h> uses real ANSI C
2408 * prototypes instead of K&R style function declarations without any
2409 * parameter information. While ANSI C prototypes are supported in C++,
2410 * K&R style function declarations will yield errors.
2412 /*#define I_NDBM /**/
2413 /*#define I_GDBMNDBM /**/
2414 /*#define I_GDBM_NDBM /**/
2415 /*#define NDBM_H_USES_PROTOTYPES /**/
2416 /*#define GDBMNDBM_H_USES_PROTOTYPES /**/
2417 /*#define GDBM_NDBM_H_USES_PROTOTYPES /**/
2420 * This symbol, if defined, indicates that <netdb.h> exists and
2421 * should be included.
2423 /*#define I_NETDB /**/
2426 * This symbol, if defined, indicates that <net/errno.h> exists and
2427 * should be included.
2429 /*#define I_NET_ERRNO /**/
2432 * This symbol, if defined, indicates to the C program that it should
2433 * include <pthread.h>.
2435 /*#define I_PTHREAD /**/
2438 * This symbol, if defined, indicates to the C program that it should
2442 * This symbol, if defined, indicates to the C program that struct passwd
2443 * contains pw_quota.
2446 * This symbol, if defined, indicates to the C program that struct passwd
2450 * This symbol, if defined, indicates to the C program that struct passwd
2451 * contains pw_change.
2454 * This symbol, if defined, indicates to the C program that struct passwd
2455 * contains pw_class.
2458 * This symbol, if defined, indicates to the C program that struct passwd
2459 * contains pw_expire.
2462 * This symbol, if defined, indicates to the C program that struct passwd
2463 * contains pw_comment.
2466 * This symbol, if defined, indicates to the C program that struct passwd
2467 * contains pw_gecos.
2470 * This symbol, if defined, indicates to the C program that struct passwd
2471 * contains pw_passwd.
2473 /*#define I_PWD /**/
2474 /*#define PWQUOTA /**/
2475 /*#define PWAGE /**/
2476 /*#define PWCHANGE /**/
2477 /*#define PWCLASS /**/
2478 /*#define PWEXPIRE /**/
2479 /*#define PWCOMMENT /**/
2480 /*#define PWGECOS /**/
2481 /*#define PWPASSWD /**/
2484 * This symbol, if defined, indicates to the C program that it should
2485 * include <sys/access.h>.
2487 /*#define I_SYS_ACCESS /**/
2490 * This symbol, if defined, indicates to the C program that it should
2491 * include <sys/security.h>.
2493 /*#define I_SYS_SECURITY /**/
2496 * This symbol, if defined, indicates that <sys/uio.h> exists and
2497 * should be included.
2499 /*#define I_SYSUIO /**/
2502 * This symbol, if defined, indicates that <stdarg.h> exists and should
2506 * This symbol, if defined, indicates to the C program that it should
2507 * include <varargs.h>.
2509 #define I_STDARG /**/
2510 /*#define I_VARARGS /**/
2512 /* PERL_INC_VERSION_LIST:
2513 * This variable specifies the list of subdirectories in over
2514 * which perl.c:incpush() and lib/lib.pm will automatically
2515 * search when adding directories to @INC, in a format suitable
2516 * for a C initialization string. See the inc_version_list entry
2517 * in Porting/Glossary for more details.
2519 /*#define PERL_INC_VERSION_LIST 0 /**/
2521 /* INSTALL_USR_BIN_PERL:
2522 * This symbol, if defined, indicates that Perl is to be installed
2523 * also as /usr/bin/perl.
2525 /*#define INSTALL_USR_BIN_PERL /**/
2528 * This symbol holds the type used to declare offsets in the kernel.
2529 * It can be int, long, off_t, etc... It may be necessary to include
2530 * <sys/types.h> to get any typedef'ed information.
2533 * This symbol holds the number of bytes used by the Off_t.
2536 * This symbol holds the number of bytes used by the Off_t.
2539 # define Off_t __int64 /* <offset> type */
2541 # define Off_t long long /* <offset> type */
2543 #define LSEEKSIZE 8 /* <offset> size */
2544 #define Off_t_size 8 /* <offset> size */
2547 * This variable contains the return type of free(). It is usually
2548 * void, but occasionally int.
2551 * This symbol is the type of pointer returned by malloc and realloc.
2553 #define Malloc_t void * /**/
2554 #define Free_t void /**/
2556 /* PERL_MALLOC_WRAP:
2557 * This symbol, if defined, indicates that we'd like malloc wrap checks.
2559 #define PERL_MALLOC_WRAP /**/
2562 * This symbol, if defined, indicates that we're using our own malloc.
2564 /*#define MYMALLOC /**/
2567 * This symbol holds the type used to declare file modes
2568 * for systems calls. It is usually mode_t, but may be
2569 * int or unsigned short. It may be necessary to include <sys/types.h>
2570 * to get any typedef'ed information.
2572 #define Mode_t mode_t /* file mode parameter for system calls */
2575 * This symbol holds the type used for the 1st argument
2576 * to gethostbyaddr().
2579 * This symbol holds the type used for the 2nd argument
2580 * to gethostbyaddr().
2583 * This symbol holds the type used for the argument to
2587 * This symbol holds the type used for the 1st argument to
2590 #define Netdb_host_t char * /**/
2591 #define Netdb_hlen_t int /**/
2592 #define Netdb_name_t char * /**/
2593 #define Netdb_net_t long /**/
2595 /* PERL_OTHERLIBDIRS:
2596 * This variable contains a colon-separated set of paths for the perl
2597 * binary to search for additional library files or modules.
2598 * These directories will be tacked to the end of @INC.
2599 * Perl will automatically search below each path for version-
2600 * and architecture-specific directories. See PERL_INC_VERSION_LIST
2603 /*#define PERL_OTHERLIBDIRS "" /**/
2606 * This symbol holds the type used to declare process ids in the kernel.
2607 * It can be int, uint, pid_t, etc... It may be necessary to include
2608 * <sys/types.h> to get any typedef'ed information.
2610 #define Pid_t int /* PID type */
2613 * This symbol contains the name of the private library for this package.
2614 * The library is private in the sense that it needn't be in anyone's
2615 * execution path, but it should be accessible by the world. The program
2616 * should be prepared to do ~ expansion.
2619 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2620 * in programs that are not prepared to deal with ~ expansion at run-time.
2622 #define PRIVLIB "c:\\perl\\lib" /**/
2623 #define PRIVLIB_EXP (win32_get_privlib(PERL_VERSION_STRING)) /**/
2626 * If defined, this macro indicates that the C compiler can handle
2627 * function prototypes.
2630 * This macro is used to declare function parameters for folks who want
2631 * to make declarations with prototypes using a different style than
2632 * the above macros. Use double parentheses. For example:
2634 * int main _((int argc, char *argv[]));
2636 #define CAN_PROTOTYPE /**/
2637 #ifdef CAN_PROTOTYPE
2638 #define _(args) args
2644 * This symbol holds the type used for the 2nd, 3rd, and 4th
2645 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2646 * is defined, and 'int *' otherwise. This is only useful if you
2647 * have select(), of course.
2649 #define Select_fd_set_t Perl_fd_set * /**/
2652 * This symbol contains the full pathname to the shell used on this
2653 * on this system to execute Bourne shell scripts. Usually, this will be
2654 * /bin/sh, though it's possible that some systems will have /bin/ksh,
2655 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
2658 #define SH_PATH "cmd /x /c" /**/
2661 * This symbol contains a list of signal names in order of
2662 * signal number. This is intended
2663 * to be used as a static array initialization, like this:
2664 * char *sig_name[] = { SIG_NAME };
2665 * The signals in the list are separated with commas, and each signal
2666 * is surrounded by double quotes. There is no leading SIG in the signal
2667 * name, i.e. SIGQUIT is known as "QUIT".
2668 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2669 * etc., where nn is the actual signal number (e.g. NUM37).
2670 * The signal number for sig_name[i] is stored in sig_num[i].
2671 * The last element is 0 to terminate the list with a NULL. This
2672 * corresponds to the 0 at the end of the sig_name_init list.
2673 * Note that this variable is initialized from the sig_name_init,
2674 * not from sig_name (which is unused).
2677 * This symbol contains a list of signal numbers, in the same order as the
2678 * SIG_NAME list. It is suitable for static array initialization, as in:
2679 * int sig_num[] = { SIG_NUM };
2680 * The signals in the list are separated with commas, and the indices
2681 * within that list and the SIG_NAME list match, so it's easy to compute
2682 * the signal name from a number or vice versa at the price of a small
2683 * dynamic linear lookup.
2684 * Duplicates are allowed, but are moved to the end of the list.
2685 * The signal number corresponding to sig_name[i] is sig_number[i].
2686 * if (i < NSIG) then sig_number[i] == i.
2687 * The last element is 0, corresponding to the 0 at the end of
2688 * the sig_name_init list.
2689 * Note that this variable is initialized from the sig_num_init,
2690 * not from sig_num (which is unused).
2693 * This variable contains the number of elements of the SIG_NAME
2694 * and SIG_NUM arrays, excluding the final NULL entry.
2696 #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 /**/
2697 #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 /**/
2698 #define SIG_SIZE 27 /**/
2701 * This symbol contains the name of the private library for this package.
2702 * The library is private in the sense that it needn't be in anyone's
2703 * execution path, but it should be accessible by the world. The program
2704 * should be prepared to do ~ expansion.
2705 * The standard distribution will put nothing in this directory.
2706 * After perl has been installed, users may install their own local
2707 * architecture-dependent modules in this directory with
2708 * MakeMaker Makefile.PL
2709 * or equivalent. See INSTALL for details.
2712 * This symbol contains the ~name expanded version of SITEARCH, to be used
2713 * in programs that are not prepared to deal with ~ expansion at run-time.
2715 #define SITEARCH "c:\\perl\\site\\lib" /**/
2716 /*#define SITEARCH_EXP "" /**/
2719 * This symbol contains the name of the private library for this package.
2720 * The library is private in the sense that it needn't be in anyone's
2721 * execution path, but it should be accessible by the world. The program
2722 * should be prepared to do ~ expansion.
2723 * The standard distribution will put nothing in this directory.
2724 * After perl has been installed, users may install their own local
2725 * architecture-independent modules in this directory with
2726 * MakeMaker Makefile.PL
2727 * or equivalent. See INSTALL for details.
2730 * This symbol contains the ~name expanded version of SITELIB, to be used
2731 * in programs that are not prepared to deal with ~ expansion at run-time.
2734 * This define is SITELIB_EXP with any trailing version-specific component
2735 * removed. The elements in inc_version_list (inc_version_list.U) can
2736 * be tacked onto this variable to generate a list of directories to search.
2738 #define SITELIB "c:\\perl\\site\\lib" /**/
2739 #define SITELIB_EXP (win32_get_sitelib(PERL_VERSION_STRING)) /**/
2740 #define SITELIB_STEM "" /**/
2743 * This symbol holds the size of a Size_t in bytes.
2745 #define Size_t_size 8 /**/
2748 * This symbol holds the type used to declare length parameters
2749 * for string functions. It is usually size_t, but may be
2750 * unsigned long, int, etc. It may be necessary to include
2751 * <sys/types.h> to get any typedef'ed information.
2753 #define Size_t size_t /* length paramater for string functions */
2756 * This symbol holds the type used for the size argument of
2757 * various socket calls (just the base type, not the pointer-to).
2759 #define Sock_size_t int /**/
2762 * This symbol is defined to be the type of char used in stdio.h.
2763 * It has the values "unsigned char" or "char".
2765 #define STDCHAR char /**/
2768 * This symbol defines the format string used for printing a Uid_t.
2770 #define Uid_t_f "ld" /**/
2773 * This symbol holds the signedess of a Uid_t.
2774 * 1 for unsigned, -1 for signed.
2776 #define Uid_t_sign -1 /* UID sign */
2779 * This symbol holds the size of a Uid_t in bytes.
2781 #define Uid_t_size 4 /* UID size */
2784 * This symbol holds the type used to declare user ids in the kernel.
2785 * It can be int, ushort, uid_t, etc... It may be necessary to include
2786 * <sys/types.h> to get any typedef'ed information.
2788 #define Uid_t uid_t /* UID type */
2791 * This symbol, if defined, indicates that Perl should be built to
2792 * use the interpreter-based threading implementation.
2795 * This symbol, if defined, indicates that Perl should be built to
2796 * use the 5.005-based threading implementation.
2797 * Only valid up to 5.8.x.
2799 /* OLD_PTHREADS_API:
2800 * This symbol, if defined, indicates that Perl should
2801 * be built to use the old draft POSIX threads API.
2803 /* USE_REENTRANT_API:
2804 * This symbol, if defined, indicates that Perl should
2805 * try to use the various _r versions of library functions.
2806 * This is extremely experimental.
2808 /*#define USE_5005THREADS /**/
2809 /*#define USE_ITHREADS /**/
2810 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
2811 #define USE_THREADS /* until src is revised*/
2813 /*#define OLD_PTHREADS_API /**/
2814 /*#define USE_REENTRANT_API /**/
2817 * If defined, this symbol contains the name of a private library.
2818 * The library is private in the sense that it needn't be in anyone's
2819 * execution path, but it should be accessible by the world.
2820 * It may have a ~ on the front.
2821 * The standard distribution will put nothing in this directory.
2822 * Vendors who distribute perl may wish to place their own
2823 * architecture-dependent modules and extensions in this directory with
2824 * MakeMaker Makefile.PL INSTALLDIRS=vendor
2825 * or equivalent. See INSTALL for details.
2827 /* PERL_VENDORARCH_EXP:
2828 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
2829 * in programs that are not prepared to deal with ~ expansion at run-time.
2831 /*#define PERL_VENDORARCH "" /**/
2832 /*#define PERL_VENDORARCH_EXP "" /**/
2834 /* PERL_VENDORLIB_EXP:
2835 * This symbol contains the ~name expanded version of VENDORLIB, to be used
2836 * in programs that are not prepared to deal with ~ expansion at run-time.
2838 /* PERL_VENDORLIB_STEM:
2839 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
2840 * removed. The elements in inc_version_list (inc_version_list.U) can
2841 * be tacked onto this variable to generate a list of directories to search.
2843 /*#define PERL_VENDORLIB_EXP "" /**/
2844 /*#define PERL_VENDORLIB_STEM "" /**/
2847 * This symbol indicates how much support of the void type is given by this
2848 * compiler. What various bits mean:
2850 * 1 = supports declaration of void
2851 * 2 = supports arrays of pointers to functions returning void
2852 * 4 = supports comparisons between pointers to void functions and
2853 * addresses of void functions
2854 * 8 = suports declaration of generic void pointers
2856 * The package designer should define VOIDUSED to indicate the requirements
2857 * of the package. This can be done either by #defining VOIDUSED before
2858 * including config.h, or by defining defvoidused in Myinit.U. If the
2859 * latter approach is taken, only those flags will be tested. If the
2860 * level of void support necessary is not present, defines void to int.
2865 #define VOIDFLAGS 15
2866 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
2867 #define void int /* is void to be avoided? */
2868 #define M_VOID /* Xenix strikes again */
2871 /* USE_CROSS_COMPILE:
2872 * This symbol, if defined, indicates that Perl is being cross-compiled.
2875 * This symbol, if defined, indicates the target architecture
2876 * Perl has been cross-compiled to. Undefined if not a cross-compile.
2878 #ifndef USE_CROSS_COMPILE
2879 /*#define USE_CROSS_COMPILE /**/
2880 #define PERL_TARGETARCH "" /**/
2884 * This symbol contains the number of bytes required to align a
2885 * double, or a long double when applicable. Usual values are 2,
2886 * 4 and 8. The default is eight, for safety.
2888 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
2889 # define MEM_ALIGNBYTES 8
2891 #define MEM_ALIGNBYTES 8
2895 * This symbol holds the hexadecimal constant defined in byteorder,
2896 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
2897 * If the compiler supports cross-compiling or multiple-architecture
2898 * binaries (eg. on NeXT systems), use compiler-defined macros to
2899 * determine the byte order.
2900 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
2901 * Binaries (MAB) on either big endian or little endian machines.
2902 * The endian-ness is available at compile-time. This only matters
2903 * for perl, where the config.h can be generated and installed on
2904 * one system, and used by a different architecture to build an
2905 * extension. Older versions of NeXT that might not have
2906 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
2907 * so the default case (for NeXT) is big endian to catch them.
2908 * This might matter for NeXT 3.0.
2910 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
2911 # ifdef __LITTLE_ENDIAN__
2913 # define BYTEORDER 0x1234
2916 # define BYTEORDER 0x12345678
2920 # ifdef __BIG_ENDIAN__
2922 # define BYTEORDER 0x4321
2925 # define BYTEORDER 0x87654321
2930 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
2931 # define BYTEORDER 0x4321
2934 #define BYTEORDER 0x1234 /* large digits for MSB */
2938 * This symbol is defined if the C compiler can cast negative
2939 * or large floating point numbers to 32-bit ints.
2942 # define CASTI32 /**/
2946 * This symbol is defined if the C compiler can cast negative
2947 * numbers to unsigned longs, ints and shorts.
2950 * This symbol contains flags that say what difficulties the compiler
2951 * has casting odd floating values to unsigned long:
2953 * 1 = couldn't cast < 0
2954 * 2 = couldn't cast >= 0x80000000
2955 * 4 = couldn't cast in argument expression list
2957 #define CASTNEGFLOAT /**/
2958 #define CASTFLAGS 0 /**/
2961 * This symbol, if defined, indicates that the closedir() routine
2962 * does not return a value.
2964 /*#define VOID_CLOSEDIR /**/
2967 * This symbol, when defined, indicates presence of the fd_set typedef
2970 #define HAS_FD_SET /**/
2973 * This preprocessor macro is defined to convert a floating point
2974 * number to a string without a trailing decimal point. This
2975 * emulates the behavior of sprintf("%g"), but is sometimes much more
2976 * efficient. If gconvert() is not available, but gcvt() drops the
2977 * trailing decimal point, then gcvt() is used. If all else fails,
2978 * a macro using sprintf("%g") is used. Arguments for the Gconvert
2979 * macro are: value, number of digits, whether trailing zeros should
2980 * be retained, and the output buffer.
2981 * The usual values are:
2982 * d_Gconvert='gconvert((x),(n),(t),(b))'
2983 * d_Gconvert='gcvt((x),(n),(b))'
2984 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
2985 * The last two assume trailing zeros should not be kept.
2987 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
2990 * This symbol, if defined, indicates that the getpagesize system call
2991 * is available to get system page size, which is the granularity of
2992 * many memory management calls.
2994 /*#define HAS_GETPAGESIZE /**/
2997 * This symbol, if defined, indicates to the C program that
2998 * the GNU C library is being used. A better check is to use
2999 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
3001 /*#define HAS_GNULIBC /**/
3002 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
3003 # define _GNU_SOURCE
3007 * This manifest constant lets the C program know that isascii
3010 #define HAS_ISASCII /**/
3013 * This symbol, if defined, indicates that the lchown routine is
3014 * available to operate on a symbolic link (instead of following the
3017 /*#define HAS_LCHOWN /**/
3020 * This manifest constant lets the C program know that the three
3021 * argument form of open(2) is available.
3023 /*#define HAS_OPEN3 /**/
3026 * This symbol, if defined, indicates that the bcopy routine is available
3027 * to copy potentially overlapping memory blocks. Normally, you should
3028 * probably use memmove() or memcpy(). If neither is defined, roll your
3031 /*#define HAS_SAFE_BCOPY /**/
3034 * This symbol, if defined, indicates that the memcpy routine is available
3035 * to copy potentially overlapping memory blocks. If you need to
3036 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
3037 * use memmove() instead, if available.
3039 /*#define HAS_SAFE_MEMCPY /**/
3042 * This symbol, if defined, indicates that the memcmp routine is available
3043 * and can be used to compare relative magnitudes of chars with their high
3044 * bits set. If it is not defined, roll your own version.
3046 #define HAS_SANE_MEMCMP /**/
3049 * This symbol, if defined, indicates that Vr4's sigaction() routine
3052 /*#define HAS_SIGACTION /**/
3055 * This variable indicates to the C program that the sigsetjmp()
3056 * routine is available to save the calling process's registers
3057 * and stack environment for later use by siglongjmp(), and
3058 * to optionally save the process's signal mask. See
3059 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
3062 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
3065 * This macro is used in the same way as sigsetjmp(), but will invoke
3066 * traditional setjmp() if sigsetjmp isn't available.
3067 * See HAS_SIGSETJMP.
3070 * This macro is used in the same way as siglongjmp(), but will invoke
3071 * traditional longjmp() if siglongjmp isn't available.
3072 * See HAS_SIGSETJMP.
3074 /*#define HAS_SIGSETJMP /**/
3075 #ifdef HAS_SIGSETJMP
3076 #define Sigjmp_buf sigjmp_buf
3077 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
3078 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
3080 #define Sigjmp_buf jmp_buf
3081 #define Sigsetjmp(buf,save_mask) setjmp((buf))
3082 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
3086 * This symbol is defined if the _ptr and _cnt fields (or similar)
3087 * of the stdio FILE structure can be used to access the stdio buffer
3088 * for a file handle. If this is defined, then the FILE_ptr(fp)
3089 * and FILE_cnt(fp) macros will also be defined and should be used
3090 * to access these fields.
3093 * This macro is used to access the _ptr field (or equivalent) of the
3094 * FILE structure pointed to by its argument. This macro will always be
3095 * defined if USE_STDIO_PTR is defined.
3097 /* STDIO_PTR_LVALUE:
3098 * This symbol is defined if the FILE_ptr macro can be used as an
3102 * This macro is used to access the _cnt field (or equivalent) of the
3103 * FILE structure pointed to by its argument. This macro will always be
3104 * defined if USE_STDIO_PTR is defined.
3106 /* STDIO_CNT_LVALUE:
3107 * This symbol is defined if the FILE_cnt macro can be used as an
3110 /* STDIO_PTR_LVAL_SETS_CNT:
3111 * This symbol is defined if using the FILE_ptr macro as an lvalue
3112 * to increase the pointer by n has the side effect of decreasing the
3113 * value of File_cnt(fp) by n.
3115 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
3116 * This symbol is defined if using the FILE_ptr macro as an lvalue
3117 * to increase the pointer by n leaves File_cnt(fp) unchanged.
3119 #define USE_STDIO_PTR /**/
3120 #ifdef USE_STDIO_PTR
3121 #define FILE_ptr(fp) ((fp)->_ptr)
3122 #define STDIO_PTR_LVALUE /**/
3123 #define FILE_cnt(fp) ((fp)->_cnt)
3124 #define STDIO_CNT_LVALUE /**/
3125 /*#define STDIO_PTR_LVAL_SETS_CNT /**/
3126 #define STDIO_PTR_LVAL_NOCHANGE_CNT /**/
3130 * This symbol is defined if the _base field (or similar) of the
3131 * stdio FILE structure can be used to access the stdio buffer for
3132 * a file handle. If this is defined, then the FILE_base(fp) macro
3133 * will also be defined and should be used to access this field.
3134 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
3135 * to determine the number of bytes in the buffer. USE_STDIO_BASE
3136 * will never be defined unless USE_STDIO_PTR is.
3139 * This macro is used to access the _base field (or equivalent) of the
3140 * FILE structure pointed to by its argument. This macro will always be
3141 * defined if USE_STDIO_BASE is defined.
3144 * This macro is used to determine the number of bytes in the I/O
3145 * buffer pointed to by _base field (or equivalent) of the FILE
3146 * structure pointed to its argument. This macro will always be defined
3147 * if USE_STDIO_BASE is defined.
3149 #define USE_STDIO_BASE /**/
3150 #ifdef USE_STDIO_BASE
3151 #define FILE_base(fp) ((fp)->_base)
3152 #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
3156 * This symbol, if defined, indicates that the vprintf routine is available
3157 * to printf with a pointer to an argument list. If unavailable, you
3158 * may need to write your own, probably in terms of _doprnt().
3160 /* USE_CHAR_VSPRINTF:
3161 * This symbol is defined if this system has vsprintf() returning type
3162 * (char*). The trend seems to be to declare it as "int vsprintf()". It
3163 * is up to the package author to declare vsprintf correctly based on the
3166 #define HAS_VPRINTF /**/
3167 /*#define USE_CHAR_VSPRINTF /**/
3170 * This symbol contains the size of a double, so that the C preprocessor
3171 * can make decisions based on it.
3173 #define DOUBLESIZE 8 /**/
3176 * This symbol, if defined, indicates to the C program that it should
3180 * This symbol, if defined, indicates to the C program that it should
3181 * include <sys/time.h>.
3183 /* I_SYS_TIME_KERNEL:
3184 * This symbol, if defined, indicates to the C program that it should
3185 * include <sys/time.h> with KERNEL defined.
3188 * This symbol, if defined, indicates to the C program that
3189 * the struct tm has a tm_zone field.
3191 /* HAS_TM_TM_GMTOFF:
3192 * This symbol, if defined, indicates to the C program that
3193 * the struct tm has a tm_gmtoff field.
3196 /*#define I_SYS_TIME /**/
3197 /*#define I_SYS_TIME_KERNEL /**/
3198 /*#define HAS_TM_TM_ZONE /**/
3199 /*#define HAS_TM_TM_GMTOFF /**/
3202 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
3203 * non-blocking I/O for the file descriptor. Note that there is no way
3204 * back, i.e. you cannot turn it blocking again this way. If you wish to
3205 * alternatively switch between blocking and non-blocking, use the
3206 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
3209 * This symbol holds the errno error code set by read() when no data was
3210 * present on the non-blocking file descriptor.
3213 * This symbol holds the return code from read() when no data is present
3214 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
3215 * not defined, then you can't distinguish between no data and EOF by
3216 * issuing a read(). You'll have to find another way to tell for sure!
3219 * This symbol, if defined, indicates to the C program that a read() on
3220 * a non-blocking file descriptor will return 0 on EOF, and not the value
3221 * held in RD_NODATA (-1 usually, in that case!).
3223 #define VAL_O_NONBLOCK O_NONBLOCK
3224 #define VAL_EAGAIN EAGAIN
3225 #define RD_NODATA -1
3226 #define EOF_NONBLOCK
3229 * This symbol contains the size of a pointer, so that the C preprocessor
3230 * can make decisions based on it. It will be sizeof(void *) if
3231 * the compiler supports (void *); otherwise it will be
3234 #define PTRSIZE 8 /**/
3237 * This macro is to be used to generate uniformly distributed
3238 * random numbers over the range [0., 1.[. You may have to supply
3239 * an 'extern double drand48();' in your program since SunOS 4.1.3
3240 * doesn't provide you with anything relevant in its headers.
3241 * See HAS_DRAND48_PROTO.
3244 * This symbol defines the type of the argument of the
3245 * random seed function.
3248 * This symbol defines the macro to be used in seeding the
3249 * random number generator (see Drand01).
3252 * This symbol indicates how many bits are produced by the
3253 * function used to generate normalized random numbers.
3254 * Values include 15, 16, 31, and 48.
3256 #define Drand01() (rand()/(double)((unsigned)1<<RANDBITS)) /**/
3257 #define Rand_seed_t unsigned /**/
3258 #define seedDrand01(x) srand((Rand_seed_t)x) /**/
3259 #define RANDBITS 15 /**/
3262 * This symbol holds the type used by functions that return
3263 * a count of bytes or an error condition. It must be a signed type.
3264 * It is usually ssize_t, but may be long or int, etc.
3265 * It may be necessary to include <sys/types.h> or <unistd.h>
3266 * to get any typedef'ed information.
3267 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3270 # define SSize_t __int64 /* signed count of bytes */
3272 # define SSize_t long long /* signed count of bytes */
3276 * This symbol, if defined, indicates that this system uses
3279 /*#define EBCDIC /**/
3281 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
3282 * This symbol, if defined, indicates that the bug that prevents
3283 * setuid scripts from being secure is not present in this kernel.
3286 * This symbol, if defined, indicates that the C program should
3287 * check the script that it is executing for setuid/setgid bits, and
3288 * attempt to emulate setuid/setgid on systems that have disabled
3289 * setuid #! scripts because the kernel can't do it securely.
3290 * It is up to the package designer to make sure that this emulation
3291 * is done securely. Among other things, it should do an fstat on
3292 * the script it just opened to make sure it really is a setuid/setgid
3293 * script, it should make sure the arguments passed correspond exactly
3294 * to the argument on the #! line, and it should not trust any
3295 * subprocesses to which it must pass the filename rather than the
3296 * file descriptor of the script to be executed.
3298 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
3299 /*#define DOSUID /**/
3302 * This symbol, if defined, indicates that Perl was configured with
3303 * -Dusedevel, to enable development features. This should not be
3304 * done for production builds.
3306 /*#define PERL_USE_DEVEL /**/
3309 * This symbol, if defined, indicates that the atolf routine is
3310 * available to convert strings into long doubles.
3312 /*#define HAS_ATOLF /**/
3315 * This symbol, if defined, indicates that the atoll routine is
3316 * available to convert strings into long longs.
3318 #define HAS_ATOLL /**/
3321 * This symbol, if defined, indicates that the _fwalk system call is
3322 * available to apply a function to all the file handles.
3324 /*#define HAS__FWALK /**/
3327 * This symbol, if defined, indicates that the aintl routine is
3328 * available. If copysignl is also present we can emulate modfl.
3330 /*#define HAS_AINTL /**/
3332 /* HAS_BUILTIN_CHOOSE_EXPR:
3333 * Can we handle GCC builtin for compile-time ternary-like expressions
3335 /* HAS_BUILTIN_EXPECT:
3336 * Can we handle GCC builtin for telling that certain values are more
3339 /*#define HAS_BUILTIN_EXPECT /**/
3340 /*#define HAS_BUILTIN_CHOOSE_EXPR /**/
3342 /* HAS_C99_VARIADIC_MACROS:
3343 * If defined, the compiler supports C99 variadic macros.
3345 /*#define HAS_C99_VARIADIC_MACROS /**/
3348 * This symbol, if defined, indicates that the class routine is
3349 * available to classify doubles. Available for example in AIX.
3350 * The returned values are defined in <float.h> and are:
3352 * FP_PLUS_NORM Positive normalized, nonzero
3353 * FP_MINUS_NORM Negative normalized, nonzero
3354 * FP_PLUS_DENORM Positive denormalized, nonzero
3355 * FP_MINUS_DENORM Negative denormalized, nonzero
3357 * FP_MINUS_ZERO -0.0
3360 * FP_NANS Signaling Not a Number (NaNS)
3361 * FP_NANQ Quiet Not a Number (NaNQ)
3363 /*#define HAS_CLASS /**/
3366 * This symbol, if defined, indicates that the clearenv () routine is
3367 * available for use.
3369 /*#define HAS_CLEARENV /**/
3371 /* HAS_STRUCT_CMSGHDR:
3372 * This symbol, if defined, indicates that the struct cmsghdr
3375 /*#define HAS_STRUCT_CMSGHDR /**/
3378 * This symbol, if defined, indicates that the copysignl routine is
3379 * available. If aintl is also present we can emulate modfl.
3381 /*#define HAS_COPYSIGNL /**/
3384 * This symbol, if defined, indicates that a C++ compiler was
3385 * used to compiled Perl and will be used to compile extensions.
3387 /*#define USE_CPLUSPLUS /**/
3389 /* HAS_DBMINIT_PROTO:
3390 * This symbol, if defined, indicates that the system provides
3391 * a prototype for the dbminit() function. Otherwise, it is up
3392 * to the program to supply one. A good guess is
3393 * extern int dbminit(char *);
3395 /*#define HAS_DBMINIT_PROTO /**/
3398 * This symbol, if defined, indicates that the the DIR* dirstream
3399 * structure contains a member variable named dd_fd.
3401 /*#define HAS_DIR_DD_FD /**/
3404 * This manifest constant lets the C program know that dirfd
3407 /*#define HAS_DIRFD /**/
3409 /* DLSYM_NEEDS_UNDERSCORE:
3410 * This symbol, if defined, indicates that we need to prepend an
3411 * underscore to the symbol name before calling dlsym(). This only
3412 * makes sense if you *have* dlsym, which we will presume is the
3413 * case if you're using dl_dlopen.xs.
3415 /*#define DLSYM_NEEDS_UNDERSCORE /**/
3418 * This symbol, if defined, indicates that the "fast stdio"
3419 * is available to manipulate the stdio buffers directly.
3421 #define HAS_FAST_STDIO /**/
3424 * This symbol, if defined, indicates that the fchdir routine is
3425 * available to change directory using a file descriptor.
3427 /*#define HAS_FCHDIR /**/
3430 * This symbol, if defined, indicates that fcntl() can be used
3431 * for file locking. Normally on Unix systems this is defined.
3432 * It may be undefined on VMS.
3434 /*#define FCNTL_CAN_LOCK /**/
3437 * This symbol, if defined, indicates that the finite routine is
3438 * available to check whether a double is finite (non-infinity non-NaN).
3440 /*#define HAS_FINITE /**/
3443 * This symbol, if defined, indicates that the finitel routine is
3444 * available to check whether a long double is finite
3445 * (non-infinity non-NaN).
3447 /*#define HAS_FINITEL /**/
3450 * This symbol, if defined, indicates that the system provides
3451 * a prototype for the flock() function. Otherwise, it is up
3452 * to the program to supply one. A good guess is
3453 * extern int flock(int, int);
3455 #define HAS_FLOCK_PROTO /**/
3458 * This symbol, if defined, indicates that the fp_class routine is
3459 * available to classify doubles. Available for example in Digital UNIX.
3460 * The returned values are defined in <math.h> and are:
3462 * FP_SNAN Signaling NaN (Not-a-Number)
3463 * FP_QNAN Quiet NaN (Not-a-Number)
3464 * FP_POS_INF +infinity
3465 * FP_NEG_INF -infinity
3466 * FP_POS_NORM Positive normalized
3467 * FP_NEG_NORM Negative normalized
3468 * FP_POS_DENORM Positive denormalized
3469 * FP_NEG_DENORM Negative denormalized
3470 * FP_POS_ZERO +0.0 (positive zero)
3471 * FP_NEG_ZERO -0.0 (negative zero)
3473 /*#define HAS_FP_CLASS /**/
3476 * This symbol, if defined, indicates that the fpclass routine is
3477 * available to classify doubles. Available for example in Solaris/SVR4.
3478 * The returned values are defined in <ieeefp.h> and are:
3480 * FP_SNAN signaling NaN
3482 * FP_NINF negative infinity
3483 * FP_PINF positive infinity
3484 * FP_NDENORM negative denormalized non-zero
3485 * FP_PDENORM positive denormalized non-zero
3486 * FP_NZERO negative zero
3487 * FP_PZERO positive zero
3488 * FP_NNORM negative normalized non-zero
3489 * FP_PNORM positive normalized non-zero
3491 /*#define HAS_FPCLASS /**/
3494 * This symbol, if defined, indicates that the fpclassify routine is
3495 * available to classify doubles. Available for example in HP-UX.
3496 * The returned values are defined in <math.h> and are
3498 * FP_NORMAL Normalized
3500 * FP_INFINITE Infinity
3501 * FP_SUBNORMAL Denormalized
3505 /*#define HAS_FPCLASSIFY /**/
3508 * This symbol, if defined, indicates that the fpclassl routine is
3509 * available to classify long doubles. Available for example in IRIX.
3510 * The returned values are defined in <ieeefp.h> and are:
3512 * FP_SNAN signaling NaN
3514 * FP_NINF negative infinity
3515 * FP_PINF positive infinity
3516 * FP_NDENORM negative denormalized non-zero
3517 * FP_PDENORM positive denormalized non-zero
3518 * FP_NZERO negative zero
3519 * FP_PZERO positive zero
3520 * FP_NNORM negative normalized non-zero
3521 * FP_PNORM positive normalized non-zero
3523 /*#define HAS_FPCLASSL /**/
3526 * This symbol will be defined if the C compiler supports fpos64_t.
3528 /*#define HAS_FPOS64_T /**/
3531 * This symbol, if defined, indicates that the frexpl routine is
3532 * available to break a long double floating-point number into
3533 * a normalized fraction and an integral power of 2.
3535 /*#define HAS_FREXPL /**/
3537 /* HAS_STRUCT_FS_DATA:
3538 * This symbol, if defined, indicates that the struct fs_data
3539 * to do statfs() is supported.
3541 /*#define HAS_STRUCT_FS_DATA /**/
3544 * This symbol, if defined, indicates that the fseeko routine is
3545 * available to fseek beyond 32 bits (useful for ILP32 hosts).
3547 /*#define HAS_FSEEKO /**/
3550 * This symbol, if defined, indicates that the fstatfs routine is
3551 * available to stat filesystems by file descriptors.
3553 /*#define HAS_FSTATFS /**/
3556 * This symbol, if defined, indicates that the fsync routine is
3557 * available to write a file's modified data and attributes to
3558 * permanent storage.
3560 /*#define HAS_FSYNC /**/
3563 * This symbol, if defined, indicates that the ftello routine is
3564 * available to ftell beyond 32 bits (useful for ILP32 hosts).
3566 /*#define HAS_FTELLO /**/
3569 * This symbol, if defined, indicates that the futimes routine is
3570 * available to change file descriptor time stamps with struct timevals.
3572 /*#define HAS_FUTIMES /**/
3575 * This symbol, if defined, indicates that the getaddrinfo() function
3576 * is available for use.
3578 /*#define HAS_GETADDRINFO /**/
3581 * This symbol, if defined, indicates that the getcwd routine is
3582 * available to get the current working directory.
3584 #define HAS_GETCWD /**/
3587 * This symbol, if defined, indicates that the getespwnam system call is
3588 * available to retrieve enchanced (shadow) password entries by name.
3590 /*#define HAS_GETESPWNAM /**/
3593 * This symbol, if defined, indicates that the getfsstat routine is
3594 * available to stat filesystems in bulk.
3596 /*#define HAS_GETFSSTAT /**/
3599 * This symbol, if defined, indicates that the getitimer routine is
3600 * available to return interval timers.
3602 /*#define HAS_GETITIMER /**/
3605 * This symbol, if defined, indicates that the getmnt routine is
3606 * available to get filesystem mount info by filename.
3608 /*#define HAS_GETMNT /**/
3611 * This symbol, if defined, indicates that the getmntent routine is
3612 * available to iterate through mounted file systems to get their info.
3614 /*#define HAS_GETMNTENT /**/
3617 * This symbol, if defined, indicates that the getnameinfo() function
3618 * is available for use.
3620 /*#define HAS_GETNAMEINFO /**/
3623 * This symbol, if defined, indicates that the getprpwnam system call is
3624 * available to retrieve protected (shadow) password entries by name.
3626 /*#define HAS_GETPRPWNAM /**/
3629 * This symbol, if defined, indicates that the getspnam system call is
3630 * available to retrieve SysV shadow password entries by name.
3632 /*#define HAS_GETSPNAM /**/
3635 * This symbol, if defined, indicates that the hasmntopt routine is
3636 * available to query the mount options of file systems.
3638 /*#define HAS_HASMNTOPT /**/
3641 * This symbol, if defined, indicates that the ilogbl routine is
3642 * available. If scalbnl is also present we can emulate frexpl.
3644 /*#define HAS_ILOGBL /**/
3647 * This symbol, if defined, indicates that the inet_ntop() function
3648 * is available to parse IPv4 and IPv6 strings.
3650 /*#define HAS_INETNTOP /**/
3653 * This symbol, if defined, indicates that the inet_pton() function
3654 * is available to parse IPv4 and IPv6 strings.
3656 /*#define HAS_INETPTON /**/
3659 * This symbol will defined if the C compiler supports int64_t.
3660 * Usually the <inttypes.h> needs to be included, but sometimes
3661 * <sys/types.h> is enough.
3663 /*#define HAS_INT64_T /**/
3666 * This symbol, if defined, indicates that the isfinite routine is
3667 * available to check whether a double is finite (non-infinity non-NaN).
3669 /*#define HAS_ISFINITE /**/
3672 * This symbol, if defined, indicates that the isinf routine is
3673 * available to check whether a double is an infinity.
3675 /*#define HAS_ISINF /**/
3678 * This symbol, if defined, indicates that the isnan routine is
3679 * available to check whether a double is a NaN.
3681 #define HAS_ISNAN /**/
3684 * This symbol, if defined, indicates that the isnanl routine is
3685 * available to check whether a long double is a NaN.
3687 /*#define HAS_ISNANL /**/
3690 * This symbol, if defined, indicates that this system's <float.h>
3691 * or <limits.h> defines the symbol LDBL_DIG, which is the number
3692 * of significant digits in a long double precision number. Unlike
3693 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
3695 #define HAS_LDBL_DIG /**/
3697 /* LIBM_LIB_VERSION:
3698 * This symbol, if defined, indicates that libm exports _LIB_VERSION
3699 * and that math.h defines the enum to manipulate it.
3701 /*#define LIBM_LIB_VERSION /**/
3704 * This symbol, if defined, indicates that the madvise system call is
3705 * available to map a file into memory.
3707 /*#define HAS_MADVISE /**/
3710 * This symbol, if defined, indicates that the malloc_size
3711 * routine is available for use.
3713 /*#define HAS_MALLOC_SIZE /**/
3715 /* HAS_MALLOC_GOOD_SIZE:
3716 * This symbol, if defined, indicates that the malloc_good_size
3717 * routine is available for use.
3719 /*#define HAS_MALLOC_GOOD_SIZE /**/
3722 * This symbol, if defined, indicates that the mkdtemp routine is
3723 * available to exclusively create a uniquely named temporary directory.
3725 /*#define HAS_MKDTEMP /**/
3728 * This symbol, if defined, indicates that the mkstemps routine is
3729 * available to excluslvely create and open a uniquely named
3730 * (with a suffix) temporary file.
3732 /*#define HAS_MKSTEMPS /**/
3735 * This symbol, if defined, indicates that the modfl routine is
3736 * available to split a long double x into a fractional part f and
3737 * an integer part i such that |f| < 1.0 and (f + i) = x.
3740 * This symbol, if defined, indicates that the system provides
3741 * a prototype for the modfl() function. Otherwise, it is up
3742 * to the program to supply one.
3744 /* HAS_MODFL_POW32_BUG:
3745 * This symbol, if defined, indicates that the modfl routine is
3746 * broken for long doubles >= pow(2, 32).
3747 * For example from 4294967303.150000 one would get 4294967302.000000
3748 * and 1.150000. The bug has been seen in certain versions of glibc,
3749 * release 2.2.2 is known to be okay.
3751 /*#define HAS_MODFL /**/
3752 /*#define HAS_MODFL_PROTO /**/
3753 /*#define HAS_MODFL_POW32_BUG /**/
3756 * This symbol, if defined, indicates that the mprotect system call is
3757 * available to modify the access protection of a memory mapped file.
3759 /*#define HAS_MPROTECT /**/
3761 /* HAS_STRUCT_MSGHDR:
3762 * This symbol, if defined, indicates that the struct msghdr
3765 /*#define HAS_STRUCT_MSGHDR /**/
3768 * This symbol, if defined, indicates that the nl_langinfo routine is
3769 * available to return local data. You will also need <langinfo.h>
3770 * and therefore I_LANGINFO.
3772 /*#define HAS_NL_LANGINFO /**/
3775 * This symbol will be defined if the C compiler supports off64_t.
3777 /*#define HAS_OFF64_T /**/
3780 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3781 * to the absolute pathname of the executing program.
3783 /* PROCSELFEXE_PATH:
3784 * If HAS_PROCSELFEXE is defined this symbol is the filename
3785 * of the symbolic link pointing to the absolute pathname of
3786 * the executing program.
3788 /*#define HAS_PROCSELFEXE /**/
3789 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3790 #define PROCSELFEXE_PATH /**/
3793 /* HAS_PTHREAD_ATTR_SETSCOPE:
3794 * This symbol, if defined, indicates that the pthread_attr_setscope
3795 * system call is available to set the contention scope attribute of
3796 * a thread attribute object.
3798 /*#define HAS_PTHREAD_ATTR_SETSCOPE /**/
3801 * This symbol, if defined, indicates that the readv routine is
3802 * available to do gather reads. You will also need <sys/uio.h>
3803 * and there I_SYSUIO.
3805 /*#define HAS_READV /**/
3808 * This symbol, if defined, indicates that the recvmsg routine is
3809 * available to send structured socket messages.
3811 /*#define HAS_RECVMSG /**/
3814 * This symbol, if defined, indicates that the system provides
3815 * a prototype for the sbrk() function. Otherwise, it is up
3816 * to the program to supply one. Good guesses are
3817 * extern void* sbrk(int);
3818 * extern void* sbrk(size_t);
3820 /*#define HAS_SBRK_PROTO /**/
3823 * This symbol, if defined, indicates that the scalbnl routine is
3824 * available. If ilogbl is also present we can emulate frexpl.
3826 /*#define HAS_SCALBNL /**/
3829 * This symbol, if defined, indicates that the sendmsg routine is
3830 * available to send structured socket messages.
3832 /*#define HAS_SENDMSG /**/
3835 * This symbol, if defined, indicates that the setitimer routine is
3836 * available to set interval timers.
3838 /*#define HAS_SETITIMER /**/
3840 /* HAS_SETPROCTITLE:
3841 * This symbol, if defined, indicates that the setproctitle routine is
3842 * available to set process title.
3844 /*#define HAS_SETPROCTITLE /**/
3847 * This symbol, if defined, indicates that sfio should
3850 /*#define USE_SFIO /**/
3853 * This symbol, if defined, indicates that the signbit routine is
3854 * available to check if the given number has the sign bit set.
3855 * This should include correct testing of -0.0. This will only be set
3856 * if the signbit() routine is safe to use with the NV type used internally
3857 * in perl. Users should call Perl_signbit(), which will be #defined to
3858 * the system's signbit() function or macro if this symbol is defined.
3860 /*#define HAS_SIGNBIT /**/
3863 * This symbol, if defined, indicates that the sigprocmask
3864 * system call is available to examine or change the signal mask
3865 * of the calling process.
3867 /*#define HAS_SIGPROCMASK /**/
3869 /* USE_SITECUSTOMIZE:
3870 * This symbol, if defined, indicates that sitecustomize should
3873 #ifndef USE_SITECUSTOMIZE
3874 /*#define USE_SITECUSTOMIZE /**/
3878 * This symbol, if defined, indicates that the snprintf () library
3879 * function is available for use.
3882 * This symbol, if defined, indicates that the vsnprintf () library
3883 * function is available for use.
3885 #define HAS_SNPRINTF /**/
3886 #define HAS_VSNPRINTF /**/
3889 * This symbol, if defined, indicates that the sockatmark routine is
3890 * available to test whether a socket is at the out-of-band mark.
3892 /*#define HAS_SOCKATMARK /**/
3894 /* HAS_SOCKATMARK_PROTO:
3895 * This symbol, if defined, indicates that the system provides
3896 * a prototype for the sockatmark() function. Otherwise, it is up
3897 * to the program to supply one. A good guess is
3898 * extern int sockatmark(int);
3900 /*#define HAS_SOCKATMARK_PROTO /**/
3903 * This symbol, if defined, indicates that the socks5_init routine is
3904 * available to initialize SOCKS 5.
3906 /*#define HAS_SOCKS5_INIT /**/
3908 /* SPRINTF_RETURNS_STRLEN:
3909 * This variable defines whether sprintf returns the length of the string
3910 * (as per the ANSI spec). Some C libraries retain compatibility with
3911 * pre-ANSI C and return a pointer to the passed in buffer; for these
3912 * this variable will be undef.
3914 #define SPRINTF_RETURNS_STRLEN /**/
3917 * This symbol, if defined, indicates that the sqrtl routine is
3918 * available to do long double square roots.
3920 /*#define HAS_SQRTL /**/
3922 /* HAS_SETRESGID_PROTO:
3923 * This symbol, if defined, indicates that the system provides
3924 * a prototype for the setresgid() function. Otherwise, it is up
3925 * to the program to supply one. Good guesses are
3926 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3928 /*#define HAS_SETRESGID_PROTO /**/
3930 /* HAS_SETRESUID_PROTO:
3931 * This symbol, if defined, indicates that the system provides
3932 * a prototype for the setresuid() function. Otherwise, it is up
3933 * to the program to supply one. Good guesses are
3934 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3936 /*#define HAS_SETRESUID_PROTO /**/
3938 /* HAS_STRUCT_STATFS_F_FLAGS:
3939 * This symbol, if defined, indicates that the struct statfs
3940 * does have the f_flags member containing the mount flags of
3941 * the filesystem containing the file.
3942 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
3943 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
3944 * have statfs() and struct statfs, they have ustat() and getmnt()
3945 * with struct ustat and struct fs_data.
3947 /*#define HAS_STRUCT_STATFS_F_FLAGS /**/
3949 /* HAS_STRUCT_STATFS:
3950 * This symbol, if defined, indicates that the struct statfs
3951 * to do statfs() is supported.
3953 /*#define HAS_STRUCT_STATFS /**/
3956 * This symbol, if defined, indicates that the fstatvfs routine is
3957 * available to stat filesystems by file descriptors.
3959 /*#define HAS_FSTATVFS /**/
3962 * This symbol, if defined, indicates that the strftime routine is
3963 * available to do time formatting.
3965 #define HAS_STRFTIME /**/
3968 * This symbol, if defined, indicates that the strlcat () routine is
3969 * available to do string concatenation.
3971 /*#define HAS_STRLCAT /**/
3974 * This symbol, if defined, indicates that the strlcpy () routine is
3975 * available to do string copying.
3977 /*#define HAS_STRLCPY /**/
3980 * This symbol, if defined, indicates that the strtold routine is
3981 * available to convert strings to long doubles.
3983 /*#define HAS_STRTOLD /**/
3986 * This symbol, if defined, indicates that the strtoll routine is
3987 * available to convert strings to long longs.
3989 #define HAS_STRTOLL /**/
3992 * This symbol, if defined, indicates that the strtoq routine is
3993 * available to convert strings to long longs (quads).
3995 /*#define HAS_STRTOQ /**/
3998 * This symbol, if defined, indicates that the strtoull routine is
3999 * available to convert strings to unsigned long longs.
4001 #define HAS_STRTOULL /**/
4004 * This symbol, if defined, indicates that the strtouq routine is
4005 * available to convert strings to unsigned long longs (quads).
4007 /*#define HAS_STRTOUQ /**/
4009 /* HAS_SYSCALL_PROTO:
4010 * This symbol, if defined, indicates that the system provides
4011 * a prototype for the syscall() function. Otherwise, it is up
4012 * to the program to supply one. Good guesses are
4013 * extern int syscall(int, ...);
4014 * extern int syscall(long, ...);
4016 /*#define HAS_SYSCALL_PROTO /**/
4018 /* HAS_TELLDIR_PROTO:
4019 * This symbol, if defined, indicates that the system provides
4020 * a prototype for the telldir() function. Otherwise, it is up
4021 * to the program to supply one. A good guess is
4022 * extern long telldir(DIR*);
4024 #define HAS_TELLDIR_PROTO /**/
4027 * This symbol, if defined, indicates that the ctime64 () routine is
4028 * available to do the 64bit variant of ctime ()
4031 * This symbol, if defined, indicates that the localtime64 () routine is
4032 * available to do the 64bit variant of localtime ()
4035 * This symbol, if defined, indicates that the gmtime64 () routine is
4036 * available to do the 64bit variant of gmtime ()
4039 * This symbol, if defined, indicates that the mktime64 () routine is
4040 * available to do the 64bit variant of mktime ()
4043 * This symbol, if defined, indicates that the difftime64 () routine is
4044 * available to do the 64bit variant of difftime ()
4047 * This symbol, if defined, indicates that the asctime64 () routine is
4048 * available to do the 64bit variant of asctime ()
4050 /*#define HAS_CTIME64 /**/
4051 /*#define HAS_LOCALTIME64 /**/
4052 /*#define HAS_GMTIME64 /**/
4053 /*#define HAS_MKTIME64 /**/
4054 /*#define HAS_DIFFTIME64 /**/
4055 /*#define HAS_ASCTIME64 /**/
4058 * This symbol, if defined, indicates that the timegm routine is
4059 * available to do the opposite of gmtime ()
4061 /*#define HAS_TIMEGM /**/
4063 /* U32_ALIGNMENT_REQUIRED:
4064 * This symbol, if defined, indicates that you must access
4065 * character data through U32-aligned pointers.
4067 #ifndef U32_ALIGNMENT_REQUIRED
4068 #define U32_ALIGNMENT_REQUIRED /**/
4072 * This symbol, if defined, indicates that the ualarm routine is
4073 * available to do alarms with microsecond granularity.
4075 /*#define HAS_UALARM /**/
4078 * This symbol, if defined, indicates that the unordered routine is
4079 * available to check whether two doubles are unordered
4080 * (effectively: whether either of them is NaN)
4082 /*#define HAS_UNORDERED /**/
4085 * This symbol, if defined, indicates that the unsetenv () routine is
4086 * available for use.
4088 /*#define HAS_UNSETENV /**/
4090 /* HAS_USLEEP_PROTO:
4091 * This symbol, if defined, indicates that the system provides
4092 * a prototype for the usleep() function. Otherwise, it is up
4093 * to the program to supply one. A good guess is
4094 * extern int usleep(useconds_t);
4096 /*#define HAS_USLEEP_PROTO /**/
4099 * This symbol, if defined, indicates that the ustat system call is
4100 * available to query file system statistics by dev_t.
4102 /*#define HAS_USTAT /**/
4105 * This symbol, if defined, indicates that the writev routine is
4106 * available to do scatter writes.
4108 /*#define HAS_WRITEV /**/
4110 /* USE_DYNAMIC_LOADING:
4111 * This symbol, if defined, indicates that dynamic loading of
4112 * some sort is available.
4114 #define USE_DYNAMIC_LOADING /**/
4117 * This symbol, if defined, tells that fflush(NULL) does flush
4118 * all pending stdio output.
4121 * This symbol, if defined, tells that to flush
4122 * all pending stdio output one must loop through all
4123 * the stdio file handles stored in an array and fflush them.
4124 * Note that if fflushNULL is defined, fflushall will not
4125 * even be probed for and will be left undefined.
4127 #define FFLUSH_NULL /**/
4128 /*#define FFLUSH_ALL /**/
4131 * This symbol, if defined, indicates that <assert.h> exists and
4132 * could be included by the C program to get the assert() macro.
4134 #define I_ASSERT /**/
4137 * This symbol, if defined, indicates that <crypt.h> exists and
4138 * should be included.
4140 /*#define I_CRYPT /**/
4143 * This symbol contains the type of the prefix structure element
4144 * in the <db.h> header file. In older versions of DB, it was
4145 * int, while in newer ones it is u_int32_t.
4148 * This symbol contains the type of the prefix structure element
4149 * in the <db.h> header file. In older versions of DB, it was
4150 * int, while in newer ones it is size_t.
4152 /* DB_VERSION_MAJOR_CFG:
4153 * This symbol, if defined, defines the major version number of
4154 * Berkeley DB found in the <db.h> header when Perl was configured.
4156 /* DB_VERSION_MINOR_CFG:
4157 * This symbol, if defined, defines the minor version number of
4158 * Berkeley DB found in the <db.h> header when Perl was configured.
4159 * For DB version 1 this is always 0.
4161 /* DB_VERSION_PATCH_CFG:
4162 * This symbol, if defined, defines the patch version number of
4163 * Berkeley DB found in the <db.h> header when Perl was configured.
4164 * For DB version 1 this is always 0.
4166 #define DB_Hash_t int /**/
4167 #define DB_Prefix_t int /**/
4168 #define DB_VERSION_MAJOR_CFG 0 /**/
4169 #define DB_VERSION_MINOR_CFG 0 /**/
4170 #define DB_VERSION_PATCH_CFG 0 /**/
4173 * This symbol, if defined, indicates that <fp.h> exists and
4174 * should be included.
4179 * This symbol, if defined, indicates that <fp_class.h> exists and
4180 * should be included.
4182 /*#define I_FP_CLASS /**/
4185 * This symbol, if defined, indicates that <ieeefp.h> exists and
4186 * should be included.
4188 /*#define I_IEEEFP /**/
4191 * This symbol, if defined, indicates to the C program that it should
4192 * include <inttypes.h>.
4194 /*#define I_INTTYPES /**/
4197 * This symbol, if defined, indicates that <langinfo.h> exists and
4198 * should be included.
4200 /*#define I_LANGINFO /**/
4203 * This symbol, if defined, indicates that <libutil.h> exists and
4204 * should be included.
4206 /*#define I_LIBUTIL /**/
4209 * This symbol, if defined, indicates to the C program that it should
4210 * include <malloc/malloc.h>.
4212 /*#define I_MALLOCMALLOC /**/
4215 * This symbol, if defined, indicates that <mntent.h> exists and
4216 * should be included.
4218 /*#define I_MNTENT /**/
4221 * This symbol, if defined, indicates to the C program that it should
4222 * include <netinet/tcp.h>.
4224 /*#define I_NETINET_TCP /**/
4227 * This symbol, if defined, indicates that <poll.h> exists and
4228 * should be included. (see also HAS_POLL)
4230 /*#define I_POLL /**/
4233 * This symbol, if defined, indicates that <prot.h> exists and
4234 * should be included.
4236 /*#define I_PROT /**/
4239 * This symbol, if defined, indicates that <shadow.h> exists and
4240 * should be included.
4242 /*#define I_SHADOW /**/
4245 * This symbol, if defined, indicates that <socks.h> exists and
4246 * should be included.
4248 /*#define I_SOCKS /**/
4251 * This symbol, if defined, indicates that <sunmath.h> exists and
4252 * should be included.
4254 /*#define I_SUNMATH /**/
4257 * This symbol, if defined, indicates that <syslog.h> exists and
4258 * should be included.
4260 /*#define I_SYSLOG /**/
4263 * This symbol, if defined, indicates that <sys/mode.h> exists and
4264 * should be included.
4266 /*#define I_SYSMODE /**/
4269 * This symbol, if defined, indicates that <sys/mount.h> exists and
4270 * should be included.
4272 /*#define I_SYS_MOUNT /**/
4275 * This symbol, if defined, indicates that <sys/statfs.h> exists.
4277 /*#define I_SYS_STATFS /**/
4280 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
4281 * should be included.
4283 /*#define I_SYS_STATVFS /**/
4286 * This symbol, if defined, indicates that <sys/utsname.h> exists and
4287 * should be included.
4289 /*#define I_SYSUTSNAME /**/
4292 * This symbol, if defined, indicates that <sys/vfs.h> exists and
4293 * should be included.
4295 /*#define I_SYS_VFS /**/
4298 * This symbol, if defined, indicates that <ustat.h> exists and
4299 * should be included.
4301 /*#define I_USTAT /**/
4304 * This symbol, if defined, contains the string used by stdio to
4305 * format long doubles (format 'f') for output.
4308 * This symbol, if defined, contains the string used by stdio to
4309 * format long doubles (format 'g') for output.
4312 * This symbol, if defined, contains the string used by stdio to
4313 * format long doubles (format 'e') for output.
4316 * This symbol, if defined, contains the string used by stdio to
4317 * format long doubles (format 'f') for input.
4319 /*#define PERL_PRIfldbl "f" /**/
4320 /*#define PERL_PRIgldbl "g" /**/
4321 /*#define PERL_PRIeldbl "e" /**/
4322 /*#define PERL_SCNfldbl "f" /**/
4325 * This symbol, if defined, indicates that the Misc Attribution
4326 * Declaration code should be conditionally compiled.
4328 /*#define PERL_MAD /**/
4331 * This symbol, if defined, indicates that the system stores
4332 * the variable argument list datatype, va_list, in a format
4333 * that cannot be copied by simple assignment, so that some
4334 * other means must be used when copying is required.
4335 * As such systems vary in their provision (or non-provision)
4336 * of copying mechanisms, handy.h defines a platform-
4337 * independent macro, Perl_va_copy(src, dst), to do the job.
4339 /*#define NEED_VA_COPY /**/
4342 * This symbol defines the C type used for Perl's IV.
4345 * This symbol defines the C type used for Perl's UV.
4348 * This symbol defines the C type used for Perl's I8.
4351 * This symbol defines the C type used for Perl's U8.
4354 * This symbol defines the C type used for Perl's I16.
4357 * This symbol defines the C type used for Perl's U16.
4360 * This symbol defines the C type used for Perl's I32.
4363 * This symbol defines the C type used for Perl's U32.
4366 * This symbol defines the C type used for Perl's I64.
4369 * This symbol defines the C type used for Perl's U64.
4372 * This symbol defines the C type used for Perl's NV.
4375 * This symbol contains the sizeof(IV).
4378 * This symbol contains the sizeof(UV).
4381 * This symbol contains the sizeof(I8).
4384 * This symbol contains the sizeof(U8).
4387 * This symbol contains the sizeof(I16).
4390 * This symbol contains the sizeof(U16).
4393 * This symbol contains the sizeof(I32).
4396 * This symbol contains the sizeof(U32).
4399 * This symbol contains the sizeof(I64).
4402 * This symbol contains the sizeof(U64).
4405 * This symbol contains the sizeof(NV).
4408 * This symbol, if defined, indicates that a variable of type NVTYPE
4409 * can preserve all the bits of a variable of type UVTYPE.
4411 /* NV_PRESERVES_UV_BITS:
4412 * This symbol contains the number of bits a variable of type NVTYPE
4413 * can preserve of a variable of type UVTYPE.
4415 /* NV_OVERFLOWS_INTEGERS_AT:
4416 * This symbol gives the largest integer value that NVs can hold. This
4417 * value + 1.0 cannot be stored accurately. It is expressed as constant
4418 * floating point expression to reduce the chance of decimale/binary
4419 * conversion issues. If it can not be determined, the value 0 is given.
4421 /* NV_ZERO_IS_ALLBITS_ZERO:
4422 * This symbol, if defined, indicates that a variable of type NVTYPE
4423 * stores 0.0 in memory as all bits zero.
4426 # define IVTYPE __int64 /**/
4427 # define UVTYPE unsigned __int64 /**/
4429 # define IVTYPE long long /**/
4430 # define UVTYPE unsigned long long /**/
4432 #define I8TYPE char /**/
4433 #define U8TYPE unsigned char /**/
4434 #define I16TYPE short /**/
4435 #define U16TYPE unsigned short /**/
4436 #define I32TYPE long /**/
4437 #define U32TYPE unsigned long /**/
4440 # define I64TYPE __int64 /**/
4441 # define U64TYPE unsigned __int64 /**/
4443 # define I64TYPE long long /**/
4444 # define U64TYPE unsigned long long /**/
4447 #define NVTYPE double /**/
4448 #define IVSIZE 8 /**/
4449 #define UVSIZE 8 /**/
4450 #define I8SIZE 1 /**/
4451 #define U8SIZE 1 /**/
4452 #define I16SIZE 2 /**/
4453 #define U16SIZE 2 /**/
4454 #define I32SIZE 4 /**/
4455 #define U32SIZE 4 /**/
4457 #define I64SIZE 8 /**/
4458 #define U64SIZE 8 /**/
4460 #define NVSIZE 8 /**/
4461 #undef NV_PRESERVES_UV
4462 #define NV_PRESERVES_UV_BITS 53
4463 #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
4464 #define NV_ZERO_IS_ALLBITS_ZERO
4467 # if BYTEORDER == 0x1234
4469 # define BYTEORDER 0x12345678
4471 # if BYTEORDER == 0x4321
4473 # define BYTEORDER 0x87654321
4480 * This symbol defines the format string used for printing a Perl IV
4481 * as a signed decimal integer.
4484 * This symbol defines the format string used for printing a Perl UV
4485 * as an unsigned decimal integer.
4488 * This symbol defines the format string used for printing a Perl UV
4489 * as an unsigned octal integer.
4492 * This symbol defines the format string used for printing a Perl UV
4493 * as an unsigned hexadecimal integer in lowercase abcdef.
4496 * This symbol defines the format string used for printing a Perl UV
4497 * as an unsigned hexadecimal integer in uppercase ABCDEF.
4500 * This symbol defines the format string used for printing a Perl NV
4501 * using %e-ish floating point format.
4504 * This symbol defines the format string used for printing a Perl NV
4505 * using %f-ish floating point format.
4508 * This symbol defines the format string used for printing a Perl NV
4509 * using %g-ish floating point format.
4511 #define IVdf "I64d" /**/
4512 #define UVuf "I64u" /**/
4513 #define UVof "I64o" /**/
4514 #define UVxf "I64x" /**/
4515 #define UVXf "I64X" /**/
4516 #define NVef "e" /**/
4517 #define NVff "f" /**/
4518 #define NVgf "g" /**/
4521 * This symbol holds the minimum number of bits operated by select.
4522 * That is, if you do select(n, ...), how many bits at least will be
4523 * cleared in the masks if some activity is detected. Usually this
4524 * is either n or 32*ceil(n/32), especially many little-endians do
4525 * the latter. This is only useful if you have select(), naturally.
4527 #define SELECT_MIN_BITS 32 /**/
4530 * This variable contains the string to put in front of a perl
4531 * script to make sure (one hopes) that it runs with perl and not
4534 #define STARTPERL "#!perl" /**/
4536 /* HAS_STDIO_STREAM_ARRAY:
4537 * This symbol, if defined, tells that there is an array
4538 * holding the stdio streams.
4540 /* STDIO_STREAM_ARRAY:
4541 * This symbol tells the name of the array holding the stdio streams.
4542 * Usual values include _iob, __iob, and __sF.
4544 /*#define HAS_STDIO_STREAM_ARRAY /**/
4545 #ifdef HAS_STDIO_STREAM_ARRAY
4546 #define STDIO_STREAM_ARRAY
4550 * This symbol contains the maximum value for the time_t offset that
4551 * the system function gmtime () accepts, and defaults to 0
4554 * This symbol contains the minimum value for the time_t offset that
4555 * the system function gmtime () accepts, and defaults to 0
4558 * This symbol contains the maximum value for the time_t offset that
4559 * the system function localtime () accepts, and defaults to 0
4562 * This symbol contains the minimum value for the time_t offset that
4563 * the system function localtime () accepts, and defaults to 0
4565 #define GMTIME_MAX 2147483647 /**/
4566 #define GMTIME_MIN 0 /**/
4567 #define LOCALTIME_MAX 2147483647 /**/
4568 #define LOCALTIME_MIN 0 /**/
4571 * This symbol, if defined, indicates that 64-bit integers should
4572 * be used when available. If not defined, the native integers
4573 * will be employed (be they 32 or 64 bits). The minimal possible
4574 * 64-bitness is used, just enough to get 64-bit integers into Perl.
4575 * This may mean using for example "long longs", while your memory
4576 * may still be limited to 2 gigabytes.
4579 * This symbol, if defined, indicates that 64-bit integers should
4580 * be used when available. If not defined, the native integers
4581 * will be used (be they 32 or 64 bits). The maximal possible
4582 * 64-bitness is employed: LP64 or ILP64, meaning that you will
4583 * be able to use more than 2 gigabytes of memory. This mode is
4584 * even more binary incompatible than USE_64_BIT_INT. You may not
4585 * be able to run the resulting executable in a 32-bit CPU at all or
4586 * you may need at least to reboot your OS to 64-bit mode.
4588 #ifndef USE_64_BIT_INT
4589 #define USE_64_BIT_INT /**/
4591 #ifndef USE_64_BIT_ALL
4592 /*#define USE_64_BIT_ALL /**/
4596 * This symbol, if defined, indicates that Perl should
4597 * be built with support for DTrace.
4599 /*#define USE_DTRACE /**/
4602 * This symbol, if defined, indicates that Perl should
4603 * be built to use 'fast stdio'.
4604 * Defaults to define in Perls 5.8 and earlier, to undef later.
4606 #ifndef USE_FAST_STDIO
4607 /*#define USE_FAST_STDIO /**/
4611 * This symbol, if defined, indicates that large file support
4612 * should be used when available.
4614 #ifndef USE_LARGE_FILES
4615 #define USE_LARGE_FILES /**/
4619 * This symbol, if defined, indicates that long doubles should
4620 * be used when available.
4622 #ifndef USE_LONG_DOUBLE
4623 /*#define USE_LONG_DOUBLE /**/
4627 * This symbol, if defined, indicates that 64-bit interfaces and
4628 * long doubles should be used when available.
4630 #ifndef USE_MORE_BITS
4631 /*#define USE_MORE_BITS /**/
4635 * This symbol, if defined, indicates that Perl should
4636 * be built to use multiplicity.
4638 #ifndef MULTIPLICITY
4639 #define MULTIPLICITY /**/
4643 * This symbol, if defined, indicates that the PerlIO abstraction should
4644 * be used throughout. If not defined, stdio should be
4645 * used in a fully backward compatible manner.
4648 #define USE_PERLIO /**/
4652 * This symbol, if defined, indicates that Perl should
4653 * be built to use socks.
4656 /*#define USE_SOCKS /**/