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:17:01 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 __int64 /**/
858 # define Uquad_t unsigned __int64 /**/
860 # define Quad_t long long /**/
861 # define Uquad_t unsigned long long /**/
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 "cppstdin"
972 # define CPPRUN "cl -nologo -E"
974 # define CPPSTDIN "gcc -E"
975 # define CPPMINUS "-"
976 # define CPPRUN "gcc -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 /* HASATTRIBUTE_FORMAT:
1007 * Can we handle GCC attribute for checking printf-style formats
1009 /* PRINTF_FORMAT_NULL_OK:
1010 * Allows __printf__ format to be null when checking printf-style
1012 /* HASATTRIBUTE_MALLOC:
1013 * Can we handle GCC attribute for malloc-style functions.
1015 /* HASATTRIBUTE_NONNULL:
1016 * Can we handle GCC attribute for nonnull function parms.
1018 /* HASATTRIBUTE_NORETURN:
1019 * Can we handle GCC attribute for functions that do not return
1021 /* HASATTRIBUTE_PURE:
1022 * Can we handle GCC attribute for pure functions
1024 /* HASATTRIBUTE_UNUSED:
1025 * Can we handle GCC attribute for unused variables and arguments
1027 /* HASATTRIBUTE_WARN_UNUSED_RESULT:
1028 * Can we handle GCC attribute for warning on unused results
1030 /*#define HASATTRIBUTE_FORMAT /**/
1031 /*#define PRINTF_FORMAT_NULL_OK /**/
1032 /*#define HASATTRIBUTE_NORETURN /**/
1033 /*#define HASATTRIBUTE_MALLOC /**/
1034 /*#define HASATTRIBUTE_NONNULL /**/
1035 /*#define HASATTRIBUTE_PURE /**/
1036 /*#define HASATTRIBUTE_UNUSED /**/
1037 /*#define HASATTRIBUTE_WARN_UNUSED_RESULT /**/
1040 * This symbol, if defined, indicates that this C compiler knows about
1041 * the const type. There is no need to actually test for that symbol
1042 * within your programs. The mere use of the "const" keyword will
1043 * trigger the necessary tests.
1045 #define HASCONST /**/
1051 * This symbol, if defined, indicates that the crypt routine is available
1052 * to encrypt passwords and the like.
1054 /*#define HAS_CRYPT /**/
1057 * This symbol, if defined, indicates that the crypt_r routine
1058 * is available to crypt re-entrantly.
1061 * This symbol encodes the prototype of crypt_r.
1062 * It is zero if d_crypt_r is undef, and one of the
1063 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1066 /*#define HAS_CRYPT_R /**/
1067 #define CRYPT_R_PROTO 0 /**/
1070 * This symbol, if defined, indicates that the C-shell exists.
1073 * This symbol, if defined, contains the full pathname of csh.
1075 /*#define HAS_CSH /**/
1081 * This symbol, if defined, indicates that the ctermid_r routine
1082 * is available to ctermid re-entrantly.
1085 * This symbol encodes the prototype of ctermid_r.
1086 * It is zero if d_ctermid_r is undef, and one of the
1087 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
1090 /*#define HAS_CTERMID_R /**/
1091 #define CTERMID_R_PROTO 0 /**/
1094 * This symbol, if defined, indicates that the ctime_r routine
1095 * is available to ctime re-entrantly.
1098 * This symbol encodes the prototype of ctime_r.
1099 * It is zero if d_ctime_r is undef, and one of the
1100 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1103 /*#define HAS_CTIME_R /**/
1104 #define CTIME_R_PROTO 0 /**/
1106 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1107 * This symbol, if defined, indicates that the bug that prevents
1108 * setuid scripts from being secure is not present in this kernel.
1111 * This symbol, if defined, indicates that the C program should
1112 * check the script that it is executing for setuid/setgid bits, and
1113 * attempt to emulate setuid/setgid on systems that have disabled
1114 * setuid #! scripts because the kernel can't do it securely.
1115 * It is up to the package designer to make sure that this emulation
1116 * is done securely. Among other things, it should do an fstat on
1117 * the script it just opened to make sure it really is a setuid/setgid
1118 * script, it should make sure the arguments passed correspond exactly
1119 * to the argument on the #! line, and it should not trust any
1120 * subprocesses to which it must pass the filename rather than the
1121 * file descriptor of the script to be executed.
1123 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1124 /*#define DOSUID /**/
1127 * This symbol, if defined, indicates that the drand48_r routine
1128 * is available to drand48 re-entrantly.
1131 * This symbol encodes the prototype of drand48_r.
1132 * It is zero if d_drand48_r is undef, and one of the
1133 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1136 /*#define HAS_DRAND48_R /**/
1137 #define DRAND48_R_PROTO 0 /**/
1139 /* HAS_DRAND48_PROTO:
1140 * This symbol, if defined, indicates that the system provides
1141 * a prototype for the drand48() function. Otherwise, it is up
1142 * to the program to supply one. A good guess is
1143 * extern double drand48(void);
1145 /*#define HAS_DRAND48_PROTO /**/
1148 * This symbol, if defined, indicates that the eaccess routine is
1149 * available to do extended access checks.
1151 /*#define HAS_EACCESS /**/
1154 * This symbol, if defined, indicates that the getgrent routine is
1155 * available for finalizing sequential access of the group database.
1157 /*#define HAS_ENDGRENT /**/
1160 * This symbol, if defined, indicates that the endgrent_r routine
1161 * is available to endgrent re-entrantly.
1163 /* ENDGRENT_R_PROTO:
1164 * This symbol encodes the prototype of endgrent_r.
1165 * It is zero if d_endgrent_r is undef, and one of the
1166 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1169 /*#define HAS_ENDGRENT_R /**/
1170 #define ENDGRENT_R_PROTO 0 /**/
1173 * This symbol, if defined, indicates that the endhostent() routine is
1174 * available to close whatever was being used for host queries.
1176 /*#define HAS_ENDHOSTENT /**/
1178 /* HAS_ENDHOSTENT_R:
1179 * This symbol, if defined, indicates that the endhostent_r routine
1180 * is available to endhostent re-entrantly.
1182 /* ENDHOSTENT_R_PROTO:
1183 * This symbol encodes the prototype of endhostent_r.
1184 * It is zero if d_endhostent_r is undef, and one of the
1185 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
1188 /*#define HAS_ENDHOSTENT_R /**/
1189 #define ENDHOSTENT_R_PROTO 0 /**/
1192 * This symbol, if defined, indicates that the endnetent() routine is
1193 * available to close whatever was being used for network queries.
1195 /*#define HAS_ENDNETENT /**/
1198 * This symbol, if defined, indicates that the endnetent_r routine
1199 * is available to endnetent re-entrantly.
1201 /* ENDNETENT_R_PROTO:
1202 * This symbol encodes the prototype of endnetent_r.
1203 * It is zero if d_endnetent_r is undef, and one of the
1204 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
1207 /*#define HAS_ENDNETENT_R /**/
1208 #define ENDNETENT_R_PROTO 0 /**/
1211 * This symbol, if defined, indicates that the endprotoent() routine is
1212 * available to close whatever was being used for protocol queries.
1214 /*#define HAS_ENDPROTOENT /**/
1216 /* HAS_ENDPROTOENT_R:
1217 * This symbol, if defined, indicates that the endprotoent_r routine
1218 * is available to endprotoent re-entrantly.
1220 /* ENDPROTOENT_R_PROTO:
1221 * This symbol encodes the prototype of endprotoent_r.
1222 * It is zero if d_endprotoent_r is undef, and one of the
1223 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
1226 /*#define HAS_ENDPROTOENT_R /**/
1227 #define ENDPROTOENT_R_PROTO 0 /**/
1230 * This symbol, if defined, indicates that the getgrent routine is
1231 * available for finalizing sequential access of the passwd database.
1233 /*#define HAS_ENDPWENT /**/
1236 * This symbol, if defined, indicates that the endpwent_r routine
1237 * is available to endpwent re-entrantly.
1239 /* ENDPWENT_R_PROTO:
1240 * This symbol encodes the prototype of endpwent_r.
1241 * It is zero if d_endpwent_r is undef, and one of the
1242 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1245 /*#define HAS_ENDPWENT_R /**/
1246 #define ENDPWENT_R_PROTO 0 /**/
1249 * This symbol, if defined, indicates that the endservent() routine is
1250 * available to close whatever was being used for service queries.
1252 /*#define HAS_ENDSERVENT /**/
1254 /* HAS_ENDSERVENT_R:
1255 * This symbol, if defined, indicates that the endservent_r routine
1256 * is available to endservent re-entrantly.
1258 /* ENDSERVENT_R_PROTO:
1259 * This symbol encodes the prototype of endservent_r.
1260 * It is zero if d_endservent_r is undef, and one of the
1261 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
1264 /*#define HAS_ENDSERVENT_R /**/
1265 #define ENDSERVENT_R_PROTO 0 /**/
1268 * This symbol, if defined, indicates that the system supports filenames
1269 * longer than 14 characters.
1271 #define FLEXFILENAMES /**/
1274 * This symbol, if defined, indicates that the getgrent routine is
1275 * available for sequential access of the group database.
1277 /*#define HAS_GETGRENT /**/
1280 * This symbol, if defined, indicates that the getgrent_r routine
1281 * is available to getgrent re-entrantly.
1283 /* GETGRENT_R_PROTO:
1284 * This symbol encodes the prototype of getgrent_r.
1285 * It is zero if d_getgrent_r is undef, and one of the
1286 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1289 /*#define HAS_GETGRENT_R /**/
1290 #define GETGRENT_R_PROTO 0 /**/
1293 * This symbol, if defined, indicates that the getgrgid_r routine
1294 * is available to getgrgid re-entrantly.
1296 /* GETGRGID_R_PROTO:
1297 * This symbol encodes the prototype of getgrgid_r.
1298 * It is zero if d_getgrgid_r is undef, and one of the
1299 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1302 /*#define HAS_GETGRGID_R /**/
1303 #define GETGRGID_R_PROTO 0 /**/
1306 * This symbol, if defined, indicates that the getgrnam_r routine
1307 * is available to getgrnam re-entrantly.
1309 /* GETGRNAM_R_PROTO:
1310 * This symbol encodes the prototype of getgrnam_r.
1311 * It is zero if d_getgrnam_r is undef, and one of the
1312 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1315 /*#define HAS_GETGRNAM_R /**/
1316 #define GETGRNAM_R_PROTO 0 /**/
1318 /* HAS_GETHOSTBYADDR:
1319 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1320 * available to look up hosts by their IP addresses.
1322 #define HAS_GETHOSTBYADDR /**/
1324 /* HAS_GETHOSTBYNAME:
1325 * This symbol, if defined, indicates that the gethostbyname() routine is
1326 * available to look up host names in some data base or other.
1328 #define HAS_GETHOSTBYNAME /**/
1331 * This symbol, if defined, indicates that the gethostent() routine is
1332 * available to look up host names in some data base or another.
1334 /*#define HAS_GETHOSTENT /**/
1337 * This symbol, if defined, indicates that the C program may use the
1338 * gethostname() routine to derive the host name. See also HAS_UNAME
1342 * This symbol, if defined, indicates that the C program may use the
1343 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1347 * This symbol, if defined, indicates the command to feed to the
1348 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1349 * and HAS_UNAME. Note that the command uses a fully qualified path,
1350 * so that it is safe even if used by a process with super-user
1354 * This symbol, if defined, indicates that the C program may use the
1355 * contents of PHOSTNAME as a command to feed to the popen() routine
1356 * to derive the host name.
1358 #define HAS_GETHOSTNAME /**/
1359 #define HAS_UNAME /**/
1360 /*#define HAS_PHOSTNAME /**/
1361 #ifdef HAS_PHOSTNAME
1362 #define PHOSTNAME "" /* How to get the host name */
1365 /* HAS_GETHOSTBYADDR_R:
1366 * This symbol, if defined, indicates that the gethostbyaddr_r routine
1367 * is available to gethostbyaddr re-entrantly.
1369 /* GETHOSTBYADDR_R_PROTO:
1370 * This symbol encodes the prototype of gethostbyaddr_r.
1371 * It is zero if d_gethostbyaddr_r is undef, and one of the
1372 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
1375 /*#define HAS_GETHOSTBYADDR_R /**/
1376 #define GETHOSTBYADDR_R_PROTO 0 /**/
1378 /* HAS_GETHOSTBYNAME_R:
1379 * This symbol, if defined, indicates that the gethostbyname_r routine
1380 * is available to gethostbyname re-entrantly.
1382 /* GETHOSTBYNAME_R_PROTO:
1383 * This symbol encodes the prototype of gethostbyname_r.
1384 * It is zero if d_gethostbyname_r is undef, and one of the
1385 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
1388 /*#define HAS_GETHOSTBYNAME_R /**/
1389 #define GETHOSTBYNAME_R_PROTO 0 /**/
1391 /* HAS_GETHOSTENT_R:
1392 * This symbol, if defined, indicates that the gethostent_r routine
1393 * is available to gethostent re-entrantly.
1395 /* GETHOSTENT_R_PROTO:
1396 * This symbol encodes the prototype of gethostent_r.
1397 * It is zero if d_gethostent_r is undef, and one of the
1398 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
1401 /*#define HAS_GETHOSTENT_R /**/
1402 #define GETHOSTENT_R_PROTO 0 /**/
1404 /* HAS_GETHOST_PROTOS:
1405 * This symbol, if defined, indicates that <netdb.h> includes
1406 * prototypes for gethostent(), gethostbyname(), and
1407 * gethostbyaddr(). Otherwise, it is up to the program to guess
1408 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1410 #define HAS_GETHOST_PROTOS /**/
1413 * This symbol, if defined, indicates that the getlogin_r routine
1414 * is available to getlogin re-entrantly.
1416 /* GETLOGIN_R_PROTO:
1417 * This symbol encodes the prototype of getlogin_r.
1418 * It is zero if d_getlogin_r is undef, and one of the
1419 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1422 /*#define HAS_GETLOGIN_R /**/
1423 #define GETLOGIN_R_PROTO 0 /**/
1425 /* HAS_GETNETBYADDR:
1426 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1427 * available to look up networks by their IP addresses.
1429 /*#define HAS_GETNETBYADDR /**/
1431 /* HAS_GETNETBYNAME:
1432 * This symbol, if defined, indicates that the getnetbyname() routine is
1433 * available to look up networks by their names.
1435 /*#define HAS_GETNETBYNAME /**/
1438 * This symbol, if defined, indicates that the getnetent() routine is
1439 * available to look up network names in some data base or another.
1441 /*#define HAS_GETNETENT /**/
1443 /* HAS_GETNETBYADDR_R:
1444 * This symbol, if defined, indicates that the getnetbyaddr_r routine
1445 * is available to getnetbyaddr re-entrantly.
1447 /* GETNETBYADDR_R_PROTO:
1448 * This symbol encodes the prototype of getnetbyaddr_r.
1449 * It is zero if d_getnetbyaddr_r is undef, and one of the
1450 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
1453 /*#define HAS_GETNETBYADDR_R /**/
1454 #define GETNETBYADDR_R_PROTO 0 /**/
1456 /* HAS_GETNETBYNAME_R:
1457 * This symbol, if defined, indicates that the getnetbyname_r routine
1458 * is available to getnetbyname re-entrantly.
1460 /* GETNETBYNAME_R_PROTO:
1461 * This symbol encodes the prototype of getnetbyname_r.
1462 * It is zero if d_getnetbyname_r is undef, and one of the
1463 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
1466 /*#define HAS_GETNETBYNAME_R /**/
1467 #define GETNETBYNAME_R_PROTO 0 /**/
1470 * This symbol, if defined, indicates that the getnetent_r routine
1471 * is available to getnetent re-entrantly.
1473 /* GETNETENT_R_PROTO:
1474 * This symbol encodes the prototype of getnetent_r.
1475 * It is zero if d_getnetent_r is undef, and one of the
1476 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
1479 /*#define HAS_GETNETENT_R /**/
1480 #define GETNETENT_R_PROTO 0 /**/
1482 /* HAS_GETNET_PROTOS:
1483 * This symbol, if defined, indicates that <netdb.h> includes
1484 * prototypes for getnetent(), getnetbyname(), and
1485 * getnetbyaddr(). Otherwise, it is up to the program to guess
1486 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1488 /*#define HAS_GETNET_PROTOS /**/
1491 * This symbol, if defined, indicates that the getprotoent() routine is
1492 * available to look up protocols in some data base or another.
1494 /*#define HAS_GETPROTOENT /**/
1497 * This symbol, if defined, indicates that the getpgrp routine is
1498 * available to get the current process group.
1501 * This symbol, if defined, indicates that getpgrp needs one
1502 * arguments whereas USG one needs none.
1504 /*#define HAS_GETPGRP /**/
1505 /*#define USE_BSD_GETPGRP /**/
1507 /* HAS_GETPROTOBYNAME:
1508 * This symbol, if defined, indicates that the getprotobyname()
1509 * routine is available to look up protocols by their name.
1511 /* HAS_GETPROTOBYNUMBER:
1512 * This symbol, if defined, indicates that the getprotobynumber()
1513 * routine is available to look up protocols by their number.
1515 #define HAS_GETPROTOBYNAME /**/
1516 #define HAS_GETPROTOBYNUMBER /**/
1518 /* HAS_GETPROTOBYNAME_R:
1519 * This symbol, if defined, indicates that the getprotobyname_r routine
1520 * is available to getprotobyname re-entrantly.
1522 /* GETPROTOBYNAME_R_PROTO:
1523 * This symbol encodes the prototype of getprotobyname_r.
1524 * It is zero if d_getprotobyname_r is undef, and one of the
1525 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
1528 /*#define HAS_GETPROTOBYNAME_R /**/
1529 #define GETPROTOBYNAME_R_PROTO 0 /**/
1531 /* HAS_GETPROTOBYNUMBER_R:
1532 * This symbol, if defined, indicates that the getprotobynumber_r routine
1533 * is available to getprotobynumber re-entrantly.
1535 /* GETPROTOBYNUMBER_R_PROTO:
1536 * This symbol encodes the prototype of getprotobynumber_r.
1537 * It is zero if d_getprotobynumber_r is undef, and one of the
1538 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
1541 /*#define HAS_GETPROTOBYNUMBER_R /**/
1542 #define GETPROTOBYNUMBER_R_PROTO 0 /**/
1544 /* HAS_GETPROTOENT_R:
1545 * This symbol, if defined, indicates that the getprotoent_r routine
1546 * is available to getprotoent re-entrantly.
1548 /* GETPROTOENT_R_PROTO:
1549 * This symbol encodes the prototype of getprotoent_r.
1550 * It is zero if d_getprotoent_r is undef, and one of the
1551 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
1554 /*#define HAS_GETPROTOENT_R /**/
1555 #define GETPROTOENT_R_PROTO 0 /**/
1557 /* HAS_GETPROTO_PROTOS:
1558 * This symbol, if defined, indicates that <netdb.h> includes
1559 * prototypes for getprotoent(), getprotobyname(), and
1560 * getprotobyaddr(). Otherwise, it is up to the program to guess
1561 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1563 #define HAS_GETPROTO_PROTOS /**/
1566 * This symbol, if defined, indicates that the getpwent routine is
1567 * available for sequential access of the passwd database.
1568 * If this is not available, the older getpw() function may be available.
1570 /*#define HAS_GETPWENT /**/
1573 * This symbol, if defined, indicates that the getpwent_r routine
1574 * is available to getpwent re-entrantly.
1576 /* GETPWENT_R_PROTO:
1577 * This symbol encodes the prototype of getpwent_r.
1578 * It is zero if d_getpwent_r is undef, and one of the
1579 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1582 /*#define HAS_GETPWENT_R /**/
1583 #define GETPWENT_R_PROTO 0 /**/
1586 * This symbol, if defined, indicates that the getpwnam_r routine
1587 * is available to getpwnam re-entrantly.
1589 /* GETPWNAM_R_PROTO:
1590 * This symbol encodes the prototype of getpwnam_r.
1591 * It is zero if d_getpwnam_r is undef, and one of the
1592 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1595 /*#define HAS_GETPWNAM_R /**/
1596 #define GETPWNAM_R_PROTO 0 /**/
1599 * This symbol, if defined, indicates that the getpwuid_r routine
1600 * is available to getpwuid re-entrantly.
1602 /* GETPWUID_R_PROTO:
1603 * This symbol encodes the prototype of getpwuid_r.
1604 * It is zero if d_getpwuid_r is undef, and one of the
1605 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1608 /*#define HAS_GETPWUID_R /**/
1609 #define GETPWUID_R_PROTO 0 /**/
1612 * This symbol, if defined, indicates that the getservent() routine is
1613 * available to look up network services in some data base or another.
1615 /*#define HAS_GETSERVENT /**/
1617 /* HAS_GETSERVBYNAME_R:
1618 * This symbol, if defined, indicates that the getservbyname_r routine
1619 * is available to getservbyname re-entrantly.
1621 /* GETSERVBYNAME_R_PROTO:
1622 * This symbol encodes the prototype of getservbyname_r.
1623 * It is zero if d_getservbyname_r is undef, and one of the
1624 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
1627 /*#define HAS_GETSERVBYNAME_R /**/
1628 #define GETSERVBYNAME_R_PROTO 0 /**/
1630 /* HAS_GETSERVBYPORT_R:
1631 * This symbol, if defined, indicates that the getservbyport_r routine
1632 * is available to getservbyport re-entrantly.
1634 /* GETSERVBYPORT_R_PROTO:
1635 * This symbol encodes the prototype of getservbyport_r.
1636 * It is zero if d_getservbyport_r is undef, and one of the
1637 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
1640 /*#define HAS_GETSERVBYPORT_R /**/
1641 #define GETSERVBYPORT_R_PROTO 0 /**/
1643 /* HAS_GETSERVENT_R:
1644 * This symbol, if defined, indicates that the getservent_r routine
1645 * is available to getservent re-entrantly.
1647 /* GETSERVENT_R_PROTO:
1648 * This symbol encodes the prototype of getservent_r.
1649 * It is zero if d_getservent_r is undef, and one of the
1650 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
1653 /*#define HAS_GETSERVENT_R /**/
1654 #define GETSERVENT_R_PROTO 0 /**/
1656 /* HAS_GETSERV_PROTOS:
1657 * This symbol, if defined, indicates that <netdb.h> includes
1658 * prototypes for getservent(), getservbyname(), and
1659 * getservbyaddr(). Otherwise, it is up to the program to guess
1660 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1662 #define HAS_GETSERV_PROTOS /**/
1665 * This symbol, if defined, indicates that the getspnam_r routine
1666 * is available to getspnam re-entrantly.
1668 /* GETSPNAM_R_PROTO:
1669 * This symbol encodes the prototype of getspnam_r.
1670 * It is zero if d_getspnam_r is undef, and one of the
1671 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1674 /*#define HAS_GETSPNAM_R /**/
1675 #define GETSPNAM_R_PROTO 0 /**/
1677 /* HAS_GETSERVBYNAME:
1678 * This symbol, if defined, indicates that the getservbyname()
1679 * routine is available to look up services by their name.
1681 /* HAS_GETSERVBYPORT:
1682 * This symbol, if defined, indicates that the getservbyport()
1683 * routine is available to look up services by their port.
1685 #define HAS_GETSERVBYNAME /**/
1686 #define HAS_GETSERVBYPORT /**/
1689 * This symbol, if defined, indicates that the gmtime_r routine
1690 * is available to gmtime re-entrantly.
1693 * This symbol encodes the prototype of gmtime_r.
1694 * It is zero if d_gmtime_r is undef, and one of the
1695 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1698 /*#define HAS_GMTIME_R /**/
1699 #define GMTIME_R_PROTO 0 /**/
1702 * This symbol, if defined, indicates that the htonl() routine (and
1703 * friends htons() ntohl() ntohs()) are available to do network
1704 * order byte swapping.
1707 * This symbol, if defined, indicates that the htons() routine (and
1708 * friends htonl() ntohl() ntohs()) are available to do network
1709 * order byte swapping.
1712 * This symbol, if defined, indicates that the ntohl() routine (and
1713 * friends htonl() htons() ntohs()) are available to do network
1714 * order byte swapping.
1717 * This symbol, if defined, indicates that the ntohs() routine (and
1718 * friends htonl() htons() ntohl()) are available to do network
1719 * order byte swapping.
1721 #define HAS_HTONL /**/
1722 #define HAS_HTONS /**/
1723 #define HAS_NTOHL /**/
1724 #define HAS_NTOHS /**/
1727 * This symbol, if defined, indicates that the localtime_r routine
1728 * is available to localtime re-entrantly.
1730 /* LOCALTIME_R_NEEDS_TZSET:
1731 * Many libc's localtime_r implementations do not call tzset,
1732 * making them differ from localtime(), and making timezone
1733 * changes using \undef{TZ} without explicitly calling tzset
1734 * impossible. This symbol makes us call tzset before localtime_r
1736 /*#define LOCALTIME_R_NEEDS_TZSET /**/
1737 #ifdef LOCALTIME_R_NEEDS_TZSET
1738 #define L_R_TZSET tzset(),
1743 /* LOCALTIME_R_PROTO:
1744 * This symbol encodes the prototype of localtime_r.
1745 * It is zero if d_localtime_r is undef, and one of the
1746 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1749 /*#define HAS_LOCALTIME_R /**/
1750 #define LOCALTIME_R_PROTO 0 /**/
1753 * This symbol will be defined if the C compiler supports long
1757 * This symbol contains the size of a long double, so that the
1758 * C preprocessor can make decisions based on it. It is only
1759 * defined if the system supports long doubles.
1761 #define HAS_LONG_DOUBLE /**/
1762 #ifdef HAS_LONG_DOUBLE
1764 # define LONG_DOUBLESIZE 10 /**/
1766 # define LONG_DOUBLESIZE 12 /**/
1771 * This symbol will be defined if the C compiler supports long long.
1774 * This symbol contains the size of a long long, so that the
1775 * C preprocessor can make decisions based on it. It is only
1776 * defined if the system supports long long.
1778 /*#define HAS_LONG_LONG /**/
1779 #ifdef HAS_LONG_LONG
1780 #define LONGLONGSIZE 8 /**/
1784 * This symbol, if defined, indicates that the system provides
1785 * a prototype for the lseek() function. Otherwise, it is up
1786 * to the program to supply one. A good guess is
1787 * extern off_t lseek(int, off_t, int);
1789 #define HAS_LSEEK_PROTO /**/
1792 * This symbol, if defined, indicates that the memchr routine is available
1793 * to locate characters within a C string.
1795 #define HAS_MEMCHR /**/
1798 * This symbol, if defined, indicates that the mkstemp routine is
1799 * available to exclusively create and open a uniquely named
1802 /*#define HAS_MKSTEMP /**/
1805 * This symbol, if defined, indicates that the mmap system call is
1806 * available to map a file into memory.
1809 * This symbol holds the return type of the mmap() system call
1810 * (and simultaneously the type of the first argument).
1811 * Usually set to 'void *' or 'caddr_t'.
1813 /*#define HAS_MMAP /**/
1814 #define Mmap_t void * /**/
1817 * This symbol, if defined, indicates that the entire msg*(2) library is
1818 * supported (IPC mechanism based on message queues).
1820 /*#define HAS_MSG /**/
1823 * This symbol, if defined, indicates that the poll routine is
1824 * available to poll active file descriptors. Please check I_POLL and
1825 * I_SYS_POLL to know which header should be included as well.
1827 /*#define HAS_POLL /**/
1829 /* OLD_PTHREAD_CREATE_JOINABLE:
1830 * This symbol, if defined, indicates how to create pthread
1831 * in joinable (aka undetached) state. NOTE: not defined
1832 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1833 * (the new version of the constant).
1834 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1837 /*#define OLD_PTHREAD_CREATE_JOINABLE /**/
1839 /* HAS_PTHREAD_ATFORK:
1840 * This symbol, if defined, indicates that the pthread_atfork routine
1841 * is available to setup fork handlers.
1843 /*#define HAS_PTHREAD_ATFORK /**/
1845 /* HAS_PTHREAD_YIELD:
1846 * This symbol, if defined, indicates that the pthread_yield
1847 * routine is available to yield the execution of the current
1848 * thread. sched_yield is preferable to pthread_yield.
1851 * This symbol defines the way to yield the execution of
1852 * the current thread. Known ways are sched_yield,
1853 * pthread_yield, and pthread_yield with NULL.
1856 * This symbol, if defined, indicates that the sched_yield
1857 * routine is available to yield the execution of the current
1858 * thread. sched_yield is preferable to pthread_yield.
1860 /*#define HAS_PTHREAD_YIELD /**/
1861 #define SCHED_YIELD /**/
1862 /*#define HAS_SCHED_YIELD /**/
1865 * This symbol, if defined, indicates that the random_r routine
1866 * is available to random re-entrantly.
1869 * This symbol encodes the prototype of random_r.
1870 * It is zero if d_random_r is undef, and one of the
1871 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
1874 /*#define HAS_RANDOM_R /**/
1875 #define RANDOM_R_PROTO 0 /**/
1878 * This symbol, if defined, indicates that the readdir64_r routine
1879 * is available to readdir64 re-entrantly.
1881 /* READDIR64_R_PROTO:
1882 * This symbol encodes the prototype of readdir64_r.
1883 * It is zero if d_readdir64_r is undef, and one of the
1884 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
1887 /*#define HAS_READDIR64_R /**/
1888 #define READDIR64_R_PROTO 0 /**/
1891 * This symbol, if defined, indicates that the readdir_r routine
1892 * is available to readdir re-entrantly.
1895 * This symbol encodes the prototype of readdir_r.
1896 * It is zero if d_readdir_r is undef, and one of the
1897 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
1900 /*#define HAS_READDIR_R /**/
1901 #define READDIR_R_PROTO 0 /**/
1904 * This symbol, if defined, indicates that the entire sem*(2) library is
1907 /*#define HAS_SEM /**/
1910 * This symbol, if defined, indicates that the setgrent routine is
1911 * available for initializing sequential access of the group database.
1913 /*#define HAS_SETGRENT /**/
1916 * This symbol, if defined, indicates that the setgrent_r routine
1917 * is available to setgrent re-entrantly.
1919 /* SETGRENT_R_PROTO:
1920 * This symbol encodes the prototype of setgrent_r.
1921 * It is zero if d_setgrent_r is undef, and one of the
1922 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
1925 /*#define HAS_SETGRENT_R /**/
1926 #define SETGRENT_R_PROTO 0 /**/
1929 * This symbol, if defined, indicates that the setgroups() routine is
1930 * available to set the list of process groups. If unavailable, multiple
1931 * groups are probably not supported.
1933 /*#define HAS_SETGROUPS /**/
1936 * This symbol, if defined, indicates that the sethostent() routine is
1939 /*#define HAS_SETHOSTENT /**/
1941 /* HAS_SETHOSTENT_R:
1942 * This symbol, if defined, indicates that the sethostent_r routine
1943 * is available to sethostent re-entrantly.
1945 /* SETHOSTENT_R_PROTO:
1946 * This symbol encodes the prototype of sethostent_r.
1947 * It is zero if d_sethostent_r is undef, and one of the
1948 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
1951 /*#define HAS_SETHOSTENT_R /**/
1952 #define SETHOSTENT_R_PROTO 0 /**/
1955 * This symbol, if defined, indicates that the setlocale_r routine
1956 * is available to setlocale re-entrantly.
1958 /* SETLOCALE_R_PROTO:
1959 * This symbol encodes the prototype of setlocale_r.
1960 * It is zero if d_setlocale_r is undef, and one of the
1961 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
1964 /*#define HAS_SETLOCALE_R /**/
1965 #define SETLOCALE_R_PROTO 0 /**/
1968 * This symbol, if defined, indicates that the setnetent() routine is
1971 /*#define HAS_SETNETENT /**/
1974 * This symbol, if defined, indicates that the setnetent_r routine
1975 * is available to setnetent re-entrantly.
1977 /* SETNETENT_R_PROTO:
1978 * This symbol encodes the prototype of setnetent_r.
1979 * It is zero if d_setnetent_r is undef, and one of the
1980 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
1983 /*#define HAS_SETNETENT_R /**/
1984 #define SETNETENT_R_PROTO 0 /**/
1987 * This symbol, if defined, indicates that the setprotoent() routine is
1990 /*#define HAS_SETPROTOENT /**/
1993 * This symbol, if defined, indicates that the setpgrp routine is
1994 * available to set the current process group.
1997 * This symbol, if defined, indicates that setpgrp needs two
1998 * arguments whereas USG one needs none. See also HAS_SETPGID
1999 * for a POSIX interface.
2001 /*#define HAS_SETPGRP /**/
2002 /*#define USE_BSD_SETPGRP /**/
2004 /* HAS_SETPROTOENT_R:
2005 * This symbol, if defined, indicates that the setprotoent_r routine
2006 * is available to setprotoent re-entrantly.
2008 /* SETPROTOENT_R_PROTO:
2009 * This symbol encodes the prototype of setprotoent_r.
2010 * It is zero if d_setprotoent_r is undef, and one of the
2011 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
2014 /*#define HAS_SETPROTOENT_R /**/
2015 #define SETPROTOENT_R_PROTO 0 /**/
2018 * This symbol, if defined, indicates that the setpwent routine is
2019 * available for initializing sequential access of the passwd database.
2021 /*#define HAS_SETPWENT /**/
2024 * This symbol, if defined, indicates that the setpwent_r routine
2025 * is available to setpwent re-entrantly.
2027 /* SETPWENT_R_PROTO:
2028 * This symbol encodes the prototype of setpwent_r.
2029 * It is zero if d_setpwent_r is undef, and one of the
2030 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2033 /*#define HAS_SETPWENT_R /**/
2034 #define SETPWENT_R_PROTO 0 /**/
2037 * This symbol, if defined, indicates that the setservent() routine is
2040 /*#define HAS_SETSERVENT /**/
2042 /* HAS_SETSERVENT_R:
2043 * This symbol, if defined, indicates that the setservent_r routine
2044 * is available to setservent re-entrantly.
2046 /* SETSERVENT_R_PROTO:
2047 * This symbol encodes the prototype of setservent_r.
2048 * It is zero if d_setservent_r is undef, and one of the
2049 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
2052 /*#define HAS_SETSERVENT_R /**/
2053 #define SETSERVENT_R_PROTO 0 /**/
2056 * This symbol, if defined, indicates that the setvbuf routine is
2057 * available to change buffering on an open stdio stream.
2058 * to a line-buffered mode.
2060 #define HAS_SETVBUF /**/
2063 * This symbol, if defined, indicates that the entire shm*(2) library is
2066 /*#define HAS_SHM /**/
2069 * This symbol holds the return type of the shmat() system call.
2070 * Usually set to 'void *' or 'char *'.
2072 /* HAS_SHMAT_PROTOTYPE:
2073 * This symbol, if defined, indicates that the sys/shm.h includes
2074 * a prototype for shmat(). Otherwise, it is up to the program to
2075 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
2076 * but not always right so it should be emitted by the program only
2077 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
2079 #define Shmat_t void * /**/
2080 /*#define HAS_SHMAT_PROTOTYPE /**/
2083 * This symbol, if defined, indicates that the BSD socket interface is
2087 * This symbol, if defined, indicates that the BSD socketpair() call is
2091 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2092 * Checking just with #ifdef might not be enough because this symbol
2093 * has been known to be an enum.
2095 /* HAS_MSG_DONTROUTE:
2096 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2097 * Checking just with #ifdef might not be enough because this symbol
2098 * has been known to be an enum.
2101 * This symbol, if defined, indicates that the MSG_OOB is supported.
2102 * Checking just with #ifdef might not be enough because this symbol
2103 * has been known to be an enum.
2106 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2107 * Checking just with #ifdef might not be enough because this symbol
2108 * has been known to be an enum.
2111 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2112 * Checking just with #ifdef might not be enough because this symbol
2113 * has been known to be an enum.
2116 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2117 * Checking just with #ifdef might not be enough because this symbol
2118 * has been known to be an enum.
2120 #define HAS_SOCKET /**/
2121 /*#define HAS_SOCKETPAIR /**/
2122 /*#define HAS_MSG_CTRUNC /**/
2123 /*#define HAS_MSG_DONTROUTE /**/
2124 /*#define HAS_MSG_OOB /**/
2125 /*#define HAS_MSG_PEEK /**/
2126 /*#define HAS_MSG_PROXY /**/
2127 /*#define HAS_SCM_RIGHTS /**/
2130 * This symbol, if defined, indicates that the srand48_r routine
2131 * is available to srand48 re-entrantly.
2134 * This symbol encodes the prototype of srand48_r.
2135 * It is zero if d_srand48_r is undef, and one of the
2136 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2139 /*#define HAS_SRAND48_R /**/
2140 #define SRAND48_R_PROTO 0 /**/
2143 * This symbol, if defined, indicates that the srandom_r routine
2144 * is available to srandom re-entrantly.
2147 * This symbol encodes the prototype of srandom_r.
2148 * It is zero if d_srandom_r is undef, and one of the
2149 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2152 /*#define HAS_SRANDOM_R /**/
2153 #define SRANDOM_R_PROTO 0 /**/
2156 * This symbol is defined if this system has a stat structure declaring
2157 * st_blksize and st_blocks.
2159 #ifndef USE_STAT_BLOCKS
2160 /*#define USE_STAT_BLOCKS /**/
2164 * This symbol, if defined, indicates that this C compiler knows how
2165 * to copy structures. If undefined, you'll need to use a block copy
2166 * routine of some sort instead.
2168 #define USE_STRUCT_COPY /**/
2171 * This symbol, if defined, indicates that the strerror routine is
2172 * available to translate error numbers to strings. See the writeup
2173 * of Strerror() in this file before you try to define your own.
2176 * This symbol, if defined, indicates that the sys_errlist array is
2177 * available to translate error numbers to strings. The extern int
2178 * sys_nerr gives the size of that table.
2181 * This preprocessor symbol is defined as a macro if strerror() is
2182 * not available to translate error numbers to strings but sys_errlist[]
2185 #define HAS_STRERROR /**/
2186 #define HAS_SYS_ERRLIST /**/
2187 #define Strerror(e) strerror(e)
2190 * This symbol, if defined, indicates that the strerror_r routine
2191 * is available to strerror re-entrantly.
2193 /* STRERROR_R_PROTO:
2194 * This symbol encodes the prototype of strerror_r.
2195 * It is zero if d_strerror_r is undef, and one of the
2196 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2199 /*#define HAS_STRERROR_R /**/
2200 #define STRERROR_R_PROTO 0 /**/
2203 * This symbol, if defined, indicates that the strtoul routine is
2204 * available to provide conversion of strings to unsigned long.
2206 #define HAS_STRTOUL /**/
2209 * This symbol, if defined, indicates that the time() routine exists.
2212 * This symbol holds the type returned by time(). It can be long,
2213 * or time_t on BSD sites (in which case <sys/types.h> should be
2216 #define HAS_TIME /**/
2217 #define Time_t time_t /* Time type */
2220 * This symbol, if defined, indicates that the times() routine exists.
2221 * Note that this became obsolete on some systems (SUNOS), which now
2222 * use getrusage(). It may be necessary to include <sys/times.h>.
2224 #define HAS_TIMES /**/
2227 * This symbol, if defined, indicates that the tmpnam_r routine
2228 * is available to tmpnam re-entrantly.
2231 * This symbol encodes the prototype of tmpnam_r.
2232 * It is zero if d_tmpnam_r is undef, and one of the
2233 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2236 /*#define HAS_TMPNAM_R /**/
2237 #define TMPNAM_R_PROTO 0 /**/
2240 * This symbol, if defined, indicates that the ttyname_r routine
2241 * is available to ttyname re-entrantly.
2244 * This symbol encodes the prototype of ttyname_r.
2245 * It is zero if d_ttyname_r is undef, and one of the
2246 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
2249 /*#define HAS_TTYNAME_R /**/
2250 #define TTYNAME_R_PROTO 0 /**/
2253 * This symbol, if defined, indicates that the union semun is
2254 * defined by including <sys/sem.h>. If not, the user code
2255 * probably needs to define it as:
2258 * struct semid_ds *buf;
2259 * unsigned short *array;
2262 /* USE_SEMCTL_SEMUN:
2263 * This symbol, if defined, indicates that union semun is
2264 * used for semctl IPC_STAT.
2266 /* USE_SEMCTL_SEMID_DS:
2267 * This symbol, if defined, indicates that struct semid_ds * is
2268 * used for semctl IPC_STAT.
2270 #define HAS_UNION_SEMUN /**/
2271 /*#define USE_SEMCTL_SEMUN /**/
2272 /*#define USE_SEMCTL_SEMID_DS /**/
2275 * This symbol, if defined, indicates that vfork() exists.
2277 /*#define HAS_VFORK /**/
2280 * This symbol, if defined, indicates that an emulation of the
2281 * fork routine is available.
2283 /*#define HAS_PSEUDOFORK /**/
2286 * This symbol's value is either "void" or "int", corresponding to the
2287 * appropriate return type of a signal handler. Thus, you can declare
2288 * a signal handler using "Signal_t (*handler)()", and define the
2289 * handler using "Signal_t handler(sig)".
2291 #define Signal_t void /* Signal handler's return type */
2294 * This symbol, if defined, indicates that this C compiler knows about
2295 * the volatile declaration.
2297 #define HASVOLATILE /**/
2303 * This symbol holds the type used to declare file positions in libc.
2304 * It can be fpos_t, long, uint, etc... It may be necessary to include
2305 * <sys/types.h> to get any typedef'ed information.
2307 #define Fpos_t fpos_t /* File position type */
2310 * This symbol defines the format string used for printing a Gid_t.
2312 #define Gid_t_f "ld" /**/
2315 * This symbol holds the signedess of a Gid_t.
2316 * 1 for unsigned, -1 for signed.
2318 #define Gid_t_sign -1 /* GID sign */
2321 * This symbol holds the size of a Gid_t in bytes.
2323 #define Gid_t_size 4 /* GID size */
2326 * This symbol holds the return type of getgid() and the type of
2327 * argument to setrgid() and related functions. Typically,
2328 * it is the type of group ids in the kernel. It can be int, ushort,
2329 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2330 * any typedef'ed information.
2332 #define Gid_t gid_t /* Type for getgid(), etc... */
2335 * This symbol holds the type used for the second argument to
2336 * getgroups() and setgroups(). Usually, this is the same as
2337 * gidtype (gid_t) , but sometimes it isn't.
2338 * It can be int, ushort, gid_t, etc...
2339 * It may be necessary to include <sys/types.h> to get any
2340 * typedef'ed information. This is only required if you have
2341 * getgroups() or setgroups()..
2343 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2344 #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
2348 * This symbol, if defined, indicates to the C program that it should
2349 * include <dirent.h>. Using this symbol also triggers the definition
2350 * of the Direntry_t define which ends up being 'struct dirent' or
2351 * 'struct direct' depending on the availability of <dirent.h>.
2354 * This symbol, if defined, indicates to the C program that the length
2355 * of directory entry names is provided by a d_namlen field. Otherwise
2356 * you need to do strlen() on the d_name field.
2359 * This symbol is set to 'struct direct' or 'struct dirent' depending on
2360 * whether dirent is available or not. You should use this pseudo type to
2361 * portably declare your directory entries.
2363 #define I_DIRENT /**/
2364 #define DIRNAMLEN /**/
2365 #define Direntry_t struct direct
2368 * This symbol, if defined, indicates to the C program that it should
2372 * This symbol, if defined, indicates to the C program that struct group
2373 * in <grp.h> contains gr_passwd.
2375 /*#define I_GRP /**/
2376 /*#define GRPASSWD /**/
2379 * This symbol, if defined, indicates to the C program that it should
2380 * include <mach/cthreads.h>.
2382 /*#define I_MACH_CTHREADS /**/
2385 * This symbol, if defined, indicates that <ndbm.h> exists and should
2388 /*#define I_NDBM /**/
2391 * This symbol, if defined, indicates that <netdb.h> exists and
2392 * should be included.
2394 /*#define I_NETDB /**/
2397 * This symbol, if defined, indicates that <net/errno.h> exists and
2398 * should be included.
2400 /*#define I_NET_ERRNO /**/
2403 * This symbol, if defined, indicates to the C program that it should
2404 * include <pthread.h>.
2406 /*#define I_PTHREAD /**/
2409 * This symbol, if defined, indicates to the C program that it should
2413 * This symbol, if defined, indicates to the C program that struct passwd
2414 * contains pw_quota.
2417 * This symbol, if defined, indicates to the C program that struct passwd
2421 * This symbol, if defined, indicates to the C program that struct passwd
2422 * contains pw_change.
2425 * This symbol, if defined, indicates to the C program that struct passwd
2426 * contains pw_class.
2429 * This symbol, if defined, indicates to the C program that struct passwd
2430 * contains pw_expire.
2433 * This symbol, if defined, indicates to the C program that struct passwd
2434 * contains pw_comment.
2437 * This symbol, if defined, indicates to the C program that struct passwd
2438 * contains pw_gecos.
2441 * This symbol, if defined, indicates to the C program that struct passwd
2442 * contains pw_passwd.
2444 /*#define I_PWD /**/
2445 /*#define PWQUOTA /**/
2446 /*#define PWAGE /**/
2447 /*#define PWCHANGE /**/
2448 /*#define PWCLASS /**/
2449 /*#define PWEXPIRE /**/
2450 /*#define PWCOMMENT /**/
2451 /*#define PWGECOS /**/
2452 /*#define PWPASSWD /**/
2455 * This symbol, if defined, indicates to the C program that it should
2456 * include <sys/access.h>.
2458 /*#define I_SYS_ACCESS /**/
2461 * This symbol, if defined, indicates to the C program that it should
2462 * include <sys/security.h>.
2464 /*#define I_SYS_SECURITY /**/
2467 * This symbol, if defined, indicates that <sys/uio.h> exists and
2468 * should be included.
2470 /*#define I_SYSUIO /**/
2473 * This symbol, if defined, indicates that <stdarg.h> exists and should
2477 * This symbol, if defined, indicates to the C program that it should
2478 * include <varargs.h>.
2480 #define I_STDARG /**/
2481 /*#define I_VARARGS /**/
2483 /* PERL_INC_VERSION_LIST:
2484 * This variable specifies the list of subdirectories in over
2485 * which perl.c:incpush() and lib/lib.pm will automatically
2486 * search when adding directories to @INC, in a format suitable
2487 * for a C initialization string. See the inc_version_list entry
2488 * in Porting/Glossary for more details.
2490 /*#define PERL_INC_VERSION_LIST 0 /**/
2492 /* INSTALL_USR_BIN_PERL:
2493 * This symbol, if defined, indicates that Perl is to be installed
2494 * also as /usr/bin/perl.
2496 /*#define INSTALL_USR_BIN_PERL /**/
2499 * This symbol holds the type used to declare offsets in the kernel.
2500 * It can be int, long, off_t, etc... It may be necessary to include
2501 * <sys/types.h> to get any typedef'ed information.
2504 * This symbol holds the number of bytes used by the Off_t.
2507 * This symbol holds the number of bytes used by the Off_t.
2509 #define Off_t long /* <offset> type */
2510 #define LSEEKSIZE 4 /* <offset> size */
2511 #define Off_t_size 4 /* <offset> size */
2514 * This variable contains the return type of free(). It is usually
2515 * void, but occasionally int.
2518 * This symbol is the type of pointer returned by malloc and realloc.
2520 #define Malloc_t void * /**/
2521 #define Free_t void /**/
2523 /* PERL_MALLOC_WRAP:
2524 * This symbol, if defined, indicates that we'd like malloc wrap checks.
2526 #define PERL_MALLOC_WRAP /**/
2529 * This symbol, if defined, indicates that we're using our own malloc.
2531 /*#define MYMALLOC /**/
2534 * This symbol holds the type used to declare file modes
2535 * for systems calls. It is usually mode_t, but may be
2536 * int or unsigned short. It may be necessary to include <sys/types.h>
2537 * to get any typedef'ed information.
2539 #define Mode_t mode_t /* file mode parameter for system calls */
2542 * This symbol holds the type used for the 1st argument
2543 * to gethostbyaddr().
2546 * This symbol holds the type used for the 2nd argument
2547 * to gethostbyaddr().
2550 * This symbol holds the type used for the argument to
2554 * This symbol holds the type used for the 1st argument to
2557 #define Netdb_host_t char * /**/
2558 #define Netdb_hlen_t int /**/
2559 #define Netdb_name_t char * /**/
2560 #define Netdb_net_t long /**/
2562 /* PERL_OTHERLIBDIRS:
2563 * This variable contains a colon-separated set of paths for the perl
2564 * binary to search for additional library files or modules.
2565 * These directories will be tacked to the end of @INC.
2566 * Perl will automatically search below each path for version-
2567 * and architecture-specific directories. See PERL_INC_VERSION_LIST
2570 /*#define PERL_OTHERLIBDIRS "" /**/
2573 * This symbol holds the type used to declare process ids in the kernel.
2574 * It can be int, uint, pid_t, etc... It may be necessary to include
2575 * <sys/types.h> to get any typedef'ed information.
2577 #define Pid_t int /* PID type */
2580 * This symbol contains the name of the private library for this package.
2581 * The library is private in the sense that it needn't be in anyone's
2582 * execution path, but it should be accessible by the world. The program
2583 * should be prepared to do ~ expansion.
2586 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2587 * in programs that are not prepared to deal with ~ expansion at run-time.
2589 #define PRIVLIB "c:\\perl\\lib" /**/
2590 #define PRIVLIB_EXP (win32_get_privlib("5.11.0")) /**/
2593 * If defined, this macro indicates that the C compiler can handle
2594 * function prototypes.
2597 * This macro is used to declare function parameters for folks who want
2598 * to make declarations with prototypes using a different style than
2599 * the above macros. Use double parentheses. For example:
2601 * int main _((int argc, char *argv[]));
2603 #define CAN_PROTOTYPE /**/
2604 #ifdef CAN_PROTOTYPE
2605 #define _(args) args
2611 * This symbol holds the type used for the 2nd, 3rd, and 4th
2612 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2613 * is defined, and 'int *' otherwise. This is only useful if you
2614 * have select(), of course.
2616 #define Select_fd_set_t Perl_fd_set * /**/
2619 * This symbol contains the full pathname to the shell used on this
2620 * on this system to execute Bourne shell scripts. Usually, this will be
2621 * /bin/sh, though it's possible that some systems will have /bin/ksh,
2622 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
2625 #define SH_PATH "cmd /x /c" /**/
2628 * This symbol contains a list of signal names in order of
2629 * signal number. This is intended
2630 * to be used as a static array initialization, like this:
2631 * char *sig_name[] = { SIG_NAME };
2632 * The signals in the list are separated with commas, and each signal
2633 * is surrounded by double quotes. There is no leading SIG in the signal
2634 * name, i.e. SIGQUIT is known as "QUIT".
2635 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2636 * etc., where nn is the actual signal number (e.g. NUM37).
2637 * The signal number for sig_name[i] is stored in sig_num[i].
2638 * The last element is 0 to terminate the list with a NULL. This
2639 * corresponds to the 0 at the end of the sig_name_init list.
2640 * Note that this variable is initialized from the sig_name_init,
2641 * not from sig_name (which is unused).
2644 * This symbol contains a list of signal numbers, in the same order as the
2645 * SIG_NAME list. It is suitable for static array initialization, as in:
2646 * int sig_num[] = { SIG_NUM };
2647 * The signals in the list are separated with commas, and the indices
2648 * within that list and the SIG_NAME list match, so it's easy to compute
2649 * the signal name from a number or vice versa at the price of a small
2650 * dynamic linear lookup.
2651 * Duplicates are allowed, but are moved to the end of the list.
2652 * The signal number corresponding to sig_name[i] is sig_number[i].
2653 * if (i < NSIG) then sig_number[i] == i.
2654 * The last element is 0, corresponding to the 0 at the end of
2655 * the sig_name_init list.
2656 * Note that this variable is initialized from the sig_num_init,
2657 * not from sig_num (which is unused).
2660 * This variable contains the number of elements of the SIG_NAME
2661 * and SIG_NUM arrays, excluding the final NULL entry.
2663 #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 /**/
2664 #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 /**/
2665 #define SIG_SIZE 27 /**/
2668 * This symbol contains the name of the private library for this package.
2669 * The library is private in the sense that it needn't be in anyone's
2670 * execution path, but it should be accessible by the world. The program
2671 * should be prepared to do ~ expansion.
2672 * The standard distribution will put nothing in this directory.
2673 * After perl has been installed, users may install their own local
2674 * architecture-dependent modules in this directory with
2675 * MakeMaker Makefile.PL
2676 * or equivalent. See INSTALL for details.
2679 * This symbol contains the ~name expanded version of SITEARCH, to be used
2680 * in programs that are not prepared to deal with ~ expansion at run-time.
2682 #define SITEARCH "c:\\perl\\site\\lib" /**/
2683 /*#define SITEARCH_EXP "" /**/
2686 * This symbol contains the name of the private library for this package.
2687 * The library is private in the sense that it needn't be in anyone's
2688 * execution path, but it should be accessible by the world. The program
2689 * should be prepared to do ~ expansion.
2690 * The standard distribution will put nothing in this directory.
2691 * After perl has been installed, users may install their own local
2692 * architecture-independent modules in this directory with
2693 * MakeMaker Makefile.PL
2694 * or equivalent. See INSTALL for details.
2697 * This symbol contains the ~name expanded version of SITELIB, to be used
2698 * in programs that are not prepared to deal with ~ expansion at run-time.
2701 * This define is SITELIB_EXP with any trailing version-specific component
2702 * removed. The elements in inc_version_list (inc_version_list.U) can
2703 * be tacked onto this variable to generate a list of directories to search.
2705 #define SITELIB "c:\\perl\\site\\lib" /**/
2706 #define SITELIB_EXP (win32_get_sitelib("5.11.0")) /**/
2707 #define SITELIB_STEM "" /**/
2710 * This symbol holds the size of a Size_t in bytes.
2712 #define Size_t_size 4 /**/
2715 * This symbol holds the type used to declare length parameters
2716 * for string functions. It is usually size_t, but may be
2717 * unsigned long, int, etc. It may be necessary to include
2718 * <sys/types.h> to get any typedef'ed information.
2720 #define Size_t size_t /* length paramater for string functions */
2723 * This symbol holds the type used for the size argument of
2724 * various socket calls (just the base type, not the pointer-to).
2726 #define Sock_size_t int /**/
2729 * This symbol is defined to be the type of char used in stdio.h.
2730 * It has the values "unsigned char" or "char".
2732 #define STDCHAR char /**/
2735 * This symbol defines the format string used for printing a Uid_t.
2737 #define Uid_t_f "ld" /**/
2740 * This symbol holds the signedess of a Uid_t.
2741 * 1 for unsigned, -1 for signed.
2743 #define Uid_t_sign -1 /* UID sign */
2746 * This symbol holds the size of a Uid_t in bytes.
2748 #define Uid_t_size 4 /* UID size */
2751 * This symbol holds the type used to declare user ids in the kernel.
2752 * It can be int, ushort, uid_t, etc... It may be necessary to include
2753 * <sys/types.h> to get any typedef'ed information.
2755 #define Uid_t uid_t /* UID type */
2758 * This symbol, if defined, indicates that Perl should be built to
2759 * use the interpreter-based threading implementation.
2762 * This symbol, if defined, indicates that Perl should be built to
2763 * use the 5.005-based threading implementation.
2764 * Only valid up to 5.8.x.
2766 /* OLD_PTHREADS_API:
2767 * This symbol, if defined, indicates that Perl should
2768 * be built to use the old draft POSIX threads API.
2770 /* USE_REENTRANT_API:
2771 * This symbol, if defined, indicates that Perl should
2772 * try to use the various _r versions of library functions.
2773 * This is extremely experimental.
2775 /*#define USE_5005THREADS /**/
2776 /*#define USE_ITHREADS /**/
2777 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
2778 #define USE_THREADS /* until src is revised*/
2780 /*#define OLD_PTHREADS_API /**/
2781 /*#define USE_REENTRANT_API /**/
2784 * If defined, this symbol contains the name of a private library.
2785 * The library is private in the sense that it needn't be in anyone's
2786 * execution path, but it should be accessible by the world.
2787 * It may have a ~ on the front.
2788 * The standard distribution will put nothing in this directory.
2789 * Vendors who distribute perl may wish to place their own
2790 * architecture-dependent modules and extensions in this directory with
2791 * MakeMaker Makefile.PL INSTALLDIRS=vendor
2792 * or equivalent. See INSTALL for details.
2794 /* PERL_VENDORARCH_EXP:
2795 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
2796 * in programs that are not prepared to deal with ~ expansion at run-time.
2798 /*#define PERL_VENDORARCH "" /**/
2799 /*#define PERL_VENDORARCH_EXP "" /**/
2801 /* PERL_VENDORLIB_EXP:
2802 * This symbol contains the ~name expanded version of VENDORLIB, to be used
2803 * in programs that are not prepared to deal with ~ expansion at run-time.
2805 /* PERL_VENDORLIB_STEM:
2806 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
2807 * removed. The elements in inc_version_list (inc_version_list.U) can
2808 * be tacked onto this variable to generate a list of directories to search.
2810 /*#define PERL_VENDORLIB_EXP "" /**/
2811 /*#define PERL_VENDORLIB_STEM "" /**/
2814 * This symbol indicates how much support of the void type is given by this
2815 * compiler. What various bits mean:
2817 * 1 = supports declaration of void
2818 * 2 = supports arrays of pointers to functions returning void
2819 * 4 = supports comparisons between pointers to void functions and
2820 * addresses of void functions
2821 * 8 = suports declaration of generic void pointers
2823 * The package designer should define VOIDUSED to indicate the requirements
2824 * of the package. This can be done either by #defining VOIDUSED before
2825 * including config.h, or by defining defvoidused in Myinit.U. If the
2826 * latter approach is taken, only those flags will be tested. If the
2827 * level of void support necessary is not present, defines void to int.
2832 #define VOIDFLAGS 15
2833 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
2834 #define void int /* is void to be avoided? */
2835 #define M_VOID /* Xenix strikes again */
2838 /* USE_CROSS_COMPILE:
2839 * This symbol, if defined, indicates that Perl is being cross-compiled.
2842 * This symbol, if defined, indicates the target architecture
2843 * Perl has been cross-compiled to. Undefined if not a cross-compile.
2845 #ifndef USE_CROSS_COMPILE
2846 /*#define USE_CROSS_COMPILE /**/
2847 #define PERL_TARGETARCH "" /**/
2851 * This symbol contains the number of bytes required to align a
2852 * double, or a long double when applicable. Usual values are 2,
2853 * 4 and 8. The default is eight, for safety.
2855 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
2856 # define MEM_ALIGNBYTES 8
2858 #define MEM_ALIGNBYTES 8
2862 * This symbol holds the hexadecimal constant defined in byteorder,
2863 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
2864 * If the compiler supports cross-compiling or multiple-architecture
2865 * binaries (eg. on NeXT systems), use compiler-defined macros to
2866 * determine the byte order.
2867 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
2868 * Binaries (MAB) on either big endian or little endian machines.
2869 * The endian-ness is available at compile-time. This only matters
2870 * for perl, where the config.h can be generated and installed on
2871 * one system, and used by a different architecture to build an
2872 * extension. Older versions of NeXT that might not have
2873 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
2874 * so the default case (for NeXT) is big endian to catch them.
2875 * This might matter for NeXT 3.0.
2877 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
2878 # ifdef __LITTLE_ENDIAN__
2880 # define BYTEORDER 0x1234
2883 # define BYTEORDER 0x12345678
2887 # ifdef __BIG_ENDIAN__
2889 # define BYTEORDER 0x4321
2892 # define BYTEORDER 0x87654321
2897 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
2898 # define BYTEORDER 0x4321
2901 #define BYTEORDER 0x1234 /* large digits for MSB */
2905 * This symbol is defined if the C compiler can cast negative
2906 * or large floating point numbers to 32-bit ints.
2909 # define CASTI32 /**/
2913 * This symbol is defined if the C compiler can cast negative
2914 * numbers to unsigned longs, ints and shorts.
2917 * This symbol contains flags that say what difficulties the compiler
2918 * has casting odd floating values to unsigned long:
2920 * 1 = couldn't cast < 0
2921 * 2 = couldn't cast >= 0x80000000
2922 * 4 = couldn't cast in argument expression list
2924 #define CASTNEGFLOAT /**/
2925 #define CASTFLAGS 0 /**/
2928 * This symbol, if defined, indicates that the closedir() routine
2929 * does not return a value.
2931 /*#define VOID_CLOSEDIR /**/
2934 * This symbol, when defined, indicates presence of the fd_set typedef
2937 #define HAS_FD_SET /**/
2940 * This preprocessor macro is defined to convert a floating point
2941 * number to a string without a trailing decimal point. This
2942 * emulates the behavior of sprintf("%g"), but is sometimes much more
2943 * efficient. If gconvert() is not available, but gcvt() drops the
2944 * trailing decimal point, then gcvt() is used. If all else fails,
2945 * a macro using sprintf("%g") is used. Arguments for the Gconvert
2946 * macro are: value, number of digits, whether trailing zeros should
2947 * be retained, and the output buffer.
2948 * The usual values are:
2949 * d_Gconvert='gconvert((x),(n),(t),(b))'
2950 * d_Gconvert='gcvt((x),(n),(b))'
2951 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
2952 * The last two assume trailing zeros should not be kept.
2954 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
2957 * This symbol, if defined, indicates that the getpagesize system call
2958 * is available to get system page size, which is the granularity of
2959 * many memory management calls.
2961 /*#define HAS_GETPAGESIZE /**/
2964 * This symbol, if defined, indicates to the C program that
2965 * the GNU C library is being used. A better check is to use
2966 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
2968 /*#define HAS_GNULIBC /**/
2969 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
2970 # define _GNU_SOURCE
2974 * This manifest constant lets the C program know that isascii
2977 #define HAS_ISASCII /**/
2980 * This symbol, if defined, indicates that the lchown routine is
2981 * available to operate on a symbolic link (instead of following the
2984 /*#define HAS_LCHOWN /**/
2987 * This manifest constant lets the C program know that the three
2988 * argument form of open(2) is available.
2990 /*#define HAS_OPEN3 /**/
2993 * This symbol, if defined, indicates that the bcopy routine is available
2994 * to copy potentially overlapping memory blocks. Normally, you should
2995 * probably use memmove() or memcpy(). If neither is defined, roll your
2998 /*#define HAS_SAFE_BCOPY /**/
3001 * This symbol, if defined, indicates that the memcpy routine is available
3002 * to copy potentially overlapping memory blocks. If you need to
3003 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
3004 * use memmove() instead, if available.
3006 /*#define HAS_SAFE_MEMCPY /**/
3009 * This symbol, if defined, indicates that the memcmp routine is available
3010 * and can be used to compare relative magnitudes of chars with their high
3011 * bits set. If it is not defined, roll your own version.
3013 #define HAS_SANE_MEMCMP /**/
3016 * This symbol, if defined, indicates that Vr4's sigaction() routine
3019 /*#define HAS_SIGACTION /**/
3022 * This variable indicates to the C program that the sigsetjmp()
3023 * routine is available to save the calling process's registers
3024 * and stack environment for later use by siglongjmp(), and
3025 * to optionally save the process's signal mask. See
3026 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
3029 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
3032 * This macro is used in the same way as sigsetjmp(), but will invoke
3033 * traditional setjmp() if sigsetjmp isn't available.
3034 * See HAS_SIGSETJMP.
3037 * This macro is used in the same way as siglongjmp(), but will invoke
3038 * traditional longjmp() if siglongjmp isn't available.
3039 * See HAS_SIGSETJMP.
3041 /*#define HAS_SIGSETJMP /**/
3042 #ifdef HAS_SIGSETJMP
3043 #define Sigjmp_buf sigjmp_buf
3044 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
3045 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
3047 #define Sigjmp_buf jmp_buf
3048 #define Sigsetjmp(buf,save_mask) setjmp((buf))
3049 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
3053 * This symbol is defined if the _ptr and _cnt fields (or similar)
3054 * of the stdio FILE structure can be used to access the stdio buffer
3055 * for a file handle. If this is defined, then the FILE_ptr(fp)
3056 * and FILE_cnt(fp) macros will also be defined and should be used
3057 * to access these fields.
3060 * This macro is used to access the _ptr field (or equivalent) of the
3061 * FILE structure pointed to by its argument. This macro will always be
3062 * defined if USE_STDIO_PTR is defined.
3064 /* STDIO_PTR_LVALUE:
3065 * This symbol is defined if the FILE_ptr macro can be used as an
3069 * This macro is used to access the _cnt field (or equivalent) of the
3070 * FILE structure pointed to by its argument. This macro will always be
3071 * defined if USE_STDIO_PTR is defined.
3073 /* STDIO_CNT_LVALUE:
3074 * This symbol is defined if the FILE_cnt macro can be used as an
3077 /* STDIO_PTR_LVAL_SETS_CNT:
3078 * This symbol is defined if using the FILE_ptr macro as an lvalue
3079 * to increase the pointer by n has the side effect of decreasing the
3080 * value of File_cnt(fp) by n.
3082 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
3083 * This symbol is defined if using the FILE_ptr macro as an lvalue
3084 * to increase the pointer by n leaves File_cnt(fp) unchanged.
3086 #define USE_STDIO_PTR /**/
3087 #ifdef USE_STDIO_PTR
3088 #define FILE_ptr(fp) ((fp)->_ptr)
3089 #define STDIO_PTR_LVALUE /**/
3090 #define FILE_cnt(fp) ((fp)->_cnt)
3091 #define STDIO_CNT_LVALUE /**/
3092 /*#define STDIO_PTR_LVAL_SETS_CNT /**/
3093 #define STDIO_PTR_LVAL_NOCHANGE_CNT /**/
3097 * This symbol is defined if the _base field (or similar) of the
3098 * stdio FILE structure can be used to access the stdio buffer for
3099 * a file handle. If this is defined, then the FILE_base(fp) macro
3100 * will also be defined and should be used to access this field.
3101 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
3102 * to determine the number of bytes in the buffer. USE_STDIO_BASE
3103 * will never be defined unless USE_STDIO_PTR is.
3106 * This macro is used to access the _base field (or equivalent) of the
3107 * FILE structure pointed to by its argument. This macro will always be
3108 * defined if USE_STDIO_BASE is defined.
3111 * This macro is used to determine the number of bytes in the I/O
3112 * buffer pointed to by _base field (or equivalent) of the FILE
3113 * structure pointed to its argument. This macro will always be defined
3114 * if USE_STDIO_BASE is defined.
3116 #define USE_STDIO_BASE /**/
3117 #ifdef USE_STDIO_BASE
3118 #define FILE_base(fp) ((fp)->_base)
3119 #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
3123 * This symbol, if defined, indicates that the vprintf routine is available
3124 * to printf with a pointer to an argument list. If unavailable, you
3125 * may need to write your own, probably in terms of _doprnt().
3127 /* USE_CHAR_VSPRINTF:
3128 * This symbol is defined if this system has vsprintf() returning type
3129 * (char*). The trend seems to be to declare it as "int vsprintf()". It
3130 * is up to the package author to declare vsprintf correctly based on the
3133 #define HAS_VPRINTF /**/
3134 /*#define USE_CHAR_VSPRINTF /**/
3137 * This symbol contains the size of a double, so that the C preprocessor
3138 * can make decisions based on it.
3140 #define DOUBLESIZE 8 /**/
3143 * This symbol, if defined, indicates to the C program that it should
3147 * This symbol, if defined, indicates to the C program that it should
3148 * include <sys/time.h>.
3150 /* I_SYS_TIME_KERNEL:
3151 * This symbol, if defined, indicates to the C program that it should
3152 * include <sys/time.h> with KERNEL defined.
3155 * This symbol, if defined, indicates to the C program that
3156 * the struct tm has a tm_zone field.
3158 /* HAS_TM_TM_GMTOFF:
3159 * This symbol, if defined, indicates to the C program that
3160 * the struct tm has a tm_gmtoff field.
3163 /*#define I_SYS_TIME /**/
3164 /*#define I_SYS_TIME_KERNEL /**/
3165 /*#define HAS_TM_TM_ZONE /**/
3166 /*#define HAS_TM_TM_GMTOFF /**/
3169 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
3170 * non-blocking I/O for the file descriptor. Note that there is no way
3171 * back, i.e. you cannot turn it blocking again this way. If you wish to
3172 * alternatively switch between blocking and non-blocking, use the
3173 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
3176 * This symbol holds the errno error code set by read() when no data was
3177 * present on the non-blocking file descriptor.
3180 * This symbol holds the return code from read() when no data is present
3181 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
3182 * not defined, then you can't distinguish between no data and EOF by
3183 * issuing a read(). You'll have to find another way to tell for sure!
3186 * This symbol, if defined, indicates to the C program that a read() on
3187 * a non-blocking file descriptor will return 0 on EOF, and not the value
3188 * held in RD_NODATA (-1 usually, in that case!).
3190 #define VAL_O_NONBLOCK O_NONBLOCK
3191 #define VAL_EAGAIN EAGAIN
3192 #define RD_NODATA -1
3193 #define EOF_NONBLOCK
3196 * This symbol contains the size of a pointer, so that the C preprocessor
3197 * can make decisions based on it. It will be sizeof(void *) if
3198 * the compiler supports (void *); otherwise it will be
3201 #define PTRSIZE 4 /**/
3204 * This macro is to be used to generate uniformly distributed
3205 * random numbers over the range [0., 1.[. You may have to supply
3206 * an 'extern double drand48();' in your program since SunOS 4.1.3
3207 * doesn't provide you with anything relevant in its headers.
3208 * See HAS_DRAND48_PROTO.
3211 * This symbol defines the type of the argument of the
3212 * random seed function.
3215 * This symbol defines the macro to be used in seeding the
3216 * random number generator (see Drand01).
3219 * This symbol indicates how many bits are produced by the
3220 * function used to generate normalized random numbers.
3221 * Values include 15, 16, 31, and 48.
3223 #define Drand01() (rand()/(double)((unsigned)1<<RANDBITS)) /**/
3224 #define Rand_seed_t unsigned /**/
3225 #define seedDrand01(x) srand((Rand_seed_t)x) /**/
3226 #define RANDBITS 15 /**/
3229 * This symbol holds the type used by functions that return
3230 * a count of bytes or an error condition. It must be a signed type.
3231 * It is usually ssize_t, but may be long or int, etc.
3232 * It may be necessary to include <sys/types.h> or <unistd.h>
3233 * to get any typedef'ed information.
3234 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3236 #define SSize_t int /* signed count of bytes */
3239 * This symbol, if defined, indicates that this system uses
3242 /*#define EBCDIC /**/
3245 * This symbol, if defined, indicates that the atolf routine is
3246 * available to convert strings into long doubles.
3248 /*#define HAS_ATOLF /**/
3251 * This symbol, if defined, indicates that the atoll routine is
3252 * available to convert strings into long longs.
3254 /*#define HAS_ATOLL /**/
3257 * This symbol, if defined, indicates that the _fwalk system call is
3258 * available to apply a function to all the file handles.
3260 /*#define HAS__FWALK /**/
3263 * This symbol, if defined, indicates that the aintl routine is
3264 * available. If copysignl is also present we can emulate modfl.
3266 /*#define HAS_AINTL /**/
3268 /* HAS_BUILTIN_CHOOSE_EXPR:
3269 * Can we handle GCC builtin for compile-time ternary-like expressions
3271 /* HAS_BUILTIN_EXPECT:
3272 * Can we handle GCC builtin for telling that certain values are more
3275 /*#define HAS_BUILTIN_EXPECT /**/
3276 /*#define HAS_BUILTIN_CHOOSE_EXPR /**/
3278 /* HAS_C99_VARIADIC_MACROS:
3279 * If defined, the compiler supports C99 variadic macros.
3281 /*#define HAS_C99_VARIADIC_MACROS /**/
3284 * This symbol, if defined, indicates that the class routine is
3285 * available to classify doubles. Available for example in AIX.
3286 * The returned values are defined in <float.h> and are:
3288 * FP_PLUS_NORM Positive normalized, nonzero
3289 * FP_MINUS_NORM Negative normalized, nonzero
3290 * FP_PLUS_DENORM Positive denormalized, nonzero
3291 * FP_MINUS_DENORM Negative denormalized, nonzero
3293 * FP_MINUS_ZERO -0.0
3296 * FP_NANS Signaling Not a Number (NaNS)
3297 * FP_NANQ Quiet Not a Number (NaNQ)
3299 /*#define HAS_CLASS /**/
3302 * This symbol, if defined, indicates that the clearenv () routine is
3303 * available for use.
3305 /*#define HAS_CLEARENV /**/
3307 /* HAS_STRUCT_CMSGHDR:
3308 * This symbol, if defined, indicates that the struct cmsghdr
3311 /*#define HAS_STRUCT_CMSGHDR /**/
3314 * This symbol, if defined, indicates that the copysignl routine is
3315 * available. If aintl is also present we can emulate modfl.
3317 /*#define HAS_COPYSIGNL /**/
3320 * This symbol, if defined, indicates that a C++ compiler was
3321 * used to compiled Perl and will be used to compile extensions.
3323 /*#define USE_CPLUSPLUS /**/
3325 /* HAS_DBMINIT_PROTO:
3326 * This symbol, if defined, indicates that the system provides
3327 * a prototype for the dbminit() function. Otherwise, it is up
3328 * to the program to supply one. A good guess is
3329 * extern int dbminit(char *);
3331 /*#define HAS_DBMINIT_PROTO /**/
3334 * This symbol, if defined, indicates that the the DIR* dirstream
3335 * structure contains a member variable named dd_fd.
3337 /*#define HAS_DIR_DD_FD /**/
3340 * This manifest constant lets the C program know that dirfd
3343 /*#define HAS_DIRFD /**/
3345 /* DLSYM_NEEDS_UNDERSCORE:
3346 * This symbol, if defined, indicates that we need to prepend an
3347 * underscore to the symbol name before calling dlsym(). This only
3348 * makes sense if you *have* dlsym, which we will presume is the
3349 * case if you're using dl_dlopen.xs.
3351 /*#define DLSYM_NEEDS_UNDERSCORE /**/
3354 * This symbol, if defined, indicates that the "fast stdio"
3355 * is available to manipulate the stdio buffers directly.
3357 #define HAS_FAST_STDIO /**/
3360 * This symbol, if defined, indicates that the fchdir routine is
3361 * available to change directory using a file descriptor.
3363 /*#define HAS_FCHDIR /**/
3366 * This symbol, if defined, indicates that fcntl() can be used
3367 * for file locking. Normally on Unix systems this is defined.
3368 * It may be undefined on VMS.
3370 /*#define FCNTL_CAN_LOCK /**/
3373 * This symbol, if defined, indicates that the finite routine is
3374 * available to check whether a double is finite (non-infinity non-NaN).
3376 /*#define HAS_FINITE /**/
3379 * This symbol, if defined, indicates that the finitel routine is
3380 * available to check whether a long double is finite
3381 * (non-infinity non-NaN).
3383 /*#define HAS_FINITEL /**/
3386 * This symbol, if defined, indicates that the system provides
3387 * a prototype for the flock() function. Otherwise, it is up
3388 * to the program to supply one. A good guess is
3389 * extern int flock(int, int);
3391 #define HAS_FLOCK_PROTO /**/
3394 * This symbol, if defined, indicates that the fp_class routine is
3395 * available to classify doubles. Available for example in Digital UNIX.
3396 * The returned values are defined in <math.h> and are:
3398 * FP_SNAN Signaling NaN (Not-a-Number)
3399 * FP_QNAN Quiet NaN (Not-a-Number)
3400 * FP_POS_INF +infinity
3401 * FP_NEG_INF -infinity
3402 * FP_POS_NORM Positive normalized
3403 * FP_NEG_NORM Negative normalized
3404 * FP_POS_DENORM Positive denormalized
3405 * FP_NEG_DENORM Negative denormalized
3406 * FP_POS_ZERO +0.0 (positive zero)
3407 * FP_NEG_ZERO -0.0 (negative zero)
3409 /*#define HAS_FP_CLASS /**/
3412 * This symbol, if defined, indicates that the fpclass routine is
3413 * available to classify doubles. Available for example in Solaris/SVR4.
3414 * The returned values are defined in <ieeefp.h> and are:
3416 * FP_SNAN signaling NaN
3418 * FP_NINF negative infinity
3419 * FP_PINF positive infinity
3420 * FP_NDENORM negative denormalized non-zero
3421 * FP_PDENORM positive denormalized non-zero
3422 * FP_NZERO negative zero
3423 * FP_PZERO positive zero
3424 * FP_NNORM negative normalized non-zero
3425 * FP_PNORM positive normalized non-zero
3427 /*#define HAS_FPCLASS /**/
3430 * This symbol, if defined, indicates that the fpclassify routine is
3431 * available to classify doubles. Available for example in HP-UX.
3432 * The returned values are defined in <math.h> and are
3434 * FP_NORMAL Normalized
3436 * FP_INFINITE Infinity
3437 * FP_SUBNORMAL Denormalized
3441 /*#define HAS_FPCLASSIFY /**/
3444 * This symbol, if defined, indicates that the fpclassl routine is
3445 * available to classify long doubles. Available for example in IRIX.
3446 * The returned values are defined in <ieeefp.h> and are:
3448 * FP_SNAN signaling NaN
3450 * FP_NINF negative infinity
3451 * FP_PINF positive infinity
3452 * FP_NDENORM negative denormalized non-zero
3453 * FP_PDENORM positive denormalized non-zero
3454 * FP_NZERO negative zero
3455 * FP_PZERO positive zero
3456 * FP_NNORM negative normalized non-zero
3457 * FP_PNORM positive normalized non-zero
3459 /*#define HAS_FPCLASSL /**/
3462 * This symbol will be defined if the C compiler supports fpos64_t.
3464 /*#define HAS_FPOS64_T /**/
3467 * This symbol, if defined, indicates that the frexpl routine is
3468 * available to break a long double floating-point number into
3469 * a normalized fraction and an integral power of 2.
3471 /*#define HAS_FREXPL /**/
3473 /* HAS_STRUCT_FS_DATA:
3474 * This symbol, if defined, indicates that the struct fs_data
3475 * to do statfs() is supported.
3477 /*#define HAS_STRUCT_FS_DATA /**/
3480 * This symbol, if defined, indicates that the fseeko routine is
3481 * available to fseek beyond 32 bits (useful for ILP32 hosts).
3483 /*#define HAS_FSEEKO /**/
3486 * This symbol, if defined, indicates that the fstatfs routine is
3487 * available to stat filesystems by file descriptors.
3489 /*#define HAS_FSTATFS /**/
3492 * This symbol, if defined, indicates that the fsync routine is
3493 * available to write a file's modified data and attributes to
3494 * permanent storage.
3496 /*#define HAS_FSYNC /**/
3499 * This symbol, if defined, indicates that the ftello routine is
3500 * available to ftell beyond 32 bits (useful for ILP32 hosts).
3502 /*#define HAS_FTELLO /**/
3505 * This symbol, if defined, indicates that the futimes routine is
3506 * available to change file descriptor time stamps with struct timevals.
3508 /*#define HAS_FUTIMES /**/
3511 * This symbol, if defined, indicates that the getcwd routine is
3512 * available to get the current working directory.
3514 #define HAS_GETCWD /**/
3517 * This symbol, if defined, indicates that the getespwnam system call is
3518 * available to retrieve enchanced (shadow) password entries by name.
3520 /*#define HAS_GETESPWNAM /**/
3523 * This symbol, if defined, indicates that the getfsstat routine is
3524 * available to stat filesystems in bulk.
3526 /*#define HAS_GETFSSTAT /**/
3529 * This symbol, if defined, indicates that the getitimer routine is
3530 * available to return interval timers.
3532 /*#define HAS_GETITIMER /**/
3535 * This symbol, if defined, indicates that the getmnt routine is
3536 * available to get filesystem mount info by filename.
3538 /*#define HAS_GETMNT /**/
3541 * This symbol, if defined, indicates that the getmntent routine is
3542 * available to iterate through mounted file systems to get their info.
3544 /*#define HAS_GETMNTENT /**/
3547 * This symbol, if defined, indicates that the getprpwnam system call is
3548 * available to retrieve protected (shadow) password entries by name.
3550 /*#define HAS_GETPRPWNAM /**/
3553 * This symbol, if defined, indicates that the getspnam system call is
3554 * available to retrieve SysV shadow password entries by name.
3556 /*#define HAS_GETSPNAM /**/
3559 * This symbol, if defined, indicates that the hasmntopt routine is
3560 * available to query the mount options of file systems.
3562 /*#define HAS_HASMNTOPT /**/
3565 * This symbol, if defined, indicates that the ilogbl routine is
3566 * available. If scalbnl is also present we can emulate frexpl.
3568 /*#define HAS_ILOGBL /**/
3571 * This symbol will defined if the C compiler supports int64_t.
3572 * Usually the <inttypes.h> needs to be included, but sometimes
3573 * <sys/types.h> is enough.
3575 /*#define HAS_INT64_T /**/
3578 * This symbol, if defined, indicates that the isfinite routine is
3579 * available to check whether a double is finite (non-infinity non-NaN).
3581 /*#define HAS_ISFINITE /**/
3584 * This symbol, if defined, indicates that the isinf routine is
3585 * available to check whether a double is an infinity.
3587 /*#define HAS_ISINF /**/
3590 * This symbol, if defined, indicates that the isnan routine is
3591 * available to check whether a double is a NaN.
3593 #define HAS_ISNAN /**/
3596 * This symbol, if defined, indicates that the isnanl routine is
3597 * available to check whether a long double is a NaN.
3599 /*#define HAS_ISNANL /**/
3602 * This symbol, if defined, indicates that this system's <float.h>
3603 * or <limits.h> defines the symbol LDBL_DIG, which is the number
3604 * of significant digits in a long double precision number. Unlike
3605 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
3607 #define HAS_LDBL_DIG /**/
3609 /* LIBM_LIB_VERSION:
3610 * This symbol, if defined, indicates that libm exports _LIB_VERSION
3611 * and that math.h defines the enum to manipulate it.
3613 /*#define LIBM_LIB_VERSION /**/
3616 * This symbol, if defined, indicates that the madvise system call is
3617 * available to map a file into memory.
3619 /*#define HAS_MADVISE /**/
3622 * This symbol, if defined, indicates that the malloc_size
3623 * routine is available for use.
3625 /*#define HAS_MALLOC_SIZE /**/
3627 /* HAS_MALLOC_GOOD_SIZE:
3628 * This symbol, if defined, indicates that the malloc_good_size
3629 * routine is available for use.
3631 /*#define HAS_MALLOC_GOOD_SIZE /**/
3634 * This symbol, if defined, indicates that the mkdtemp routine is
3635 * available to exclusively create a uniquely named temporary directory.
3637 /*#define HAS_MKDTEMP /**/
3640 * This symbol, if defined, indicates that the mkstemps routine is
3641 * available to excluslvely create and open a uniquely named
3642 * (with a suffix) temporary file.
3644 /*#define HAS_MKSTEMPS /**/
3647 * This symbol, if defined, indicates that the modfl routine is
3648 * available to split a long double x into a fractional part f and
3649 * an integer part i such that |f| < 1.0 and (f + i) = x.
3652 * This symbol, if defined, indicates that the system provides
3653 * a prototype for the modfl() function. Otherwise, it is up
3654 * to the program to supply one.
3656 /* HAS_MODFL_POW32_BUG:
3657 * This symbol, if defined, indicates that the modfl routine is
3658 * broken for long doubles >= pow(2, 32).
3659 * For example from 4294967303.150000 one would get 4294967302.000000
3660 * and 1.150000. The bug has been seen in certain versions of glibc,
3661 * release 2.2.2 is known to be okay.
3663 /*#define HAS_MODFL /**/
3664 /*#define HAS_MODFL_PROTO /**/
3665 /*#define HAS_MODFL_POW32_BUG /**/
3668 * This symbol, if defined, indicates that the mprotect system call is
3669 * available to modify the access protection of a memory mapped file.
3671 /*#define HAS_MPROTECT /**/
3673 /* HAS_STRUCT_MSGHDR:
3674 * This symbol, if defined, indicates that the struct msghdr
3677 /*#define HAS_STRUCT_MSGHDR /**/
3680 * This symbol, if defined, indicates that the nl_langinfo routine is
3681 * available to return local data. You will also need <langinfo.h>
3682 * and therefore I_LANGINFO.
3684 /*#define HAS_NL_LANGINFO /**/
3687 * This symbol will be defined if the C compiler supports off64_t.
3689 /*#define HAS_OFF64_T /**/
3692 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3693 * to the absolute pathname of the executing program.
3695 /* PROCSELFEXE_PATH:
3696 * If HAS_PROCSELFEXE is defined this symbol is the filename
3697 * of the symbolic link pointing to the absolute pathname of
3698 * the executing program.
3700 /*#define HAS_PROCSELFEXE /**/
3701 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3702 #define PROCSELFEXE_PATH /**/
3705 /* HAS_PTHREAD_ATTR_SETSCOPE:
3706 * This symbol, if defined, indicates that the pthread_attr_setscope
3707 * system call is available to set the contention scope attribute of
3708 * a thread attribute object.
3710 /*#define HAS_PTHREAD_ATTR_SETSCOPE /**/
3713 * This symbol, if defined, indicates that the readv routine is
3714 * available to do gather reads. You will also need <sys/uio.h>
3715 * and there I_SYSUIO.
3717 /*#define HAS_READV /**/
3720 * This symbol, if defined, indicates that the recvmsg routine is
3721 * available to send structured socket messages.
3723 /*#define HAS_RECVMSG /**/
3726 * This symbol, if defined, indicates that the system provides
3727 * a prototype for the sbrk() function. Otherwise, it is up
3728 * to the program to supply one. Good guesses are
3729 * extern void* sbrk(int);
3730 * extern void* sbrk(size_t);
3732 /*#define HAS_SBRK_PROTO /**/
3735 * This symbol, if defined, indicates that the scalbnl routine is
3736 * available. If ilogbl is also present we can emulate frexpl.
3738 /*#define HAS_SCALBNL /**/
3741 * This symbol, if defined, indicates that the sendmsg routine is
3742 * available to send structured socket messages.
3744 /*#define HAS_SENDMSG /**/
3747 * This symbol, if defined, indicates that the setitimer routine is
3748 * available to set interval timers.
3750 /*#define HAS_SETITIMER /**/
3752 /* HAS_SETPROCTITLE:
3753 * This symbol, if defined, indicates that the setproctitle routine is
3754 * available to set process title.
3756 /*#define HAS_SETPROCTITLE /**/
3759 * This symbol, if defined, indicates that sfio should
3762 /*#define USE_SFIO /**/
3765 * This symbol, if defined, indicates that the signbit routine is
3766 * available to check if the given number has the sign bit set.
3767 * This should include correct testing of -0.0. This will only be set
3768 * if the signbit() routine is safe to use with the NV type used internally
3769 * in perl. Users should call Perl_signbit(), which will be #defined to
3770 * the system's signbit() function or macro if this symbol is defined.
3772 /*#define HAS_SIGNBIT /**/
3775 * This symbol, if defined, indicates that the sigprocmask
3776 * system call is available to examine or change the signal mask
3777 * of the calling process.
3779 /*#define HAS_SIGPROCMASK /**/
3781 /* USE_SITECUSTOMIZE:
3782 * This symbol, if defined, indicates that sitecustomize should
3785 #ifndef USE_SITECUSTOMIZE
3786 /*#define USE_SITECUSTOMIZE /**/
3790 * This symbol, if defined, indicates that the snprintf () library
3791 * function is available for use.
3794 * This symbol, if defined, indicates that the vsnprintf () library
3795 * function is available for use.
3797 #define HAS_SNPRINTF /**/
3798 #define HAS_VSNPRINTF /**/
3801 * This symbol, if defined, indicates that the sockatmark routine is
3802 * available to test whether a socket is at the out-of-band mark.
3804 /*#define HAS_SOCKATMARK /**/
3806 /* HAS_SOCKATMARK_PROTO:
3807 * This symbol, if defined, indicates that the system provides
3808 * a prototype for the sockatmark() function. Otherwise, it is up
3809 * to the program to supply one. A good guess is
3810 * extern int sockatmark(int);
3812 /*#define HAS_SOCKATMARK_PROTO /**/
3815 * This symbol, if defined, indicates that the socks5_init routine is
3816 * available to initialize SOCKS 5.
3818 /*#define HAS_SOCKS5_INIT /**/
3820 /* SPRINTF_RETURNS_STRLEN:
3821 * This variable defines whether sprintf returns the length of the string
3822 * (as per the ANSI spec). Some C libraries retain compatibility with
3823 * pre-ANSI C and return a pointer to the passed in buffer; for these
3824 * this variable will be undef.
3826 #define SPRINTF_RETURNS_STRLEN /**/
3829 * This symbol, if defined, indicates that the sqrtl routine is
3830 * available to do long double square roots.
3832 /*#define HAS_SQRTL /**/
3834 /* HAS_SETRESGID_PROTO:
3835 * This symbol, if defined, indicates that the system provides
3836 * a prototype for the setresgid() function. Otherwise, it is up
3837 * to the program to supply one. Good guesses are
3838 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3840 /*#define HAS_SETRESGID_PROTO /**/
3842 /* HAS_SETRESUID_PROTO:
3843 * This symbol, if defined, indicates that the system provides
3844 * a prototype for the setresuid() function. Otherwise, it is up
3845 * to the program to supply one. Good guesses are
3846 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3848 /*#define HAS_SETRESUID_PROTO /**/
3850 /* HAS_STRUCT_STATFS_F_FLAGS:
3851 * This symbol, if defined, indicates that the struct statfs
3852 * does have the f_flags member containing the mount flags of
3853 * the filesystem containing the file.
3854 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
3855 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
3856 * have statfs() and struct statfs, they have ustat() and getmnt()
3857 * with struct ustat and struct fs_data.
3859 /*#define HAS_STRUCT_STATFS_F_FLAGS /**/
3861 /* HAS_STRUCT_STATFS:
3862 * This symbol, if defined, indicates that the struct statfs
3863 * to do statfs() is supported.
3865 /*#define HAS_STRUCT_STATFS /**/
3868 * This symbol, if defined, indicates that the fstatvfs routine is
3869 * available to stat filesystems by file descriptors.
3871 /*#define HAS_FSTATVFS /**/
3874 * This symbol, if defined, indicates that the strftime routine is
3875 * available to do time formatting.
3877 #define HAS_STRFTIME /**/
3880 * This symbol, if defined, indicates that the strlcat () routine is
3881 * available to do string concatenation.
3883 /*#define HAS_STRLCAT /**/
3886 * This symbol, if defined, indicates that the strlcpy () routine is
3887 * available to do string copying.
3889 /*#define HAS_STRLCPY /**/
3892 * This symbol, if defined, indicates that the strtold routine is
3893 * available to convert strings to long doubles.
3895 /*#define HAS_STRTOLD /**/
3898 * This symbol, if defined, indicates that the strtoll routine is
3899 * available to convert strings to long longs.
3901 /*#define HAS_STRTOLL /**/
3904 * This symbol, if defined, indicates that the strtoq routine is
3905 * available to convert strings to long longs (quads).
3907 /*#define HAS_STRTOQ /**/
3910 * This symbol, if defined, indicates that the strtoull routine is
3911 * available to convert strings to unsigned long longs.
3913 /*#define HAS_STRTOULL /**/
3916 * This symbol, if defined, indicates that the strtouq routine is
3917 * available to convert strings to unsigned long longs (quads).
3919 /*#define HAS_STRTOUQ /**/
3921 /* HAS_SYSCALL_PROTO:
3922 * This symbol, if defined, indicates that the system provides
3923 * a prototype for the syscall() function. Otherwise, it is up
3924 * to the program to supply one. Good guesses are
3925 * extern int syscall(int, ...);
3926 * extern int syscall(long, ...);
3928 /*#define HAS_SYSCALL_PROTO /**/
3930 /* HAS_TELLDIR_PROTO:
3931 * This symbol, if defined, indicates that the system provides
3932 * a prototype for the telldir() function. Otherwise, it is up
3933 * to the program to supply one. A good guess is
3934 * extern long telldir(DIR*);
3936 #define HAS_TELLDIR_PROTO /**/
3938 /* U32_ALIGNMENT_REQUIRED:
3939 * This symbol, if defined, indicates that you must access
3940 * character data through U32-aligned pointers.
3942 #ifndef U32_ALIGNMENT_REQUIRED
3943 #define U32_ALIGNMENT_REQUIRED /**/
3947 * This symbol, if defined, indicates that the ualarm routine is
3948 * available to do alarms with microsecond granularity.
3950 /*#define HAS_UALARM /**/
3953 * This symbol, if defined, indicates that the unordered routine is
3954 * available to check whether two doubles are unordered
3955 * (effectively: whether either of them is NaN)
3957 /*#define HAS_UNORDERED /**/
3960 * This symbol, if defined, indicates that the unsetenv () routine is
3961 * available for use.
3963 /*#define HAS_UNSETENV /**/
3965 /* HAS_USLEEP_PROTO:
3966 * This symbol, if defined, indicates that the system provides
3967 * a prototype for the usleep() function. Otherwise, it is up
3968 * to the program to supply one. A good guess is
3969 * extern int usleep(useconds_t);
3971 /*#define HAS_USLEEP_PROTO /**/
3974 * This symbol, if defined, indicates that the ustat system call is
3975 * available to query file system statistics by dev_t.
3977 /*#define HAS_USTAT /**/
3980 * This symbol, if defined, indicates that the writev routine is
3981 * available to do scatter writes.
3983 /*#define HAS_WRITEV /**/
3985 /* USE_DYNAMIC_LOADING:
3986 * This symbol, if defined, indicates that dynamic loading of
3987 * some sort is available.
3989 #define USE_DYNAMIC_LOADING /**/
3992 * This symbol, if defined, tells that fflush(NULL) does flush
3993 * all pending stdio output.
3996 * This symbol, if defined, tells that to flush
3997 * all pending stdio output one must loop through all
3998 * the stdio file handles stored in an array and fflush them.
3999 * Note that if fflushNULL is defined, fflushall will not
4000 * even be probed for and will be left undefined.
4002 #define FFLUSH_NULL /**/
4003 /*#define FFLUSH_ALL /**/
4006 * This symbol, if defined, indicates that <assert.h> exists and
4007 * could be included by the C program to get the assert() macro.
4009 #define I_ASSERT /**/
4012 * This symbol, if defined, indicates that <crypt.h> exists and
4013 * should be included.
4015 /*#define I_CRYPT /**/
4018 * This symbol contains the type of the prefix structure element
4019 * in the <db.h> header file. In older versions of DB, it was
4020 * int, while in newer ones it is u_int32_t.
4023 * This symbol contains the type of the prefix structure element
4024 * in the <db.h> header file. In older versions of DB, it was
4025 * int, while in newer ones it is size_t.
4027 /* DB_VERSION_MAJOR_CFG:
4028 * This symbol, if defined, defines the major version number of
4029 * Berkeley DB found in the <db.h> header when Perl was configured.
4031 /* DB_VERSION_MINOR_CFG:
4032 * This symbol, if defined, defines the minor version number of
4033 * Berkeley DB found in the <db.h> header when Perl was configured.
4034 * For DB version 1 this is always 0.
4036 /* DB_VERSION_PATCH_CFG:
4037 * This symbol, if defined, defines the patch version number of
4038 * Berkeley DB found in the <db.h> header when Perl was configured.
4039 * For DB version 1 this is always 0.
4041 #define DB_Hash_t int /**/
4042 #define DB_Prefix_t int /**/
4043 #define DB_VERSION_MAJOR_CFG 0 /**/
4044 #define DB_VERSION_MINOR_CFG 0 /**/
4045 #define DB_VERSION_PATCH_CFG 0 /**/
4048 * This symbol, if defined, indicates that <fp.h> exists and
4049 * should be included.
4054 * This symbol, if defined, indicates that <fp_class.h> exists and
4055 * should be included.
4057 /*#define I_FP_CLASS /**/
4060 * This symbol, if defined, indicates that <ieeefp.h> exists and
4061 * should be included.
4063 /*#define I_IEEEFP /**/
4066 * This symbol, if defined, indicates to the C program that it should
4067 * include <inttypes.h>.
4069 /*#define I_INTTYPES /**/
4072 * This symbol, if defined, indicates that <langinfo.h> exists and
4073 * should be included.
4075 /*#define I_LANGINFO /**/
4078 * This symbol, if defined, indicates that <libutil.h> exists and
4079 * should be included.
4081 /*#define I_LIBUTIL /**/
4084 * This symbol, if defined, indicates that <mntent.h> exists and
4085 * should be included.
4087 /*#define I_MNTENT /**/
4090 * This symbol, if defined, indicates to the C program that it should
4091 * include <netinet/tcp.h>.
4093 /*#define I_NETINET_TCP /**/
4096 * This symbol, if defined, indicates that <poll.h> exists and
4097 * should be included. (see also HAS_POLL)
4099 /*#define I_POLL /**/
4102 * This symbol, if defined, indicates that <prot.h> exists and
4103 * should be included.
4105 /*#define I_PROT /**/
4108 * This symbol, if defined, indicates that <shadow.h> exists and
4109 * should be included.
4111 /*#define I_SHADOW /**/
4114 * This symbol, if defined, indicates that <socks.h> exists and
4115 * should be included.
4117 /*#define I_SOCKS /**/
4120 * This symbol, if defined, indicates that <sunmath.h> exists and
4121 * should be included.
4123 /*#define I_SUNMATH /**/
4126 * This symbol, if defined, indicates that <syslog.h> exists and
4127 * should be included.
4129 /*#define I_SYSLOG /**/
4132 * This symbol, if defined, indicates that <sys/mode.h> exists and
4133 * should be included.
4135 /*#define I_SYSMODE /**/
4138 * This symbol, if defined, indicates that <sys/mount.h> exists and
4139 * should be included.
4141 /*#define I_SYS_MOUNT /**/
4144 * This symbol, if defined, indicates that <sys/statfs.h> exists.
4146 /*#define I_SYS_STATFS /**/
4149 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
4150 * should be included.
4152 /*#define I_SYS_STATVFS /**/
4155 * This symbol, if defined, indicates that <sys/utsname.h> exists and
4156 * should be included.
4158 /*#define I_SYSUTSNAME /**/
4161 * This symbol, if defined, indicates that <sys/vfs.h> exists and
4162 * should be included.
4164 /*#define I_SYS_VFS /**/
4167 * This symbol, if defined, indicates that <ustat.h> exists and
4168 * should be included.
4170 /*#define I_USTAT /**/
4173 * This symbol, if defined, contains the string used by stdio to
4174 * format long doubles (format 'f') for output.
4177 * This symbol, if defined, contains the string used by stdio to
4178 * format long doubles (format 'g') for output.
4181 * This symbol, if defined, contains the string used by stdio to
4182 * format long doubles (format 'e') for output.
4185 * This symbol, if defined, contains the string used by stdio to
4186 * format long doubles (format 'f') for input.
4188 /*#define PERL_PRIfldbl "f" /**/
4189 /*#define PERL_PRIgldbl "g" /**/
4190 /*#define PERL_PRIeldbl "e" /**/
4191 /*#define PERL_SCNfldbl "f" /**/
4194 * This symbol, if defined, indicates that the Misc Attribution
4195 * Declaration code should be conditionally compiled.
4197 /*#define PERL_MAD /**/
4200 * This symbol, if defined, indicates that the system stores
4201 * the variable argument list datatype, va_list, in a format
4202 * that cannot be copied by simple assignment, so that some
4203 * other means must be used when copying is required.
4204 * As such systems vary in their provision (or non-provision)
4205 * of copying mechanisms, handy.h defines a platform-
4206 * independent macro, Perl_va_copy(src, dst), to do the job.
4208 /*#define NEED_VA_COPY /**/
4211 * This symbol defines the C type used for Perl's IV.
4214 * This symbol defines the C type used for Perl's UV.
4217 * This symbol defines the C type used for Perl's I8.
4220 * This symbol defines the C type used for Perl's U8.
4223 * This symbol defines the C type used for Perl's I16.
4226 * This symbol defines the C type used for Perl's U16.
4229 * This symbol defines the C type used for Perl's I32.
4232 * This symbol defines the C type used for Perl's U32.
4235 * This symbol defines the C type used for Perl's I64.
4238 * This symbol defines the C type used for Perl's U64.
4241 * This symbol defines the C type used for Perl's NV.
4244 * This symbol contains the sizeof(IV).
4247 * This symbol contains the sizeof(UV).
4250 * This symbol contains the sizeof(I8).
4253 * This symbol contains the sizeof(U8).
4256 * This symbol contains the sizeof(I16).
4259 * This symbol contains the sizeof(U16).
4262 * This symbol contains the sizeof(I32).
4265 * This symbol contains the sizeof(U32).
4268 * This symbol contains the sizeof(I64).
4271 * This symbol contains the sizeof(U64).
4274 * This symbol contains the sizeof(NV).
4277 * This symbol, if defined, indicates that a variable of type NVTYPE
4278 * can preserve all the bits of a variable of type UVTYPE.
4280 /* NV_PRESERVES_UV_BITS:
4281 * This symbol contains the number of bits a variable of type NVTYPE
4282 * can preserve of a variable of type UVTYPE.
4284 /* NV_OVERFLOWS_INTEGERS_AT:
4285 * This symbol gives the largest integer value that NVs can hold. This
4286 * value + 1.0 cannot be stored accurately. It is expressed as constant
4287 * floating point expression to reduce the chance of decimale/binary
4288 * conversion issues. If it can not be determined, the value 0 is given.
4290 /* NV_ZERO_IS_ALLBITS_ZERO:
4291 * This symbol, if defined, indicates that a variable of type NVTYPE
4292 * stores 0.0 in memory as all bits zero.
4294 #define IVTYPE long /**/
4295 #define UVTYPE unsigned long /**/
4296 #define I8TYPE char /**/
4297 #define U8TYPE unsigned char /**/
4298 #define I16TYPE short /**/
4299 #define U16TYPE unsigned short /**/
4300 #define I32TYPE long /**/
4301 #define U32TYPE unsigned long /**/
4304 # define I64TYPE __int64 /**/
4305 # define U64TYPE unsigned __int64 /**/
4307 # define I64TYPE long long /**/
4308 # define U64TYPE unsigned long long /**/
4311 #define NVTYPE double /**/
4312 #define IVSIZE 4 /**/
4313 #define UVSIZE 4 /**/
4314 #define I8SIZE 1 /**/
4315 #define U8SIZE 1 /**/
4316 #define I16SIZE 2 /**/
4317 #define U16SIZE 2 /**/
4318 #define I32SIZE 4 /**/
4319 #define U32SIZE 4 /**/
4321 #define I64SIZE 8 /**/
4322 #define U64SIZE 8 /**/
4324 #define NVSIZE 8 /**/
4325 #define NV_PRESERVES_UV
4326 #define NV_PRESERVES_UV_BITS 32
4327 #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
4328 #define NV_ZERO_IS_ALLBITS_ZERO
4331 # if BYTEORDER == 0x1234
4333 # define BYTEORDER 0x12345678
4335 # if BYTEORDER == 0x4321
4337 # define BYTEORDER 0x87654321
4344 * This symbol defines the format string used for printing a Perl IV
4345 * as a signed decimal integer.
4348 * This symbol defines the format string used for printing a Perl UV
4349 * as an unsigned decimal integer.
4352 * This symbol defines the format string used for printing a Perl UV
4353 * as an unsigned octal integer.
4356 * This symbol defines the format string used for printing a Perl UV
4357 * as an unsigned hexadecimal integer in lowercase abcdef.
4360 * This symbol defines the format string used for printing a Perl UV
4361 * as an unsigned hexadecimal integer in uppercase ABCDEF.
4364 * This symbol defines the format string used for printing a Perl NV
4365 * using %e-ish floating point format.
4368 * This symbol defines the format string used for printing a Perl NV
4369 * using %f-ish floating point format.
4372 * This symbol defines the format string used for printing a Perl NV
4373 * using %g-ish floating point format.
4375 #define IVdf "ld" /**/
4376 #define UVuf "lu" /**/
4377 #define UVof "lo" /**/
4378 #define UVxf "lx" /**/
4379 #define UVXf "lX" /**/
4380 #define NVef "e" /**/
4381 #define NVff "f" /**/
4382 #define NVgf "g" /**/
4385 * This symbol holds the minimum number of bits operated by select.
4386 * That is, if you do select(n, ...), how many bits at least will be
4387 * cleared in the masks if some activity is detected. Usually this
4388 * is either n or 32*ceil(n/32), especially many little-endians do
4389 * the latter. This is only useful if you have select(), naturally.
4391 #define SELECT_MIN_BITS 32 /**/
4394 * This variable contains the string to put in front of a perl
4395 * script to make sure (one hopes) that it runs with perl and not
4398 #define STARTPERL "#!perl" /**/
4400 /* HAS_STDIO_STREAM_ARRAY:
4401 * This symbol, if defined, tells that there is an array
4402 * holding the stdio streams.
4404 /* STDIO_STREAM_ARRAY:
4405 * This symbol tells the name of the array holding the stdio streams.
4406 * Usual values include _iob, __iob, and __sF.
4408 /*#define HAS_STDIO_STREAM_ARRAY /**/
4409 #ifdef HAS_STDIO_STREAM_ARRAY
4410 #define STDIO_STREAM_ARRAY
4414 * This symbol, if defined, indicates that 64-bit integers should
4415 * be used when available. If not defined, the native integers
4416 * will be employed (be they 32 or 64 bits). The minimal possible
4417 * 64-bitness is used, just enough to get 64-bit integers into Perl.
4418 * This may mean using for example "long longs", while your memory
4419 * may still be limited to 2 gigabytes.
4422 * This symbol, if defined, indicates that 64-bit integers should
4423 * be used when available. If not defined, the native integers
4424 * will be used (be they 32 or 64 bits). The maximal possible
4425 * 64-bitness is employed: LP64 or ILP64, meaning that you will
4426 * be able to use more than 2 gigabytes of memory. This mode is
4427 * even more binary incompatible than USE_64_BIT_INT. You may not
4428 * be able to run the resulting executable in a 32-bit CPU at all or
4429 * you may need at least to reboot your OS to 64-bit mode.
4431 #ifndef USE_64_BIT_INT
4432 /*#define USE_64_BIT_INT /**/
4434 #ifndef USE_64_BIT_ALL
4435 /*#define USE_64_BIT_ALL /**/
4439 * This symbol, if defined, indicates that Perl should
4440 * be built with support for DTrace.
4442 /*#define USE_DTRACE /**/
4445 * This symbol, if defined, indicates that Perl should
4446 * be built to use 'fast stdio'.
4447 * Defaults to define in Perls 5.8 and earlier, to undef later.
4449 #ifndef USE_FAST_STDIO
4450 /*#define USE_FAST_STDIO /**/
4454 * This symbol, if defined, indicates that large file support
4455 * should be used when available.
4457 #ifndef USE_LARGE_FILES
4458 /*#define USE_LARGE_FILES /**/
4462 * This symbol, if defined, indicates that long doubles should
4463 * be used when available.
4465 #ifndef USE_LONG_DOUBLE
4466 /*#define USE_LONG_DOUBLE /**/
4470 * This symbol, if defined, indicates that 64-bit interfaces and
4471 * long doubles should be used when available.
4473 #ifndef USE_MORE_BITS
4474 /*#define USE_MORE_BITS /**/
4478 * This symbol, if defined, indicates that Perl should
4479 * be built to use multiplicity.
4481 #ifndef MULTIPLICITY
4482 /*#define MULTIPLICITY /**/
4486 * This symbol, if defined, indicates that the PerlIO abstraction should
4487 * be used throughout. If not defined, stdio should be
4488 * used in a fully backward compatible manner.
4491 /*#define USE_PERLIO /**/
4495 * This symbol, if defined, indicates that Perl should
4496 * be built to use socks.
4499 /*#define USE_SOCKS /**/