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 Feb 22 17:35:20 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 ctermid routine is
73 * available to generate filename for terminal.
75 /*#define HAS_CTERMID /**/
78 * This symbol, if defined, indicates that the cuserid routine is
79 * available to get character login names.
81 /*#define HAS_CUSERID /**/
84 * This symbol, if defined, indicates that this system's <float.h>
85 * or <limits.h> defines the symbol DBL_DIG, which is the number
86 * of significant digits in a double precision number. If this
87 * symbol is not defined, a guess of 15 is usually pretty good.
89 #define HAS_DBL_DIG /**/
92 * This symbol, if defined, indicates that the difftime routine is
95 #define HAS_DIFFTIME /**/
98 * This symbol, if defined, indicates that the dlerror routine is
99 * available to return a string describing the last error that
100 * occurred from a call to dlopen(), dlclose() or dlsym().
102 #define HAS_DLERROR /**/
105 * This symbol, if defined, indicates that the dup2 routine is
106 * available to duplicate file descriptors.
108 #define HAS_DUP2 /**/
111 * This symbol, if defined, indicates that the fchmod routine is available
112 * to change mode of opened files. If unavailable, use chmod().
114 /*#define HAS_FCHMOD /**/
117 * This symbol, if defined, indicates that the fchown routine is available
118 * to change ownership of opened files. If unavailable, use chown().
120 /*#define HAS_FCHOWN /**/
123 * This symbol, if defined, indicates to the C program that
124 * the fcntl() function exists.
126 /*#define HAS_FCNTL /**/
129 * This symbol, if defined, indicates that the fgetpos routine is
130 * available to get the file position indicator, similar to ftell().
132 #define HAS_FGETPOS /**/
135 * This symbol, if defined, indicates that the flock routine is
136 * available to do file locking.
138 #define HAS_FLOCK /**/
141 * This symbol, if defined, indicates that the fork routine is
144 /*#define HAS_FORK /**/
147 * This symbol, if defined, indicates that the fsetpos routine is
148 * available to set the file position indicator, similar to fseek().
150 #define HAS_FSETPOS /**/
153 * This symbol, if defined, indicates that the gettimeofday() system
154 * call is available for a sub-second accuracy clock. Usually, the file
155 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
156 * The type "Timeval" should be used to refer to "struct timeval".
158 #define HAS_GETTIMEOFDAY /**/
159 #ifdef HAS_GETTIMEOFDAY
160 #define Timeval struct timeval /* Structure used by gettimeofday() */
164 * This symbol, if defined, indicates that the getgroups() routine is
165 * available to get the list of process groups. If unavailable, multiple
166 * groups are probably not supported.
168 /*#define HAS_GETGROUPS /**/
171 * This symbol, if defined, indicates that the getlogin routine is
172 * available to get the login name.
174 #define HAS_GETLOGIN /**/
177 * This symbol, if defined, indicates to the C program that
178 * the getpgid(pid) function is available to get the
181 /*#define HAS_GETPGID /**/
184 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
185 * routine is available to get the current process group.
187 /*#define HAS_GETPGRP2 /**/
190 * This symbol, if defined, indicates that the getppid routine is
191 * available to get the parent process ID.
193 /*#define HAS_GETPPID /**/
196 * This symbol, if defined, indicates that the getpriority routine is
197 * available to get a process's priority.
199 /*#define HAS_GETPRIORITY /**/
202 * This symbol, if defined, indicates to the C program that the
203 * inet_aton() function is available to parse IP address "dotted-quad"
206 /*#define HAS_INET_ATON /**/
209 * This symbol, if defined, indicates that the killpg routine is available
210 * to kill process groups. If unavailable, you probably should use kill
211 * with a negative process number.
213 #define HAS_KILLPG /**/
216 * This symbol, if defined, indicates that the link routine is
217 * available to create hard links.
219 #define HAS_LINK /**/
222 * This symbol, if defined, indicates that the localeconv routine is
223 * available for numeric and monetary formatting conventions.
225 #define HAS_LOCALECONV /**/
228 * This symbol, if defined, indicates that the lockf routine is
229 * available to do file locking.
231 /*#define HAS_LOCKF /**/
234 * This symbol, if defined, indicates that the lstat routine is
235 * available to do file stats on symbolic links.
237 /*#define HAS_LSTAT /**/
240 * This symbol, if defined, indicates that the mblen routine is available
241 * to find the number of bytes in a multibye character.
243 #define HAS_MBLEN /**/
246 * This symbol, if defined, indicates that the mbstowcs routine is
247 * available to covert a multibyte string into a wide character string.
249 #define HAS_MBSTOWCS /**/
252 * This symbol, if defined, indicates that the mbtowc routine is available
253 * to covert a multibyte to a wide character.
255 #define HAS_MBTOWC /**/
258 * This symbol, if defined, indicates that the memcmp routine is available
259 * to compare blocks of memory.
261 #define HAS_MEMCMP /**/
264 * This symbol, if defined, indicates that the memcpy routine is available
265 * to copy blocks of memory.
267 #define HAS_MEMCPY /**/
270 * This symbol, if defined, indicates that the memmove routine is available
271 * to copy potentially overlapping blocks of memory. This should be used
272 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
275 #define HAS_MEMMOVE /**/
278 * This symbol, if defined, indicates that the memset routine is available
279 * to set blocks of memory.
281 #define HAS_MEMSET /**/
284 * This symbol, if defined, indicates that the mkdir routine is available
285 * to create directories. Otherwise you should fork off a new process to
288 #define HAS_MKDIR /**/
291 * This symbol, if defined, indicates that the mkfifo routine is
292 * available to create FIFOs. Otherwise, mknod should be able to
293 * do it for you. However, if mkfifo is there, mknod might require
294 * super-user privileges which mkfifo will not.
296 /*#define HAS_MKFIFO /**/
299 * This symbol, if defined, indicates that the mktime routine is
302 #define HAS_MKTIME /**/
305 * This symbol, if defined, indicates that the msync system call is
306 * available to synchronize a mapped file.
308 /*#define HAS_MSYNC /**/
311 * This symbol, if defined, indicates that the munmap system call is
312 * available to unmap a region, usually mapped by mmap().
314 /*#define HAS_MUNMAP /**/
317 * This symbol, if defined, indicates that the nice routine is
320 /*#define HAS_NICE /**/
323 * This symbol, if defined, indicates that pathconf() is available
324 * to determine file-system related limits and options associated
325 * with a given filename.
328 * This symbol, if defined, indicates that pathconf() is available
329 * to determine file-system related limits and options associated
330 * with a given open file descriptor.
332 /*#define HAS_PATHCONF /**/
333 /*#define HAS_FPATHCONF /**/
336 * This symbol, if defined, indicates that the pause routine is
337 * available to suspend a process until a signal is received.
339 #define HAS_PAUSE /**/
342 * This symbol, if defined, indicates that the pipe routine is
343 * available to create an inter-process channel.
345 #define HAS_PIPE /**/
348 * This symbol, if defined, indicates that the readdir routine is
349 * available to read directory entries. You may have to include
350 * <dirent.h>. See I_DIRENT.
352 #define HAS_READDIR /**/
355 * This symbol, if defined, indicates that the seekdir routine is
356 * available. You may have to include <dirent.h>. See I_DIRENT.
358 #define HAS_SEEKDIR /**/
361 * This symbol, if defined, indicates that the telldir routine is
362 * available. You may have to include <dirent.h>. See I_DIRENT.
364 #define HAS_TELLDIR /**/
367 * This symbol, if defined, indicates that the rewinddir routine is
368 * available. You may have to include <dirent.h>. See I_DIRENT.
370 #define HAS_REWINDDIR /**/
373 * This symbol, if defined, indicates that the readlink routine is
374 * available to read the value of a symbolic link.
376 /*#define HAS_READLINK /**/
379 * This symbol, if defined, indicates that the rename routine is available
380 * to rename files. Otherwise you should do the unlink(), link(), unlink()
383 #define HAS_RENAME /**/
386 * This symbol, if defined, indicates that the rmdir routine is
387 * available to remove directories. Otherwise you should fork off a
388 * new process to exec /bin/rmdir.
390 #define HAS_RMDIR /**/
393 * This symbol, if defined, indicates that the select routine is
394 * available to select active file descriptors. If the timeout field
395 * is used, <sys/time.h> may need to be included.
397 #define HAS_SELECT /**/
400 * This symbol, if defined, indicates that the setegid routine is available
401 * to change the effective gid of the current program.
403 /*#define HAS_SETEGID /**/
406 * This symbol, if defined, indicates that the seteuid routine is available
407 * to change the effective uid of the current program.
409 /*#define HAS_SETEUID /**/
412 * This symbol, if defined, indicates that the setlinebuf routine is
413 * available to change stderr or stdout from block-buffered or unbuffered
414 * to a line-buffered mode.
416 /*#define HAS_SETLINEBUF /**/
419 * This symbol, if defined, indicates that the setlocale routine is
420 * available to handle locale-specific ctype implementations.
422 #define HAS_SETLOCALE /**/
425 * This symbol, if defined, indicates that the setpgid(pid, gpid)
426 * routine is available to set process group ID.
428 /*#define HAS_SETPGID /**/
431 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
432 * routine is available to set the current process group.
434 /*#define HAS_SETPGRP2 /**/
437 * This symbol, if defined, indicates that the setpriority routine is
438 * available to set a process's priority.
440 /*#define HAS_SETPRIORITY /**/
443 * This symbol, if defined, indicates that the setregid routine is
444 * available to change the real and effective gid of the current
448 * This symbol, if defined, indicates that the setresgid routine is
449 * available to change the real, effective and saved gid of the current
452 /*#define HAS_SETREGID /**/
453 /*#define HAS_SETRESGID /**/
456 * This symbol, if defined, indicates that the setreuid routine is
457 * available to change the real and effective uid of the current
461 * This symbol, if defined, indicates that the setresuid routine is
462 * available to change the real, effective and saved uid of the current
465 /*#define HAS_SETREUID /**/
466 /*#define HAS_SETRESUID /**/
469 * This symbol, if defined, indicates that the setrgid routine is available
470 * to change the real gid of the current program.
472 /*#define HAS_SETRGID /**/
475 * This symbol, if defined, indicates that the setruid routine is available
476 * to change the real uid of the current program.
478 /*#define HAS_SETRUID /**/
481 * This symbol, if defined, indicates that the setsid routine is
482 * available to set the process group ID.
484 /*#define HAS_SETSID /**/
487 * This symbol is defined to indicate that the strchr()/strrchr()
488 * functions are available for string searching. If not, try the
489 * index()/rindex() pair.
492 * This symbol is defined to indicate that the index()/rindex()
493 * functions are available for string searching.
495 #define HAS_STRCHR /**/
496 /*#define HAS_INDEX /**/
499 * This symbol, if defined, indicates that the strcoll routine is
500 * available to compare strings using collating information.
502 #define HAS_STRCOLL /**/
505 * This symbol, if defined, indicates that the strtod routine is
506 * available to provide better numeric string conversion than atof().
508 #define HAS_STRTOD /**/
511 * This symbol, if defined, indicates that the strtol routine is available
512 * to provide better numeric string conversion than atoi() and friends.
514 #define HAS_STRTOL /**/
517 * This symbol, if defined, indicates that the strxfrm() routine is
518 * available to transform strings.
520 #define HAS_STRXFRM /**/
523 * This symbol, if defined, indicates that the symlink routine is available
524 * to create symbolic links.
526 /*#define HAS_SYMLINK /**/
529 * This symbol, if defined, indicates that the syscall routine is
530 * available to call arbitrary system calls. If undefined, that's tough.
532 /*#define HAS_SYSCALL /**/
535 * This symbol, if defined, indicates that sysconf() is available
536 * to determine system related limits and options.
538 /*#define HAS_SYSCONF /**/
541 * This symbol, if defined, indicates that the system routine is
542 * available to issue a shell command.
544 #define HAS_SYSTEM /**/
547 * This symbol, if defined, indicates that the tcgetpgrp routine is
548 * available to get foreground process group ID.
550 /*#define HAS_TCGETPGRP /**/
553 * This symbol, if defined, indicates that the tcsetpgrp routine is
554 * available to set foreground process group ID.
556 /*#define HAS_TCSETPGRP /**/
559 * This symbol, if defined, indicates that the truncate routine is
560 * available to truncate files.
562 /*#define HAS_TRUNCATE /**/
565 * This symbol, if defined, indicates that the tzname[] array is
566 * available to access timezone names.
568 #define HAS_TZNAME /**/
571 * This symbol, if defined, indicates that the umask routine is
572 * available to set and get the value of the file creation mask.
574 #define HAS_UMASK /**/
577 * This symbol, if defined, indicates that the usleep routine is
578 * available to let the process sleep on a sub-second accuracy.
580 /*#define HAS_USLEEP /**/
583 * This symbol, if defined, indicates that wait4() exists.
585 /*#define HAS_WAIT4 /**/
588 * This symbol, if defined, indicates that the waitpid routine is
589 * available to wait for child process.
591 #define HAS_WAITPID /**/
594 * This symbol, if defined, indicates that the wcstombs routine is
595 * available to convert wide character strings to multibyte strings.
597 #define HAS_WCSTOMBS /**/
600 * This symbol, if defined, indicates that the wctomb routine is available
601 * to covert a wide character to a multibyte.
603 #define HAS_WCTOMB /**/
606 * This symbol, if defined, indicates to the C program that it should
607 * include <arpa/inet.h> to get inet_addr and friends declarations.
609 #define I_ARPA_INET /**/
612 * This symbol, if defined, indicates that <dbm.h> exists and should
616 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
617 * should be included.
620 #define I_RPCSVC_DBM /**/
623 * This symbol, if defined, indicates that <dlfcn.h> exists and should
629 * This manifest constant tells the C program to include <fcntl.h>.
634 * This symbol, if defined, indicates to the C program that it should
635 * include <float.h> to get definition of symbols like DBL_MAX or
636 * DBL_MIN, i.e. machine dependent floating point values.
641 * This symbol, if defined, indicates that <gdbm.h> exists and should
644 /*#define I_GDBM /**/
647 * This symbol, if defined, indicates to the C program that it should
648 * include <limits.h> to get definition of symbols like WORD_BIT or
649 * LONG_MAX, i.e. machine dependant limitations.
651 #define I_LIMITS /**/
654 * This symbol, if defined, indicates to the C program that it should
655 * include <locale.h>.
657 #define I_LOCALE /**/
660 * This symbol, if defined, indicates to the C program that it should
666 * This symbol, if defined, indicates to the C program that it should
667 * include <memory.h>.
669 /*#define I_MEMORY /**/
672 * This symbol, if defined, indicates to the C program that it should
673 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
675 /*#define I_NETINET_IN /**/
678 * This symbol, if defined, indicates to the C program that it should
681 /*#define I_SFIO /**/
684 * This symbol, if defined, indicates that <stddef.h> exists and should
687 #define I_STDDEF /**/
690 * This symbol, if defined, indicates that <stdlib.h> exists and should
693 #define I_STDLIB /**/
696 * This symbol, if defined, indicates to the C program that it should
697 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
699 #define I_STRING /**/
702 * This symbol, if defined, indicates to the C program that it should
703 * include <sys/dir.h>.
705 /*#define I_SYS_DIR /**/
708 * This symbol, if defined, indicates to the C program that it should
709 * include <sys/file.h> to get definition of R_OK and friends.
711 /*#define I_SYS_FILE /**/
714 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
715 * be included. Otherwise, include <sgtty.h> or <termio.h>.
718 * This symbol, if defined, indicates the <sys/sockio.h> should be included
719 * to get socket ioctl options, like SIOCATMARK.
721 /*#define I_SYS_IOCTL /**/
722 /*#define I_SYS_SOCKIO /**/
725 * This symbol, if defined, indicates to the C program that it should
726 * include <sys/ndir.h>.
728 /*#define I_SYS_NDIR /**/
731 * This symbol, if defined, indicates to the C program that it should
732 * include <sys/param.h>.
734 /*#define I_SYS_PARAM /**/
737 * This symbol, if defined, indicates to the C program that it should
738 * include <sys/resource.h>.
740 /*#define I_SYS_RESOURCE /**/
743 * This symbol, if defined, indicates to the C program that it should
744 * include <sys/select.h> in order to get definition of struct timeval.
746 /*#define I_SYS_SELECT /**/
749 * This symbol, if defined, indicates to the C program that it should
750 * include <sys/stat.h>.
752 #define I_SYS_STAT /**/
755 * This symbol, if defined, indicates to the C program that it should
756 * include <sys/times.h>.
758 /*#define I_SYS_TIMES /**/
761 * This symbol, if defined, indicates to the C program that it should
762 * include <sys/types.h>.
764 #define I_SYS_TYPES /**/
767 * This symbol, if defined, indicates to the C program that it should
768 * include <sys/un.h> to get UNIX domain socket definitions.
770 /*#define I_SYS_UN /**/
773 * This symbol, if defined, indicates to the C program that it should
774 * include <sys/wait.h>.
776 /*#define I_SYS_WAIT /**/
779 * This symbol, if defined, indicates that the program should include
780 * <termio.h> rather than <sgtty.h>. There are also differences in
781 * the ioctl() calls that depend on the value of this symbol.
784 * This symbol, if defined, indicates that the program should include
785 * the POSIX termios.h rather than sgtty.h or termio.h.
786 * There are also differences in the ioctl() calls that depend on the
787 * value of this symbol.
790 * This symbol, if defined, indicates that the program should include
791 * <sgtty.h> rather than <termio.h>. There are also differences in
792 * the ioctl() calls that depend on the value of this symbol.
794 /*#define I_TERMIO /**/
795 /*#define I_TERMIOS /**/
796 /*#define I_SGTTY /**/
799 * This symbol, if defined, indicates to the C program that it should
800 * include <unistd.h>.
802 /*#define I_UNISTD /**/
805 * This symbol, if defined, indicates to the C program that it should
811 * This symbol, if defined, indicates to the C program that it should
812 * include <values.h> to get definition of symbols like MINFLOAT or
813 * MAXLONG, i.e. machine dependant limitations. Probably, you
814 * should use <limits.h> instead, if it is available.
816 /*#define I_VALUES /**/
819 * This symbol, if defined, indicates to the C program that it should
822 /*#define I_VFORK /**/
825 * This symbol contains the value of sizeof(int) so that the C
826 * preprocessor can make decisions based on it.
829 * This symbol contains the value of sizeof(long) so that the C
830 * preprocessor can make decisions based on it.
833 * This symbol contains the value of sizeof(short) so that the C
834 * preprocessor can make decisions based on it.
836 #define INTSIZE 4 /**/
837 #define LONGSIZE 4 /**/
838 #define SHORTSIZE 2 /**/
841 * This symbol, if defined, signifies that the build
842 * process will produce some binary files that are going to be
843 * used in a cross-platform environment. This is the case for
844 * example with the NeXT "fat" binaries that contain executables
847 /*#define MULTIARCH /**/
850 * This symbol, if defined, tells that there's a 64-bit integer type,
851 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
852 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
854 /*#define HAS_QUAD /**/
857 # define Quad_t long long /**/
858 # define Uquad_t unsigned long long /**/
860 # define Quad_t __int64 /**/
861 # define Uquad_t unsigned __int64 /**/
863 # define QUADKIND 5 /**/
864 # define QUAD_IS_INT 1
865 # define QUAD_IS_LONG 2
866 # define QUAD_IS_LONG_LONG 3
867 # define QUAD_IS_INT64_T 4
871 * This symbol contains the name of the operating system, as determined
872 * by Configure. You shouldn't rely on it too much; the specific
873 * feature tests from Configure are generally more reliable.
876 * This symbol contains the version of the operating system, as determined
877 * by Configure. You shouldn't rely on it too much; the specific
878 * feature tests from Configure are generally more reliable.
880 #define OSNAME "MSWin32" /**/
881 #define OSVERS "5.1" /**/
884 * This variable, if defined, holds the name of the directory in
885 * which the user wants to put architecture-dependent public
886 * library files for perl5. It is most often a local directory
887 * such as /usr/local/lib. Programs using this variable must be
888 * prepared to deal with filename expansion. If ARCHLIB is the
889 * same as PRIVLIB, it is not defined, since presumably the
890 * program already searches PRIVLIB.
893 * This symbol contains the ~name expanded version of ARCHLIB, to be used
894 * in programs that are not prepared to deal with ~ expansion at run-time.
896 #define ARCHLIB "c:\\perl\\lib" /**/
897 /*#define ARCHLIB_EXP "" /**/
900 * This symbol holds a string representing the architecture name.
901 * It may be used to construct an architecture-dependant pathname
902 * where library files may be held under a private library, for
905 #define ARCHNAME "MSWin32-x86" /**/
908 * This symbol holds the path of the bin directory where the package will
909 * be installed. Program must be prepared to deal with ~name substitution.
912 * This symbol is the filename expanded version of the BIN symbol, for
913 * programs that do not want to deal with that at run-time.
915 /* PERL_RELOCATABLE_INC:
916 * This symbol, if defined, indicates that we'd like to relocate entries
917 * in @INC at run time based on the location of the perl binary.
919 #define BIN "c:\\perl\\bin" /**/
920 #define BIN_EXP "c:\\perl\\bin" /**/
921 #define PERL_RELOCATABLE_INC "undef" /**/
924 * This macro concatenates 2 tokens together.
927 * This macro surrounds its token with double quotes.
930 #define CAT2(a,b) a/**/b
931 #define STRINGIFY(a) "a"
934 #define PeRl_CaTiFy(a, b) a ## b
935 #define PeRl_StGiFy(a) #a
936 #define CAT2(a,b) PeRl_CaTiFy(a,b)
937 #define StGiFy(a) PeRl_StGiFy(a)
938 #define STRINGIFY(a) PeRl_StGiFy(a)
940 #if 42 != 1 && 42 != 42
941 #include "Bletch: How does this C preprocessor concatenate tokens?"
945 * This symbol contains the first part of the string which will invoke
946 * the C preprocessor on the standard input and produce to standard
947 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
948 * call a wrapper. See CPPRUN.
951 * This symbol contains the second part of the string which will invoke
952 * the C preprocessor on the standard input and produce to standard
953 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
954 * to specify standard input, otherwise the value is "".
957 * This symbol contains the string which will invoke a C preprocessor on
958 * the standard input and produce to standard output. It needs to end
959 * with CPPLAST, after all other preprocessor flags have been specified.
960 * The main difference with CPPSTDIN is that this program will never be a
961 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
962 * available directly to the user. Note that it may well be different from
963 * the preprocessor used to compile the C program.
966 * This symbol is intended to be used along with CPPRUN in the same manner
967 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
970 # define CPPSTDIN "gcc -E"
971 # define CPPMINUS "-"
972 # define CPPRUN "gcc -E"
974 # define CPPSTDIN "cppstdin"
976 # define CPPRUN "cl -nologo -E"
981 * This manifest constant lets the C program know that the access()
982 * system call is available to check for accessibility using real UID/GID.
983 * (always present on UNIX.)
985 #define HAS_ACCESS /**/
988 * This symbol, if defined, indicates that the accessx routine is
989 * available to do extended access checks.
991 /*#define HAS_ACCESSX /**/
994 * This symbol, if defined, indicates that the asctime_r routine
995 * is available to asctime re-entrantly.
998 * This symbol encodes the prototype of asctime_r.
999 * It is zero if d_asctime_r is undef, and one of the
1000 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1003 /*#define HAS_ASCTIME_R /**/
1004 #define ASCTIME_R_PROTO 0 /**/
1006 /* The HASATTRIBUTE_* defines are left undefined here because they vary from
1007 * one version of GCC to another. Instead, they are defined on the basis of
1008 * the compiler version in <perl.h>.
1010 /* HASATTRIBUTE_FORMAT:
1011 * Can we handle GCC attribute for checking printf-style formats
1013 /* PRINTF_FORMAT_NULL_OK:
1014 * Allows __printf__ format to be null when checking printf-style
1016 /* HASATTRIBUTE_MALLOC:
1017 * Can we handle GCC attribute for malloc-style functions.
1019 /* HASATTRIBUTE_NONNULL:
1020 * Can we handle GCC attribute for nonnull function parms.
1022 /* HASATTRIBUTE_NORETURN:
1023 * Can we handle GCC attribute for functions that do not return
1025 /* HASATTRIBUTE_PURE:
1026 * Can we handle GCC attribute for pure functions
1028 /* HASATTRIBUTE_UNUSED:
1029 * Can we handle GCC attribute for unused variables and arguments
1031 /* HASATTRIBUTE_WARN_UNUSED_RESULT:
1032 * Can we handle GCC attribute for warning on unused results
1034 /*#define HASATTRIBUTE_FORMAT /**/
1035 /*#define PRINTF_FORMAT_NULL_OK /**/
1036 /*#define HASATTRIBUTE_NORETURN /**/
1037 /*#define HASATTRIBUTE_MALLOC /**/
1038 /*#define HASATTRIBUTE_NONNULL /**/
1039 /*#define HASATTRIBUTE_PURE /**/
1040 /*#define HASATTRIBUTE_UNUSED /**/
1041 /*#define HASATTRIBUTE_WARN_UNUSED_RESULT /**/
1044 * This symbol, if defined, indicates that this C compiler knows about
1045 * the const type. There is no need to actually test for that symbol
1046 * within your programs. The mere use of the "const" keyword will
1047 * trigger the necessary tests.
1049 #define HASCONST /**/
1055 * This symbol, if defined, indicates that the crypt routine is available
1056 * to encrypt passwords and the like.
1058 /*#define HAS_CRYPT /**/
1061 * This symbol, if defined, indicates that the crypt_r routine
1062 * is available to crypt re-entrantly.
1065 * This symbol encodes the prototype of crypt_r.
1066 * It is zero if d_crypt_r is undef, and one of the
1067 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1070 /*#define HAS_CRYPT_R /**/
1071 #define CRYPT_R_PROTO 0 /**/
1074 * This symbol, if defined, indicates that the C-shell exists.
1077 * This symbol, if defined, contains the full pathname of csh.
1079 /*#define HAS_CSH /**/
1085 * This symbol, if defined, indicates that the ctermid_r routine
1086 * is available to ctermid re-entrantly.
1089 * This symbol encodes the prototype of ctermid_r.
1090 * It is zero if d_ctermid_r is undef, and one of the
1091 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
1094 /*#define HAS_CTERMID_R /**/
1095 #define CTERMID_R_PROTO 0 /**/
1098 * This symbol, if defined, indicates that the ctime_r routine
1099 * is available to ctime re-entrantly.
1102 * This symbol encodes the prototype of ctime_r.
1103 * It is zero if d_ctime_r is undef, and one of the
1104 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1107 /*#define HAS_CTIME_R /**/
1108 #define CTIME_R_PROTO 0 /**/
1110 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1111 * This symbol, if defined, indicates that the bug that prevents
1112 * setuid scripts from being secure is not present in this kernel.
1115 * This symbol, if defined, indicates that the C program should
1116 * check the script that it is executing for setuid/setgid bits, and
1117 * attempt to emulate setuid/setgid on systems that have disabled
1118 * setuid #! scripts because the kernel can't do it securely.
1119 * It is up to the package designer to make sure that this emulation
1120 * is done securely. Among other things, it should do an fstat on
1121 * the script it just opened to make sure it really is a setuid/setgid
1122 * script, it should make sure the arguments passed correspond exactly
1123 * to the argument on the #! line, and it should not trust any
1124 * subprocesses to which it must pass the filename rather than the
1125 * file descriptor of the script to be executed.
1127 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1128 /*#define DOSUID /**/
1131 * This symbol, if defined, indicates that the drand48_r routine
1132 * is available to drand48 re-entrantly.
1135 * This symbol encodes the prototype of drand48_r.
1136 * It is zero if d_drand48_r is undef, and one of the
1137 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1140 /*#define HAS_DRAND48_R /**/
1141 #define DRAND48_R_PROTO 0 /**/
1143 /* HAS_DRAND48_PROTO:
1144 * This symbol, if defined, indicates that the system provides
1145 * a prototype for the drand48() function. Otherwise, it is up
1146 * to the program to supply one. A good guess is
1147 * extern double drand48(void);
1149 /*#define HAS_DRAND48_PROTO /**/
1152 * This symbol, if defined, indicates that the eaccess routine is
1153 * available to do extended access checks.
1155 /*#define HAS_EACCESS /**/
1158 * This symbol, if defined, indicates that the getgrent routine is
1159 * available for finalizing sequential access of the group database.
1161 /*#define HAS_ENDGRENT /**/
1164 * This symbol, if defined, indicates that the endgrent_r routine
1165 * is available to endgrent re-entrantly.
1167 /* ENDGRENT_R_PROTO:
1168 * This symbol encodes the prototype of endgrent_r.
1169 * It is zero if d_endgrent_r is undef, and one of the
1170 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1173 /*#define HAS_ENDGRENT_R /**/
1174 #define ENDGRENT_R_PROTO 0 /**/
1177 * This symbol, if defined, indicates that the endhostent() routine is
1178 * available to close whatever was being used for host queries.
1180 /*#define HAS_ENDHOSTENT /**/
1182 /* HAS_ENDHOSTENT_R:
1183 * This symbol, if defined, indicates that the endhostent_r routine
1184 * is available to endhostent re-entrantly.
1186 /* ENDHOSTENT_R_PROTO:
1187 * This symbol encodes the prototype of endhostent_r.
1188 * It is zero if d_endhostent_r is undef, and one of the
1189 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
1192 /*#define HAS_ENDHOSTENT_R /**/
1193 #define ENDHOSTENT_R_PROTO 0 /**/
1196 * This symbol, if defined, indicates that the endnetent() routine is
1197 * available to close whatever was being used for network queries.
1199 /*#define HAS_ENDNETENT /**/
1202 * This symbol, if defined, indicates that the endnetent_r routine
1203 * is available to endnetent re-entrantly.
1205 /* ENDNETENT_R_PROTO:
1206 * This symbol encodes the prototype of endnetent_r.
1207 * It is zero if d_endnetent_r is undef, and one of the
1208 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
1211 /*#define HAS_ENDNETENT_R /**/
1212 #define ENDNETENT_R_PROTO 0 /**/
1215 * This symbol, if defined, indicates that the endprotoent() routine is
1216 * available to close whatever was being used for protocol queries.
1218 /*#define HAS_ENDPROTOENT /**/
1220 /* HAS_ENDPROTOENT_R:
1221 * This symbol, if defined, indicates that the endprotoent_r routine
1222 * is available to endprotoent re-entrantly.
1224 /* ENDPROTOENT_R_PROTO:
1225 * This symbol encodes the prototype of endprotoent_r.
1226 * It is zero if d_endprotoent_r is undef, and one of the
1227 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
1230 /*#define HAS_ENDPROTOENT_R /**/
1231 #define ENDPROTOENT_R_PROTO 0 /**/
1234 * This symbol, if defined, indicates that the getgrent routine is
1235 * available for finalizing sequential access of the passwd database.
1237 /*#define HAS_ENDPWENT /**/
1240 * This symbol, if defined, indicates that the endpwent_r routine
1241 * is available to endpwent re-entrantly.
1243 /* ENDPWENT_R_PROTO:
1244 * This symbol encodes the prototype of endpwent_r.
1245 * It is zero if d_endpwent_r is undef, and one of the
1246 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1249 /*#define HAS_ENDPWENT_R /**/
1250 #define ENDPWENT_R_PROTO 0 /**/
1253 * This symbol, if defined, indicates that the endservent() routine is
1254 * available to close whatever was being used for service queries.
1256 /*#define HAS_ENDSERVENT /**/
1258 /* HAS_ENDSERVENT_R:
1259 * This symbol, if defined, indicates that the endservent_r routine
1260 * is available to endservent re-entrantly.
1262 /* ENDSERVENT_R_PROTO:
1263 * This symbol encodes the prototype of endservent_r.
1264 * It is zero if d_endservent_r is undef, and one of the
1265 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
1268 /*#define HAS_ENDSERVENT_R /**/
1269 #define ENDSERVENT_R_PROTO 0 /**/
1272 * This symbol, if defined, indicates that the system supports filenames
1273 * longer than 14 characters.
1275 #define FLEXFILENAMES /**/
1278 * This symbol, if defined, indicates that the getgrent routine is
1279 * available for sequential access of the group database.
1281 /*#define HAS_GETGRENT /**/
1284 * This symbol, if defined, indicates that the getgrent_r routine
1285 * is available to getgrent re-entrantly.
1287 /* GETGRENT_R_PROTO:
1288 * This symbol encodes the prototype of getgrent_r.
1289 * It is zero if d_getgrent_r is undef, and one of the
1290 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1293 /*#define HAS_GETGRENT_R /**/
1294 #define GETGRENT_R_PROTO 0 /**/
1297 * This symbol, if defined, indicates that the getgrgid_r routine
1298 * is available to getgrgid re-entrantly.
1300 /* GETGRGID_R_PROTO:
1301 * This symbol encodes the prototype of getgrgid_r.
1302 * It is zero if d_getgrgid_r is undef, and one of the
1303 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1306 /*#define HAS_GETGRGID_R /**/
1307 #define GETGRGID_R_PROTO 0 /**/
1310 * This symbol, if defined, indicates that the getgrnam_r routine
1311 * is available to getgrnam re-entrantly.
1313 /* GETGRNAM_R_PROTO:
1314 * This symbol encodes the prototype of getgrnam_r.
1315 * It is zero if d_getgrnam_r is undef, and one of the
1316 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1319 /*#define HAS_GETGRNAM_R /**/
1320 #define GETGRNAM_R_PROTO 0 /**/
1322 /* HAS_GETHOSTBYADDR:
1323 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1324 * available to look up hosts by their IP addresses.
1326 #define HAS_GETHOSTBYADDR /**/
1328 /* HAS_GETHOSTBYNAME:
1329 * This symbol, if defined, indicates that the gethostbyname() routine is
1330 * available to look up host names in some data base or other.
1332 #define HAS_GETHOSTBYNAME /**/
1335 * This symbol, if defined, indicates that the gethostent() routine is
1336 * available to look up host names in some data base or another.
1338 /*#define HAS_GETHOSTENT /**/
1341 * This symbol, if defined, indicates that the C program may use the
1342 * gethostname() routine to derive the host name. See also HAS_UNAME
1346 * This symbol, if defined, indicates that the C program may use the
1347 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1351 * This symbol, if defined, indicates the command to feed to the
1352 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1353 * and HAS_UNAME. Note that the command uses a fully qualified path,
1354 * so that it is safe even if used by a process with super-user
1358 * This symbol, if defined, indicates that the C program may use the
1359 * contents of PHOSTNAME as a command to feed to the popen() routine
1360 * to derive the host name.
1362 #define HAS_GETHOSTNAME /**/
1363 #define HAS_UNAME /**/
1364 /*#define HAS_PHOSTNAME /**/
1365 #ifdef HAS_PHOSTNAME
1366 #define PHOSTNAME "" /* How to get the host name */
1369 /* HAS_GETHOSTBYADDR_R:
1370 * This symbol, if defined, indicates that the gethostbyaddr_r routine
1371 * is available to gethostbyaddr re-entrantly.
1373 /* GETHOSTBYADDR_R_PROTO:
1374 * This symbol encodes the prototype of gethostbyaddr_r.
1375 * It is zero if d_gethostbyaddr_r is undef, and one of the
1376 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
1379 /*#define HAS_GETHOSTBYADDR_R /**/
1380 #define GETHOSTBYADDR_R_PROTO 0 /**/
1382 /* HAS_GETHOSTBYNAME_R:
1383 * This symbol, if defined, indicates that the gethostbyname_r routine
1384 * is available to gethostbyname re-entrantly.
1386 /* GETHOSTBYNAME_R_PROTO:
1387 * This symbol encodes the prototype of gethostbyname_r.
1388 * It is zero if d_gethostbyname_r is undef, and one of the
1389 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
1392 /*#define HAS_GETHOSTBYNAME_R /**/
1393 #define GETHOSTBYNAME_R_PROTO 0 /**/
1395 /* HAS_GETHOSTENT_R:
1396 * This symbol, if defined, indicates that the gethostent_r routine
1397 * is available to gethostent re-entrantly.
1399 /* GETHOSTENT_R_PROTO:
1400 * This symbol encodes the prototype of gethostent_r.
1401 * It is zero if d_gethostent_r is undef, and one of the
1402 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
1405 /*#define HAS_GETHOSTENT_R /**/
1406 #define GETHOSTENT_R_PROTO 0 /**/
1408 /* HAS_GETHOST_PROTOS:
1409 * This symbol, if defined, indicates that <netdb.h> includes
1410 * prototypes for gethostent(), gethostbyname(), and
1411 * gethostbyaddr(). Otherwise, it is up to the program to guess
1412 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1414 #define HAS_GETHOST_PROTOS /**/
1417 * This symbol, if defined, indicates that the getlogin_r routine
1418 * is available to getlogin re-entrantly.
1420 /* GETLOGIN_R_PROTO:
1421 * This symbol encodes the prototype of getlogin_r.
1422 * It is zero if d_getlogin_r is undef, and one of the
1423 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1426 /*#define HAS_GETLOGIN_R /**/
1427 #define GETLOGIN_R_PROTO 0 /**/
1429 /* HAS_GETNETBYADDR:
1430 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1431 * available to look up networks by their IP addresses.
1433 /*#define HAS_GETNETBYADDR /**/
1435 /* HAS_GETNETBYNAME:
1436 * This symbol, if defined, indicates that the getnetbyname() routine is
1437 * available to look up networks by their names.
1439 /*#define HAS_GETNETBYNAME /**/
1442 * This symbol, if defined, indicates that the getnetent() routine is
1443 * available to look up network names in some data base or another.
1445 /*#define HAS_GETNETENT /**/
1447 /* HAS_GETNETBYADDR_R:
1448 * This symbol, if defined, indicates that the getnetbyaddr_r routine
1449 * is available to getnetbyaddr re-entrantly.
1451 /* GETNETBYADDR_R_PROTO:
1452 * This symbol encodes the prototype of getnetbyaddr_r.
1453 * It is zero if d_getnetbyaddr_r is undef, and one of the
1454 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
1457 /*#define HAS_GETNETBYADDR_R /**/
1458 #define GETNETBYADDR_R_PROTO 0 /**/
1460 /* HAS_GETNETBYNAME_R:
1461 * This symbol, if defined, indicates that the getnetbyname_r routine
1462 * is available to getnetbyname re-entrantly.
1464 /* GETNETBYNAME_R_PROTO:
1465 * This symbol encodes the prototype of getnetbyname_r.
1466 * It is zero if d_getnetbyname_r is undef, and one of the
1467 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
1470 /*#define HAS_GETNETBYNAME_R /**/
1471 #define GETNETBYNAME_R_PROTO 0 /**/
1474 * This symbol, if defined, indicates that the getnetent_r routine
1475 * is available to getnetent re-entrantly.
1477 /* GETNETENT_R_PROTO:
1478 * This symbol encodes the prototype of getnetent_r.
1479 * It is zero if d_getnetent_r is undef, and one of the
1480 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
1483 /*#define HAS_GETNETENT_R /**/
1484 #define GETNETENT_R_PROTO 0 /**/
1486 /* HAS_GETNET_PROTOS:
1487 * This symbol, if defined, indicates that <netdb.h> includes
1488 * prototypes for getnetent(), getnetbyname(), and
1489 * getnetbyaddr(). Otherwise, it is up to the program to guess
1490 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1492 /*#define HAS_GETNET_PROTOS /**/
1495 * This symbol, if defined, indicates that the getprotoent() routine is
1496 * available to look up protocols in some data base or another.
1498 /*#define HAS_GETPROTOENT /**/
1501 * This symbol, if defined, indicates that the getpgrp routine is
1502 * available to get the current process group.
1505 * This symbol, if defined, indicates that getpgrp needs one
1506 * arguments whereas USG one needs none.
1508 /*#define HAS_GETPGRP /**/
1509 /*#define USE_BSD_GETPGRP /**/
1511 /* HAS_GETPROTOBYNAME:
1512 * This symbol, if defined, indicates that the getprotobyname()
1513 * routine is available to look up protocols by their name.
1515 /* HAS_GETPROTOBYNUMBER:
1516 * This symbol, if defined, indicates that the getprotobynumber()
1517 * routine is available to look up protocols by their number.
1519 #define HAS_GETPROTOBYNAME /**/
1520 #define HAS_GETPROTOBYNUMBER /**/
1522 /* HAS_GETPROTOBYNAME_R:
1523 * This symbol, if defined, indicates that the getprotobyname_r routine
1524 * is available to getprotobyname re-entrantly.
1526 /* GETPROTOBYNAME_R_PROTO:
1527 * This symbol encodes the prototype of getprotobyname_r.
1528 * It is zero if d_getprotobyname_r is undef, and one of the
1529 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
1532 /*#define HAS_GETPROTOBYNAME_R /**/
1533 #define GETPROTOBYNAME_R_PROTO 0 /**/
1535 /* HAS_GETPROTOBYNUMBER_R:
1536 * This symbol, if defined, indicates that the getprotobynumber_r routine
1537 * is available to getprotobynumber re-entrantly.
1539 /* GETPROTOBYNUMBER_R_PROTO:
1540 * This symbol encodes the prototype of getprotobynumber_r.
1541 * It is zero if d_getprotobynumber_r is undef, and one of the
1542 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
1545 /*#define HAS_GETPROTOBYNUMBER_R /**/
1546 #define GETPROTOBYNUMBER_R_PROTO 0 /**/
1548 /* HAS_GETPROTOENT_R:
1549 * This symbol, if defined, indicates that the getprotoent_r routine
1550 * is available to getprotoent re-entrantly.
1552 /* GETPROTOENT_R_PROTO:
1553 * This symbol encodes the prototype of getprotoent_r.
1554 * It is zero if d_getprotoent_r is undef, and one of the
1555 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
1558 /*#define HAS_GETPROTOENT_R /**/
1559 #define GETPROTOENT_R_PROTO 0 /**/
1561 /* HAS_GETPROTO_PROTOS:
1562 * This symbol, if defined, indicates that <netdb.h> includes
1563 * prototypes for getprotoent(), getprotobyname(), and
1564 * getprotobyaddr(). Otherwise, it is up to the program to guess
1565 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1567 #define HAS_GETPROTO_PROTOS /**/
1570 * This symbol, if defined, indicates that the getpwent routine is
1571 * available for sequential access of the passwd database.
1572 * If this is not available, the older getpw() function may be available.
1574 /*#define HAS_GETPWENT /**/
1577 * This symbol, if defined, indicates that the getpwent_r routine
1578 * is available to getpwent re-entrantly.
1580 /* GETPWENT_R_PROTO:
1581 * This symbol encodes the prototype of getpwent_r.
1582 * It is zero if d_getpwent_r is undef, and one of the
1583 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1586 /*#define HAS_GETPWENT_R /**/
1587 #define GETPWENT_R_PROTO 0 /**/
1590 * This symbol, if defined, indicates that the getpwnam_r routine
1591 * is available to getpwnam re-entrantly.
1593 /* GETPWNAM_R_PROTO:
1594 * This symbol encodes the prototype of getpwnam_r.
1595 * It is zero if d_getpwnam_r is undef, and one of the
1596 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1599 /*#define HAS_GETPWNAM_R /**/
1600 #define GETPWNAM_R_PROTO 0 /**/
1603 * This symbol, if defined, indicates that the getpwuid_r routine
1604 * is available to getpwuid re-entrantly.
1606 /* GETPWUID_R_PROTO:
1607 * This symbol encodes the prototype of getpwuid_r.
1608 * It is zero if d_getpwuid_r is undef, and one of the
1609 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1612 /*#define HAS_GETPWUID_R /**/
1613 #define GETPWUID_R_PROTO 0 /**/
1616 * This symbol, if defined, indicates that the getservent() routine is
1617 * available to look up network services in some data base or another.
1619 /*#define HAS_GETSERVENT /**/
1621 /* HAS_GETSERVBYNAME_R:
1622 * This symbol, if defined, indicates that the getservbyname_r routine
1623 * is available to getservbyname re-entrantly.
1625 /* GETSERVBYNAME_R_PROTO:
1626 * This symbol encodes the prototype of getservbyname_r.
1627 * It is zero if d_getservbyname_r is undef, and one of the
1628 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
1631 /*#define HAS_GETSERVBYNAME_R /**/
1632 #define GETSERVBYNAME_R_PROTO 0 /**/
1634 /* HAS_GETSERVBYPORT_R:
1635 * This symbol, if defined, indicates that the getservbyport_r routine
1636 * is available to getservbyport re-entrantly.
1638 /* GETSERVBYPORT_R_PROTO:
1639 * This symbol encodes the prototype of getservbyport_r.
1640 * It is zero if d_getservbyport_r is undef, and one of the
1641 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
1644 /*#define HAS_GETSERVBYPORT_R /**/
1645 #define GETSERVBYPORT_R_PROTO 0 /**/
1647 /* HAS_GETSERVENT_R:
1648 * This symbol, if defined, indicates that the getservent_r routine
1649 * is available to getservent re-entrantly.
1651 /* GETSERVENT_R_PROTO:
1652 * This symbol encodes the prototype of getservent_r.
1653 * It is zero if d_getservent_r is undef, and one of the
1654 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
1657 /*#define HAS_GETSERVENT_R /**/
1658 #define GETSERVENT_R_PROTO 0 /**/
1660 /* HAS_GETSERV_PROTOS:
1661 * This symbol, if defined, indicates that <netdb.h> includes
1662 * prototypes for getservent(), getservbyname(), and
1663 * getservbyaddr(). Otherwise, it is up to the program to guess
1664 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1666 #define HAS_GETSERV_PROTOS /**/
1669 * This symbol, if defined, indicates that the getspnam_r routine
1670 * is available to getspnam re-entrantly.
1672 /* GETSPNAM_R_PROTO:
1673 * This symbol encodes the prototype of getspnam_r.
1674 * It is zero if d_getspnam_r is undef, and one of the
1675 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1678 /*#define HAS_GETSPNAM_R /**/
1679 #define GETSPNAM_R_PROTO 0 /**/
1681 /* HAS_GETSERVBYNAME:
1682 * This symbol, if defined, indicates that the getservbyname()
1683 * routine is available to look up services by their name.
1685 /* HAS_GETSERVBYPORT:
1686 * This symbol, if defined, indicates that the getservbyport()
1687 * routine is available to look up services by their port.
1689 #define HAS_GETSERVBYNAME /**/
1690 #define HAS_GETSERVBYPORT /**/
1693 * This symbol, if defined, indicates that the gmtime_r routine
1694 * is available to gmtime re-entrantly.
1697 * This symbol encodes the prototype of gmtime_r.
1698 * It is zero if d_gmtime_r is undef, and one of the
1699 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1702 /*#define HAS_GMTIME_R /**/
1703 #define GMTIME_R_PROTO 0 /**/
1706 * This symbol, if defined, indicates that the htonl() routine (and
1707 * friends htons() ntohl() ntohs()) are available to do network
1708 * order byte swapping.
1711 * This symbol, if defined, indicates that the htons() routine (and
1712 * friends htonl() ntohl() ntohs()) are available to do network
1713 * order byte swapping.
1716 * This symbol, if defined, indicates that the ntohl() routine (and
1717 * friends htonl() htons() ntohs()) are available to do network
1718 * order byte swapping.
1721 * This symbol, if defined, indicates that the ntohs() routine (and
1722 * friends htonl() htons() ntohl()) are available to do network
1723 * order byte swapping.
1725 #define HAS_HTONL /**/
1726 #define HAS_HTONS /**/
1727 #define HAS_NTOHL /**/
1728 #define HAS_NTOHS /**/
1731 * This symbol, if defined, indicates that the localtime_r routine
1732 * is available to localtime re-entrantly.
1734 /* LOCALTIME_R_NEEDS_TZSET:
1735 * Many libc's localtime_r implementations do not call tzset,
1736 * making them differ from localtime(), and making timezone
1737 * changes using \undef{TZ} without explicitly calling tzset
1738 * impossible. This symbol makes us call tzset before localtime_r
1740 /*#define LOCALTIME_R_NEEDS_TZSET /**/
1741 #ifdef LOCALTIME_R_NEEDS_TZSET
1742 #define L_R_TZSET tzset(),
1747 /* LOCALTIME_R_PROTO:
1748 * This symbol encodes the prototype of localtime_r.
1749 * It is zero if d_localtime_r is undef, and one of the
1750 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1753 /*#define HAS_LOCALTIME_R /**/
1754 #define LOCALTIME_R_PROTO 0 /**/
1757 * This symbol will be defined if the C compiler supports long
1761 * This symbol contains the size of a long double, so that the
1762 * C preprocessor can make decisions based on it. It is only
1763 * defined if the system supports long doubles.
1765 #define HAS_LONG_DOUBLE /**/
1766 #ifdef HAS_LONG_DOUBLE
1768 # define LONG_DOUBLESIZE 12 /**/
1770 # define LONG_DOUBLESIZE 10 /**/
1775 * This symbol will be defined if the C compiler supports long long.
1778 * This symbol contains the size of a long long, so that the
1779 * C preprocessor can make decisions based on it. It is only
1780 * defined if the system supports long long.
1782 /*#define HAS_LONG_LONG /**/
1783 #ifdef HAS_LONG_LONG
1784 #define LONGLONGSIZE 8 /**/
1788 * This symbol, if defined, indicates that the system provides
1789 * a prototype for the lseek() function. Otherwise, it is up
1790 * to the program to supply one. A good guess is
1791 * extern off_t lseek(int, off_t, int);
1793 #define HAS_LSEEK_PROTO /**/
1796 * This symbol, if defined, indicates that the memchr routine is available
1797 * to locate characters within a C string.
1799 #define HAS_MEMCHR /**/
1802 * This symbol, if defined, indicates that the mkstemp routine is
1803 * available to exclusively create and open a uniquely named
1806 /*#define HAS_MKSTEMP /**/
1809 * This symbol, if defined, indicates that the mmap system call is
1810 * available to map a file into memory.
1813 * This symbol holds the return type of the mmap() system call
1814 * (and simultaneously the type of the first argument).
1815 * Usually set to 'void *' or 'caddr_t'.
1817 /*#define HAS_MMAP /**/
1818 #define Mmap_t void * /**/
1821 * This symbol, if defined, indicates that the entire msg*(2) library is
1822 * supported (IPC mechanism based on message queues).
1824 /*#define HAS_MSG /**/
1827 * This symbol, if defined, indicates that the poll routine is
1828 * available to poll active file descriptors. Please check I_POLL and
1829 * I_SYS_POLL to know which header should be included as well.
1831 /*#define HAS_POLL /**/
1833 /* OLD_PTHREAD_CREATE_JOINABLE:
1834 * This symbol, if defined, indicates how to create pthread
1835 * in joinable (aka undetached) state. NOTE: not defined
1836 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1837 * (the new version of the constant).
1838 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1841 /*#define OLD_PTHREAD_CREATE_JOINABLE /**/
1843 /* HAS_PTHREAD_ATFORK:
1844 * This symbol, if defined, indicates that the pthread_atfork routine
1845 * is available to setup fork handlers.
1847 /*#define HAS_PTHREAD_ATFORK /**/
1849 /* HAS_PTHREAD_YIELD:
1850 * This symbol, if defined, indicates that the pthread_yield
1851 * routine is available to yield the execution of the current
1852 * thread. sched_yield is preferable to pthread_yield.
1855 * This symbol defines the way to yield the execution of
1856 * the current thread. Known ways are sched_yield,
1857 * pthread_yield, and pthread_yield with NULL.
1860 * This symbol, if defined, indicates that the sched_yield
1861 * routine is available to yield the execution of the current
1862 * thread. sched_yield is preferable to pthread_yield.
1864 /*#define HAS_PTHREAD_YIELD /**/
1865 #define SCHED_YIELD /**/
1866 /*#define HAS_SCHED_YIELD /**/
1869 * This symbol, if defined, indicates that the random_r routine
1870 * is available to random re-entrantly.
1873 * This symbol encodes the prototype of random_r.
1874 * It is zero if d_random_r is undef, and one of the
1875 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
1878 /*#define HAS_RANDOM_R /**/
1879 #define RANDOM_R_PROTO 0 /**/
1882 * This symbol, if defined, indicates that the readdir64_r routine
1883 * is available to readdir64 re-entrantly.
1885 /* READDIR64_R_PROTO:
1886 * This symbol encodes the prototype of readdir64_r.
1887 * It is zero if d_readdir64_r is undef, and one of the
1888 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
1891 /*#define HAS_READDIR64_R /**/
1892 #define READDIR64_R_PROTO 0 /**/
1895 * This symbol, if defined, indicates that the readdir_r routine
1896 * is available to readdir re-entrantly.
1899 * This symbol encodes the prototype of readdir_r.
1900 * It is zero if d_readdir_r is undef, and one of the
1901 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
1904 /*#define HAS_READDIR_R /**/
1905 #define READDIR_R_PROTO 0 /**/
1908 * This symbol, if defined, indicates that the entire sem*(2) library is
1911 /*#define HAS_SEM /**/
1914 * This symbol, if defined, indicates that the setgrent routine is
1915 * available for initializing sequential access of the group database.
1917 /*#define HAS_SETGRENT /**/
1920 * This symbol, if defined, indicates that the setgrent_r routine
1921 * is available to setgrent re-entrantly.
1923 /* SETGRENT_R_PROTO:
1924 * This symbol encodes the prototype of setgrent_r.
1925 * It is zero if d_setgrent_r is undef, and one of the
1926 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
1929 /*#define HAS_SETGRENT_R /**/
1930 #define SETGRENT_R_PROTO 0 /**/
1933 * This symbol, if defined, indicates that the setgroups() routine is
1934 * available to set the list of process groups. If unavailable, multiple
1935 * groups are probably not supported.
1937 /*#define HAS_SETGROUPS /**/
1940 * This symbol, if defined, indicates that the sethostent() routine is
1943 /*#define HAS_SETHOSTENT /**/
1945 /* HAS_SETHOSTENT_R:
1946 * This symbol, if defined, indicates that the sethostent_r routine
1947 * is available to sethostent re-entrantly.
1949 /* SETHOSTENT_R_PROTO:
1950 * This symbol encodes the prototype of sethostent_r.
1951 * It is zero if d_sethostent_r is undef, and one of the
1952 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
1955 /*#define HAS_SETHOSTENT_R /**/
1956 #define SETHOSTENT_R_PROTO 0 /**/
1959 * This symbol, if defined, indicates that the setlocale_r routine
1960 * is available to setlocale re-entrantly.
1962 /* SETLOCALE_R_PROTO:
1963 * This symbol encodes the prototype of setlocale_r.
1964 * It is zero if d_setlocale_r is undef, and one of the
1965 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
1968 /*#define HAS_SETLOCALE_R /**/
1969 #define SETLOCALE_R_PROTO 0 /**/
1972 * This symbol, if defined, indicates that the setnetent() routine is
1975 /*#define HAS_SETNETENT /**/
1978 * This symbol, if defined, indicates that the setnetent_r routine
1979 * is available to setnetent re-entrantly.
1981 /* SETNETENT_R_PROTO:
1982 * This symbol encodes the prototype of setnetent_r.
1983 * It is zero if d_setnetent_r is undef, and one of the
1984 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
1987 /*#define HAS_SETNETENT_R /**/
1988 #define SETNETENT_R_PROTO 0 /**/
1991 * This symbol, if defined, indicates that the setprotoent() routine is
1994 /*#define HAS_SETPROTOENT /**/
1997 * This symbol, if defined, indicates that the setpgrp routine is
1998 * available to set the current process group.
2001 * This symbol, if defined, indicates that setpgrp needs two
2002 * arguments whereas USG one needs none. See also HAS_SETPGID
2003 * for a POSIX interface.
2005 /*#define HAS_SETPGRP /**/
2006 /*#define USE_BSD_SETPGRP /**/
2008 /* HAS_SETPROTOENT_R:
2009 * This symbol, if defined, indicates that the setprotoent_r routine
2010 * is available to setprotoent re-entrantly.
2012 /* SETPROTOENT_R_PROTO:
2013 * This symbol encodes the prototype of setprotoent_r.
2014 * It is zero if d_setprotoent_r is undef, and one of the
2015 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
2018 /*#define HAS_SETPROTOENT_R /**/
2019 #define SETPROTOENT_R_PROTO 0 /**/
2022 * This symbol, if defined, indicates that the setpwent routine is
2023 * available for initializing sequential access of the passwd database.
2025 /*#define HAS_SETPWENT /**/
2028 * This symbol, if defined, indicates that the setpwent_r routine
2029 * is available to setpwent re-entrantly.
2031 /* SETPWENT_R_PROTO:
2032 * This symbol encodes the prototype of setpwent_r.
2033 * It is zero if d_setpwent_r is undef, and one of the
2034 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2037 /*#define HAS_SETPWENT_R /**/
2038 #define SETPWENT_R_PROTO 0 /**/
2041 * This symbol, if defined, indicates that the setservent() routine is
2044 /*#define HAS_SETSERVENT /**/
2046 /* HAS_SETSERVENT_R:
2047 * This symbol, if defined, indicates that the setservent_r routine
2048 * is available to setservent re-entrantly.
2050 /* SETSERVENT_R_PROTO:
2051 * This symbol encodes the prototype of setservent_r.
2052 * It is zero if d_setservent_r is undef, and one of the
2053 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
2056 /*#define HAS_SETSERVENT_R /**/
2057 #define SETSERVENT_R_PROTO 0 /**/
2060 * This symbol, if defined, indicates that the setvbuf routine is
2061 * available to change buffering on an open stdio stream.
2062 * to a line-buffered mode.
2064 #define HAS_SETVBUF /**/
2067 * This symbol, if defined, indicates that the entire shm*(2) library is
2070 /*#define HAS_SHM /**/
2073 * This symbol holds the return type of the shmat() system call.
2074 * Usually set to 'void *' or 'char *'.
2076 /* HAS_SHMAT_PROTOTYPE:
2077 * This symbol, if defined, indicates that the sys/shm.h includes
2078 * a prototype for shmat(). Otherwise, it is up to the program to
2079 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
2080 * but not always right so it should be emitted by the program only
2081 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
2083 #define Shmat_t void * /**/
2084 /*#define HAS_SHMAT_PROTOTYPE /**/
2087 * This symbol, if defined, indicates that the BSD socket interface is
2091 * This symbol, if defined, indicates that the BSD socketpair() call is
2095 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2096 * Checking just with #ifdef might not be enough because this symbol
2097 * has been known to be an enum.
2099 /* HAS_MSG_DONTROUTE:
2100 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2101 * Checking just with #ifdef might not be enough because this symbol
2102 * has been known to be an enum.
2105 * This symbol, if defined, indicates that the MSG_OOB 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_PEEK 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_PROXY 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 SCM_RIGHTS is supported.
2121 * Checking just with #ifdef might not be enough because this symbol
2122 * has been known to be an enum.
2124 #define HAS_SOCKET /**/
2125 /*#define HAS_SOCKETPAIR /**/
2126 /*#define HAS_MSG_CTRUNC /**/
2127 /*#define HAS_MSG_DONTROUTE /**/
2128 /*#define HAS_MSG_OOB /**/
2129 /*#define HAS_MSG_PEEK /**/
2130 /*#define HAS_MSG_PROXY /**/
2131 /*#define HAS_SCM_RIGHTS /**/
2134 * This symbol, if defined, indicates that the srand48_r routine
2135 * is available to srand48 re-entrantly.
2138 * This symbol encodes the prototype of srand48_r.
2139 * It is zero if d_srand48_r is undef, and one of the
2140 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2143 /*#define HAS_SRAND48_R /**/
2144 #define SRAND48_R_PROTO 0 /**/
2147 * This symbol, if defined, indicates that the srandom_r routine
2148 * is available to srandom re-entrantly.
2151 * This symbol encodes the prototype of srandom_r.
2152 * It is zero if d_srandom_r is undef, and one of the
2153 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2156 /*#define HAS_SRANDOM_R /**/
2157 #define SRANDOM_R_PROTO 0 /**/
2160 * This symbol is defined if this system has a stat structure declaring
2161 * st_blksize and st_blocks.
2163 #ifndef USE_STAT_BLOCKS
2164 /*#define USE_STAT_BLOCKS /**/
2168 * This symbol, if defined, indicates that this C compiler knows how
2169 * to copy structures. If undefined, you'll need to use a block copy
2170 * routine of some sort instead.
2172 #define USE_STRUCT_COPY /**/
2175 * This symbol, if defined, indicates that the strerror routine is
2176 * available to translate error numbers to strings. See the writeup
2177 * of Strerror() in this file before you try to define your own.
2180 * This symbol, if defined, indicates that the sys_errlist array is
2181 * available to translate error numbers to strings. The extern int
2182 * sys_nerr gives the size of that table.
2185 * This preprocessor symbol is defined as a macro if strerror() is
2186 * not available to translate error numbers to strings but sys_errlist[]
2189 #define HAS_STRERROR /**/
2190 #define HAS_SYS_ERRLIST /**/
2191 #define Strerror(e) strerror(e)
2194 * This symbol, if defined, indicates that the strerror_r routine
2195 * is available to strerror re-entrantly.
2197 /* STRERROR_R_PROTO:
2198 * This symbol encodes the prototype of strerror_r.
2199 * It is zero if d_strerror_r is undef, and one of the
2200 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2203 /*#define HAS_STRERROR_R /**/
2204 #define STRERROR_R_PROTO 0 /**/
2207 * This symbol, if defined, indicates that the strtoul routine is
2208 * available to provide conversion of strings to unsigned long.
2210 #define HAS_STRTOUL /**/
2213 * This symbol, if defined, indicates that the time() routine exists.
2216 * This symbol holds the type returned by time(). It can be long,
2217 * or time_t on BSD sites (in which case <sys/types.h> should be
2220 #define HAS_TIME /**/
2221 #define Time_t time_t /* Time type */
2224 * This symbol, if defined, indicates that the times() routine exists.
2225 * Note that this became obsolete on some systems (SUNOS), which now
2226 * use getrusage(). It may be necessary to include <sys/times.h>.
2228 #define HAS_TIMES /**/
2231 * This symbol, if defined, indicates that the tmpnam_r routine
2232 * is available to tmpnam re-entrantly.
2235 * This symbol encodes the prototype of tmpnam_r.
2236 * It is zero if d_tmpnam_r is undef, and one of the
2237 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2240 /*#define HAS_TMPNAM_R /**/
2241 #define TMPNAM_R_PROTO 0 /**/
2244 * This symbol, if defined, indicates that the ttyname_r routine
2245 * is available to ttyname re-entrantly.
2248 * This symbol encodes the prototype of ttyname_r.
2249 * It is zero if d_ttyname_r is undef, and one of the
2250 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
2253 /*#define HAS_TTYNAME_R /**/
2254 #define TTYNAME_R_PROTO 0 /**/
2257 * This symbol, if defined, indicates that the union semun is
2258 * defined by including <sys/sem.h>. If not, the user code
2259 * probably needs to define it as:
2262 * struct semid_ds *buf;
2263 * unsigned short *array;
2266 /* USE_SEMCTL_SEMUN:
2267 * This symbol, if defined, indicates that union semun is
2268 * used for semctl IPC_STAT.
2270 /* USE_SEMCTL_SEMID_DS:
2271 * This symbol, if defined, indicates that struct semid_ds * is
2272 * used for semctl IPC_STAT.
2274 #define HAS_UNION_SEMUN /**/
2275 /*#define USE_SEMCTL_SEMUN /**/
2276 /*#define USE_SEMCTL_SEMID_DS /**/
2279 * This symbol, if defined, indicates that vfork() exists.
2281 /*#define HAS_VFORK /**/
2284 * This symbol, if defined, indicates that an emulation of the
2285 * fork routine is available.
2287 /*#define HAS_PSEUDOFORK /**/
2290 * This symbol's value is either "void" or "int", corresponding to the
2291 * appropriate return type of a signal handler. Thus, you can declare
2292 * a signal handler using "Signal_t (*handler)()", and define the
2293 * handler using "Signal_t handler(sig)".
2295 #define Signal_t void /* Signal handler's return type */
2298 * This symbol, if defined, indicates that this C compiler knows about
2299 * the volatile declaration.
2301 #define HASVOLATILE /**/
2307 * This symbol holds the type used to declare file positions in libc.
2308 * It can be fpos_t, long, uint, etc... It may be necessary to include
2309 * <sys/types.h> to get any typedef'ed information.
2311 #define Fpos_t fpos_t /* File position type */
2314 * This symbol defines the format string used for printing a Gid_t.
2316 #define Gid_t_f "ld" /**/
2319 * This symbol holds the signedess of a Gid_t.
2320 * 1 for unsigned, -1 for signed.
2322 #define Gid_t_sign -1 /* GID sign */
2325 * This symbol holds the size of a Gid_t in bytes.
2327 #define Gid_t_size 4 /* GID size */
2330 * This symbol holds the return type of getgid() and the type of
2331 * argument to setrgid() and related functions. Typically,
2332 * it is the type of group ids in the kernel. It can be int, ushort,
2333 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2334 * any typedef'ed information.
2336 #define Gid_t gid_t /* Type for getgid(), etc... */
2339 * This symbol holds the type used for the second argument to
2340 * getgroups() and setgroups(). Usually, this is the same as
2341 * gidtype (gid_t) , but sometimes it isn't.
2342 * It can be int, ushort, gid_t, etc...
2343 * It may be necessary to include <sys/types.h> to get any
2344 * typedef'ed information. This is only required if you have
2345 * getgroups() or setgroups()..
2347 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2348 #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
2352 * This symbol, if defined, indicates to the C program that it should
2353 * include <dirent.h>. Using this symbol also triggers the definition
2354 * of the Direntry_t define which ends up being 'struct dirent' or
2355 * 'struct direct' depending on the availability of <dirent.h>.
2358 * This symbol, if defined, indicates to the C program that the length
2359 * of directory entry names is provided by a d_namlen field. Otherwise
2360 * you need to do strlen() on the d_name field.
2363 * This symbol is set to 'struct direct' or 'struct dirent' depending on
2364 * whether dirent is available or not. You should use this pseudo type to
2365 * portably declare your directory entries.
2367 #define I_DIRENT /**/
2368 #define DIRNAMLEN /**/
2369 #define Direntry_t struct direct
2372 * This symbol, if defined, indicates to the C program that it should
2376 * This symbol, if defined, indicates to the C program that struct group
2377 * in <grp.h> contains gr_passwd.
2379 /*#define I_GRP /**/
2380 /*#define GRPASSWD /**/
2383 * This symbol, if defined, indicates to the C program that it should
2384 * include <mach/cthreads.h>.
2386 /*#define I_MACH_CTHREADS /**/
2389 * This symbol, if defined, indicates that <ndbm.h> exists and should
2392 /*#define I_NDBM /**/
2395 * This symbol, if defined, indicates that <netdb.h> exists and
2396 * should be included.
2398 /*#define I_NETDB /**/
2401 * This symbol, if defined, indicates that <net/errno.h> exists and
2402 * should be included.
2404 /*#define I_NET_ERRNO /**/
2407 * This symbol, if defined, indicates to the C program that it should
2408 * include <pthread.h>.
2410 /*#define I_PTHREAD /**/
2413 * This symbol, if defined, indicates to the C program that it should
2417 * This symbol, if defined, indicates to the C program that struct passwd
2418 * contains pw_quota.
2421 * This symbol, if defined, indicates to the C program that struct passwd
2425 * This symbol, if defined, indicates to the C program that struct passwd
2426 * contains pw_change.
2429 * This symbol, if defined, indicates to the C program that struct passwd
2430 * contains pw_class.
2433 * This symbol, if defined, indicates to the C program that struct passwd
2434 * contains pw_expire.
2437 * This symbol, if defined, indicates to the C program that struct passwd
2438 * contains pw_comment.
2441 * This symbol, if defined, indicates to the C program that struct passwd
2442 * contains pw_gecos.
2445 * This symbol, if defined, indicates to the C program that struct passwd
2446 * contains pw_passwd.
2448 /*#define I_PWD /**/
2449 /*#define PWQUOTA /**/
2450 /*#define PWAGE /**/
2451 /*#define PWCHANGE /**/
2452 /*#define PWCLASS /**/
2453 /*#define PWEXPIRE /**/
2454 /*#define PWCOMMENT /**/
2455 /*#define PWGECOS /**/
2456 /*#define PWPASSWD /**/
2459 * This symbol, if defined, indicates to the C program that it should
2460 * include <sys/access.h>.
2462 /*#define I_SYS_ACCESS /**/
2465 * This symbol, if defined, indicates to the C program that it should
2466 * include <sys/security.h>.
2468 /*#define I_SYS_SECURITY /**/
2471 * This symbol, if defined, indicates that <sys/uio.h> exists and
2472 * should be included.
2474 /*#define I_SYSUIO /**/
2477 * This symbol, if defined, indicates that <stdarg.h> exists and should
2481 * This symbol, if defined, indicates to the C program that it should
2482 * include <varargs.h>.
2484 #define I_STDARG /**/
2485 /*#define I_VARARGS /**/
2487 /* PERL_INC_VERSION_LIST:
2488 * This variable specifies the list of subdirectories in over
2489 * which perl.c:incpush() and lib/lib.pm will automatically
2490 * search when adding directories to @INC, in a format suitable
2491 * for a C initialization string. See the inc_version_list entry
2492 * in Porting/Glossary for more details.
2494 /*#define PERL_INC_VERSION_LIST 0 /**/
2496 /* INSTALL_USR_BIN_PERL:
2497 * This symbol, if defined, indicates that Perl is to be installed
2498 * also as /usr/bin/perl.
2500 /*#define INSTALL_USR_BIN_PERL /**/
2503 * This symbol holds the type used to declare offsets in the kernel.
2504 * It can be int, long, off_t, etc... It may be necessary to include
2505 * <sys/types.h> to get any typedef'ed information.
2508 * This symbol holds the number of bytes used by the Off_t.
2511 * This symbol holds the number of bytes used by the Off_t.
2513 #define Off_t long /* <offset> type */
2514 #define LSEEKSIZE 4 /* <offset> size */
2515 #define Off_t_size 4 /* <offset> size */
2518 * This variable contains the return type of free(). It is usually
2519 * void, but occasionally int.
2522 * This symbol is the type of pointer returned by malloc and realloc.
2524 #define Malloc_t void * /**/
2525 #define Free_t void /**/
2527 /* PERL_MALLOC_WRAP:
2528 * This symbol, if defined, indicates that we'd like malloc wrap checks.
2530 #define PERL_MALLOC_WRAP /**/
2533 * This symbol, if defined, indicates that we're using our own malloc.
2535 /*#define MYMALLOC /**/
2538 * This symbol holds the type used to declare file modes
2539 * for systems calls. It is usually mode_t, but may be
2540 * int or unsigned short. It may be necessary to include <sys/types.h>
2541 * to get any typedef'ed information.
2543 #define Mode_t mode_t /* file mode parameter for system calls */
2546 * This symbol holds the type used for the 1st argument
2547 * to gethostbyaddr().
2550 * This symbol holds the type used for the 2nd argument
2551 * to gethostbyaddr().
2554 * This symbol holds the type used for the argument to
2558 * This symbol holds the type used for the 1st argument to
2561 #define Netdb_host_t char * /**/
2562 #define Netdb_hlen_t int /**/
2563 #define Netdb_name_t char * /**/
2564 #define Netdb_net_t long /**/
2566 /* PERL_OTHERLIBDIRS:
2567 * This variable contains a colon-separated set of paths for the perl
2568 * binary to search for additional library files or modules.
2569 * These directories will be tacked to the end of @INC.
2570 * Perl will automatically search below each path for version-
2571 * and architecture-specific directories. See PERL_INC_VERSION_LIST
2574 /*#define PERL_OTHERLIBDIRS "" /**/
2577 * This symbol holds the type used to declare process ids in the kernel.
2578 * It can be int, uint, pid_t, etc... It may be necessary to include
2579 * <sys/types.h> to get any typedef'ed information.
2581 #define Pid_t int /* PID type */
2584 * This symbol contains the name of the private library for this package.
2585 * The library is private in the sense that it needn't be in anyone's
2586 * execution path, but it should be accessible by the world. The program
2587 * should be prepared to do ~ expansion.
2590 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2591 * in programs that are not prepared to deal with ~ expansion at run-time.
2593 #define PRIVLIB "c:\\perl\\lib" /**/
2594 #define PRIVLIB_EXP (win32_get_privlib("5.11.0")) /**/
2597 * If defined, this macro indicates that the C compiler can handle
2598 * function prototypes.
2601 * This macro is used to declare function parameters for folks who want
2602 * to make declarations with prototypes using a different style than
2603 * the above macros. Use double parentheses. For example:
2605 * int main _((int argc, char *argv[]));
2607 #define CAN_PROTOTYPE /**/
2608 #ifdef CAN_PROTOTYPE
2609 #define _(args) args
2615 * This symbol holds the type used for the 2nd, 3rd, and 4th
2616 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2617 * is defined, and 'int *' otherwise. This is only useful if you
2618 * have select(), of course.
2620 #define Select_fd_set_t Perl_fd_set * /**/
2623 * This symbol contains the full pathname to the shell used on this
2624 * on this system to execute Bourne shell scripts. Usually, this will be
2625 * /bin/sh, though it's possible that some systems will have /bin/ksh,
2626 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
2629 #define SH_PATH "cmd /x /c" /**/
2632 * This symbol contains a list of signal names in order of
2633 * signal number. This is intended
2634 * to be used as a static array initialization, like this:
2635 * char *sig_name[] = { SIG_NAME };
2636 * The signals in the list are separated with commas, and each signal
2637 * is surrounded by double quotes. There is no leading SIG in the signal
2638 * name, i.e. SIGQUIT is known as "QUIT".
2639 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2640 * etc., where nn is the actual signal number (e.g. NUM37).
2641 * The signal number for sig_name[i] is stored in sig_num[i].
2642 * The last element is 0 to terminate the list with a NULL. This
2643 * corresponds to the 0 at the end of the sig_name_init list.
2644 * Note that this variable is initialized from the sig_name_init,
2645 * not from sig_name (which is unused).
2648 * This symbol contains a list of signal numbers, in the same order as the
2649 * SIG_NAME list. It is suitable for static array initialization, as in:
2650 * int sig_num[] = { SIG_NUM };
2651 * The signals in the list are separated with commas, and the indices
2652 * within that list and the SIG_NAME list match, so it's easy to compute
2653 * the signal name from a number or vice versa at the price of a small
2654 * dynamic linear lookup.
2655 * Duplicates are allowed, but are moved to the end of the list.
2656 * The signal number corresponding to sig_name[i] is sig_number[i].
2657 * if (i < NSIG) then sig_number[i] == i.
2658 * The last element is 0, corresponding to the 0 at the end of
2659 * the sig_name_init list.
2660 * Note that this variable is initialized from the sig_num_init,
2661 * not from sig_num (which is unused).
2664 * This variable contains the number of elements of the SIG_NAME
2665 * and SIG_NUM arrays, excluding the final NULL entry.
2667 #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 /**/
2668 #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 /**/
2669 #define SIG_SIZE 27 /**/
2672 * This symbol contains the name of the private library for this package.
2673 * The library is private in the sense that it needn't be in anyone's
2674 * execution path, but it should be accessible by the world. The program
2675 * should be prepared to do ~ expansion.
2676 * The standard distribution will put nothing in this directory.
2677 * After perl has been installed, users may install their own local
2678 * architecture-dependent modules in this directory with
2679 * MakeMaker Makefile.PL
2680 * or equivalent. See INSTALL for details.
2683 * This symbol contains the ~name expanded version of SITEARCH, to be used
2684 * in programs that are not prepared to deal with ~ expansion at run-time.
2686 #define SITEARCH "c:\\perl\\site\\lib" /**/
2687 /*#define SITEARCH_EXP "" /**/
2690 * This symbol contains the name of the private library for this package.
2691 * The library is private in the sense that it needn't be in anyone's
2692 * execution path, but it should be accessible by the world. The program
2693 * should be prepared to do ~ expansion.
2694 * The standard distribution will put nothing in this directory.
2695 * After perl has been installed, users may install their own local
2696 * architecture-independent modules in this directory with
2697 * MakeMaker Makefile.PL
2698 * or equivalent. See INSTALL for details.
2701 * This symbol contains the ~name expanded version of SITELIB, to be used
2702 * in programs that are not prepared to deal with ~ expansion at run-time.
2705 * This define is SITELIB_EXP with any trailing version-specific component
2706 * removed. The elements in inc_version_list (inc_version_list.U) can
2707 * be tacked onto this variable to generate a list of directories to search.
2709 #define SITELIB "c:\\perl\\site\\lib" /**/
2710 #define SITELIB_EXP (win32_get_sitelib("5.11.0")) /**/
2711 #define SITELIB_STEM "" /**/
2714 * This symbol holds the size of a Size_t in bytes.
2716 #define Size_t_size 4 /**/
2719 * This symbol holds the type used to declare length parameters
2720 * for string functions. It is usually size_t, but may be
2721 * unsigned long, int, etc. It may be necessary to include
2722 * <sys/types.h> to get any typedef'ed information.
2724 #define Size_t size_t /* length paramater for string functions */
2727 * This symbol holds the type used for the size argument of
2728 * various socket calls (just the base type, not the pointer-to).
2730 #define Sock_size_t int /**/
2733 * This symbol is defined to be the type of char used in stdio.h.
2734 * It has the values "unsigned char" or "char".
2736 #define STDCHAR char /**/
2739 * This symbol defines the format string used for printing a Uid_t.
2741 #define Uid_t_f "ld" /**/
2744 * This symbol holds the signedess of a Uid_t.
2745 * 1 for unsigned, -1 for signed.
2747 #define Uid_t_sign -1 /* UID sign */
2750 * This symbol holds the size of a Uid_t in bytes.
2752 #define Uid_t_size 4 /* UID size */
2755 * This symbol holds the type used to declare user ids in the kernel.
2756 * It can be int, ushort, uid_t, etc... It may be necessary to include
2757 * <sys/types.h> to get any typedef'ed information.
2759 #define Uid_t uid_t /* UID type */
2762 * This symbol, if defined, indicates that Perl should be built to
2763 * use the interpreter-based threading implementation.
2766 * This symbol, if defined, indicates that Perl should be built to
2767 * use the 5.005-based threading implementation.
2768 * Only valid up to 5.8.x.
2770 /* OLD_PTHREADS_API:
2771 * This symbol, if defined, indicates that Perl should
2772 * be built to use the old draft POSIX threads API.
2774 /* USE_REENTRANT_API:
2775 * This symbol, if defined, indicates that Perl should
2776 * try to use the various _r versions of library functions.
2777 * This is extremely experimental.
2779 /*#define USE_5005THREADS /**/
2780 /*#define USE_ITHREADS /**/
2781 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
2782 #define USE_THREADS /* until src is revised*/
2784 /*#define OLD_PTHREADS_API /**/
2785 /*#define USE_REENTRANT_API /**/
2788 * If defined, this symbol contains the name of a private library.
2789 * The library is private in the sense that it needn't be in anyone's
2790 * execution path, but it should be accessible by the world.
2791 * It may have a ~ on the front.
2792 * The standard distribution will put nothing in this directory.
2793 * Vendors who distribute perl may wish to place their own
2794 * architecture-dependent modules and extensions in this directory with
2795 * MakeMaker Makefile.PL INSTALLDIRS=vendor
2796 * or equivalent. See INSTALL for details.
2798 /* PERL_VENDORARCH_EXP:
2799 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
2800 * in programs that are not prepared to deal with ~ expansion at run-time.
2802 /*#define PERL_VENDORARCH "" /**/
2803 /*#define PERL_VENDORARCH_EXP "" /**/
2805 /* PERL_VENDORLIB_EXP:
2806 * This symbol contains the ~name expanded version of VENDORLIB, to be used
2807 * in programs that are not prepared to deal with ~ expansion at run-time.
2809 /* PERL_VENDORLIB_STEM:
2810 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
2811 * removed. The elements in inc_version_list (inc_version_list.U) can
2812 * be tacked onto this variable to generate a list of directories to search.
2814 /*#define PERL_VENDORLIB_EXP "" /**/
2815 /*#define PERL_VENDORLIB_STEM "" /**/
2818 * This symbol indicates how much support of the void type is given by this
2819 * compiler. What various bits mean:
2821 * 1 = supports declaration of void
2822 * 2 = supports arrays of pointers to functions returning void
2823 * 4 = supports comparisons between pointers to void functions and
2824 * addresses of void functions
2825 * 8 = suports declaration of generic void pointers
2827 * The package designer should define VOIDUSED to indicate the requirements
2828 * of the package. This can be done either by #defining VOIDUSED before
2829 * including config.h, or by defining defvoidused in Myinit.U. If the
2830 * latter approach is taken, only those flags will be tested. If the
2831 * level of void support necessary is not present, defines void to int.
2836 #define VOIDFLAGS 15
2837 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
2838 #define void int /* is void to be avoided? */
2839 #define M_VOID /* Xenix strikes again */
2842 /* USE_CROSS_COMPILE:
2843 * This symbol, if defined, indicates that Perl is being cross-compiled.
2846 * This symbol, if defined, indicates the target architecture
2847 * Perl has been cross-compiled to. Undefined if not a cross-compile.
2849 #ifndef USE_CROSS_COMPILE
2850 /*#define USE_CROSS_COMPILE /**/
2851 #define PERL_TARGETARCH "" /**/
2855 * This symbol contains the number of bytes required to align a
2856 * double, or a long double when applicable. Usual values are 2,
2857 * 4 and 8. The default is eight, for safety.
2859 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
2860 # define MEM_ALIGNBYTES 8
2862 #define MEM_ALIGNBYTES 8
2866 * This symbol holds the hexadecimal constant defined in byteorder,
2867 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
2868 * If the compiler supports cross-compiling or multiple-architecture
2869 * binaries (eg. on NeXT systems), use compiler-defined macros to
2870 * determine the byte order.
2871 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
2872 * Binaries (MAB) on either big endian or little endian machines.
2873 * The endian-ness is available at compile-time. This only matters
2874 * for perl, where the config.h can be generated and installed on
2875 * one system, and used by a different architecture to build an
2876 * extension. Older versions of NeXT that might not have
2877 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
2878 * so the default case (for NeXT) is big endian to catch them.
2879 * This might matter for NeXT 3.0.
2881 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
2882 # ifdef __LITTLE_ENDIAN__
2884 # define BYTEORDER 0x1234
2887 # define BYTEORDER 0x12345678
2891 # ifdef __BIG_ENDIAN__
2893 # define BYTEORDER 0x4321
2896 # define BYTEORDER 0x87654321
2901 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
2902 # define BYTEORDER 0x4321
2905 #define BYTEORDER 0x1234 /* large digits for MSB */
2909 * This symbol is defined if the C compiler can cast negative
2910 * or large floating point numbers to 32-bit ints.
2913 # define CASTI32 /**/
2917 * This symbol is defined if the C compiler can cast negative
2918 * numbers to unsigned longs, ints and shorts.
2921 * This symbol contains flags that say what difficulties the compiler
2922 * has casting odd floating values to unsigned long:
2924 * 1 = couldn't cast < 0
2925 * 2 = couldn't cast >= 0x80000000
2926 * 4 = couldn't cast in argument expression list
2928 #define CASTNEGFLOAT /**/
2929 #define CASTFLAGS 0 /**/
2932 * This symbol, if defined, indicates that the closedir() routine
2933 * does not return a value.
2935 /*#define VOID_CLOSEDIR /**/
2938 * This symbol, when defined, indicates presence of the fd_set typedef
2941 #define HAS_FD_SET /**/
2944 * This preprocessor macro is defined to convert a floating point
2945 * number to a string without a trailing decimal point. This
2946 * emulates the behavior of sprintf("%g"), but is sometimes much more
2947 * efficient. If gconvert() is not available, but gcvt() drops the
2948 * trailing decimal point, then gcvt() is used. If all else fails,
2949 * a macro using sprintf("%g") is used. Arguments for the Gconvert
2950 * macro are: value, number of digits, whether trailing zeros should
2951 * be retained, and the output buffer.
2952 * The usual values are:
2953 * d_Gconvert='gconvert((x),(n),(t),(b))'
2954 * d_Gconvert='gcvt((x),(n),(b))'
2955 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
2956 * The last two assume trailing zeros should not be kept.
2958 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
2961 * This symbol, if defined, indicates that the getpagesize system call
2962 * is available to get system page size, which is the granularity of
2963 * many memory management calls.
2965 /*#define HAS_GETPAGESIZE /**/
2968 * This symbol, if defined, indicates to the C program that
2969 * the GNU C library is being used. A better check is to use
2970 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
2972 /*#define HAS_GNULIBC /**/
2973 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
2974 # define _GNU_SOURCE
2978 * This manifest constant lets the C program know that isascii
2981 #define HAS_ISASCII /**/
2984 * This symbol, if defined, indicates that the lchown routine is
2985 * available to operate on a symbolic link (instead of following the
2988 /*#define HAS_LCHOWN /**/
2991 * This manifest constant lets the C program know that the three
2992 * argument form of open(2) is available.
2994 /*#define HAS_OPEN3 /**/
2997 * This symbol, if defined, indicates that the bcopy routine is available
2998 * to copy potentially overlapping memory blocks. Normally, you should
2999 * probably use memmove() or memcpy(). If neither is defined, roll your
3002 /*#define HAS_SAFE_BCOPY /**/
3005 * This symbol, if defined, indicates that the memcpy routine is available
3006 * to copy potentially overlapping memory blocks. If you need to
3007 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
3008 * use memmove() instead, if available.
3010 /*#define HAS_SAFE_MEMCPY /**/
3013 * This symbol, if defined, indicates that the memcmp routine is available
3014 * and can be used to compare relative magnitudes of chars with their high
3015 * bits set. If it is not defined, roll your own version.
3017 #define HAS_SANE_MEMCMP /**/
3020 * This symbol, if defined, indicates that Vr4's sigaction() routine
3023 /*#define HAS_SIGACTION /**/
3026 * This variable indicates to the C program that the sigsetjmp()
3027 * routine is available to save the calling process's registers
3028 * and stack environment for later use by siglongjmp(), and
3029 * to optionally save the process's signal mask. See
3030 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
3033 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
3036 * This macro is used in the same way as sigsetjmp(), but will invoke
3037 * traditional setjmp() if sigsetjmp isn't available.
3038 * See HAS_SIGSETJMP.
3041 * This macro is used in the same way as siglongjmp(), but will invoke
3042 * traditional longjmp() if siglongjmp isn't available.
3043 * See HAS_SIGSETJMP.
3045 /*#define HAS_SIGSETJMP /**/
3046 #ifdef HAS_SIGSETJMP
3047 #define Sigjmp_buf sigjmp_buf
3048 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
3049 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
3051 #define Sigjmp_buf jmp_buf
3052 #define Sigsetjmp(buf,save_mask) setjmp((buf))
3053 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
3057 * This symbol is defined if the _ptr and _cnt fields (or similar)
3058 * of the stdio FILE structure can be used to access the stdio buffer
3059 * for a file handle. If this is defined, then the FILE_ptr(fp)
3060 * and FILE_cnt(fp) macros will also be defined and should be used
3061 * to access these fields.
3064 * This macro is used to access the _ptr field (or equivalent) of the
3065 * FILE structure pointed to by its argument. This macro will always be
3066 * defined if USE_STDIO_PTR is defined.
3068 /* STDIO_PTR_LVALUE:
3069 * This symbol is defined if the FILE_ptr macro can be used as an
3073 * This macro is used to access the _cnt field (or equivalent) of the
3074 * FILE structure pointed to by its argument. This macro will always be
3075 * defined if USE_STDIO_PTR is defined.
3077 /* STDIO_CNT_LVALUE:
3078 * This symbol is defined if the FILE_cnt macro can be used as an
3081 /* STDIO_PTR_LVAL_SETS_CNT:
3082 * This symbol is defined if using the FILE_ptr macro as an lvalue
3083 * to increase the pointer by n has the side effect of decreasing the
3084 * value of File_cnt(fp) by n.
3086 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
3087 * This symbol is defined if using the FILE_ptr macro as an lvalue
3088 * to increase the pointer by n leaves File_cnt(fp) unchanged.
3090 #define USE_STDIO_PTR /**/
3091 #ifdef USE_STDIO_PTR
3092 #define FILE_ptr(fp) ((fp)->_ptr)
3093 #define STDIO_PTR_LVALUE /**/
3094 #define FILE_cnt(fp) ((fp)->_cnt)
3095 #define STDIO_CNT_LVALUE /**/
3096 /*#define STDIO_PTR_LVAL_SETS_CNT /**/
3097 #define STDIO_PTR_LVAL_NOCHANGE_CNT /**/
3101 * This symbol is defined if the _base field (or similar) of the
3102 * stdio FILE structure can be used to access the stdio buffer for
3103 * a file handle. If this is defined, then the FILE_base(fp) macro
3104 * will also be defined and should be used to access this field.
3105 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
3106 * to determine the number of bytes in the buffer. USE_STDIO_BASE
3107 * will never be defined unless USE_STDIO_PTR is.
3110 * This macro is used to access the _base field (or equivalent) of the
3111 * FILE structure pointed to by its argument. This macro will always be
3112 * defined if USE_STDIO_BASE is defined.
3115 * This macro is used to determine the number of bytes in the I/O
3116 * buffer pointed to by _base field (or equivalent) of the FILE
3117 * structure pointed to its argument. This macro will always be defined
3118 * if USE_STDIO_BASE is defined.
3120 #define USE_STDIO_BASE /**/
3121 #ifdef USE_STDIO_BASE
3122 #define FILE_base(fp) ((fp)->_base)
3123 #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
3127 * This symbol, if defined, indicates that the vprintf routine is available
3128 * to printf with a pointer to an argument list. If unavailable, you
3129 * may need to write your own, probably in terms of _doprnt().
3131 /* USE_CHAR_VSPRINTF:
3132 * This symbol is defined if this system has vsprintf() returning type
3133 * (char*). The trend seems to be to declare it as "int vsprintf()". It
3134 * is up to the package author to declare vsprintf correctly based on the
3137 #define HAS_VPRINTF /**/
3138 /*#define USE_CHAR_VSPRINTF /**/
3141 * This symbol contains the size of a double, so that the C preprocessor
3142 * can make decisions based on it.
3144 #define DOUBLESIZE 8 /**/
3147 * This symbol, if defined, indicates to the C program that it should
3151 * This symbol, if defined, indicates to the C program that it should
3152 * include <sys/time.h>.
3154 /* I_SYS_TIME_KERNEL:
3155 * This symbol, if defined, indicates to the C program that it should
3156 * include <sys/time.h> with KERNEL defined.
3159 * This symbol, if defined, indicates to the C program that
3160 * the struct tm has a tm_zone field.
3162 /* HAS_TM_TM_GMTOFF:
3163 * This symbol, if defined, indicates to the C program that
3164 * the struct tm has a tm_gmtoff field.
3167 /*#define I_SYS_TIME /**/
3168 /*#define I_SYS_TIME_KERNEL /**/
3169 /*#define HAS_TM_TM_ZONE /**/
3170 /*#define HAS_TM_TM_GMTOFF /**/
3173 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
3174 * non-blocking I/O for the file descriptor. Note that there is no way
3175 * back, i.e. you cannot turn it blocking again this way. If you wish to
3176 * alternatively switch between blocking and non-blocking, use the
3177 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
3180 * This symbol holds the errno error code set by read() when no data was
3181 * present on the non-blocking file descriptor.
3184 * This symbol holds the return code from read() when no data is present
3185 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
3186 * not defined, then you can't distinguish between no data and EOF by
3187 * issuing a read(). You'll have to find another way to tell for sure!
3190 * This symbol, if defined, indicates to the C program that a read() on
3191 * a non-blocking file descriptor will return 0 on EOF, and not the value
3192 * held in RD_NODATA (-1 usually, in that case!).
3194 #define VAL_O_NONBLOCK O_NONBLOCK
3195 #define VAL_EAGAIN EAGAIN
3196 #define RD_NODATA -1
3197 #define EOF_NONBLOCK
3200 * This symbol contains the size of a pointer, so that the C preprocessor
3201 * can make decisions based on it. It will be sizeof(void *) if
3202 * the compiler supports (void *); otherwise it will be
3205 #define PTRSIZE 4 /**/
3208 * This macro is to be used to generate uniformly distributed
3209 * random numbers over the range [0., 1.[. You may have to supply
3210 * an 'extern double drand48();' in your program since SunOS 4.1.3
3211 * doesn't provide you with anything relevant in its headers.
3212 * See HAS_DRAND48_PROTO.
3215 * This symbol defines the type of the argument of the
3216 * random seed function.
3219 * This symbol defines the macro to be used in seeding the
3220 * random number generator (see Drand01).
3223 * This symbol indicates how many bits are produced by the
3224 * function used to generate normalized random numbers.
3225 * Values include 15, 16, 31, and 48.
3227 #define Drand01() (rand()/(double)((unsigned)1<<RANDBITS)) /**/
3228 #define Rand_seed_t unsigned /**/
3229 #define seedDrand01(x) srand((Rand_seed_t)x) /**/
3230 #define RANDBITS 15 /**/
3233 * This symbol holds the type used by functions that return
3234 * a count of bytes or an error condition. It must be a signed type.
3235 * It is usually ssize_t, but may be long or int, etc.
3236 * It may be necessary to include <sys/types.h> or <unistd.h>
3237 * to get any typedef'ed information.
3238 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3240 #define SSize_t int /* signed count of bytes */
3243 * This symbol, if defined, indicates that this system uses
3246 /*#define EBCDIC /**/
3249 * This symbol, if defined, indicates that the atolf routine is
3250 * available to convert strings into long doubles.
3252 /*#define HAS_ATOLF /**/
3255 * This symbol, if defined, indicates that the atoll routine is
3256 * available to convert strings into long longs.
3258 /*#define HAS_ATOLL /**/
3261 * This symbol, if defined, indicates that the _fwalk system call is
3262 * available to apply a function to all the file handles.
3264 /*#define HAS__FWALK /**/
3267 * This symbol, if defined, indicates that the aintl routine is
3268 * available. If copysignl is also present we can emulate modfl.
3270 /*#define HAS_AINTL /**/
3272 /* HAS_BUILTIN_CHOOSE_EXPR:
3273 * Can we handle GCC builtin for compile-time ternary-like expressions
3275 /* HAS_BUILTIN_EXPECT:
3276 * Can we handle GCC builtin for telling that certain values are more
3279 /*#define HAS_BUILTIN_EXPECT /**/
3280 /*#define HAS_BUILTIN_CHOOSE_EXPR /**/
3282 /* HAS_C99_VARIADIC_MACROS:
3283 * If defined, the compiler supports C99 variadic macros.
3285 /*#define HAS_C99_VARIADIC_MACROS /**/
3288 * This symbol, if defined, indicates that the class routine is
3289 * available to classify doubles. Available for example in AIX.
3290 * The returned values are defined in <float.h> and are:
3292 * FP_PLUS_NORM Positive normalized, nonzero
3293 * FP_MINUS_NORM Negative normalized, nonzero
3294 * FP_PLUS_DENORM Positive denormalized, nonzero
3295 * FP_MINUS_DENORM Negative denormalized, nonzero
3297 * FP_MINUS_ZERO -0.0
3300 * FP_NANS Signaling Not a Number (NaNS)
3301 * FP_NANQ Quiet Not a Number (NaNQ)
3303 /*#define HAS_CLASS /**/
3306 * This symbol, if defined, indicates that the clearenv () routine is
3307 * available for use.
3309 /*#define HAS_CLEARENV /**/
3311 /* HAS_STRUCT_CMSGHDR:
3312 * This symbol, if defined, indicates that the struct cmsghdr
3315 /*#define HAS_STRUCT_CMSGHDR /**/
3318 * This symbol, if defined, indicates that the copysignl routine is
3319 * available. If aintl is also present we can emulate modfl.
3321 /*#define HAS_COPYSIGNL /**/
3324 * This symbol, if defined, indicates that a C++ compiler was
3325 * used to compiled Perl and will be used to compile extensions.
3327 /*#define USE_CPLUSPLUS /**/
3329 /* HAS_DBMINIT_PROTO:
3330 * This symbol, if defined, indicates that the system provides
3331 * a prototype for the dbminit() function. Otherwise, it is up
3332 * to the program to supply one. A good guess is
3333 * extern int dbminit(char *);
3335 /*#define HAS_DBMINIT_PROTO /**/
3338 * This symbol, if defined, indicates that the the DIR* dirstream
3339 * structure contains a member variable named dd_fd.
3341 /*#define HAS_DIR_DD_FD /**/
3344 * This manifest constant lets the C program know that dirfd
3347 /*#define HAS_DIRFD /**/
3349 /* DLSYM_NEEDS_UNDERSCORE:
3350 * This symbol, if defined, indicates that we need to prepend an
3351 * underscore to the symbol name before calling dlsym(). This only
3352 * makes sense if you *have* dlsym, which we will presume is the
3353 * case if you're using dl_dlopen.xs.
3355 /*#define DLSYM_NEEDS_UNDERSCORE /**/
3358 * This symbol, if defined, indicates that the "fast stdio"
3359 * is available to manipulate the stdio buffers directly.
3361 #define HAS_FAST_STDIO /**/
3364 * This symbol, if defined, indicates that the fchdir routine is
3365 * available to change directory using a file descriptor.
3367 /*#define HAS_FCHDIR /**/
3370 * This symbol, if defined, indicates that fcntl() can be used
3371 * for file locking. Normally on Unix systems this is defined.
3372 * It may be undefined on VMS.
3374 /*#define FCNTL_CAN_LOCK /**/
3377 * This symbol, if defined, indicates that the finite routine is
3378 * available to check whether a double is finite (non-infinity non-NaN).
3380 /*#define HAS_FINITE /**/
3383 * This symbol, if defined, indicates that the finitel routine is
3384 * available to check whether a long double is finite
3385 * (non-infinity non-NaN).
3387 /*#define HAS_FINITEL /**/
3390 * This symbol, if defined, indicates that the system provides
3391 * a prototype for the flock() function. Otherwise, it is up
3392 * to the program to supply one. A good guess is
3393 * extern int flock(int, int);
3395 #define HAS_FLOCK_PROTO /**/
3398 * This symbol, if defined, indicates that the fp_class routine is
3399 * available to classify doubles. Available for example in Digital UNIX.
3400 * The returned values are defined in <math.h> and are:
3402 * FP_SNAN Signaling NaN (Not-a-Number)
3403 * FP_QNAN Quiet NaN (Not-a-Number)
3404 * FP_POS_INF +infinity
3405 * FP_NEG_INF -infinity
3406 * FP_POS_NORM Positive normalized
3407 * FP_NEG_NORM Negative normalized
3408 * FP_POS_DENORM Positive denormalized
3409 * FP_NEG_DENORM Negative denormalized
3410 * FP_POS_ZERO +0.0 (positive zero)
3411 * FP_NEG_ZERO -0.0 (negative zero)
3413 /*#define HAS_FP_CLASS /**/
3416 * This symbol, if defined, indicates that the fpclass routine is
3417 * available to classify doubles. Available for example in Solaris/SVR4.
3418 * The returned values are defined in <ieeefp.h> and are:
3420 * FP_SNAN signaling NaN
3422 * FP_NINF negative infinity
3423 * FP_PINF positive infinity
3424 * FP_NDENORM negative denormalized non-zero
3425 * FP_PDENORM positive denormalized non-zero
3426 * FP_NZERO negative zero
3427 * FP_PZERO positive zero
3428 * FP_NNORM negative normalized non-zero
3429 * FP_PNORM positive normalized non-zero
3431 /*#define HAS_FPCLASS /**/
3434 * This symbol, if defined, indicates that the fpclassify routine is
3435 * available to classify doubles. Available for example in HP-UX.
3436 * The returned values are defined in <math.h> and are
3438 * FP_NORMAL Normalized
3440 * FP_INFINITE Infinity
3441 * FP_SUBNORMAL Denormalized
3445 /*#define HAS_FPCLASSIFY /**/
3448 * This symbol, if defined, indicates that the fpclassl routine is
3449 * available to classify long doubles. Available for example in IRIX.
3450 * The returned values are defined in <ieeefp.h> and are:
3452 * FP_SNAN signaling NaN
3454 * FP_NINF negative infinity
3455 * FP_PINF positive infinity
3456 * FP_NDENORM negative denormalized non-zero
3457 * FP_PDENORM positive denormalized non-zero
3458 * FP_NZERO negative zero
3459 * FP_PZERO positive zero
3460 * FP_NNORM negative normalized non-zero
3461 * FP_PNORM positive normalized non-zero
3463 /*#define HAS_FPCLASSL /**/
3466 * This symbol will be defined if the C compiler supports fpos64_t.
3468 /*#define HAS_FPOS64_T /**/
3471 * This symbol, if defined, indicates that the frexpl routine is
3472 * available to break a long double floating-point number into
3473 * a normalized fraction and an integral power of 2.
3475 /*#define HAS_FREXPL /**/
3477 /* HAS_STRUCT_FS_DATA:
3478 * This symbol, if defined, indicates that the struct fs_data
3479 * to do statfs() is supported.
3481 /*#define HAS_STRUCT_FS_DATA /**/
3484 * This symbol, if defined, indicates that the fseeko routine is
3485 * available to fseek beyond 32 bits (useful for ILP32 hosts).
3487 /*#define HAS_FSEEKO /**/
3490 * This symbol, if defined, indicates that the fstatfs routine is
3491 * available to stat filesystems by file descriptors.
3493 /*#define HAS_FSTATFS /**/
3496 * This symbol, if defined, indicates that the fsync routine is
3497 * available to write a file's modified data and attributes to
3498 * permanent storage.
3500 /*#define HAS_FSYNC /**/
3503 * This symbol, if defined, indicates that the ftello routine is
3504 * available to ftell beyond 32 bits (useful for ILP32 hosts).
3506 /*#define HAS_FTELLO /**/
3509 * This symbol, if defined, indicates that the futimes routine is
3510 * available to change file descriptor time stamps with struct timevals.
3512 /*#define HAS_FUTIMES /**/
3515 * This symbol, if defined, indicates that the getcwd routine is
3516 * available to get the current working directory.
3518 #define HAS_GETCWD /**/
3521 * This symbol, if defined, indicates that the getespwnam system call is
3522 * available to retrieve enchanced (shadow) password entries by name.
3524 /*#define HAS_GETESPWNAM /**/
3527 * This symbol, if defined, indicates that the getfsstat routine is
3528 * available to stat filesystems in bulk.
3530 /*#define HAS_GETFSSTAT /**/
3533 * This symbol, if defined, indicates that the getitimer routine is
3534 * available to return interval timers.
3536 /*#define HAS_GETITIMER /**/
3539 * This symbol, if defined, indicates that the getmnt routine is
3540 * available to get filesystem mount info by filename.
3542 /*#define HAS_GETMNT /**/
3545 * This symbol, if defined, indicates that the getmntent routine is
3546 * available to iterate through mounted file systems to get their info.
3548 /*#define HAS_GETMNTENT /**/
3551 * This symbol, if defined, indicates that the getprpwnam system call is
3552 * available to retrieve protected (shadow) password entries by name.
3554 /*#define HAS_GETPRPWNAM /**/
3557 * This symbol, if defined, indicates that the getspnam system call is
3558 * available to retrieve SysV shadow password entries by name.
3560 /*#define HAS_GETSPNAM /**/
3563 * This symbol, if defined, indicates that the hasmntopt routine is
3564 * available to query the mount options of file systems.
3566 /*#define HAS_HASMNTOPT /**/
3569 * This symbol, if defined, indicates that the ilogbl routine is
3570 * available. If scalbnl is also present we can emulate frexpl.
3572 /*#define HAS_ILOGBL /**/
3575 * This symbol will defined if the C compiler supports int64_t.
3576 * Usually the <inttypes.h> needs to be included, but sometimes
3577 * <sys/types.h> is enough.
3579 /*#define HAS_INT64_T /**/
3582 * This symbol, if defined, indicates that the isfinite routine is
3583 * available to check whether a double is finite (non-infinity non-NaN).
3585 /*#define HAS_ISFINITE /**/
3588 * This symbol, if defined, indicates that the isinf routine is
3589 * available to check whether a double is an infinity.
3591 /*#define HAS_ISINF /**/
3594 * This symbol, if defined, indicates that the isnan routine is
3595 * available to check whether a double is a NaN.
3597 #define HAS_ISNAN /**/
3600 * This symbol, if defined, indicates that the isnanl routine is
3601 * available to check whether a long double is a NaN.
3603 /*#define HAS_ISNANL /**/
3606 * This symbol, if defined, indicates that this system's <float.h>
3607 * or <limits.h> defines the symbol LDBL_DIG, which is the number
3608 * of significant digits in a long double precision number. Unlike
3609 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
3611 #define HAS_LDBL_DIG /**/
3613 /* LIBM_LIB_VERSION:
3614 * This symbol, if defined, indicates that libm exports _LIB_VERSION
3615 * and that math.h defines the enum to manipulate it.
3617 /*#define LIBM_LIB_VERSION /**/
3620 * This symbol, if defined, indicates that the madvise system call is
3621 * available to map a file into memory.
3623 /*#define HAS_MADVISE /**/
3626 * This symbol, if defined, indicates that the malloc_size
3627 * routine is available for use.
3629 /*#define HAS_MALLOC_SIZE /**/
3631 /* HAS_MALLOC_GOOD_SIZE:
3632 * This symbol, if defined, indicates that the malloc_good_size
3633 * routine is available for use.
3635 /*#define HAS_MALLOC_GOOD_SIZE /**/
3638 * This symbol, if defined, indicates that the mkdtemp routine is
3639 * available to exclusively create a uniquely named temporary directory.
3641 /*#define HAS_MKDTEMP /**/
3644 * This symbol, if defined, indicates that the mkstemps routine is
3645 * available to excluslvely create and open a uniquely named
3646 * (with a suffix) temporary file.
3648 /*#define HAS_MKSTEMPS /**/
3651 * This symbol, if defined, indicates that the modfl routine is
3652 * available to split a long double x into a fractional part f and
3653 * an integer part i such that |f| < 1.0 and (f + i) = x.
3656 * This symbol, if defined, indicates that the system provides
3657 * a prototype for the modfl() function. Otherwise, it is up
3658 * to the program to supply one.
3660 /* HAS_MODFL_POW32_BUG:
3661 * This symbol, if defined, indicates that the modfl routine is
3662 * broken for long doubles >= pow(2, 32).
3663 * For example from 4294967303.150000 one would get 4294967302.000000
3664 * and 1.150000. The bug has been seen in certain versions of glibc,
3665 * release 2.2.2 is known to be okay.
3667 /*#define HAS_MODFL /**/
3668 /*#define HAS_MODFL_PROTO /**/
3669 /*#define HAS_MODFL_POW32_BUG /**/
3672 * This symbol, if defined, indicates that the mprotect system call is
3673 * available to modify the access protection of a memory mapped file.
3675 /*#define HAS_MPROTECT /**/
3677 /* HAS_STRUCT_MSGHDR:
3678 * This symbol, if defined, indicates that the struct msghdr
3681 /*#define HAS_STRUCT_MSGHDR /**/
3684 * This symbol, if defined, indicates that the nl_langinfo routine is
3685 * available to return local data. You will also need <langinfo.h>
3686 * and therefore I_LANGINFO.
3688 /*#define HAS_NL_LANGINFO /**/
3691 * This symbol will be defined if the C compiler supports off64_t.
3693 /*#define HAS_OFF64_T /**/
3696 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3697 * to the absolute pathname of the executing program.
3699 /* PROCSELFEXE_PATH:
3700 * If HAS_PROCSELFEXE is defined this symbol is the filename
3701 * of the symbolic link pointing to the absolute pathname of
3702 * the executing program.
3704 /*#define HAS_PROCSELFEXE /**/
3705 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3706 #define PROCSELFEXE_PATH /**/
3709 /* HAS_PTHREAD_ATTR_SETSCOPE:
3710 * This symbol, if defined, indicates that the pthread_attr_setscope
3711 * system call is available to set the contention scope attribute of
3712 * a thread attribute object.
3714 /*#define HAS_PTHREAD_ATTR_SETSCOPE /**/
3717 * This symbol, if defined, indicates that the readv routine is
3718 * available to do gather reads. You will also need <sys/uio.h>
3719 * and there I_SYSUIO.
3721 /*#define HAS_READV /**/
3724 * This symbol, if defined, indicates that the recvmsg routine is
3725 * available to send structured socket messages.
3727 /*#define HAS_RECVMSG /**/
3730 * This symbol, if defined, indicates that the system provides
3731 * a prototype for the sbrk() function. Otherwise, it is up
3732 * to the program to supply one. Good guesses are
3733 * extern void* sbrk(int);
3734 * extern void* sbrk(size_t);
3736 /*#define HAS_SBRK_PROTO /**/
3739 * This symbol, if defined, indicates that the scalbnl routine is
3740 * available. If ilogbl is also present we can emulate frexpl.
3742 /*#define HAS_SCALBNL /**/
3745 * This symbol, if defined, indicates that the sendmsg routine is
3746 * available to send structured socket messages.
3748 /*#define HAS_SENDMSG /**/
3751 * This symbol, if defined, indicates that the setitimer routine is
3752 * available to set interval timers.
3754 /*#define HAS_SETITIMER /**/
3756 /* HAS_SETPROCTITLE:
3757 * This symbol, if defined, indicates that the setproctitle routine is
3758 * available to set process title.
3760 /*#define HAS_SETPROCTITLE /**/
3763 * This symbol, if defined, indicates that sfio should
3766 /*#define USE_SFIO /**/
3769 * This symbol, if defined, indicates that the signbit routine is
3770 * available to check if the given number has the sign bit set.
3771 * This should include correct testing of -0.0. This will only be set
3772 * if the signbit() routine is safe to use with the NV type used internally
3773 * in perl. Users should call Perl_signbit(), which will be #defined to
3774 * the system's signbit() function or macro if this symbol is defined.
3776 /*#define HAS_SIGNBIT /**/
3779 * This symbol, if defined, indicates that the sigprocmask
3780 * system call is available to examine or change the signal mask
3781 * of the calling process.
3783 /*#define HAS_SIGPROCMASK /**/
3785 /* USE_SITECUSTOMIZE:
3786 * This symbol, if defined, indicates that sitecustomize should
3789 #ifndef USE_SITECUSTOMIZE
3790 /*#define USE_SITECUSTOMIZE /**/
3794 * This symbol, if defined, indicates that the snprintf () library
3795 * function is available for use.
3798 * This symbol, if defined, indicates that the vsnprintf () library
3799 * function is available for use.
3801 #define HAS_SNPRINTF /**/
3802 #define HAS_VSNPRINTF /**/
3805 * This symbol, if defined, indicates that the sockatmark routine is
3806 * available to test whether a socket is at the out-of-band mark.
3808 /*#define HAS_SOCKATMARK /**/
3810 /* HAS_SOCKATMARK_PROTO:
3811 * This symbol, if defined, indicates that the system provides
3812 * a prototype for the sockatmark() function. Otherwise, it is up
3813 * to the program to supply one. A good guess is
3814 * extern int sockatmark(int);
3816 /*#define HAS_SOCKATMARK_PROTO /**/
3819 * This symbol, if defined, indicates that the socks5_init routine is
3820 * available to initialize SOCKS 5.
3822 /*#define HAS_SOCKS5_INIT /**/
3824 /* SPRINTF_RETURNS_STRLEN:
3825 * This variable defines whether sprintf returns the length of the string
3826 * (as per the ANSI spec). Some C libraries retain compatibility with
3827 * pre-ANSI C and return a pointer to the passed in buffer; for these
3828 * this variable will be undef.
3830 #define SPRINTF_RETURNS_STRLEN /**/
3833 * This symbol, if defined, indicates that the sqrtl routine is
3834 * available to do long double square roots.
3836 /*#define HAS_SQRTL /**/
3838 /* HAS_SETRESGID_PROTO:
3839 * This symbol, if defined, indicates that the system provides
3840 * a prototype for the setresgid() function. Otherwise, it is up
3841 * to the program to supply one. Good guesses are
3842 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3844 /*#define HAS_SETRESGID_PROTO /**/
3846 /* HAS_SETRESUID_PROTO:
3847 * This symbol, if defined, indicates that the system provides
3848 * a prototype for the setresuid() function. Otherwise, it is up
3849 * to the program to supply one. Good guesses are
3850 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3852 /*#define HAS_SETRESUID_PROTO /**/
3854 /* HAS_STRUCT_STATFS_F_FLAGS:
3855 * This symbol, if defined, indicates that the struct statfs
3856 * does have the f_flags member containing the mount flags of
3857 * the filesystem containing the file.
3858 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
3859 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
3860 * have statfs() and struct statfs, they have ustat() and getmnt()
3861 * with struct ustat and struct fs_data.
3863 /*#define HAS_STRUCT_STATFS_F_FLAGS /**/
3865 /* HAS_STRUCT_STATFS:
3866 * This symbol, if defined, indicates that the struct statfs
3867 * to do statfs() is supported.
3869 /*#define HAS_STRUCT_STATFS /**/
3872 * This symbol, if defined, indicates that the fstatvfs routine is
3873 * available to stat filesystems by file descriptors.
3875 /*#define HAS_FSTATVFS /**/
3878 * This symbol, if defined, indicates that the strftime routine is
3879 * available to do time formatting.
3881 #define HAS_STRFTIME /**/
3884 * This symbol, if defined, indicates that the strlcat () routine is
3885 * available to do string concatenation.
3887 /*#define HAS_STRLCAT /**/
3890 * This symbol, if defined, indicates that the strlcpy () routine is
3891 * available to do string copying.
3893 /*#define HAS_STRLCPY /**/
3896 * This symbol, if defined, indicates that the strtold routine is
3897 * available to convert strings to long doubles.
3899 /*#define HAS_STRTOLD /**/
3902 * This symbol, if defined, indicates that the strtoll routine is
3903 * available to convert strings to long longs.
3905 /*#define HAS_STRTOLL /**/
3908 * This symbol, if defined, indicates that the strtoq routine is
3909 * available to convert strings to long longs (quads).
3911 /*#define HAS_STRTOQ /**/
3914 * This symbol, if defined, indicates that the strtoull routine is
3915 * available to convert strings to unsigned long longs.
3917 /*#define HAS_STRTOULL /**/
3920 * This symbol, if defined, indicates that the strtouq routine is
3921 * available to convert strings to unsigned long longs (quads).
3923 /*#define HAS_STRTOUQ /**/
3925 /* HAS_SYSCALL_PROTO:
3926 * This symbol, if defined, indicates that the system provides
3927 * a prototype for the syscall() function. Otherwise, it is up
3928 * to the program to supply one. Good guesses are
3929 * extern int syscall(int, ...);
3930 * extern int syscall(long, ...);
3932 /*#define HAS_SYSCALL_PROTO /**/
3934 /* HAS_TELLDIR_PROTO:
3935 * This symbol, if defined, indicates that the system provides
3936 * a prototype for the telldir() function. Otherwise, it is up
3937 * to the program to supply one. A good guess is
3938 * extern long telldir(DIR*);
3940 #define HAS_TELLDIR_PROTO /**/
3942 /* U32_ALIGNMENT_REQUIRED:
3943 * This symbol, if defined, indicates that you must access
3944 * character data through U32-aligned pointers.
3946 #ifndef U32_ALIGNMENT_REQUIRED
3947 #define U32_ALIGNMENT_REQUIRED /**/
3951 * This symbol, if defined, indicates that the ualarm routine is
3952 * available to do alarms with microsecond granularity.
3954 /*#define HAS_UALARM /**/
3957 * This symbol, if defined, indicates that the unordered routine is
3958 * available to check whether two doubles are unordered
3959 * (effectively: whether either of them is NaN)
3961 /*#define HAS_UNORDERED /**/
3964 * This symbol, if defined, indicates that the unsetenv () routine is
3965 * available for use.
3967 /*#define HAS_UNSETENV /**/
3969 /* HAS_USLEEP_PROTO:
3970 * This symbol, if defined, indicates that the system provides
3971 * a prototype for the usleep() function. Otherwise, it is up
3972 * to the program to supply one. A good guess is
3973 * extern int usleep(useconds_t);
3975 /*#define HAS_USLEEP_PROTO /**/
3978 * This symbol, if defined, indicates that the ustat system call is
3979 * available to query file system statistics by dev_t.
3981 /*#define HAS_USTAT /**/
3984 * This symbol, if defined, indicates that the writev routine is
3985 * available to do scatter writes.
3987 /*#define HAS_WRITEV /**/
3989 /* USE_DYNAMIC_LOADING:
3990 * This symbol, if defined, indicates that dynamic loading of
3991 * some sort is available.
3993 #define USE_DYNAMIC_LOADING /**/
3996 * This symbol, if defined, tells that fflush(NULL) does flush
3997 * all pending stdio output.
4000 * This symbol, if defined, tells that to flush
4001 * all pending stdio output one must loop through all
4002 * the stdio file handles stored in an array and fflush them.
4003 * Note that if fflushNULL is defined, fflushall will not
4004 * even be probed for and will be left undefined.
4006 #define FFLUSH_NULL /**/
4007 /*#define FFLUSH_ALL /**/
4010 * This symbol, if defined, indicates that <assert.h> exists and
4011 * could be included by the C program to get the assert() macro.
4013 #define I_ASSERT /**/
4016 * This symbol, if defined, indicates that <crypt.h> exists and
4017 * should be included.
4019 /*#define I_CRYPT /**/
4022 * This symbol contains the type of the prefix structure element
4023 * in the <db.h> header file. In older versions of DB, it was
4024 * int, while in newer ones it is u_int32_t.
4027 * This symbol contains the type of the prefix structure element
4028 * in the <db.h> header file. In older versions of DB, it was
4029 * int, while in newer ones it is size_t.
4031 /* DB_VERSION_MAJOR_CFG:
4032 * This symbol, if defined, defines the major version number of
4033 * Berkeley DB found in the <db.h> header when Perl was configured.
4035 /* DB_VERSION_MINOR_CFG:
4036 * This symbol, if defined, defines the minor version number of
4037 * Berkeley DB found in the <db.h> header when Perl was configured.
4038 * For DB version 1 this is always 0.
4040 /* DB_VERSION_PATCH_CFG:
4041 * This symbol, if defined, defines the patch version number of
4042 * Berkeley DB found in the <db.h> header when Perl was configured.
4043 * For DB version 1 this is always 0.
4045 #define DB_Hash_t int /**/
4046 #define DB_Prefix_t int /**/
4047 #define DB_VERSION_MAJOR_CFG 0 /**/
4048 #define DB_VERSION_MINOR_CFG 0 /**/
4049 #define DB_VERSION_PATCH_CFG 0 /**/
4052 * This symbol, if defined, indicates that <fp.h> exists and
4053 * should be included.
4058 * This symbol, if defined, indicates that <fp_class.h> exists and
4059 * should be included.
4061 /*#define I_FP_CLASS /**/
4064 * This symbol, if defined, indicates that <ieeefp.h> exists and
4065 * should be included.
4067 /*#define I_IEEEFP /**/
4070 * This symbol, if defined, indicates to the C program that it should
4071 * include <inttypes.h>.
4073 /*#define I_INTTYPES /**/
4076 * This symbol, if defined, indicates that <langinfo.h> exists and
4077 * should be included.
4079 /*#define I_LANGINFO /**/
4082 * This symbol, if defined, indicates that <libutil.h> exists and
4083 * should be included.
4085 /*#define I_LIBUTIL /**/
4088 * This symbol, if defined, indicates that <mntent.h> exists and
4089 * should be included.
4091 /*#define I_MNTENT /**/
4094 * This symbol, if defined, indicates to the C program that it should
4095 * include <netinet/tcp.h>.
4097 /*#define I_NETINET_TCP /**/
4100 * This symbol, if defined, indicates that <poll.h> exists and
4101 * should be included. (see also HAS_POLL)
4103 /*#define I_POLL /**/
4106 * This symbol, if defined, indicates that <prot.h> exists and
4107 * should be included.
4109 /*#define I_PROT /**/
4112 * This symbol, if defined, indicates that <shadow.h> exists and
4113 * should be included.
4115 /*#define I_SHADOW /**/
4118 * This symbol, if defined, indicates that <socks.h> exists and
4119 * should be included.
4121 /*#define I_SOCKS /**/
4124 * This symbol, if defined, indicates that <sunmath.h> exists and
4125 * should be included.
4127 /*#define I_SUNMATH /**/
4130 * This symbol, if defined, indicates that <syslog.h> exists and
4131 * should be included.
4133 /*#define I_SYSLOG /**/
4136 * This symbol, if defined, indicates that <sys/mode.h> exists and
4137 * should be included.
4139 /*#define I_SYSMODE /**/
4142 * This symbol, if defined, indicates that <sys/mount.h> exists and
4143 * should be included.
4145 /*#define I_SYS_MOUNT /**/
4148 * This symbol, if defined, indicates that <sys/statfs.h> exists.
4150 /*#define I_SYS_STATFS /**/
4153 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
4154 * should be included.
4156 /*#define I_SYS_STATVFS /**/
4159 * This symbol, if defined, indicates that <sys/utsname.h> exists and
4160 * should be included.
4162 /*#define I_SYSUTSNAME /**/
4165 * This symbol, if defined, indicates that <sys/vfs.h> exists and
4166 * should be included.
4168 /*#define I_SYS_VFS /**/
4171 * This symbol, if defined, indicates that <ustat.h> exists and
4172 * should be included.
4174 /*#define I_USTAT /**/
4177 * This symbol, if defined, contains the string used by stdio to
4178 * format long doubles (format 'f') for output.
4181 * This symbol, if defined, contains the string used by stdio to
4182 * format long doubles (format 'g') for output.
4185 * This symbol, if defined, contains the string used by stdio to
4186 * format long doubles (format 'e') for output.
4189 * This symbol, if defined, contains the string used by stdio to
4190 * format long doubles (format 'f') for input.
4192 /*#define PERL_PRIfldbl "f" /**/
4193 /*#define PERL_PRIgldbl "g" /**/
4194 /*#define PERL_PRIeldbl "e" /**/
4195 /*#define PERL_SCNfldbl "f" /**/
4198 * This symbol, if defined, indicates that the Misc Attribution
4199 * Declaration code should be conditionally compiled.
4201 /*#define PERL_MAD /**/
4204 * This symbol, if defined, indicates that the system stores
4205 * the variable argument list datatype, va_list, in a format
4206 * that cannot be copied by simple assignment, so that some
4207 * other means must be used when copying is required.
4208 * As such systems vary in their provision (or non-provision)
4209 * of copying mechanisms, handy.h defines a platform-
4210 * independent macro, Perl_va_copy(src, dst), to do the job.
4212 /*#define NEED_VA_COPY /**/
4215 * This symbol defines the C type used for Perl's IV.
4218 * This symbol defines the C type used for Perl's UV.
4221 * This symbol defines the C type used for Perl's I8.
4224 * This symbol defines the C type used for Perl's U8.
4227 * This symbol defines the C type used for Perl's I16.
4230 * This symbol defines the C type used for Perl's U16.
4233 * This symbol defines the C type used for Perl's I32.
4236 * This symbol defines the C type used for Perl's U32.
4239 * This symbol defines the C type used for Perl's I64.
4242 * This symbol defines the C type used for Perl's U64.
4245 * This symbol defines the C type used for Perl's NV.
4248 * This symbol contains the sizeof(IV).
4251 * This symbol contains the sizeof(UV).
4254 * This symbol contains the sizeof(I8).
4257 * This symbol contains the sizeof(U8).
4260 * This symbol contains the sizeof(I16).
4263 * This symbol contains the sizeof(U16).
4266 * This symbol contains the sizeof(I32).
4269 * This symbol contains the sizeof(U32).
4272 * This symbol contains the sizeof(I64).
4275 * This symbol contains the sizeof(U64).
4278 * This symbol contains the sizeof(NV).
4281 * This symbol, if defined, indicates that a variable of type NVTYPE
4282 * can preserve all the bits of a variable of type UVTYPE.
4284 /* NV_PRESERVES_UV_BITS:
4285 * This symbol contains the number of bits a variable of type NVTYPE
4286 * can preserve of a variable of type UVTYPE.
4288 /* NV_OVERFLOWS_INTEGERS_AT:
4289 * This symbol gives the largest integer value that NVs can hold. This
4290 * value + 1.0 cannot be stored accurately. It is expressed as constant
4291 * floating point expression to reduce the chance of decimale/binary
4292 * conversion issues. If it can not be determined, the value 0 is given.
4294 /* NV_ZERO_IS_ALLBITS_ZERO:
4295 * This symbol, if defined, indicates that a variable of type NVTYPE
4296 * stores 0.0 in memory as all bits zero.
4298 #define IVTYPE long /**/
4299 #define UVTYPE unsigned long /**/
4300 #define I8TYPE char /**/
4301 #define U8TYPE unsigned char /**/
4302 #define I16TYPE short /**/
4303 #define U16TYPE unsigned short /**/
4304 #define I32TYPE long /**/
4305 #define U32TYPE unsigned long /**/
4308 # define I64TYPE long long /**/
4309 # define U64TYPE unsigned long long /**/
4311 # define I64TYPE __int64 /**/
4312 # define U64TYPE unsigned __int64 /**/
4315 #define NVTYPE double /**/
4316 #define IVSIZE 4 /**/
4317 #define UVSIZE 4 /**/
4318 #define I8SIZE 1 /**/
4319 #define U8SIZE 1 /**/
4320 #define I16SIZE 2 /**/
4321 #define U16SIZE 2 /**/
4322 #define I32SIZE 4 /**/
4323 #define U32SIZE 4 /**/
4325 #define I64SIZE 8 /**/
4326 #define U64SIZE 8 /**/
4328 #define NVSIZE 8 /**/
4329 #define NV_PRESERVES_UV
4330 #define NV_PRESERVES_UV_BITS 32
4331 #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
4332 #define NV_ZERO_IS_ALLBITS_ZERO
4335 # if BYTEORDER == 0x1234
4337 # define BYTEORDER 0x12345678
4339 # if BYTEORDER == 0x4321
4341 # define BYTEORDER 0x87654321
4348 * This symbol defines the format string used for printing a Perl IV
4349 * as a signed decimal integer.
4352 * This symbol defines the format string used for printing a Perl UV
4353 * as an unsigned decimal integer.
4356 * This symbol defines the format string used for printing a Perl UV
4357 * as an unsigned octal integer.
4360 * This symbol defines the format string used for printing a Perl UV
4361 * as an unsigned hexadecimal integer in lowercase abcdef.
4364 * This symbol defines the format string used for printing a Perl UV
4365 * as an unsigned hexadecimal integer in uppercase ABCDEF.
4368 * This symbol defines the format string used for printing a Perl NV
4369 * using %e-ish floating point format.
4372 * This symbol defines the format string used for printing a Perl NV
4373 * using %f-ish floating point format.
4376 * This symbol defines the format string used for printing a Perl NV
4377 * using %g-ish floating point format.
4379 #define IVdf "ld" /**/
4380 #define UVuf "lu" /**/
4381 #define UVof "lo" /**/
4382 #define UVxf "lx" /**/
4383 #define UVXf "lX" /**/
4384 #define NVef "e" /**/
4385 #define NVff "f" /**/
4386 #define NVgf "g" /**/
4389 * This symbol holds the minimum number of bits operated by select.
4390 * That is, if you do select(n, ...), how many bits at least will be
4391 * cleared in the masks if some activity is detected. Usually this
4392 * is either n or 32*ceil(n/32), especially many little-endians do
4393 * the latter. This is only useful if you have select(), naturally.
4395 #define SELECT_MIN_BITS 32 /**/
4398 * This variable contains the string to put in front of a perl
4399 * script to make sure (one hopes) that it runs with perl and not
4402 #define STARTPERL "#!perl" /**/
4404 /* HAS_STDIO_STREAM_ARRAY:
4405 * This symbol, if defined, tells that there is an array
4406 * holding the stdio streams.
4408 /* STDIO_STREAM_ARRAY:
4409 * This symbol tells the name of the array holding the stdio streams.
4410 * Usual values include _iob, __iob, and __sF.
4412 /*#define HAS_STDIO_STREAM_ARRAY /**/
4413 #ifdef HAS_STDIO_STREAM_ARRAY
4414 #define STDIO_STREAM_ARRAY
4418 * This symbol, if defined, indicates that 64-bit integers should
4419 * be used when available. If not defined, the native integers
4420 * will be employed (be they 32 or 64 bits). The minimal possible
4421 * 64-bitness is used, just enough to get 64-bit integers into Perl.
4422 * This may mean using for example "long longs", while your memory
4423 * may still be limited to 2 gigabytes.
4426 * This symbol, if defined, indicates that 64-bit integers should
4427 * be used when available. If not defined, the native integers
4428 * will be used (be they 32 or 64 bits). The maximal possible
4429 * 64-bitness is employed: LP64 or ILP64, meaning that you will
4430 * be able to use more than 2 gigabytes of memory. This mode is
4431 * even more binary incompatible than USE_64_BIT_INT. You may not
4432 * be able to run the resulting executable in a 32-bit CPU at all or
4433 * you may need at least to reboot your OS to 64-bit mode.
4435 #ifndef USE_64_BIT_INT
4436 /*#define USE_64_BIT_INT /**/
4438 #ifndef USE_64_BIT_ALL
4439 /*#define USE_64_BIT_ALL /**/
4443 * This symbol, if defined, indicates that Perl should
4444 * be built with support for DTrace.
4446 /*#define USE_DTRACE /**/
4449 * This symbol, if defined, indicates that Perl should
4450 * be built to use 'fast stdio'.
4451 * Defaults to define in Perls 5.8 and earlier, to undef later.
4453 #ifndef USE_FAST_STDIO
4454 /*#define USE_FAST_STDIO /**/
4458 * This symbol, if defined, indicates that large file support
4459 * should be used when available.
4461 #ifndef USE_LARGE_FILES
4462 /*#define USE_LARGE_FILES /**/
4466 * This symbol, if defined, indicates that long doubles should
4467 * be used when available.
4469 #ifndef USE_LONG_DOUBLE
4470 /*#define USE_LONG_DOUBLE /**/
4474 * This symbol, if defined, indicates that 64-bit interfaces and
4475 * long doubles should be used when available.
4477 #ifndef USE_MORE_BITS
4478 /*#define USE_MORE_BITS /**/
4482 * This symbol, if defined, indicates that Perl should
4483 * be built to use multiplicity.
4485 #ifndef MULTIPLICITY
4486 /*#define MULTIPLICITY /**/
4490 * This symbol, if defined, indicates that the PerlIO abstraction should
4491 * be used throughout. If not defined, stdio should be
4492 * used in a fully backward compatible manner.
4495 /*#define USE_PERLIO /**/
4499 * This symbol, if defined, indicates that Perl should
4500 * be built to use socks.
4503 /*#define USE_SOCKS /**/