1 /* This file was produced by running the config_h.SH script, which
2 * gets its values from undef, which is generally produced by
5 * Feel free to modify any of this as the need arises. Note, however,
6 * that running config_h.SH again will wipe out any changes you've made.
7 * For a more permanent change edit undef and rerun config_h.SH.
10 /* Package name : perl5
12 * Configuration time: Wed Aug 31 22:05:09 2011
13 * Configured by : shay
21 * This symbol holds the complete pathname to the sed program.
23 #define LOC_SED "" /**/
26 * This symbol, if defined, indicates that the alarm routine is
29 #define HAS_ALARM /**/
32 * This symbol is defined if the bcmp() routine is available to
33 * compare blocks of memory.
35 /*#define HAS_BCMP / **/
38 * This symbol is defined if the bcopy() routine is available to
39 * copy blocks of memory.
41 /*#define HAS_BCOPY / **/
44 * This symbol is defined if the bzero() routine is available to
45 * set a memory block to 0.
47 /*#define HAS_BZERO / **/
50 * This symbol, if defined, indicates that the chown routine is
53 /*#define HAS_CHOWN / **/
56 * This symbol, if defined, indicates that the chroot routine is
59 /*#define HAS_CHROOT / **/
62 * This symbol, if defined, indicates that the chsize routine is available
63 * to truncate files. You might need a -lx to get this routine.
65 #define HAS_CHSIZE /**/
68 * This symbol, if defined, indicates that the crypt routine is available
69 * to encrypt passwords and the like.
71 #define HAS_CRYPT /**/
74 * This symbol, if defined, indicates that the ctermid routine is
75 * available to generate filename for terminal.
77 /*#define HAS_CTERMID / **/
80 * This symbol, if defined, indicates that the cuserid routine is
81 * available to get character login names.
83 /*#define HAS_CUSERID / **/
86 * This symbol, if defined, indicates that this system's <float.h>
87 * or <limits.h> defines the symbol DBL_DIG, which is the number
88 * of significant digits in a double precision number. If this
89 * symbol is not defined, a guess of 15 is usually pretty good.
91 #define HAS_DBL_DIG /**/
94 * This symbol, if defined, indicates that the difftime routine is
97 #define HAS_DIFFTIME /**/
100 * This symbol, if defined, indicates that the dlerror routine is
101 * available to return a string describing the last error that
102 * occurred from a call to dlopen(), dlclose() or dlsym().
104 #define HAS_DLERROR /**/
107 * This symbol, if defined, indicates that the dup2 routine is
108 * available to duplicate file descriptors.
110 #define HAS_DUP2 /**/
113 * This symbol, if defined, indicates that the fchmod routine is available
114 * to change mode of opened files. If unavailable, use chmod().
116 /*#define HAS_FCHMOD / **/
119 * This symbol, if defined, indicates that the fchown routine is available
120 * to change ownership of opened files. If unavailable, use chown().
122 /*#define HAS_FCHOWN / **/
125 * This symbol, if defined, indicates to the C program that
126 * the fcntl() function exists.
128 /*#define HAS_FCNTL / **/
131 * This symbol, if defined, indicates that the fgetpos routine is
132 * available to get the file position indicator, similar to ftell().
134 #define HAS_FGETPOS /**/
137 * This symbol, if defined, indicates that the flock routine is
138 * available to do file locking.
140 #define HAS_FLOCK /**/
143 * This symbol, if defined, indicates that the fork routine is
146 /*#define HAS_FORK / **/
149 * This symbol, if defined, indicates that the fsetpos routine is
150 * available to set the file position indicator, similar to fseek().
152 #define HAS_FSETPOS /**/
155 * This symbol, if defined, indicates that the gettimeofday() system
156 * call is available for a sub-second accuracy clock. Usually, the file
157 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
158 * The type "Timeval" should be used to refer to "struct timeval".
160 #define HAS_GETTIMEOFDAY /**/
161 #ifdef HAS_GETTIMEOFDAY
162 #define Timeval struct timeval /* Structure used by gettimeofday() */
166 * This symbol, if defined, indicates that the getgroups() routine is
167 * available to get the list of process groups. If unavailable, multiple
168 * groups are probably not supported.
170 /*#define HAS_GETGROUPS / **/
173 * This symbol, if defined, indicates that the getlogin routine is
174 * available to get the login name.
176 #define HAS_GETLOGIN /**/
179 * This symbol, if defined, indicates to the C program that
180 * the getpgid(pid) function is available to get the
183 /*#define HAS_GETPGID / **/
186 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
187 * routine is available to get the current process group.
189 /*#define HAS_GETPGRP2 / **/
192 * This symbol, if defined, indicates that the getppid routine is
193 * available to get the parent process ID.
195 /*#define HAS_GETPPID / **/
198 * This symbol, if defined, indicates that the getpriority routine is
199 * available to get a process's priority.
201 /*#define HAS_GETPRIORITY / **/
204 * This symbol, if defined, indicates to the C program that the
205 * inet_aton() function is available to parse IP address "dotted-quad"
208 /*#define HAS_INET_ATON / **/
211 * This symbol, if defined, indicates that the killpg routine is available
212 * to kill process groups. If unavailable, you probably should use kill
213 * with a negative process number.
215 #define HAS_KILLPG /**/
218 * This symbol, if defined, indicates that the link routine is
219 * available to create hard links.
221 #define HAS_LINK /**/
224 * This symbol, if defined, indicates that the localeconv routine is
225 * available for numeric and monetary formatting conventions.
227 #define HAS_LOCALECONV /**/
230 * This symbol, if defined, indicates that the lockf routine is
231 * available to do file locking.
233 /*#define HAS_LOCKF / **/
236 * This symbol, if defined, indicates that the lstat routine is
237 * available to do file stats on symbolic links.
239 /*#define HAS_LSTAT / **/
242 * This symbol, if defined, indicates that the mblen routine is available
243 * to find the number of bytes in a multibye character.
245 #define HAS_MBLEN /**/
248 * This symbol, if defined, indicates that the mbstowcs routine is
249 * available to covert a multibyte string into a wide character string.
251 #define HAS_MBSTOWCS /**/
254 * This symbol, if defined, indicates that the mbtowc routine is available
255 * to covert a multibyte to a wide character.
257 #define HAS_MBTOWC /**/
260 * This symbol, if defined, indicates that the memcmp routine is available
261 * to compare blocks of memory.
263 #define HAS_MEMCMP /**/
266 * This symbol, if defined, indicates that the memcpy routine is available
267 * to copy blocks of memory.
269 #define HAS_MEMCPY /**/
272 * This symbol, if defined, indicates that the memmove routine is available
273 * to copy potentially overlapping blocks of memory. This should be used
274 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
277 #define HAS_MEMMOVE /**/
280 * This symbol, if defined, indicates that the memset routine is available
281 * to set blocks of memory.
283 #define HAS_MEMSET /**/
286 * This symbol, if defined, indicates that the mkdir routine is available
287 * to create directories. Otherwise you should fork off a new process to
290 #define HAS_MKDIR /**/
293 * This symbol, if defined, indicates that the mkfifo routine is
294 * available to create FIFOs. Otherwise, mknod should be able to
295 * do it for you. However, if mkfifo is there, mknod might require
296 * super-user privileges which mkfifo will not.
298 /*#define HAS_MKFIFO / **/
301 * This symbol, if defined, indicates that the mktime routine is
304 #define HAS_MKTIME /**/
307 * This symbol, if defined, indicates that the msync system call is
308 * available to synchronize a mapped file.
310 /*#define HAS_MSYNC / **/
313 * This symbol, if defined, indicates that the munmap system call is
314 * available to unmap a region, usually mapped by mmap().
316 /*#define HAS_MUNMAP / **/
319 * This symbol, if defined, indicates that the nice routine is
322 /*#define HAS_NICE / **/
325 * This symbol, if defined, indicates that pathconf() is available
326 * to determine file-system related limits and options associated
327 * with a given filename.
330 * This symbol, if defined, indicates that pathconf() is available
331 * to determine file-system related limits and options associated
332 * with a given open file descriptor.
334 /*#define HAS_PATHCONF / **/
335 /*#define HAS_FPATHCONF / **/
338 * This symbol, if defined, indicates that the pause routine is
339 * available to suspend a process until a signal is received.
341 #define HAS_PAUSE /**/
344 * This symbol, if defined, indicates that the pipe routine is
345 * available to create an inter-process channel.
347 #define HAS_PIPE /**/
350 * This symbol, if defined, indicates that the poll routine is
351 * available to poll active file descriptors. Please check I_POLL and
352 * I_SYS_POLL to know which header should be included as well.
354 /*#define HAS_POLL / **/
357 * This symbol, if defined, indicates that the readdir routine is
358 * available to read directory entries. You may have to include
359 * <dirent.h>. See I_DIRENT.
361 #define HAS_READDIR /**/
364 * This symbol, if defined, indicates that the seekdir routine is
365 * available. You may have to include <dirent.h>. See I_DIRENT.
367 #define HAS_SEEKDIR /**/
370 * This symbol, if defined, indicates that the telldir routine is
371 * available. You may have to include <dirent.h>. See I_DIRENT.
373 #define HAS_TELLDIR /**/
376 * This symbol, if defined, indicates that the rewinddir routine is
377 * available. You may have to include <dirent.h>. See I_DIRENT.
379 #define HAS_REWINDDIR /**/
382 * This symbol, if defined, indicates that the readlink routine is
383 * available to read the value of a symbolic link.
385 /*#define HAS_READLINK / **/
388 * This symbol, if defined, indicates that the rename routine is available
389 * to rename files. Otherwise you should do the unlink(), link(), unlink()
392 #define HAS_RENAME /**/
395 * This symbol, if defined, indicates that the rmdir routine is
396 * available to remove directories. Otherwise you should fork off a
397 * new process to exec /bin/rmdir.
399 #define HAS_RMDIR /**/
402 * This symbol, if defined, indicates that the select routine is
403 * available to select active file descriptors. If the timeout field
404 * is used, <sys/time.h> may need to be included.
406 #define HAS_SELECT /**/
409 * This symbol, if defined, indicates that the setegid routine is available
410 * to change the effective gid of the current program.
412 /*#define HAS_SETEGID / **/
415 * This symbol, if defined, indicates that the seteuid routine is available
416 * to change the effective uid of the current program.
418 /*#define HAS_SETEUID / **/
421 * This symbol, if defined, indicates that the setgroups() routine is
422 * available to set the list of process groups. If unavailable, multiple
423 * groups are probably not supported.
425 /*#define HAS_SETGROUPS / **/
428 * This symbol, if defined, indicates that the setlinebuf routine is
429 * available to change stderr or stdout from block-buffered or unbuffered
430 * to a line-buffered mode.
432 /*#define HAS_SETLINEBUF / **/
435 * This symbol, if defined, indicates that the setlocale routine is
436 * available to handle locale-specific ctype implementations.
438 #define HAS_SETLOCALE /**/
441 * This symbol, if defined, indicates that the setpgid(pid, gpid)
442 * routine is available to set process group ID.
444 /*#define HAS_SETPGID / **/
447 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
448 * routine is available to set the current process group.
450 /*#define HAS_SETPGRP2 / **/
453 * This symbol, if defined, indicates that the setpriority routine is
454 * available to set a process's priority.
456 /*#define HAS_SETPRIORITY / **/
459 * This symbol, if defined, indicates that the setregid routine is
460 * available to change the real and effective gid of the current
464 * This symbol, if defined, indicates that the setresgid routine is
465 * available to change the real, effective and saved gid of the current
468 /*#define HAS_SETREGID / **/
469 /*#define HAS_SETRESGID / **/
472 * This symbol, if defined, indicates that the setreuid routine is
473 * available to change the real and effective uid of the current
477 * This symbol, if defined, indicates that the setresuid routine is
478 * available to change the real, effective and saved uid of the current
481 /*#define HAS_SETREUID / **/
482 /*#define HAS_SETRESUID / **/
485 * This symbol, if defined, indicates that the setrgid routine is available
486 * to change the real gid of the current program.
488 /*#define HAS_SETRGID / **/
491 * This symbol, if defined, indicates that the setruid routine is available
492 * to change the real uid of the current program.
494 /*#define HAS_SETRUID / **/
497 * This symbol, if defined, indicates that the setsid routine is
498 * available to set the process group ID.
500 /*#define HAS_SETSID / **/
503 * This symbol is defined to indicate that the strchr()/strrchr()
504 * functions are available for string searching. If not, try the
505 * index()/rindex() pair.
508 * This symbol is defined to indicate that the index()/rindex()
509 * functions are available for string searching.
511 #define HAS_STRCHR /**/
512 /*#define HAS_INDEX / **/
515 * This symbol, if defined, indicates that the strcoll routine is
516 * available to compare strings using collating information.
518 #define HAS_STRCOLL /**/
521 * This symbol, if defined, indicates that the strtod routine is
522 * available to provide better numeric string conversion than atof().
524 #define HAS_STRTOD /**/
527 * This symbol, if defined, indicates that the strtol routine is available
528 * to provide better numeric string conversion than atoi() and friends.
530 #define HAS_STRTOL /**/
533 * This symbol, if defined, indicates that the strxfrm() routine is
534 * available to transform strings.
536 #define HAS_STRXFRM /**/
539 * This symbol, if defined, indicates that the symlink routine is available
540 * to create symbolic links.
542 /*#define HAS_SYMLINK / **/
545 * This symbol, if defined, indicates that the syscall routine is
546 * available to call arbitrary system calls. If undefined, that's tough.
548 /*#define HAS_SYSCALL / **/
551 * This symbol, if defined, indicates that sysconf() is available
552 * to determine system related limits and options.
554 /*#define HAS_SYSCONF / **/
557 * This symbol, if defined, indicates that the system routine is
558 * available to issue a shell command.
560 #define HAS_SYSTEM /**/
563 * This symbol, if defined, indicates that the tcgetpgrp routine is
564 * available to get foreground process group ID.
566 /*#define HAS_TCGETPGRP / **/
569 * This symbol, if defined, indicates that the tcsetpgrp routine is
570 * available to set foreground process group ID.
572 /*#define HAS_TCSETPGRP / **/
575 * This symbol, if defined, indicates that the truncate routine is
576 * available to truncate files.
578 /*#define HAS_TRUNCATE / **/
581 * This symbol, if defined, indicates that the tzname[] array is
582 * available to access timezone names.
584 #define HAS_TZNAME /**/
587 * This symbol, if defined, indicates that the umask routine is
588 * available to set and get the value of the file creation mask.
590 #define HAS_UMASK /**/
593 * This symbol, if defined, indicates that the usleep routine is
594 * available to let the process sleep on a sub-second accuracy.
596 /*#define HAS_USLEEP / **/
599 * This symbol, if defined, indicates that wait4() exists.
601 /*#define HAS_WAIT4 / **/
604 * This symbol, if defined, indicates that the waitpid routine is
605 * available to wait for child process.
607 #define HAS_WAITPID /**/
610 * This symbol, if defined, indicates that the wcstombs routine is
611 * available to convert wide character strings to multibyte strings.
613 #define HAS_WCSTOMBS /**/
616 * This symbol, if defined, indicates that the wctomb routine is available
617 * to covert a wide character to a multibyte.
619 #define HAS_WCTOMB /**/
622 * This symbol holds the type used for the second argument to
623 * getgroups() and setgroups(). Usually, this is the same as
624 * gidtype (gid_t) , but sometimes it isn't.
625 * It can be int, ushort, gid_t, etc...
626 * It may be necessary to include <sys/types.h> to get any
627 * typedef'ed information. This is only required if you have
628 * getgroups() or setgroups()..
630 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
631 #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
635 * This symbol, if defined, indicates to the C program that it should
636 * include <arpa/inet.h> to get inet_addr and friends declarations.
638 #define I_ARPA_INET /**/
641 * This symbol, if defined, indicates that <dbm.h> exists and should
645 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
646 * should be included.
648 /*#define I_DBM / **/
649 #define I_RPCSVC_DBM /**/
652 * This symbol, if defined, indicates that <dlfcn.h> exists and should
658 * This manifest constant tells the C program to include <fcntl.h>.
663 * This symbol, if defined, indicates to the C program that it should
664 * include <float.h> to get definition of symbols like DBL_MAX or
665 * DBL_MIN, i.e. machine dependent floating point values.
670 * This symbol, if defined, indicates that <gdbm.h> exists and should
673 /*#define I_GDBM / **/
676 * This symbol, if defined, indicates to the C program that it should
677 * include <limits.h> to get definition of symbols like WORD_BIT or
678 * LONG_MAX, i.e. machine dependant limitations.
680 #define I_LIMITS /**/
683 * This symbol, if defined, indicates to the C program that it should
684 * include <locale.h>.
686 #define I_LOCALE /**/
689 * This symbol, if defined, indicates to the C program that it should
695 * This symbol, if defined, indicates to the C program that it should
696 * include <memory.h>.
698 /*#define I_MEMORY / **/
701 * This symbol, if defined, indicates to the C program that it should
702 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
704 /*#define I_NETINET_IN / **/
707 * This symbol, if defined, indicates to the C program that it should
710 /*#define I_SFIO / **/
713 * This symbol, if defined, indicates that <stddef.h> exists and should
716 #define I_STDDEF /**/
719 * This symbol, if defined, indicates that <stdlib.h> exists and should
722 #define I_STDLIB /**/
725 * This symbol, if defined, indicates to the C program that it should
726 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
728 #define I_STRING /**/
731 * This symbol, if defined, indicates to the C program that it should
732 * include <sys/dir.h>.
734 /*#define I_SYS_DIR / **/
737 * This symbol, if defined, indicates to the C program that it should
738 * include <sys/file.h> to get definition of R_OK and friends.
740 /*#define I_SYS_FILE / **/
743 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
744 * be included. Otherwise, include <sgtty.h> or <termio.h>.
747 * This symbol, if defined, indicates the <sys/sockio.h> should be included
748 * to get socket ioctl options, like SIOCATMARK.
750 /*#define I_SYS_IOCTL / **/
751 /*#define I_SYS_SOCKIO / **/
754 * This symbol, if defined, indicates to the C program that it should
755 * include <sys/ndir.h>.
757 /*#define I_SYS_NDIR / **/
760 * This symbol, if defined, indicates to the C program that it should
761 * include <sys/param.h>.
763 /*#define I_SYS_PARAM / **/
766 * This symbol, if defined, indicates that the program may include
767 * <sys/poll.h>. When I_POLL is also defined, it's probably safest
768 * to only include <poll.h>.
770 /*#define I_SYS_POLL / **/
773 * This symbol, if defined, indicates to the C program that it should
774 * include <sys/resource.h>.
776 /*#define I_SYS_RESOURCE / **/
779 * This symbol, if defined, indicates to the C program that it should
780 * include <sys/select.h> in order to get definition of struct timeval.
782 /*#define I_SYS_SELECT / **/
785 * This symbol, if defined, indicates to the C program that it should
786 * include <sys/stat.h>.
788 #define I_SYS_STAT /**/
791 * This symbol, if defined, indicates to the C program that it should
792 * include <sys/times.h>.
794 /*#define I_SYS_TIMES / **/
797 * This symbol, if defined, indicates to the C program that it should
798 * include <sys/types.h>.
800 #define I_SYS_TYPES /**/
803 * This symbol, if defined, indicates to the C program that it should
804 * include <sys/un.h> to get UNIX domain socket definitions.
806 /*#define I_SYS_UN / **/
809 * This symbol, if defined, indicates to the C program that it should
810 * include <sys/wait.h>.
812 /*#define I_SYS_WAIT / **/
815 * This symbol, if defined, indicates that the program should include
816 * <termio.h> rather than <sgtty.h>. There are also differences in
817 * the ioctl() calls that depend on the value of this symbol.
820 * This symbol, if defined, indicates that the program should include
821 * the POSIX termios.h rather than sgtty.h or termio.h.
822 * There are also differences in the ioctl() calls that depend on the
823 * value of this symbol.
826 * This symbol, if defined, indicates that the program should include
827 * <sgtty.h> rather than <termio.h>. There are also differences in
828 * the ioctl() calls that depend on the value of this symbol.
830 /*#define I_TERMIO / **/
831 /*#define I_TERMIOS / **/
832 /*#define I_SGTTY / **/
835 * This symbol, if defined, indicates to the C program that it should
836 * include <unistd.h>.
838 /*#define I_UNISTD / **/
841 * This symbol, if defined, indicates to the C program that it should
847 * This symbol, if defined, indicates to the C program that it should
848 * include <values.h> to get definition of symbols like MINFLOAT or
849 * MAXLONG, i.e. machine dependant limitations. Probably, you
850 * should use <limits.h> instead, if it is available.
852 /*#define I_VALUES / **/
855 * This symbol, if defined, indicates to the C program that it should
858 /*#define I_VFORK / **/
861 * This variable is defined on systems supporting prototype declaration
862 * of functions with a variable number of arguments.
865 * This macro is used to declare function parameters in prototypes for
866 * functions with a variable number of parameters. Use double parentheses.
869 * int printf _V((char *fmt, ...));
871 * Remember to use the plain simple _() macro when declaring a function
872 * with no variable number of arguments, since it might be possible to
873 * have a non-effect _V() macro and still get prototypes via _().
875 /*#define CAN_VAPROTO / **/
877 #define _V(args) args
883 * This symbol contains the value of sizeof(int) so that the C
884 * preprocessor can make decisions based on it.
887 * This symbol contains the value of sizeof(long) so that the C
888 * preprocessor can make decisions based on it.
891 * This symbol contains the value of sizeof(short) so that the C
892 * preprocessor can make decisions based on it.
894 #define INTSIZE 4 /**/
895 #define LONGSIZE 4 /**/
896 #define SHORTSIZE 2 /**/
899 * This symbol, if defined, signifies that the build
900 * process will produce some binary files that are going to be
901 * used in a cross-platform environment. This is the case for
902 * example with the NeXT "fat" binaries that contain executables
905 /*#define MULTIARCH / **/
908 * This symbol, if defined, tells that there's a 64-bit integer type,
909 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
910 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, QUAD_IS_INT64_T,
911 * or QUAD_IS___INT64.
913 #define HAS_QUAD /**/
916 # define Quad_t __int64 /**/
917 # define Uquad_t unsigned __int64 /**/
918 # define QUADKIND 5 /**/
920 # define Quad_t long long /**/
921 # define Uquad_t unsigned long long /**/
922 # define QUADKIND 3 /**/
924 # define QUAD_IS_INT 1
925 # define QUAD_IS_LONG 2
926 # define QUAD_IS_LONG_LONG 3
927 # define QUAD_IS_INT64_T 4
928 # define QUAD_IS___INT64 5
931 /* USE_CROSS_COMPILE:
932 * This symbol, if defined, indicates that Perl is being cross-compiled.
935 * This symbol, if defined, indicates the target architecture
936 * Perl has been cross-compiled to. Undefined if not a cross-compile.
938 #ifndef USE_CROSS_COMPILE
939 /*#define USE_CROSS_COMPILE / **/
940 #define PERL_TARGETARCH "" /**/
944 * This symbol contains the number of bytes required to align a
945 * double, or a long double when applicable. Usual values are 2,
946 * 4 and 8. The default is eight, for safety.
948 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
949 # define MEM_ALIGNBYTES 8
951 #define MEM_ALIGNBYTES 8
955 * This variable, if defined, holds the name of the directory in
956 * which the user wants to put architecture-dependent public
957 * library files for perl5. It is most often a local directory
958 * such as /usr/local/lib. Programs using this variable must be
959 * prepared to deal with filename expansion. If ARCHLIB is the
960 * same as PRIVLIB, it is not defined, since presumably the
961 * program already searches PRIVLIB.
964 * This symbol contains the ~name expanded version of ARCHLIB, to be used
965 * in programs that are not prepared to deal with ~ expansion at run-time.
967 #define ARCHLIB "c:\\perl\\lib" /**/
968 /*#define ARCHLIB_EXP "" / **/
971 * This symbol holds a string representing the architecture name.
972 * It may be used to construct an architecture-dependant pathname
973 * where library files may be held under a private library, for
976 #define ARCHNAME "MSWin32-x86" /**/
979 * This symbol holds the path of the bin directory where the package will
980 * be installed. Program must be prepared to deal with ~name substitution.
983 * This symbol is the filename expanded version of the BIN symbol, for
984 * programs that do not want to deal with that at run-time.
986 /* PERL_RELOCATABLE_INC:
987 * This symbol, if defined, indicates that we'd like to relocate entries
988 * in @INC at run time based on the location of the perl binary.
990 #define BIN "c:\\perl\\bin" /**/
991 #define BIN_EXP "c:\\perl\\bin" /**/
992 #define PERL_RELOCATABLE_INC "undef" /**/
995 * This symbol holds the hexadecimal constant defined in byteorder,
996 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
997 * If the compiler supports cross-compiling or multiple-architecture
998 * binaries (eg. on NeXT systems), use compiler-defined macros to
999 * determine the byte order.
1000 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1001 * Binaries (MAB) on either big endian or little endian machines.
1002 * The endian-ness is available at compile-time. This only matters
1003 * for perl, where the config.h can be generated and installed on
1004 * one system, and used by a different architecture to build an
1005 * extension. Older versions of NeXT that might not have
1006 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1007 * so the default case (for NeXT) is big endian to catch them.
1008 * This might matter for NeXT 3.0.
1010 #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
1011 # ifdef __LITTLE_ENDIAN__
1013 # define BYTEORDER 0x1234
1016 # define BYTEORDER 0x12345678
1020 # ifdef __BIG_ENDIAN__
1022 # define BYTEORDER 0x4321
1025 # define BYTEORDER 0x87654321
1030 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1031 # define BYTEORDER 0x4321
1034 #define BYTEORDER 0x1234 /* large digits for MSB */
1038 * This symbol contains the size of a char, so that the C preprocessor
1039 * can make decisions based on it.
1041 #define CHARBITS 8 /**/
1044 * This symbol, if defined, indicates that the accessx routine is
1045 * available to do extended access checks.
1047 /*#define HAS_ACCESSX / **/
1050 * This symbol, if defined, indicates that the asctime_r routine
1051 * is available to asctime re-entrantly.
1054 * This symbol encodes the prototype of asctime_r.
1055 * It is zero if d_asctime_r is undef, and one of the
1056 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1059 /*#define HAS_ASCTIME_R / **/
1060 #define ASCTIME_R_PROTO 0 /**/
1063 * This symbol is defined if the C compiler can cast negative
1064 * or large floating point numbers to 32-bit ints.
1067 # define CASTI32 /**/
1071 * This symbol is defined if the C compiler can cast negative
1072 * numbers to unsigned longs, ints and shorts.
1075 * This symbol contains flags that say what difficulties the compiler
1076 * has casting odd floating values to unsigned long:
1078 * 1 = couldn't cast < 0
1079 * 2 = couldn't cast >= 0x80000000
1080 * 4 = couldn't cast in argument expression list
1082 #define CASTNEGFLOAT /**/
1083 #define CASTFLAGS 0 /**/
1086 * This symbol, if defined, indicates that the closedir() routine
1087 * does not return a value.
1089 /*#define VOID_CLOSEDIR / **/
1092 * This symbol, if defined, indicates that the crypt_r routine
1093 * is available to crypt re-entrantly.
1096 * This symbol encodes the prototype of crypt_r.
1097 * It is zero if d_crypt_r is undef, and one of the
1098 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1101 /*#define HAS_CRYPT_R / **/
1102 #define CRYPT_R_PROTO 0 /**/
1105 * This symbol, if defined, indicates that the ctermid_r routine
1106 * is available to ctermid re-entrantly.
1109 * This symbol encodes the prototype of ctermid_r.
1110 * It is zero if d_ctermid_r is undef, and one of the
1111 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
1114 /*#define HAS_CTERMID_R / **/
1115 #define CTERMID_R_PROTO 0 /**/
1118 * This symbol, if defined, indicates that the ctime_r routine
1119 * is available to ctime re-entrantly.
1122 * This symbol encodes the prototype of ctime_r.
1123 * It is zero if d_ctime_r is undef, and one of the
1124 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1127 /*#define HAS_CTIME_R / **/
1128 #define CTIME_R_PROTO 0 /**/
1131 * This symbol, if defined, indicates that the drand48_r routine
1132 * is available to drand48 re-entrantly.
1135 * This symbol encodes the prototype of drand48_r.
1136 * It is zero if d_drand48_r is undef, and one of the
1137 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1140 /*#define HAS_DRAND48_R / **/
1141 #define DRAND48_R_PROTO 0 /**/
1144 * This symbol, if defined, indicates that the eaccess routine is
1145 * available to do extended access checks.
1147 /*#define HAS_EACCESS / **/
1150 * This symbol, if defined, indicates that the endgrent_r routine
1151 * is available to endgrent re-entrantly.
1153 /* ENDGRENT_R_PROTO:
1154 * This symbol encodes the prototype of endgrent_r.
1155 * It is zero if d_endgrent_r is undef, and one of the
1156 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1159 /*#define HAS_ENDGRENT_R / **/
1160 #define ENDGRENT_R_PROTO 0 /**/
1162 /* HAS_ENDHOSTENT_R:
1163 * This symbol, if defined, indicates that the endhostent_r routine
1164 * is available to endhostent re-entrantly.
1166 /* ENDHOSTENT_R_PROTO:
1167 * This symbol encodes the prototype of endhostent_r.
1168 * It is zero if d_endhostent_r is undef, and one of the
1169 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
1172 /*#define HAS_ENDHOSTENT_R / **/
1173 #define ENDHOSTENT_R_PROTO 0 /**/
1176 * This symbol, if defined, indicates that the endnetent_r routine
1177 * is available to endnetent re-entrantly.
1179 /* ENDNETENT_R_PROTO:
1180 * This symbol encodes the prototype of endnetent_r.
1181 * It is zero if d_endnetent_r is undef, and one of the
1182 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
1185 /*#define HAS_ENDNETENT_R / **/
1186 #define ENDNETENT_R_PROTO 0 /**/
1188 /* HAS_ENDPROTOENT_R:
1189 * This symbol, if defined, indicates that the endprotoent_r routine
1190 * is available to endprotoent re-entrantly.
1192 /* ENDPROTOENT_R_PROTO:
1193 * This symbol encodes the prototype of endprotoent_r.
1194 * It is zero if d_endprotoent_r is undef, and one of the
1195 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
1198 /*#define HAS_ENDPROTOENT_R / **/
1199 #define ENDPROTOENT_R_PROTO 0 /**/
1202 * This symbol, if defined, indicates that the endpwent_r routine
1203 * is available to endpwent re-entrantly.
1205 /* ENDPWENT_R_PROTO:
1206 * This symbol encodes the prototype of endpwent_r.
1207 * It is zero if d_endpwent_r is undef, and one of the
1208 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1211 /*#define HAS_ENDPWENT_R / **/
1212 #define ENDPWENT_R_PROTO 0 /**/
1214 /* HAS_ENDSERVENT_R:
1215 * This symbol, if defined, indicates that the endservent_r routine
1216 * is available to endservent re-entrantly.
1218 /* ENDSERVENT_R_PROTO:
1219 * This symbol encodes the prototype of endservent_r.
1220 * It is zero if d_endservent_r is undef, and one of the
1221 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
1224 /*#define HAS_ENDSERVENT_R / **/
1225 #define ENDSERVENT_R_PROTO 0 /**/
1228 * This symbol, when defined, indicates presence of the fd_set typedef
1231 #define HAS_FD_SET /**/
1234 * This preprocessor macro is defined to convert a floating point
1235 * number to a string without a trailing decimal point. This
1236 * emulates the behavior of sprintf("%g"), but is sometimes much more
1237 * efficient. If gconvert() is not available, but gcvt() drops the
1238 * trailing decimal point, then gcvt() is used. If all else fails,
1239 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1240 * macro are: value, number of digits, whether trailing zeros should
1241 * be retained, and the output buffer.
1242 * The usual values are:
1243 * d_Gconvert='gconvert((x),(n),(t),(b))'
1244 * d_Gconvert='gcvt((x),(n),(b))'
1245 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1246 * The last two assume trailing zeros should not be kept.
1248 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1251 * This symbol, if defined, indicates that the getgrent_r routine
1252 * is available to getgrent re-entrantly.
1254 /* GETGRENT_R_PROTO:
1255 * This symbol encodes the prototype of getgrent_r.
1256 * It is zero if d_getgrent_r is undef, and one of the
1257 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1260 /*#define HAS_GETGRENT_R / **/
1261 #define GETGRENT_R_PROTO 0 /**/
1264 * This symbol, if defined, indicates that the getgrgid_r routine
1265 * is available to getgrgid re-entrantly.
1267 /* GETGRGID_R_PROTO:
1268 * This symbol encodes the prototype of getgrgid_r.
1269 * It is zero if d_getgrgid_r is undef, and one of the
1270 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1273 /*#define HAS_GETGRGID_R / **/
1274 #define GETGRGID_R_PROTO 0 /**/
1277 * This symbol, if defined, indicates that the getgrnam_r routine
1278 * is available to getgrnam re-entrantly.
1280 /* GETGRNAM_R_PROTO:
1281 * This symbol encodes the prototype of getgrnam_r.
1282 * It is zero if d_getgrnam_r is undef, and one of the
1283 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1286 /*#define HAS_GETGRNAM_R / **/
1287 #define GETGRNAM_R_PROTO 0 /**/
1289 /* HAS_GETHOSTBYADDR_R:
1290 * This symbol, if defined, indicates that the gethostbyaddr_r routine
1291 * is available to gethostbyaddr re-entrantly.
1293 /* GETHOSTBYADDR_R_PROTO:
1294 * This symbol encodes the prototype of gethostbyaddr_r.
1295 * It is zero if d_gethostbyaddr_r is undef, and one of the
1296 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
1299 /*#define HAS_GETHOSTBYADDR_R / **/
1300 #define GETHOSTBYADDR_R_PROTO 0 /**/
1302 /* HAS_GETHOSTBYNAME_R:
1303 * This symbol, if defined, indicates that the gethostbyname_r routine
1304 * is available to gethostbyname re-entrantly.
1306 /* GETHOSTBYNAME_R_PROTO:
1307 * This symbol encodes the prototype of gethostbyname_r.
1308 * It is zero if d_gethostbyname_r is undef, and one of the
1309 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
1312 /*#define HAS_GETHOSTBYNAME_R / **/
1313 #define GETHOSTBYNAME_R_PROTO 0 /**/
1315 /* HAS_GETHOSTENT_R:
1316 * This symbol, if defined, indicates that the gethostent_r routine
1317 * is available to gethostent re-entrantly.
1319 /* GETHOSTENT_R_PROTO:
1320 * This symbol encodes the prototype of gethostent_r.
1321 * It is zero if d_gethostent_r is undef, and one of the
1322 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
1325 /*#define HAS_GETHOSTENT_R / **/
1326 #define GETHOSTENT_R_PROTO 0 /**/
1329 * This symbol, if defined, indicates that the getlogin_r routine
1330 * is available to getlogin re-entrantly.
1332 /* GETLOGIN_R_PROTO:
1333 * This symbol encodes the prototype of getlogin_r.
1334 * It is zero if d_getlogin_r is undef, and one of the
1335 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1338 /*#define HAS_GETLOGIN_R / **/
1339 #define GETLOGIN_R_PROTO 0 /**/
1341 /* HAS_GETNETBYADDR_R:
1342 * This symbol, if defined, indicates that the getnetbyaddr_r routine
1343 * is available to getnetbyaddr re-entrantly.
1345 /* GETNETBYADDR_R_PROTO:
1346 * This symbol encodes the prototype of getnetbyaddr_r.
1347 * It is zero if d_getnetbyaddr_r is undef, and one of the
1348 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
1351 /*#define HAS_GETNETBYADDR_R / **/
1352 #define GETNETBYADDR_R_PROTO 0 /**/
1354 /* HAS_GETNETBYNAME_R:
1355 * This symbol, if defined, indicates that the getnetbyname_r routine
1356 * is available to getnetbyname re-entrantly.
1358 /* GETNETBYNAME_R_PROTO:
1359 * This symbol encodes the prototype of getnetbyname_r.
1360 * It is zero if d_getnetbyname_r is undef, and one of the
1361 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
1364 /*#define HAS_GETNETBYNAME_R / **/
1365 #define GETNETBYNAME_R_PROTO 0 /**/
1368 * This symbol, if defined, indicates that the getnetent_r routine
1369 * is available to getnetent re-entrantly.
1371 /* GETNETENT_R_PROTO:
1372 * This symbol encodes the prototype of getnetent_r.
1373 * It is zero if d_getnetent_r is undef, and one of the
1374 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
1377 /*#define HAS_GETNETENT_R / **/
1378 #define GETNETENT_R_PROTO 0 /**/
1381 * This symbol, if defined, indicates that the getpagesize system call
1382 * is available to get system page size, which is the granularity of
1383 * many memory management calls.
1385 /*#define HAS_GETPAGESIZE / **/
1387 /* HAS_GETPROTOBYNAME_R:
1388 * This symbol, if defined, indicates that the getprotobyname_r routine
1389 * is available to getprotobyname re-entrantly.
1391 /* GETPROTOBYNAME_R_PROTO:
1392 * This symbol encodes the prototype of getprotobyname_r.
1393 * It is zero if d_getprotobyname_r is undef, and one of the
1394 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
1397 /*#define HAS_GETPROTOBYNAME_R / **/
1398 #define GETPROTOBYNAME_R_PROTO 0 /**/
1400 /* HAS_GETPROTOBYNUMBER_R:
1401 * This symbol, if defined, indicates that the getprotobynumber_r routine
1402 * is available to getprotobynumber re-entrantly.
1404 /* GETPROTOBYNUMBER_R_PROTO:
1405 * This symbol encodes the prototype of getprotobynumber_r.
1406 * It is zero if d_getprotobynumber_r is undef, and one of the
1407 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
1410 /*#define HAS_GETPROTOBYNUMBER_R / **/
1411 #define GETPROTOBYNUMBER_R_PROTO 0 /**/
1413 /* HAS_GETPROTOENT_R:
1414 * This symbol, if defined, indicates that the getprotoent_r routine
1415 * is available to getprotoent re-entrantly.
1417 /* GETPROTOENT_R_PROTO:
1418 * This symbol encodes the prototype of getprotoent_r.
1419 * It is zero if d_getprotoent_r is undef, and one of the
1420 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
1423 /*#define HAS_GETPROTOENT_R / **/
1424 #define GETPROTOENT_R_PROTO 0 /**/
1427 * This symbol, if defined, indicates that the getpwent_r routine
1428 * is available to getpwent re-entrantly.
1430 /* GETPWENT_R_PROTO:
1431 * This symbol encodes the prototype of getpwent_r.
1432 * It is zero if d_getpwent_r is undef, and one of the
1433 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1436 /*#define HAS_GETPWENT_R / **/
1437 #define GETPWENT_R_PROTO 0 /**/
1440 * This symbol, if defined, indicates that the getpwnam_r routine
1441 * is available to getpwnam re-entrantly.
1443 /* GETPWNAM_R_PROTO:
1444 * This symbol encodes the prototype of getpwnam_r.
1445 * It is zero if d_getpwnam_r is undef, and one of the
1446 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1449 /*#define HAS_GETPWNAM_R / **/
1450 #define GETPWNAM_R_PROTO 0 /**/
1453 * This symbol, if defined, indicates that the getpwuid_r routine
1454 * is available to getpwuid re-entrantly.
1456 /* GETPWUID_R_PROTO:
1457 * This symbol encodes the prototype of getpwuid_r.
1458 * It is zero if d_getpwuid_r is undef, and one of the
1459 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1462 /*#define HAS_GETPWUID_R / **/
1463 #define GETPWUID_R_PROTO 0 /**/
1465 /* HAS_GETSERVBYNAME_R:
1466 * This symbol, if defined, indicates that the getservbyname_r routine
1467 * is available to getservbyname re-entrantly.
1469 /* GETSERVBYNAME_R_PROTO:
1470 * This symbol encodes the prototype of getservbyname_r.
1471 * It is zero if d_getservbyname_r is undef, and one of the
1472 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
1475 /*#define HAS_GETSERVBYNAME_R / **/
1476 #define GETSERVBYNAME_R_PROTO 0 /**/
1478 /* HAS_GETSERVBYPORT_R:
1479 * This symbol, if defined, indicates that the getservbyport_r routine
1480 * is available to getservbyport re-entrantly.
1482 /* GETSERVBYPORT_R_PROTO:
1483 * This symbol encodes the prototype of getservbyport_r.
1484 * It is zero if d_getservbyport_r is undef, and one of the
1485 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
1488 /*#define HAS_GETSERVBYPORT_R / **/
1489 #define GETSERVBYPORT_R_PROTO 0 /**/
1491 /* HAS_GETSERVENT_R:
1492 * This symbol, if defined, indicates that the getservent_r routine
1493 * is available to getservent re-entrantly.
1495 /* GETSERVENT_R_PROTO:
1496 * This symbol encodes the prototype of getservent_r.
1497 * It is zero if d_getservent_r is undef, and one of the
1498 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
1501 /*#define HAS_GETSERVENT_R / **/
1502 #define GETSERVENT_R_PROTO 0 /**/
1505 * This symbol, if defined, indicates that the getspnam_r routine
1506 * is available to getspnam re-entrantly.
1508 /* GETSPNAM_R_PROTO:
1509 * This symbol encodes the prototype of getspnam_r.
1510 * It is zero if d_getspnam_r is undef, and one of the
1511 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1514 /*#define HAS_GETSPNAM_R / **/
1515 #define GETSPNAM_R_PROTO 0 /**/
1518 * This symbol, if defined, indicates that the gmtime_r routine
1519 * is available to gmtime re-entrantly.
1522 * This symbol encodes the prototype of gmtime_r.
1523 * It is zero if d_gmtime_r is undef, and one of the
1524 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1527 /*#define HAS_GMTIME_R / **/
1528 #define GMTIME_R_PROTO 0 /**/
1531 * This symbol, if defined, indicates to the C program that
1532 * the GNU C library is being used. A better check is to use
1533 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
1535 /*#define HAS_GNULIBC / **/
1536 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1537 # define _GNU_SOURCE
1541 * This manifest constant lets the C program know that isascii
1544 #define HAS_ISASCII /**/
1547 * This symbol, if defined, indicates that the lchown routine is
1548 * available to operate on a symbolic link (instead of following the
1551 /*#define HAS_LCHOWN / **/
1554 * This symbol, if defined, indicates that the localtime_r routine
1555 * is available to localtime re-entrantly.
1557 /* LOCALTIME_R_NEEDS_TZSET:
1558 * Many libc's localtime_r implementations do not call tzset,
1559 * making them differ from localtime(), and making timezone
1560 * changes using \undef{TZ} without explicitly calling tzset
1561 * impossible. This symbol makes us call tzset before localtime_r
1563 /*#define LOCALTIME_R_NEEDS_TZSET / **/
1564 #ifdef LOCALTIME_R_NEEDS_TZSET
1565 #define L_R_TZSET tzset(),
1570 /* LOCALTIME_R_PROTO:
1571 * This symbol encodes the prototype of localtime_r.
1572 * It is zero if d_localtime_r is undef, and one of the
1573 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1576 /*#define HAS_LOCALTIME_R / **/
1577 #define LOCALTIME_R_PROTO 0 /**/
1580 * This manifest constant lets the C program know that the three
1581 * argument form of open(2) is available.
1583 /*#define HAS_OPEN3 / **/
1585 /* OLD_PTHREAD_CREATE_JOINABLE:
1586 * This symbol, if defined, indicates how to create pthread
1587 * in joinable (aka undetached) state. NOTE: not defined
1588 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1589 * (the new version of the constant).
1590 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1593 /*#define OLD_PTHREAD_CREATE_JOINABLE / **/
1595 /* HAS_PTHREAD_ATFORK:
1596 * This symbol, if defined, indicates that the pthread_atfork routine
1597 * is available to setup fork handlers.
1599 /*#define HAS_PTHREAD_ATFORK / **/
1601 /* HAS_PTHREAD_YIELD:
1602 * This symbol, if defined, indicates that the pthread_yield
1603 * routine is available to yield the execution of the current
1604 * thread. sched_yield is preferable to pthread_yield.
1607 * This symbol defines the way to yield the execution of
1608 * the current thread. Known ways are sched_yield,
1609 * pthread_yield, and pthread_yield with NULL.
1612 * This symbol, if defined, indicates that the sched_yield
1613 * routine is available to yield the execution of the current
1614 * thread. sched_yield is preferable to pthread_yield.
1616 /*#define HAS_PTHREAD_YIELD / **/
1617 #define SCHED_YIELD /**/
1618 /*#define HAS_SCHED_YIELD / **/
1621 * This symbol, if defined, indicates that the random_r routine
1622 * is available to random re-entrantly.
1625 * This symbol encodes the prototype of random_r.
1626 * It is zero if d_random_r is undef, and one of the
1627 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
1630 /*#define HAS_RANDOM_R / **/
1631 #define RANDOM_R_PROTO 0 /**/
1634 * This symbol, if defined, indicates that the readdir64_r routine
1635 * is available to readdir64 re-entrantly.
1637 /* READDIR64_R_PROTO:
1638 * This symbol encodes the prototype of readdir64_r.
1639 * It is zero if d_readdir64_r is undef, and one of the
1640 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
1643 /*#define HAS_READDIR64_R / **/
1644 #define READDIR64_R_PROTO 0 /**/
1647 * This symbol, if defined, indicates that the readdir_r routine
1648 * is available to readdir re-entrantly.
1651 * This symbol encodes the prototype of readdir_r.
1652 * It is zero if d_readdir_r is undef, and one of the
1653 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
1656 /*#define HAS_READDIR_R / **/
1657 #define READDIR_R_PROTO 0 /**/
1660 * This symbol, if defined, indicates that the bcopy routine is available
1661 * to copy potentially overlapping memory blocks. Normally, you should
1662 * probably use memmove() or memcpy(). If neither is defined, roll your
1665 /*#define HAS_SAFE_BCOPY / **/
1668 * This symbol, if defined, indicates that the memcpy routine is available
1669 * to copy potentially overlapping memory blocks. If you need to
1670 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
1671 * use memmove() instead, if available.
1673 /*#define HAS_SAFE_MEMCPY / **/
1676 * This symbol, if defined, indicates that the memcmp routine is available
1677 * and can be used to compare relative magnitudes of chars with their high
1678 * bits set. If it is not defined, roll your own version.
1680 #define HAS_SANE_MEMCMP /**/
1683 * This symbol, if defined, indicates that the setgrent_r routine
1684 * is available to setgrent re-entrantly.
1686 /* SETGRENT_R_PROTO:
1687 * This symbol encodes the prototype of setgrent_r.
1688 * It is zero if d_setgrent_r is undef, and one of the
1689 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
1692 /*#define HAS_SETGRENT_R / **/
1693 #define SETGRENT_R_PROTO 0 /**/
1695 /* HAS_SETHOSTENT_R:
1696 * This symbol, if defined, indicates that the sethostent_r routine
1697 * is available to sethostent re-entrantly.
1699 /* SETHOSTENT_R_PROTO:
1700 * This symbol encodes the prototype of sethostent_r.
1701 * It is zero if d_sethostent_r is undef, and one of the
1702 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
1705 /*#define HAS_SETHOSTENT_R / **/
1706 #define SETHOSTENT_R_PROTO 0 /**/
1709 * This symbol, if defined, indicates that the setlocale_r routine
1710 * is available to setlocale re-entrantly.
1712 /* SETLOCALE_R_PROTO:
1713 * This symbol encodes the prototype of setlocale_r.
1714 * It is zero if d_setlocale_r is undef, and one of the
1715 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
1718 /*#define HAS_SETLOCALE_R / **/
1719 #define SETLOCALE_R_PROTO 0 /**/
1722 * This symbol, if defined, indicates that the setnetent_r routine
1723 * is available to setnetent re-entrantly.
1725 /* SETNETENT_R_PROTO:
1726 * This symbol encodes the prototype of setnetent_r.
1727 * It is zero if d_setnetent_r is undef, and one of the
1728 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
1731 /*#define HAS_SETNETENT_R / **/
1732 #define SETNETENT_R_PROTO 0 /**/
1734 /* HAS_SETPROTOENT_R:
1735 * This symbol, if defined, indicates that the setprotoent_r routine
1736 * is available to setprotoent re-entrantly.
1738 /* SETPROTOENT_R_PROTO:
1739 * This symbol encodes the prototype of setprotoent_r.
1740 * It is zero if d_setprotoent_r is undef, and one of the
1741 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
1744 /*#define HAS_SETPROTOENT_R / **/
1745 #define SETPROTOENT_R_PROTO 0 /**/
1748 * This symbol, if defined, indicates that the setpwent_r routine
1749 * is available to setpwent re-entrantly.
1751 /* SETPWENT_R_PROTO:
1752 * This symbol encodes the prototype of setpwent_r.
1753 * It is zero if d_setpwent_r is undef, and one of the
1754 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
1757 /*#define HAS_SETPWENT_R / **/
1758 #define SETPWENT_R_PROTO 0 /**/
1760 /* HAS_SETSERVENT_R:
1761 * This symbol, if defined, indicates that the setservent_r routine
1762 * is available to setservent re-entrantly.
1764 /* SETSERVENT_R_PROTO:
1765 * This symbol encodes the prototype of setservent_r.
1766 * It is zero if d_setservent_r is undef, and one of the
1767 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
1770 /*#define HAS_SETSERVENT_R / **/
1771 #define SETSERVENT_R_PROTO 0 /**/
1774 * This symbol, if defined, indicates that Vr4's sigaction() routine
1777 /*#define HAS_SIGACTION / **/
1780 * This variable indicates to the C program that the sigsetjmp()
1781 * routine is available to save the calling process's registers
1782 * and stack environment for later use by siglongjmp(), and
1783 * to optionally save the process's signal mask. See
1784 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
1787 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1790 * This macro is used in the same way as sigsetjmp(), but will invoke
1791 * traditional setjmp() if sigsetjmp isn't available.
1792 * See HAS_SIGSETJMP.
1795 * This macro is used in the same way as siglongjmp(), but will invoke
1796 * traditional longjmp() if siglongjmp isn't available.
1797 * See HAS_SIGSETJMP.
1799 /*#define HAS_SIGSETJMP / **/
1800 #ifdef HAS_SIGSETJMP
1801 #define Sigjmp_buf sigjmp_buf
1802 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1803 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1805 #define Sigjmp_buf jmp_buf
1806 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1807 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1811 * This symbol, if defined, indicates that the srand48_r routine
1812 * is available to srand48 re-entrantly.
1815 * This symbol encodes the prototype of srand48_r.
1816 * It is zero if d_srand48_r is undef, and one of the
1817 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
1820 /*#define HAS_SRAND48_R / **/
1821 #define SRAND48_R_PROTO 0 /**/
1824 * This symbol, if defined, indicates that the srandom_r routine
1825 * is available to srandom re-entrantly.
1828 * This symbol encodes the prototype of srandom_r.
1829 * It is zero if d_srandom_r is undef, and one of the
1830 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
1833 /*#define HAS_SRANDOM_R / **/
1834 #define SRANDOM_R_PROTO 0 /**/
1837 * This symbol is defined if the _ptr and _cnt fields (or similar)
1838 * of the stdio FILE structure can be used to access the stdio buffer
1839 * for a file handle. If this is defined, then the FILE_ptr(fp)
1840 * and FILE_cnt(fp) macros will also be defined and should be used
1841 * to access these fields.
1844 * This macro is used to access the _ptr field (or equivalent) of the
1845 * FILE structure pointed to by its argument. This macro will always be
1846 * defined if USE_STDIO_PTR is defined.
1848 /* STDIO_PTR_LVALUE:
1849 * This symbol is defined if the FILE_ptr macro can be used as an
1853 * This macro is used to access the _cnt field (or equivalent) of the
1854 * FILE structure pointed to by its argument. This macro will always be
1855 * defined if USE_STDIO_PTR is defined.
1857 /* STDIO_CNT_LVALUE:
1858 * This symbol is defined if the FILE_cnt macro can be used as an
1861 /* STDIO_PTR_LVAL_SETS_CNT:
1862 * This symbol is defined if using the FILE_ptr macro as an lvalue
1863 * to increase the pointer by n has the side effect of decreasing the
1864 * value of File_cnt(fp) by n.
1866 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
1867 * This symbol is defined if using the FILE_ptr macro as an lvalue
1868 * to increase the pointer by n leaves File_cnt(fp) unchanged.
1870 #define USE_STDIO_PTR /**/
1871 #ifdef USE_STDIO_PTR
1872 #define FILE_ptr(fp) ((fp)->_ptr)
1873 #define STDIO_PTR_LVALUE /**/
1874 #define FILE_cnt(fp) ((fp)->_cnt)
1875 #define STDIO_CNT_LVALUE /**/
1876 /*#define STDIO_PTR_LVAL_SETS_CNT / **/
1877 #define STDIO_PTR_LVAL_NOCHANGE_CNT /**/
1881 * This symbol is defined if the _base field (or similar) of the
1882 * stdio FILE structure can be used to access the stdio buffer for
1883 * a file handle. If this is defined, then the FILE_base(fp) macro
1884 * will also be defined and should be used to access this field.
1885 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1886 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1887 * will never be defined unless USE_STDIO_PTR is.
1890 * This macro is used to access the _base field (or equivalent) of the
1891 * FILE structure pointed to by its argument. This macro will always be
1892 * defined if USE_STDIO_BASE is defined.
1895 * This macro is used to determine the number of bytes in the I/O
1896 * buffer pointed to by _base field (or equivalent) of the FILE
1897 * structure pointed to its argument. This macro will always be defined
1898 * if USE_STDIO_BASE is defined.
1900 #define USE_STDIO_BASE /**/
1901 #ifdef USE_STDIO_BASE
1902 #define FILE_base(fp) ((fp)->_base)
1903 #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
1907 * This symbol, if defined, indicates that the strerror_r routine
1908 * is available to strerror re-entrantly.
1910 /* STRERROR_R_PROTO:
1911 * This symbol encodes the prototype of strerror_r.
1912 * It is zero if d_strerror_r is undef, and one of the
1913 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
1916 /*#define HAS_STRERROR_R / **/
1917 #define STRERROR_R_PROTO 0 /**/
1920 * This symbol, if defined, indicates that the tmpnam_r routine
1921 * is available to tmpnam re-entrantly.
1924 * This symbol encodes the prototype of tmpnam_r.
1925 * It is zero if d_tmpnam_r is undef, and one of the
1926 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
1929 /*#define HAS_TMPNAM_R / **/
1930 #define TMPNAM_R_PROTO 0 /**/
1933 * This symbol, if defined, indicates that the ttyname_r routine
1934 * is available to ttyname re-entrantly.
1937 * This symbol encodes the prototype of ttyname_r.
1938 * It is zero if d_ttyname_r is undef, and one of the
1939 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
1942 /*#define HAS_TTYNAME_R / **/
1943 #define TTYNAME_R_PROTO 0 /**/
1946 * This symbol, if defined, indicates that the vprintf routine is available
1947 * to printf with a pointer to an argument list. If unavailable, you
1948 * may need to write your own, probably in terms of _doprnt().
1950 /* USE_CHAR_VSPRINTF:
1951 * This symbol is defined if this system has vsprintf() returning type
1952 * (char*). The trend seems to be to declare it as "int vsprintf()". It
1953 * is up to the package author to declare vsprintf correctly based on the
1956 #define HAS_VPRINTF /**/
1957 /*#define USE_CHAR_VSPRINTF / **/
1960 * This symbol contains the size of a double, so that the C preprocessor
1961 * can make decisions based on it.
1963 #define DOUBLESIZE 8 /**/
1966 * This symbol, if defined, indicates to the C program that it should
1967 * include <mach/cthreads.h>.
1969 /*#define I_MACH_CTHREADS / **/
1972 * This symbol, if defined, indicates to the C program that it should
1973 * include <pthread.h>.
1975 /*#define I_PTHREAD / **/
1978 * This symbol, if defined, indicates to the C program that it should
1979 * include <sys/access.h>.
1981 /*#define I_SYS_ACCESS / **/
1984 * This symbol, if defined, indicates to the C program that it should
1985 * include <sys/security.h>.
1987 /*#define I_SYS_SECURITY / **/
1990 * This symbol, if defined, indicates to the C program that it should
1994 * This symbol, if defined, indicates to the C program that it should
1995 * include <sys/time.h>.
1997 /* I_SYS_TIME_KERNEL:
1998 * This symbol, if defined, indicates to the C program that it should
1999 * include <sys/time.h> with KERNEL defined.
2002 * This symbol, if defined, indicates to the C program that
2003 * the struct tm has a tm_zone field.
2005 /* HAS_TM_TM_GMTOFF:
2006 * This symbol, if defined, indicates to the C program that
2007 * the struct tm has a tm_gmtoff field.
2010 /*#define I_SYS_TIME / **/
2011 /*#define I_SYS_TIME_KERNEL / **/
2012 /*#define HAS_TM_TM_ZONE / **/
2013 /*#define HAS_TM_TM_GMTOFF / **/
2015 /* PERL_INC_VERSION_LIST:
2016 * This variable specifies the list of subdirectories in over
2017 * which perl.c:incpush() and lib/lib.pm will automatically
2018 * search when adding directories to @INC, in a format suitable
2019 * for a C initialization string. See the inc_version_list entry
2020 * in Porting/Glossary for more details.
2022 /*#define PERL_INC_VERSION_LIST 0 / **/
2024 /* INSTALL_USR_BIN_PERL:
2025 * This symbol, if defined, indicates that Perl is to be installed
2026 * also as /usr/bin/perl.
2028 /*#define INSTALL_USR_BIN_PERL / **/
2031 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2032 * non-blocking I/O for the file descriptor. Note that there is no way
2033 * back, i.e. you cannot turn it blocking again this way. If you wish to
2034 * alternatively switch between blocking and non-blocking, use the
2035 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
2038 * This symbol holds the errno error code set by read() when no data was
2039 * present on the non-blocking file descriptor.
2042 * This symbol holds the return code from read() when no data is present
2043 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
2044 * not defined, then you can't distinguish between no data and EOF by
2045 * issuing a read(). You'll have to find another way to tell for sure!
2048 * This symbol, if defined, indicates to the C program that a read() on
2049 * a non-blocking file descriptor will return 0 on EOF, and not the value
2050 * held in RD_NODATA (-1 usually, in that case!).
2052 #define VAL_O_NONBLOCK O_NONBLOCK
2053 #define VAL_EAGAIN EAGAIN
2054 #define RD_NODATA -1
2055 #define EOF_NONBLOCK
2057 /* PERL_OTHERLIBDIRS:
2058 * This variable contains a colon-separated set of paths for the perl
2059 * binary to search for additional library files or modules.
2060 * These directories will be tacked to the end of @INC.
2061 * Perl will automatically search below each path for version-
2062 * and architecture-specific directories. See PERL_INC_VERSION_LIST
2065 /*#define PERL_OTHERLIBDIRS "" / **/
2068 * This symbol contains the name of the private library for this package.
2069 * The library is private in the sense that it needn't be in anyone's
2070 * execution path, but it should be accessible by the world. The program
2071 * should be prepared to do ~ expansion.
2074 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2075 * in programs that are not prepared to deal with ~ expansion at run-time.
2077 #define PRIVLIB "c:\\perl\\lib" /**/
2078 #define PRIVLIB_EXP (win32_get_privlib(PERL_VERSION_STRING, NULL)) /**/
2081 * This symbol contains the size of a pointer, so that the C preprocessor
2082 * can make decisions based on it. It will be sizeof(void *) if
2083 * the compiler supports (void *); otherwise it will be
2086 #define PTRSIZE 8 /**/
2089 * This macro is to be used to generate uniformly distributed
2090 * random numbers over the range [0., 1.[. You may have to supply
2091 * an 'extern double drand48();' in your program since SunOS 4.1.3
2092 * doesn't provide you with anything relevant in its headers.
2093 * See HAS_DRAND48_PROTO.
2096 * This symbol defines the type of the argument of the
2097 * random seed function.
2100 * This symbol defines the macro to be used in seeding the
2101 * random number generator (see Drand01).
2104 * This symbol indicates how many bits are produced by the
2105 * function used to generate normalized random numbers.
2106 * Values include 15, 16, 31, and 48.
2108 #define Drand01() (rand()/(double)((unsigned)1<<RANDBITS)) /**/
2109 #define Rand_seed_t unsigned /**/
2110 #define seedDrand01(x) srand((Rand_seed_t)x) /**/
2111 #define RANDBITS 15 /**/
2114 * This symbol contains the name of the private library for this package.
2115 * The library is private in the sense that it needn't be in anyone's
2116 * execution path, but it should be accessible by the world. The program
2117 * should be prepared to do ~ expansion.
2118 * The standard distribution will put nothing in this directory.
2119 * After perl has been installed, users may install their own local
2120 * architecture-dependent modules in this directory with
2121 * MakeMaker Makefile.PL
2122 * or equivalent. See INSTALL for details.
2125 * This symbol contains the ~name expanded version of SITEARCH, to be used
2126 * in programs that are not prepared to deal with ~ expansion at run-time.
2128 #define SITEARCH "c:\\perl\\site\\lib" /**/
2129 /*#define SITEARCH_EXP "" / **/
2132 * This symbol contains the name of the private library for this package.
2133 * The library is private in the sense that it needn't be in anyone's
2134 * execution path, but it should be accessible by the world. The program
2135 * should be prepared to do ~ expansion.
2136 * The standard distribution will put nothing in this directory.
2137 * After perl has been installed, users may install their own local
2138 * architecture-independent modules in this directory with
2139 * MakeMaker Makefile.PL
2140 * or equivalent. See INSTALL for details.
2143 * This symbol contains the ~name expanded version of SITELIB, to be used
2144 * in programs that are not prepared to deal with ~ expansion at run-time.
2147 * This define is SITELIB_EXP with any trailing version-specific component
2148 * removed. The elements in inc_version_list (inc_version_list.U) can
2149 * be tacked onto this variable to generate a list of directories to search.
2151 #define SITELIB "c:\\perl\\site\\lib" /**/
2152 #define SITELIB_EXP (win32_get_sitelib(PERL_VERSION_STRING, NULL)) /**/
2153 #define SITELIB_STEM "" /**/
2156 * This symbol holds the type used by functions that return
2157 * a count of bytes or an error condition. It must be a signed type.
2158 * It is usually ssize_t, but may be long or int, etc.
2159 * It may be necessary to include <sys/types.h> or <unistd.h>
2160 * to get any typedef'ed information.
2161 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
2164 # define SSize_t __int64 /* signed count of bytes */
2166 # define SSize_t long long /* signed count of bytes */
2170 * This symbol, if defined, indicates that Perl should be built to
2171 * use the interpreter-based threading implementation.
2174 * This symbol, if defined, indicates that Perl should be built to
2175 * use the 5.005-based threading implementation.
2176 * Only valid up to 5.8.x.
2178 /* OLD_PTHREADS_API:
2179 * This symbol, if defined, indicates that Perl should
2180 * be built to use the old draft POSIX threads API.
2182 /* USE_REENTRANT_API:
2183 * This symbol, if defined, indicates that Perl should
2184 * try to use the various _r versions of library functions.
2185 * This is extremely experimental.
2187 /*#define USE_5005THREADS / **/
2188 /*#define USE_ITHREADS / **/
2189 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
2190 #define USE_THREADS /* until src is revised*/
2192 /*#define OLD_PTHREADS_API / **/
2193 /*#define USE_REENTRANT_API / **/
2196 * If defined, this symbol contains the name of a private library.
2197 * The library is private in the sense that it needn't be in anyone's
2198 * execution path, but it should be accessible by the world.
2199 * It may have a ~ on the front.
2200 * The standard distribution will put nothing in this directory.
2201 * Vendors who distribute perl may wish to place their own
2202 * architecture-dependent modules and extensions in this directory with
2203 * MakeMaker Makefile.PL INSTALLDIRS=vendor
2204 * or equivalent. See INSTALL for details.
2206 /* PERL_VENDORARCH_EXP:
2207 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
2208 * in programs that are not prepared to deal with ~ expansion at run-time.
2210 /*#define PERL_VENDORARCH "" / **/
2211 /*#define PERL_VENDORARCH_EXP "" / **/
2213 /* PERL_VENDORLIB_EXP:
2214 * This symbol contains the ~name expanded version of VENDORLIB, to be used
2215 * in programs that are not prepared to deal with ~ expansion at run-time.
2217 /* PERL_VENDORLIB_STEM:
2218 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
2219 * removed. The elements in inc_version_list (inc_version_list.U) can
2220 * be tacked onto this variable to generate a list of directories to search.
2222 /*#define PERL_VENDORLIB_EXP "" / **/
2223 /*#define PERL_VENDORLIB_STEM "" / **/
2225 /* HAS_STATIC_INLINE:
2226 * This symbol, if defined, indicates that the C compiler supports
2227 * C99-style static inline. That is, the function can't be called
2228 * from another translation unit.
2230 /* PERL_STATIC_INLINE:
2231 * This symbol gives the best-guess incantation to use for static
2232 * inline functions. If HAS_STATIC_INLINE is defined, this will
2233 * give C99-style inline. If HAS_STATIC_INLINE is not defined,
2234 * this will give a plain 'static'. It will always be defined
2235 * to something that gives static linkage.
2236 * Possibilities include
2237 * static inline (c99)
2238 * static __inline__ (gcc -ansi)
2239 * static __inline (MSVC)
2240 * static _inline (older MSVC)
2241 * static (c89 compilers)
2243 #define HAS_STATIC_INLINE /**/
2245 # define PERL_STATIC_INLINE static __inline /**/
2247 # define PERL_STATIC_INLINE static __inline__ /**/
2251 * This symbol, if defined, indicates that this system uses
2254 /*#define EBCDIC / **/
2257 * This symbol contains the name of the operating system, as determined
2258 * by Configure. You shouldn't rely on it too much; the specific
2259 * feature tests from Configure are generally more reliable.
2262 * This symbol contains the version of the operating system, as determined
2263 * by Configure. You shouldn't rely on it too much; the specific
2264 * feature tests from Configure are generally more reliable.
2266 #define OSNAME "MSWin32" /**/
2267 #define OSVERS "5.1" /**/
2270 * This macro concatenates 2 tokens together.
2273 * This macro surrounds its token with double quotes.
2276 #define CAT2(a,b) a/**/b
2277 #define STRINGIFY(a) "a"
2280 #define PeRl_CaTiFy(a, b) a ## b
2281 #define PeRl_StGiFy(a) #a
2282 #define CAT2(a,b) PeRl_CaTiFy(a,b)
2283 #define StGiFy(a) PeRl_StGiFy(a)
2284 #define STRINGIFY(a) PeRl_StGiFy(a)
2286 #if 42 != 1 && 42 != 42
2287 #include "Bletch: How does this C preprocessor concatenate tokens?"
2291 * This symbol contains the first part of the string which will invoke
2292 * the C preprocessor on the standard input and produce to standard
2293 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
2294 * call a wrapper. See CPPRUN.
2297 * This symbol contains the second part of the string which will invoke
2298 * the C preprocessor on the standard input and produce to standard
2299 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
2300 * to specify standard input, otherwise the value is "".
2303 * This symbol contains the string which will invoke a C preprocessor on
2304 * the standard input and produce to standard output. It needs to end
2305 * with CPPLAST, after all other preprocessor flags have been specified.
2306 * The main difference with CPPSTDIN is that this program will never be a
2307 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
2308 * available directly to the user. Note that it may well be different from
2309 * the preprocessor used to compile the C program.
2312 * This symbol is intended to be used along with CPPRUN in the same manner
2313 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
2316 # define CPPSTDIN "cppstdin"
2317 # define CPPMINUS ""
2318 # define CPPRUN "cl -nologo -E"
2320 # define CPPSTDIN "gcc -E"
2321 # define CPPMINUS "-"
2322 # define CPPRUN "gcc -E"
2327 * This manifest constant lets the C program know that the access()
2328 * system call is available to check for accessibility using real UID/GID.
2329 * (always present on UNIX.)
2331 #define HAS_ACCESS /**/
2333 /* HASATTRIBUTE_FORMAT:
2334 * Can we handle GCC attribute for checking printf-style formats
2336 /* PRINTF_FORMAT_NULL_OK:
2337 * Allows __printf__ format to be null when checking printf-style
2339 /* HASATTRIBUTE_MALLOC:
2340 * Can we handle GCC attribute for malloc-style functions.
2342 /* HASATTRIBUTE_NONNULL:
2343 * Can we handle GCC attribute for nonnull function parms.
2345 /* HASATTRIBUTE_NORETURN:
2346 * Can we handle GCC attribute for functions that do not return
2348 /* HASATTRIBUTE_PURE:
2349 * Can we handle GCC attribute for pure functions
2351 /* HASATTRIBUTE_UNUSED:
2352 * Can we handle GCC attribute for unused variables and arguments
2354 /* HASATTRIBUTE_DEPRECATED:
2355 * Can we handle GCC attribute for marking deprecated APIs
2357 /* HASATTRIBUTE_WARN_UNUSED_RESULT:
2358 * Can we handle GCC attribute for warning on unused results
2360 /*#define HASATTRIBUTE_DEPRECATED / **/
2361 /*#define HASATTRIBUTE_FORMAT / **/
2362 /*#define PRINTF_FORMAT_NULL_OK / **/
2363 /*#define HASATTRIBUTE_NORETURN / **/
2364 /*#define HASATTRIBUTE_MALLOC / **/
2365 /*#define HASATTRIBUTE_NONNULL / **/
2366 /*#define HASATTRIBUTE_PURE / **/
2367 /*#define HASATTRIBUTE_UNUSED / **/
2368 /*#define HASATTRIBUTE_WARN_UNUSED_RESULT / **/
2371 * This symbol, if defined, indicates that this C compiler knows about
2372 * the const type. There is no need to actually test for that symbol
2373 * within your programs. The mere use of the "const" keyword will
2374 * trigger the necessary tests.
2376 #define HASCONST /**/
2382 * This symbol, if defined, indicates that the C-shell exists.
2385 * This symbol, if defined, contains the full pathname of csh.
2387 /*#define HAS_CSH / **/
2392 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
2393 * This symbol, if defined, indicates that the bug that prevents
2394 * setuid scripts from being secure is not present in this kernel.
2397 * This symbol, if defined, indicates that the C program should
2398 * check the script that it is executing for setuid/setgid bits, and
2399 * attempt to emulate setuid/setgid on systems that have disabled
2400 * setuid #! scripts because the kernel can't do it securely.
2401 * It is up to the package designer to make sure that this emulation
2402 * is done securely. Among other things, it should do an fstat on
2403 * the script it just opened to make sure it really is a setuid/setgid
2404 * script, it should make sure the arguments passed correspond exactly
2405 * to the argument on the #! line, and it should not trust any
2406 * subprocesses to which it must pass the filename rather than the
2407 * file descriptor of the script to be executed.
2409 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/
2410 /*#define DOSUID / **/
2413 * This symbol, if defined, indicates that the getgrent routine is
2414 * available for finalizing sequential access of the group database.
2416 /*#define HAS_ENDGRENT / **/
2419 * This symbol, if defined, indicates that the endhostent() routine is
2420 * available to close whatever was being used for host queries.
2422 /*#define HAS_ENDHOSTENT / **/
2425 * This symbol, if defined, indicates that the endnetent() routine is
2426 * available to close whatever was being used for network queries.
2428 /*#define HAS_ENDNETENT / **/
2431 * This symbol, if defined, indicates that the endprotoent() routine is
2432 * available to close whatever was being used for protocol queries.
2434 /*#define HAS_ENDPROTOENT / **/
2437 * This symbol, if defined, indicates that the getgrent routine is
2438 * available for finalizing sequential access of the passwd database.
2440 /*#define HAS_ENDPWENT / **/
2443 * This symbol, if defined, indicates that the endservent() routine is
2444 * available to close whatever was being used for service queries.
2446 /*#define HAS_ENDSERVENT / **/
2449 * This symbol, if defined, indicates that the system supports filenames
2450 * longer than 14 characters.
2452 #define FLEXFILENAMES /**/
2455 * This symbol, if defined, indicates that the getgrent routine is
2456 * available for sequential access of the group database.
2458 /*#define HAS_GETGRENT / **/
2460 /* HAS_GETHOSTBYADDR:
2461 * This symbol, if defined, indicates that the gethostbyaddr() routine is
2462 * available to look up hosts by their IP addresses.
2464 #define HAS_GETHOSTBYADDR /**/
2466 /* HAS_GETHOSTBYNAME:
2467 * This symbol, if defined, indicates that the gethostbyname() routine is
2468 * available to look up host names in some data base or other.
2470 #define HAS_GETHOSTBYNAME /**/
2473 * This symbol, if defined, indicates that the gethostent() routine is
2474 * available to look up host names in some data base or another.
2476 /*#define HAS_GETHOSTENT / **/
2479 * This symbol, if defined, indicates that the C program may use the
2480 * gethostname() routine to derive the host name. See also HAS_UNAME
2484 * This symbol, if defined, indicates that the C program may use the
2485 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
2489 * This symbol, if defined, indicates the command to feed to the
2490 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
2491 * and HAS_UNAME. Note that the command uses a fully qualified path,
2492 * so that it is safe even if used by a process with super-user
2496 * This symbol, if defined, indicates that the C program may use the
2497 * contents of PHOSTNAME as a command to feed to the popen() routine
2498 * to derive the host name.
2500 #define HAS_GETHOSTNAME /**/
2501 #define HAS_UNAME /**/
2502 /*#define HAS_PHOSTNAME / **/
2503 #ifdef HAS_PHOSTNAME
2504 #define PHOSTNAME "" /* How to get the host name */
2507 /* HAS_GETNETBYADDR:
2508 * This symbol, if defined, indicates that the getnetbyaddr() routine is
2509 * available to look up networks by their IP addresses.
2511 /*#define HAS_GETNETBYADDR / **/
2513 /* HAS_GETNETBYNAME:
2514 * This symbol, if defined, indicates that the getnetbyname() routine is
2515 * available to look up networks by their names.
2517 /*#define HAS_GETNETBYNAME / **/
2520 * This symbol, if defined, indicates that the getnetent() routine is
2521 * available to look up network names in some data base or another.
2523 /*#define HAS_GETNETENT / **/
2526 * This symbol, if defined, indicates that the getprotoent() routine is
2527 * available to look up protocols in some data base or another.
2529 /*#define HAS_GETPROTOENT / **/
2532 * This symbol, if defined, indicates that the getpgrp routine is
2533 * available to get the current process group.
2536 * This symbol, if defined, indicates that getpgrp needs one
2537 * arguments whereas USG one needs none.
2539 /*#define HAS_GETPGRP / **/
2540 /*#define USE_BSD_GETPGRP / **/
2542 /* HAS_GETPROTOBYNAME:
2543 * This symbol, if defined, indicates that the getprotobyname()
2544 * routine is available to look up protocols by their name.
2546 /* HAS_GETPROTOBYNUMBER:
2547 * This symbol, if defined, indicates that the getprotobynumber()
2548 * routine is available to look up protocols by their number.
2550 #define HAS_GETPROTOBYNAME /**/
2551 #define HAS_GETPROTOBYNUMBER /**/
2554 * This symbol, if defined, indicates that the getpwent routine is
2555 * available for sequential access of the passwd database.
2556 * If this is not available, the older getpw() function may be available.
2558 /*#define HAS_GETPWENT / **/
2561 * This symbol, if defined, indicates that the getservent() routine is
2562 * available to look up network services in some data base or another.
2564 /*#define HAS_GETSERVENT / **/
2566 /* HAS_GETSERVBYNAME:
2567 * This symbol, if defined, indicates that the getservbyname()
2568 * routine is available to look up services by their name.
2570 /* HAS_GETSERVBYPORT:
2571 * This symbol, if defined, indicates that the getservbyport()
2572 * routine is available to look up services by their port.
2574 #define HAS_GETSERVBYNAME /**/
2575 #define HAS_GETSERVBYPORT /**/
2578 * This symbol, if defined, indicates that the htonl() routine (and
2579 * friends htons() ntohl() ntohs()) are available to do network
2580 * order byte swapping.
2583 * This symbol, if defined, indicates that the htons() routine (and
2584 * friends htonl() ntohl() ntohs()) are available to do network
2585 * order byte swapping.
2588 * This symbol, if defined, indicates that the ntohl() routine (and
2589 * friends htonl() htons() ntohs()) are available to do network
2590 * order byte swapping.
2593 * This symbol, if defined, indicates that the ntohs() routine (and
2594 * friends htonl() htons() ntohl()) are available to do network
2595 * order byte swapping.
2597 #define HAS_HTONL /**/
2598 #define HAS_HTONS /**/
2599 #define HAS_NTOHL /**/
2600 #define HAS_NTOHS /**/
2603 * This symbol will be defined if the C compiler supports long
2607 * This symbol contains the size of a long double, so that the
2608 * C preprocessor can make decisions based on it. It is only
2609 * defined if the system supports long doubles.
2611 #define HAS_LONG_DOUBLE /**/
2612 #ifdef HAS_LONG_DOUBLE
2614 # define LONG_DOUBLESIZE 8 /**/
2616 # define LONG_DOUBLESIZE 12 /**/
2621 * This symbol will be defined if the C compiler supports long long.
2624 * This symbol contains the size of a long long, so that the
2625 * C preprocessor can make decisions based on it. It is only
2626 * defined if the system supports long long.
2629 # define HAS_LONG_LONG /**/
2631 #ifdef HAS_LONG_LONG
2632 #define LONGLONGSIZE 8 /**/
2636 * This symbol, if defined, indicates that the memchr routine is available
2637 * to locate characters within a C string.
2639 #define HAS_MEMCHR /**/
2642 * This symbol, if defined, indicates that the mkstemp routine is
2643 * available to exclusively create and open a uniquely named
2646 /*#define HAS_MKSTEMP / **/
2649 * This symbol, if defined, indicates that the mmap system call is
2650 * available to map a file into memory.
2653 * This symbol holds the return type of the mmap() system call
2654 * (and simultaneously the type of the first argument).
2655 * Usually set to 'void *' or 'caddr_t'.
2657 /*#define HAS_MMAP / **/
2658 #define Mmap_t void * /**/
2661 * This symbol, if defined, indicates that the entire msg*(2) library is
2662 * supported (IPC mechanism based on message queues).
2664 /*#define HAS_MSG / **/
2667 * This symbol, if defined, indicates that the entire sem*(2) library is
2670 /*#define HAS_SEM / **/
2673 * This symbol, if defined, indicates that the setgrent routine is
2674 * available for initializing sequential access of the group database.
2676 /*#define HAS_SETGRENT / **/
2679 * This symbol, if defined, indicates that the sethostent() routine is
2682 /*#define HAS_SETHOSTENT / **/
2685 * This symbol, if defined, indicates that the setnetent() routine is
2688 /*#define HAS_SETNETENT / **/
2691 * This symbol, if defined, indicates that the setprotoent() routine is
2694 /*#define HAS_SETPROTOENT / **/
2697 * This symbol, if defined, indicates that the setpgrp routine is
2698 * available to set the current process group.
2701 * This symbol, if defined, indicates that setpgrp needs two
2702 * arguments whereas USG one needs none. See also HAS_SETPGID
2703 * for a POSIX interface.
2705 /*#define HAS_SETPGRP / **/
2706 /*#define USE_BSD_SETPGRP / **/
2709 * This symbol, if defined, indicates that the setpwent routine is
2710 * available for initializing sequential access of the passwd database.
2712 /*#define HAS_SETPWENT / **/
2715 * This symbol, if defined, indicates that the setservent() routine is
2718 /*#define HAS_SETSERVENT / **/
2721 * This symbol, if defined, indicates that the setvbuf routine is
2722 * available to change buffering on an open stdio stream.
2723 * to a line-buffered mode.
2725 #define HAS_SETVBUF /**/
2728 * This symbol, if defined, indicates that the entire shm*(2) library is
2731 /*#define HAS_SHM / **/
2734 * This symbol holds the return type of the shmat() system call.
2735 * Usually set to 'void *' or 'char *'.
2737 /* HAS_SHMAT_PROTOTYPE:
2738 * This symbol, if defined, indicates that the sys/shm.h includes
2739 * a prototype for shmat(). Otherwise, it is up to the program to
2740 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
2741 * but not always right so it should be emitted by the program only
2742 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
2744 #define Shmat_t void * /**/
2745 /*#define HAS_SHMAT_PROTOTYPE / **/
2748 * This symbol, if defined, indicates that the BSD socket interface is
2752 * This symbol, if defined, indicates that the BSD socketpair() call is
2756 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2757 * Checking just with #ifdef might not be enough because this symbol
2758 * has been known to be an enum.
2760 /* HAS_MSG_DONTROUTE:
2761 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2762 * Checking just with #ifdef might not be enough because this symbol
2763 * has been known to be an enum.
2766 * This symbol, if defined, indicates that the MSG_OOB is supported.
2767 * Checking just with #ifdef might not be enough because this symbol
2768 * has been known to be an enum.
2771 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2772 * Checking just with #ifdef might not be enough because this symbol
2773 * has been known to be an enum.
2776 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2777 * Checking just with #ifdef might not be enough because this symbol
2778 * has been known to be an enum.
2781 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2782 * Checking just with #ifdef might not be enough because this symbol
2783 * has been known to be an enum.
2785 /* HAS_SOCKADDR_SA_LEN:
2786 * This symbol, if defined, indicates that the struct sockaddr
2787 * structure has a member called sa_len, indicating the length of
2790 /* HAS_SIN6_SCOPE_ID:
2791 * This symbol, if defined, indicates that the struct sockaddr_in6
2792 * structure has a member called sin6_scope_id.
2794 #define HAS_SOCKET /**/
2795 /*#define HAS_SOCKETPAIR / **/
2796 /*#define HAS_SOCKADDR_SA_LEN / **/
2797 /*#define HAS_MSG_CTRUNC / **/
2798 /*#define HAS_MSG_DONTROUTE / **/
2799 /*#define HAS_MSG_OOB / **/
2800 /*#define HAS_MSG_PEEK / **/
2801 /*#define HAS_MSG_PROXY / **/
2802 /*#define HAS_SCM_RIGHTS / **/
2803 #define HAS_SIN6_SCOPE_ID /**/
2806 * This symbol is defined if this system has a stat structure declaring
2807 * st_blksize and st_blocks.
2809 #ifndef USE_STAT_BLOCKS
2810 /*#define USE_STAT_BLOCKS / **/
2814 * This symbol, if defined, indicates that this C compiler knows how
2815 * to copy structures. If undefined, you'll need to use a block copy
2816 * routine of some sort instead.
2818 #define USE_STRUCT_COPY /**/
2821 * This symbol, if defined, indicates that the strerror routine is
2822 * available to translate error numbers to strings. See the writeup
2823 * of Strerror() in this file before you try to define your own.
2826 * This symbol, if defined, indicates that the sys_errlist array is
2827 * available to translate error numbers to strings. The extern int
2828 * sys_nerr gives the size of that table.
2831 * This preprocessor symbol is defined as a macro if strerror() is
2832 * not available to translate error numbers to strings but sys_errlist[]
2835 #define HAS_STRERROR /**/
2836 #define HAS_SYS_ERRLIST /**/
2837 #define Strerror(e) strerror(e)
2840 * This symbol, if defined, indicates that the strtoul routine is
2841 * available to provide conversion of strings to unsigned long.
2843 #define HAS_STRTOUL /**/
2846 * This symbol, if defined, indicates that the union semun is
2847 * defined by including <sys/sem.h>. If not, the user code
2848 * probably needs to define it as:
2851 * struct semid_ds *buf;
2852 * unsigned short *array;
2855 /* USE_SEMCTL_SEMUN:
2856 * This symbol, if defined, indicates that union semun is
2857 * used for semctl IPC_STAT.
2859 /* USE_SEMCTL_SEMID_DS:
2860 * This symbol, if defined, indicates that struct semid_ds * is
2861 * used for semctl IPC_STAT.
2863 #define HAS_UNION_SEMUN /**/
2864 /*#define USE_SEMCTL_SEMUN / **/
2865 /*#define USE_SEMCTL_SEMID_DS / **/
2868 * This symbol, if defined, indicates that vfork() exists.
2870 /*#define HAS_VFORK / **/
2873 * This symbol, if defined, indicates that an emulation of the
2874 * fork routine is available.
2876 /*#define HAS_PSEUDOFORK / **/
2879 * This symbol's value is either "void" or "int", corresponding to the
2880 * appropriate return type of a signal handler. Thus, you can declare
2881 * a signal handler using "Signal_t (*handler)()", and define the
2882 * handler using "Signal_t handler(sig)".
2884 #define Signal_t void /* Signal handler's return type */
2887 * This symbol, if defined, indicates that this C compiler knows about
2888 * the volatile declaration.
2890 #define HASVOLATILE /**/
2896 * This symbol, if defined, indicates to the C program that it should
2897 * include <dirent.h>. Using this symbol also triggers the definition
2898 * of the Direntry_t define which ends up being 'struct dirent' or
2899 * 'struct direct' depending on the availability of <dirent.h>.
2902 * This symbol, if defined, indicates to the C program that the length
2903 * of directory entry names is provided by a d_namlen field. Otherwise
2904 * you need to do strlen() on the d_name field.
2907 * This symbol is set to 'struct direct' or 'struct dirent' depending on
2908 * whether dirent is available or not. You should use this pseudo type to
2909 * portably declare your directory entries.
2911 #define I_DIRENT /**/
2912 #define DIRNAMLEN /**/
2913 #define Direntry_t struct direct
2916 * This symbol, if defined, indicates to the C program that it should
2920 * This symbol, if defined, indicates to the C program that struct group
2921 * in <grp.h> contains gr_passwd.
2923 /*#define I_GRP / **/
2924 /*#define GRPASSWD / **/
2927 * This symbol, if defined, indicates that <ndbm.h> exists and should
2931 * This symbol, if defined, indicates that <gdbm/ndbm.h> exists and should
2932 * be included. This was the location of the ndbm.h compatibility file
2936 * This symbol, if defined, indicates that <gdbm-ndbm.h> exists and should
2937 * be included. This is the location of the ndbm.h compatibility file
2940 /* NDBM_H_USES_PROTOTYPES:
2941 * This symbol, if defined, indicates that <ndbm.h> uses real ANSI C
2942 * prototypes instead of K&R style function declarations without any
2943 * parameter information. While ANSI C prototypes are supported in C++,
2944 * K&R style function declarations will yield errors.
2946 /* GDBMNDBM_H_USES_PROTOTYPES:
2947 * This symbol, if defined, indicates that <gdbm/ndbm.h> uses real ANSI C
2948 * prototypes instead of K&R style function declarations without any
2949 * parameter information. While ANSI C prototypes are supported in C++,
2950 * K&R style function declarations will yield errors.
2952 /* GDBM_NDBM_H_USES_PROTOTYPES:
2953 * This symbol, if defined, indicates that <gdbm-ndbm.h> uses real ANSI C
2954 * prototypes instead of K&R style function declarations without any
2955 * parameter information. While ANSI C prototypes are supported in C++,
2956 * K&R style function declarations will yield errors.
2958 /*#define I_NDBM / **/
2959 /*#define I_GDBMNDBM / **/
2960 /*#define I_GDBM_NDBM / **/
2961 /*#define NDBM_H_USES_PROTOTYPES / **/
2962 /*#define GDBMNDBM_H_USES_PROTOTYPES / **/
2963 /*#define GDBM_NDBM_H_USES_PROTOTYPES / **/
2966 * This symbol, if defined, indicates that <netdb.h> exists and
2967 * should be included.
2969 /*#define I_NETDB / **/
2972 * This symbol, if defined, indicates that <net/errno.h> exists and
2973 * should be included.
2975 /*#define I_NET_ERRNO / **/
2978 * This symbol, if defined, indicates to the C program that it should
2982 * This symbol, if defined, indicates to the C program that struct passwd
2983 * contains pw_quota.
2986 * This symbol, if defined, indicates to the C program that struct passwd
2990 * This symbol, if defined, indicates to the C program that struct passwd
2991 * contains pw_change.
2994 * This symbol, if defined, indicates to the C program that struct passwd
2995 * contains pw_class.
2998 * This symbol, if defined, indicates to the C program that struct passwd
2999 * contains pw_expire.
3002 * This symbol, if defined, indicates to the C program that struct passwd
3003 * contains pw_comment.
3006 * This symbol, if defined, indicates to the C program that struct passwd
3007 * contains pw_gecos.
3010 * This symbol, if defined, indicates to the C program that struct passwd
3011 * contains pw_passwd.
3013 /*#define I_PWD / **/
3014 /*#define PWQUOTA / **/
3015 /*#define PWAGE / **/
3016 /*#define PWCHANGE / **/
3017 /*#define PWCLASS / **/
3018 /*#define PWEXPIRE / **/
3019 /*#define PWCOMMENT / **/
3020 /*#define PWGECOS / **/
3021 /*#define PWPASSWD / **/
3024 * This symbol, if defined, indicates that <sys/uio.h> exists and
3025 * should be included.
3027 /*#define I_SYSUIO / **/
3030 * This symbol, if defined, indicates that <stdarg.h> exists and should
3034 * This symbol, if defined, indicates to the C program that it should
3035 * include <varargs.h>.
3037 #define I_STDARG /**/
3038 /*#define I_VARARGS / **/
3041 * This variable contains the return type of free(). It is usually
3042 * void, but occasionally int.
3045 * This symbol is the type of pointer returned by malloc and realloc.
3047 #define Malloc_t void * /**/
3048 #define Free_t void /**/
3050 /* PERL_MALLOC_WRAP:
3051 * This symbol, if defined, indicates that we'd like malloc wrap checks.
3053 #define PERL_MALLOC_WRAP /**/
3056 * This symbol, if defined, indicates that we're using our own malloc.
3058 /*#define MYMALLOC / **/
3061 * If defined, this macro indicates that the C compiler can handle
3062 * function prototypes.
3065 * This macro is used to declare function parameters for folks who want
3066 * to make declarations with prototypes using a different style than
3067 * the above macros. Use double parentheses. For example:
3069 * int main _((int argc, char *argv[]));
3071 #define CAN_PROTOTYPE /**/
3072 #ifdef CAN_PROTOTYPE
3073 #define _(args) args
3079 * This symbol contains the full pathname to the shell used on this
3080 * on this system to execute Bourne shell scripts. Usually, this will be
3081 * /bin/sh, though it's possible that some systems will have /bin/ksh,
3082 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
3085 #define SH_PATH "cmd /x /c" /**/
3088 * This symbol contains a list of signal names in order of
3089 * signal number. This is intended
3090 * to be used as a static array initialization, like this:
3091 * char *sig_name[] = { SIG_NAME };
3092 * The signals in the list are separated with commas, and each signal
3093 * is surrounded by double quotes. There is no leading SIG in the signal
3094 * name, i.e. SIGQUIT is known as "QUIT".
3095 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3096 * etc., where nn is the actual signal number (e.g. NUM37).
3097 * The signal number for sig_name[i] is stored in sig_num[i].
3098 * The last element is 0 to terminate the list with a NULL. This
3099 * corresponds to the 0 at the end of the sig_name_init list.
3100 * Note that this variable is initialized from the sig_name_init,
3101 * not from sig_name (which is unused).
3104 * This symbol contains a list of signal numbers, in the same order as the
3105 * SIG_NAME list. It is suitable for static array initialization, as in:
3106 * int sig_num[] = { SIG_NUM };
3107 * The signals in the list are separated with commas, and the indices
3108 * within that list and the SIG_NAME list match, so it's easy to compute
3109 * the signal name from a number or vice versa at the price of a small
3110 * dynamic linear lookup.
3111 * Duplicates are allowed, but are moved to the end of the list.
3112 * The signal number corresponding to sig_name[i] is sig_number[i].
3113 * if (i < NSIG) then sig_number[i] == i.
3114 * The last element is 0, corresponding to the 0 at the end of
3115 * the sig_name_init list.
3116 * Note that this variable is initialized from the sig_num_init,
3117 * not from sig_num (which is unused).
3120 * This variable contains the number of elements of the SIG_NAME
3121 * and SIG_NUM arrays, excluding the final NULL entry.
3123 #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 /**/
3124 #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 /**/
3125 #define SIG_SIZE 27 /**/
3128 * This symbol is defined to be the type of char used in stdio.h.
3129 * It has the values "unsigned char" or "char".
3131 #define STDCHAR char /**/
3134 * This symbol indicates how much support of the void type is given by this
3135 * compiler. What various bits mean:
3137 * 1 = supports declaration of void
3138 * 2 = supports arrays of pointers to functions returning void
3139 * 4 = supports comparisons between pointers to void functions and
3140 * addresses of void functions
3141 * 8 = supports declaration of generic void pointers
3143 * The package designer should define VOIDUSED to indicate the requirements
3144 * of the package. This can be done either by #defining VOIDUSED before
3145 * including config.h, or by defining defvoidused in Myinit.U. If the
3146 * latter approach is taken, only those flags will be tested. If the
3147 * level of void support necessary is not present, defines void to int.
3152 #define VOIDFLAGS 15
3153 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
3154 #define void int /* is void to be avoided? */
3155 #define M_VOID /* Xenix strikes again */
3159 * This symbol, if defined, indicates that Perl was configured with
3160 * -Dusedevel, to enable development features. This should not be
3161 * done for production builds.
3163 /*#define PERL_USE_DEVEL / **/
3166 * This symbol, if defined, indicates that the atolf routine is
3167 * available to convert strings into long doubles.
3169 /*#define HAS_ATOLF / **/
3172 * This symbol, if defined, indicates that the atoll routine is
3173 * available to convert strings into long longs.
3175 #define HAS_ATOLL /**/
3178 * This symbol, if defined, indicates that the _fwalk system call is
3179 * available to apply a function to all the file handles.
3181 /*#define HAS__FWALK / **/
3184 * This symbol, if defined, indicates that the aintl routine is
3185 * available. If copysignl is also present we can emulate modfl.
3187 /*#define HAS_AINTL / **/
3189 /* HAS_BUILTIN_CHOOSE_EXPR:
3190 * Can we handle GCC builtin for compile-time ternary-like expressions
3192 /* HAS_BUILTIN_EXPECT:
3193 * Can we handle GCC builtin for telling that certain values are more
3196 /*#define HAS_BUILTIN_EXPECT / **/
3197 /*#define HAS_BUILTIN_CHOOSE_EXPR / **/
3199 /* HAS_C99_VARIADIC_MACROS:
3200 * If defined, the compiler supports C99 variadic macros.
3202 /*#define HAS_C99_VARIADIC_MACROS / **/
3205 * This symbol, if defined, indicates that the class routine is
3206 * available to classify doubles. Available for example in AIX.
3207 * The returned values are defined in <float.h> and are:
3209 * FP_PLUS_NORM Positive normalized, nonzero
3210 * FP_MINUS_NORM Negative normalized, nonzero
3211 * FP_PLUS_DENORM Positive denormalized, nonzero
3212 * FP_MINUS_DENORM Negative denormalized, nonzero
3214 * FP_MINUS_ZERO -0.0
3217 * FP_NANS Signaling Not a Number (NaNS)
3218 * FP_NANQ Quiet Not a Number (NaNQ)
3220 /*#define HAS_CLASS / **/
3223 * This symbol, if defined, indicates that the clearenv () routine is
3224 * available for use.
3226 /*#define HAS_CLEARENV / **/
3228 /* HAS_STRUCT_CMSGHDR:
3229 * This symbol, if defined, indicates that the struct cmsghdr
3232 /*#define HAS_STRUCT_CMSGHDR / **/
3235 * This symbol, if defined, indicates that the copysignl routine is
3236 * available. If aintl is also present we can emulate modfl.
3238 /*#define HAS_COPYSIGNL / **/
3241 * This symbol, if defined, indicates that a C++ compiler was
3242 * used to compiled Perl and will be used to compile extensions.
3244 /*#define USE_CPLUSPLUS / **/
3246 /* HAS_DBMINIT_PROTO:
3247 * This symbol, if defined, indicates that the system provides
3248 * a prototype for the dbminit() function. Otherwise, it is up
3249 * to the program to supply one. A good guess is
3250 * extern int dbminit(char *);
3252 /*#define HAS_DBMINIT_PROTO / **/
3255 * This symbol, if defined, indicates that the the DIR* dirstream
3256 * structure contains a member variable named dd_fd.
3258 /*#define HAS_DIR_DD_FD / **/
3261 * This manifest constant lets the C program know that dirfd
3264 /*#define HAS_DIRFD / **/
3266 /* DLSYM_NEEDS_UNDERSCORE:
3267 * This symbol, if defined, indicates that we need to prepend an
3268 * underscore to the symbol name before calling dlsym(). This only
3269 * makes sense if you *have* dlsym, which we will presume is the
3270 * case if you're using dl_dlopen.xs.
3272 /*#define DLSYM_NEEDS_UNDERSCORE / **/
3275 * This symbol, if defined, indicates that the "fast stdio"
3276 * is available to manipulate the stdio buffers directly.
3278 #define HAS_FAST_STDIO /**/
3281 * This symbol, if defined, indicates that the fchdir routine is
3282 * available to change directory using a file descriptor.
3284 /*#define HAS_FCHDIR / **/
3287 * This symbol, if defined, indicates that fcntl() can be used
3288 * for file locking. Normally on Unix systems this is defined.
3289 * It may be undefined on VMS.
3291 /*#define FCNTL_CAN_LOCK / **/
3294 * This symbol, if defined, indicates that the finite routine is
3295 * available to check whether a double is finite (non-infinity non-NaN).
3297 /*#define HAS_FINITE / **/
3300 * This symbol, if defined, indicates that the finitel routine is
3301 * available to check whether a long double is finite
3302 * (non-infinity non-NaN).
3304 /*#define HAS_FINITEL / **/
3307 * This symbol, if defined, indicates that the system provides
3308 * a prototype for the flock() function. Otherwise, it is up
3309 * to the program to supply one. A good guess is
3310 * extern int flock(int, int);
3312 #define HAS_FLOCK_PROTO /**/
3315 * This symbol, if defined, indicates that the fp_class routine is
3316 * available to classify doubles. Available for example in Digital UNIX.
3317 * The returned values are defined in <math.h> and are:
3319 * FP_SNAN Signaling NaN (Not-a-Number)
3320 * FP_QNAN Quiet NaN (Not-a-Number)
3321 * FP_POS_INF +infinity
3322 * FP_NEG_INF -infinity
3323 * FP_POS_NORM Positive normalized
3324 * FP_NEG_NORM Negative normalized
3325 * FP_POS_DENORM Positive denormalized
3326 * FP_NEG_DENORM Negative denormalized
3327 * FP_POS_ZERO +0.0 (positive zero)
3328 * FP_NEG_ZERO -0.0 (negative zero)
3330 /*#define HAS_FP_CLASS / **/
3333 * This symbol, if defined, indicates that the fpclass routine is
3334 * available to classify doubles. Available for example in Solaris/SVR4.
3335 * The returned values are defined in <ieeefp.h> and are:
3337 * FP_SNAN signaling NaN
3339 * FP_NINF negative infinity
3340 * FP_PINF positive infinity
3341 * FP_NDENORM negative denormalized non-zero
3342 * FP_PDENORM positive denormalized non-zero
3343 * FP_NZERO negative zero
3344 * FP_PZERO positive zero
3345 * FP_NNORM negative normalized non-zero
3346 * FP_PNORM positive normalized non-zero
3348 /*#define HAS_FPCLASS / **/
3351 * This symbol, if defined, indicates that the fpclassify routine is
3352 * available to classify doubles. Available for example in HP-UX.
3353 * The returned values are defined in <math.h> and are
3355 * FP_NORMAL Normalized
3357 * FP_INFINITE Infinity
3358 * FP_SUBNORMAL Denormalized
3362 /*#define HAS_FPCLASSIFY / **/
3365 * This symbol, if defined, indicates that the fpclassl routine is
3366 * available to classify long doubles. Available for example in IRIX.
3367 * The returned values are defined in <ieeefp.h> and are:
3369 * FP_SNAN signaling NaN
3371 * FP_NINF negative infinity
3372 * FP_PINF positive infinity
3373 * FP_NDENORM negative denormalized non-zero
3374 * FP_PDENORM positive denormalized non-zero
3375 * FP_NZERO negative zero
3376 * FP_PZERO positive zero
3377 * FP_NNORM negative normalized non-zero
3378 * FP_PNORM positive normalized non-zero
3380 /*#define HAS_FPCLASSL / **/
3383 * This symbol will be defined if the C compiler supports fpos64_t.
3385 /*#define HAS_FPOS64_T / **/
3388 * This symbol, if defined, indicates that the frexpl routine is
3389 * available to break a long double floating-point number into
3390 * a normalized fraction and an integral power of 2.
3392 /*#define HAS_FREXPL / **/
3394 /* HAS_STRUCT_FS_DATA:
3395 * This symbol, if defined, indicates that the struct fs_data
3396 * to do statfs() is supported.
3398 /*#define HAS_STRUCT_FS_DATA / **/
3401 * This symbol, if defined, indicates that the fseeko routine is
3402 * available to fseek beyond 32 bits (useful for ILP32 hosts).
3404 /*#define HAS_FSEEKO / **/
3407 * This symbol, if defined, indicates that the fstatfs routine is
3408 * available to stat filesystems by file descriptors.
3410 /*#define HAS_FSTATFS / **/
3413 * This symbol, if defined, indicates that the fsync routine is
3414 * available to write a file's modified data and attributes to
3415 * permanent storage.
3417 /*#define HAS_FSYNC / **/
3420 * This symbol, if defined, indicates that the ftello routine is
3421 * available to ftell beyond 32 bits (useful for ILP32 hosts).
3423 /*#define HAS_FTELLO / **/
3426 * This symbol, if defined, indicates that the futimes routine is
3427 * available to change file descriptor time stamps with struct timevals.
3429 /*#define HAS_FUTIMES / **/
3432 * This symbol, if defined, indicates that the getaddrinfo() function
3433 * is available for use.
3435 /*#define HAS_GETADDRINFO / **/
3438 * This symbol, if defined, indicates that the getcwd routine is
3439 * available to get the current working directory.
3441 #define HAS_GETCWD /**/
3444 * This symbol, if defined, indicates that the getespwnam system call is
3445 * available to retrieve enhanced (shadow) password entries by name.
3447 /*#define HAS_GETESPWNAM / **/
3450 * This symbol, if defined, indicates that the getfsstat routine is
3451 * available to stat filesystems in bulk.
3453 /*#define HAS_GETFSSTAT / **/
3456 * This symbol, if defined, indicates that the getitimer routine is
3457 * available to return interval timers.
3459 /*#define HAS_GETITIMER / **/
3462 * This symbol, if defined, indicates that the getmnt routine is
3463 * available to get filesystem mount info by filename.
3465 /*#define HAS_GETMNT / **/
3468 * This symbol, if defined, indicates that the getmntent routine is
3469 * available to iterate through mounted file systems to get their info.
3471 /*#define HAS_GETMNTENT / **/
3474 * This symbol, if defined, indicates that the getnameinfo() function
3475 * is available for use.
3477 /*#define HAS_GETNAMEINFO / **/
3480 * This symbol, if defined, indicates that the getprpwnam system call is
3481 * available to retrieve protected (shadow) password entries by name.
3483 /*#define HAS_GETPRPWNAM / **/
3486 * This symbol, if defined, indicates that the getspnam system call is
3487 * available to retrieve SysV shadow password entries by name.
3489 /*#define HAS_GETSPNAM / **/
3492 * This symbol, if defined, indicates that the hasmntopt routine is
3493 * available to query the mount options of file systems.
3495 /*#define HAS_HASMNTOPT / **/
3498 * This symbol, if defined, indicates that the ilogbl routine is
3499 * available. If scalbnl is also present we can emulate frexpl.
3501 /*#define HAS_ILOGBL / **/
3504 * This symbol, if defined, indicates that the inet_ntop() function
3505 * is available to parse IPv4 and IPv6 strings.
3507 /*#define HAS_INETNTOP / **/
3510 * This symbol, if defined, indicates that the inet_pton() function
3511 * is available to parse IPv4 and IPv6 strings.
3513 /*#define HAS_INETPTON / **/
3516 * This symbol will defined if the C compiler supports int64_t.
3517 * Usually the <inttypes.h> needs to be included, but sometimes
3518 * <sys/types.h> is enough.
3520 /*#define HAS_INT64_T / **/
3523 * This symbol, if defined, indicates that the isfinite routine is
3524 * available to check whether a double is finite (non-infinity non-NaN).
3526 /*#define HAS_ISFINITE / **/
3529 * This symbol, if defined, indicates that the isinf routine is
3530 * available to check whether a double is an infinity.
3532 /*#define HAS_ISINF / **/
3535 * This symbol, if defined, indicates that the isnan routine is
3536 * available to check whether a double is a NaN.
3538 #define HAS_ISNAN /**/
3541 * This symbol, if defined, indicates that the isnanl routine is
3542 * available to check whether a long double is a NaN.
3544 /*#define HAS_ISNANL / **/
3547 * This symbol, if defined, indicates that this system's <float.h>
3548 * or <limits.h> defines the symbol LDBL_DIG, which is the number
3549 * of significant digits in a long double precision number. Unlike
3550 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
3552 #define HAS_LDBL_DIG /**/
3554 /* LIBM_LIB_VERSION:
3555 * This symbol, if defined, indicates that libm exports _LIB_VERSION
3556 * and that math.h defines the enum to manipulate it.
3558 /*#define LIBM_LIB_VERSION / **/
3561 * This symbol, if defined, indicates that the madvise system call is
3562 * available to map a file into memory.
3564 /*#define HAS_MADVISE / **/
3567 * This symbol, if defined, indicates that the malloc_size
3568 * routine is available for use.
3570 /*#define HAS_MALLOC_SIZE / **/
3572 /* HAS_MALLOC_GOOD_SIZE:
3573 * This symbol, if defined, indicates that the malloc_good_size
3574 * routine is available for use.
3576 /*#define HAS_MALLOC_GOOD_SIZE / **/
3579 * This symbol, if defined, indicates that the mkdtemp routine is
3580 * available to exclusively create a uniquely named temporary directory.
3582 /*#define HAS_MKDTEMP / **/
3585 * This symbol, if defined, indicates that the mkstemps routine is
3586 * available to exclusively create and open a uniquely named
3587 * (with a suffix) temporary file.
3589 /*#define HAS_MKSTEMPS / **/
3592 * This symbol, if defined, indicates that the modfl routine is
3593 * available to split a long double x into a fractional part f and
3594 * an integer part i such that |f| < 1.0 and (f + i) = x.
3597 * This symbol, if defined, indicates that the system provides
3598 * a prototype for the modfl() function. Otherwise, it is up
3599 * to the program to supply one.
3601 /* HAS_MODFL_POW32_BUG:
3602 * This symbol, if defined, indicates that the modfl routine is
3603 * broken for long doubles >= pow(2, 32).
3604 * For example from 4294967303.150000 one would get 4294967302.000000
3605 * and 1.150000. The bug has been seen in certain versions of glibc,
3606 * release 2.2.2 is known to be okay.
3608 /*#define HAS_MODFL / **/
3609 /*#define HAS_MODFL_PROTO / **/
3610 /*#define HAS_MODFL_POW32_BUG / **/
3613 * This symbol, if defined, indicates that the mprotect system call is
3614 * available to modify the access protection of a memory mapped file.
3616 /*#define HAS_MPROTECT / **/
3618 /* HAS_STRUCT_MSGHDR:
3619 * This symbol, if defined, indicates that the struct msghdr
3622 /*#define HAS_STRUCT_MSGHDR / **/
3625 * This symbol, if defined, indicates that the nl_langinfo routine is
3626 * available to return local data. You will also need <langinfo.h>
3627 * and therefore I_LANGINFO.
3629 /*#define HAS_NL_LANGINFO / **/
3632 * This symbol will be defined if the C compiler supports off64_t.
3634 /*#define HAS_OFF64_T / **/
3637 * This symbol, if defined, indicates that the prctl routine is
3638 * available to set process title.
3640 /* HAS_PRCTL_SET_NAME:
3641 * This symbol, if defined, indicates that the prctl routine is
3642 * available to set process title and supports PR_SET_NAME.
3644 /*#define HAS_PRCTL / **/
3645 /*#define HAS_PRCTL_SET_NAME / **/
3648 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3649 * to the absolute pathname of the executing program.
3651 /* PROCSELFEXE_PATH:
3652 * If HAS_PROCSELFEXE is defined this symbol is the filename
3653 * of the symbolic link pointing to the absolute pathname of
3654 * the executing program.
3656 /*#define HAS_PROCSELFEXE / **/
3657 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3658 #define PROCSELFEXE_PATH /**/
3661 /* HAS_PTHREAD_ATTR_SETSCOPE:
3662 * This symbol, if defined, indicates that the pthread_attr_setscope
3663 * system call is available to set the contention scope attribute of
3664 * a thread attribute object.
3666 /*#define HAS_PTHREAD_ATTR_SETSCOPE / **/
3669 * This symbol, if defined, indicates that the readv routine is
3670 * available to do gather reads. You will also need <sys/uio.h>
3671 * and there I_SYSUIO.
3673 /*#define HAS_READV / **/
3676 * This symbol, if defined, indicates that the recvmsg routine is
3677 * available to send structured socket messages.
3679 /*#define HAS_RECVMSG / **/
3682 * This symbol, if defined, indicates that the system provides
3683 * a prototype for the sbrk() function. Otherwise, it is up
3684 * to the program to supply one. Good guesses are
3685 * extern void* sbrk(int);
3686 * extern void* sbrk(size_t);
3688 /*#define HAS_SBRK_PROTO / **/
3691 * This symbol, if defined, indicates that the scalbnl routine is
3692 * available. If ilogbl is also present we can emulate frexpl.
3694 /*#define HAS_SCALBNL / **/
3697 * This symbol, if defined, indicates that the sendmsg routine is
3698 * available to send structured socket messages.
3700 /*#define HAS_SENDMSG / **/
3703 * This symbol, if defined, indicates that the setitimer routine is
3704 * available to set interval timers.
3706 /*#define HAS_SETITIMER / **/
3708 /* HAS_SETPROCTITLE:
3709 * This symbol, if defined, indicates that the setproctitle routine is
3710 * available to set process title.
3712 /*#define HAS_SETPROCTITLE / **/
3715 * This symbol, if defined, indicates that sfio should
3718 /*#define USE_SFIO / **/
3721 * This symbol, if defined, indicates that the signbit routine is
3722 * available to check if the given number has the sign bit set.
3723 * This should include correct testing of -0.0. This will only be set
3724 * if the signbit() routine is safe to use with the NV type used internally
3725 * in perl. Users should call Perl_signbit(), which will be #defined to
3726 * the system's signbit() function or macro if this symbol is defined.
3728 /*#define HAS_SIGNBIT / **/
3731 * This symbol, if defined, indicates that the sigprocmask
3732 * system call is available to examine or change the signal mask
3733 * of the calling process.
3735 /*#define HAS_SIGPROCMASK / **/
3737 /* USE_SITECUSTOMIZE:
3738 * This symbol, if defined, indicates that sitecustomize should
3741 #ifndef USE_SITECUSTOMIZE
3742 /*#define USE_SITECUSTOMIZE / **/
3746 * This symbol, if defined, indicates that the snprintf () library
3747 * function is available for use.
3750 * This symbol, if defined, indicates that the vsnprintf () library
3751 * function is available for use.
3753 #define HAS_SNPRINTF /**/
3754 #define HAS_VSNPRINTF /**/
3757 * This symbol, if defined, indicates that the sockatmark routine is
3758 * available to test whether a socket is at the out-of-band mark.
3760 /*#define HAS_SOCKATMARK / **/
3762 /* HAS_SOCKATMARK_PROTO:
3763 * This symbol, if defined, indicates that the system provides
3764 * a prototype for the sockatmark() function. Otherwise, it is up
3765 * to the program to supply one. A good guess is
3766 * extern int sockatmark(int);
3768 /*#define HAS_SOCKATMARK_PROTO / **/
3771 * This symbol, if defined, indicates that the socks5_init routine is
3772 * available to initialize SOCKS 5.
3774 /*#define HAS_SOCKS5_INIT / **/
3776 /* SPRINTF_RETURNS_STRLEN:
3777 * This variable defines whether sprintf returns the length of the string
3778 * (as per the ANSI spec). Some C libraries retain compatibility with
3779 * pre-ANSI C and return a pointer to the passed in buffer; for these
3780 * this variable will be undef.
3782 #define SPRINTF_RETURNS_STRLEN /**/
3785 * This symbol, if defined, indicates that the sqrtl routine is
3786 * available to do long double square roots.
3788 /*#define HAS_SQRTL / **/
3790 /* HAS_SETRESGID_PROTO:
3791 * This symbol, if defined, indicates that the system provides
3792 * a prototype for the setresgid() function. Otherwise, it is up
3793 * to the program to supply one. Good guesses are
3794 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3796 /*#define HAS_SETRESGID_PROTO / **/
3798 /* HAS_SETRESUID_PROTO:
3799 * This symbol, if defined, indicates that the system provides
3800 * a prototype for the setresuid() function. Otherwise, it is up
3801 * to the program to supply one. Good guesses are
3802 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3804 /*#define HAS_SETRESUID_PROTO / **/
3806 /* HAS_STRUCT_STATFS_F_FLAGS:
3807 * This symbol, if defined, indicates that the struct statfs
3808 * does have the f_flags member containing the mount flags of
3809 * the filesystem containing the file.
3810 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
3811 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
3812 * have statfs() and struct statfs, they have ustat() and getmnt()
3813 * with struct ustat and struct fs_data.
3815 /*#define HAS_STRUCT_STATFS_F_FLAGS / **/
3817 /* HAS_STRUCT_STATFS:
3818 * This symbol, if defined, indicates that the struct statfs
3819 * to do statfs() is supported.
3821 /*#define HAS_STRUCT_STATFS / **/
3824 * This symbol, if defined, indicates that the fstatvfs routine is
3825 * available to stat filesystems by file descriptors.
3827 /*#define HAS_FSTATVFS / **/
3830 * This symbol, if defined, indicates that the strftime routine is
3831 * available to do time formatting.
3833 #define HAS_STRFTIME /**/
3836 * This symbol, if defined, indicates that the strlcat () routine is
3837 * available to do string concatenation.
3839 /*#define HAS_STRLCAT / **/
3842 * This symbol, if defined, indicates that the strlcpy () routine is
3843 * available to do string copying.
3845 /*#define HAS_STRLCPY / **/
3848 * This symbol, if defined, indicates that the strtold routine is
3849 * available to convert strings to long doubles.
3851 /*#define HAS_STRTOLD / **/
3854 * This symbol, if defined, indicates that the strtoll routine is
3855 * available to convert strings to long longs.
3857 #define HAS_STRTOLL /**/
3860 * This symbol, if defined, indicates that the strtoq routine is
3861 * available to convert strings to long longs (quads).
3863 /*#define HAS_STRTOQ / **/
3866 * This symbol, if defined, indicates that the strtoull routine is
3867 * available to convert strings to unsigned long longs.
3869 #define HAS_STRTOULL /**/
3872 * This symbol, if defined, indicates that the strtouq routine is
3873 * available to convert strings to unsigned long longs (quads).
3875 /*#define HAS_STRTOUQ / **/
3877 /* HAS_SYSCALL_PROTO:
3878 * This symbol, if defined, indicates that the system provides
3879 * a prototype for the syscall() function. Otherwise, it is up
3880 * to the program to supply one. Good guesses are
3881 * extern int syscall(int, ...);
3882 * extern int syscall(long, ...);
3884 /*#define HAS_SYSCALL_PROTO / **/
3886 /* HAS_TELLDIR_PROTO:
3887 * This symbol, if defined, indicates that the system provides
3888 * a prototype for the telldir() function. Otherwise, it is up
3889 * to the program to supply one. A good guess is
3890 * extern long telldir(DIR*);
3892 #define HAS_TELLDIR_PROTO /**/
3895 * This symbol, if defined, indicates that the ctime64 () routine is
3896 * available to do the 64bit variant of ctime ()
3899 * This symbol, if defined, indicates that the localtime64 () routine is
3900 * available to do the 64bit variant of localtime ()
3903 * This symbol, if defined, indicates that the gmtime64 () routine is
3904 * available to do the 64bit variant of gmtime ()
3907 * This symbol, if defined, indicates that the mktime64 () routine is
3908 * available to do the 64bit variant of mktime ()
3911 * This symbol, if defined, indicates that the difftime64 () routine is
3912 * available to do the 64bit variant of difftime ()
3915 * This symbol, if defined, indicates that the asctime64 () routine is
3916 * available to do the 64bit variant of asctime ()
3918 /*#define HAS_CTIME64 / **/
3919 /*#define HAS_LOCALTIME64 / **/
3920 /*#define HAS_GMTIME64 / **/
3921 /*#define HAS_MKTIME64 / **/
3922 /*#define HAS_DIFFTIME64 / **/
3923 /*#define HAS_ASCTIME64 / **/
3926 * This symbol, if defined, indicates that the timegm routine is
3927 * available to do the opposite of gmtime ()
3929 /*#define HAS_TIMEGM / **/
3931 /* U32_ALIGNMENT_REQUIRED:
3932 * This symbol, if defined, indicates that you must access
3933 * character data through U32-aligned pointers.
3935 #ifndef U32_ALIGNMENT_REQUIRED
3936 #define U32_ALIGNMENT_REQUIRED /**/
3940 * This symbol, if defined, indicates that the ualarm routine is
3941 * available to do alarms with microsecond granularity.
3943 /*#define HAS_UALARM / **/
3946 * This symbol, if defined, indicates that the unordered routine is
3947 * available to check whether two doubles are unordered
3948 * (effectively: whether either of them is NaN)
3950 /*#define HAS_UNORDERED / **/
3953 * This symbol, if defined, indicates that the unsetenv () routine is
3954 * available for use.
3956 /*#define HAS_UNSETENV / **/
3958 /* HAS_USLEEP_PROTO:
3959 * This symbol, if defined, indicates that the system provides
3960 * a prototype for the usleep() function. Otherwise, it is up
3961 * to the program to supply one. A good guess is
3962 * extern int usleep(useconds_t);
3964 /*#define HAS_USLEEP_PROTO / **/
3967 * This symbol, if defined, indicates that the ustat system call is
3968 * available to query file system statistics by dev_t.
3970 /*#define HAS_USTAT / **/
3973 * This symbol, if defined, indicates that the writev routine is
3974 * available to do scatter writes.
3976 /*#define HAS_WRITEV / **/
3978 /* USE_DYNAMIC_LOADING:
3979 * This symbol, if defined, indicates that dynamic loading of
3980 * some sort is available.
3982 #define USE_DYNAMIC_LOADING /**/
3985 * This symbol, if defined, tells that fflush(NULL) does flush
3986 * all pending stdio output.
3989 * This symbol, if defined, tells that to flush
3990 * all pending stdio output one must loop through all
3991 * the stdio file handles stored in an array and fflush them.
3992 * Note that if fflushNULL is defined, fflushall will not
3993 * even be probed for and will be left undefined.
3995 #define FFLUSH_NULL /**/
3996 /*#define FFLUSH_ALL / **/
3999 * This symbol, if defined, indicates that <assert.h> exists and
4000 * could be included by the C program to get the assert() macro.
4002 #define I_ASSERT /**/
4005 * This symbol, if defined, indicates that <crypt.h> exists and
4006 * should be included.
4008 /*#define I_CRYPT / **/
4011 * This symbol contains the type of the prefix structure element
4012 * in the <db.h> header file. In older versions of DB, it was
4013 * int, while in newer ones it is u_int32_t.
4016 * This symbol contains the type of the prefix structure element
4017 * in the <db.h> header file. In older versions of DB, it was
4018 * int, while in newer ones it is size_t.
4020 /* DB_VERSION_MAJOR_CFG:
4021 * This symbol, if defined, defines the major version number of
4022 * Berkeley DB found in the <db.h> header when Perl was configured.
4024 /* DB_VERSION_MINOR_CFG:
4025 * This symbol, if defined, defines the minor version number of
4026 * Berkeley DB found in the <db.h> header when Perl was configured.
4027 * For DB version 1 this is always 0.
4029 /* DB_VERSION_PATCH_CFG:
4030 * This symbol, if defined, defines the patch version number of
4031 * Berkeley DB found in the <db.h> header when Perl was configured.
4032 * For DB version 1 this is always 0.
4034 #define DB_Hash_t int /**/
4035 #define DB_Prefix_t int /**/
4036 #define DB_VERSION_MAJOR_CFG 0 /**/
4037 #define DB_VERSION_MINOR_CFG 0 /**/
4038 #define DB_VERSION_PATCH_CFG 0 /**/
4041 * This symbol, if defined, indicates that <fp.h> exists and
4042 * should be included.
4044 /*#define I_FP / **/
4047 * This symbol, if defined, indicates that <fp_class.h> exists and
4048 * should be included.
4050 /*#define I_FP_CLASS / **/
4053 * This symbol, if defined, indicates that <ieeefp.h> exists and
4054 * should be included.
4056 /*#define I_IEEEFP / **/
4059 * This symbol, if defined, indicates to the C program that it should
4060 * include <inttypes.h>.
4062 /*#define I_INTTYPES / **/
4065 * This symbol, if defined, indicates that <langinfo.h> exists and
4066 * should be included.
4068 /*#define I_LANGINFO / **/
4071 * This symbol, if defined, indicates that <libutil.h> exists and
4072 * should be included.
4074 /*#define I_LIBUTIL / **/
4077 * This symbol, if defined, indicates to the C program that it should
4078 * include <malloc/malloc.h>.
4080 /*#define I_MALLOCMALLOC / **/
4083 * This symbol, if defined, indicates that <mntent.h> exists and
4084 * should be included.
4086 /*#define I_MNTENT / **/
4089 * This symbol, if defined, indicates to the C program that it should
4090 * include <netinet/tcp.h>.
4092 /*#define I_NETINET_TCP / **/
4095 * This symbol, if defined, indicates that <poll.h> exists and
4096 * should be included. (see also HAS_POLL)
4098 /*#define I_POLL / **/
4101 * This symbol, if defined, indicates that <prot.h> exists and
4102 * should be included.
4104 /*#define I_PROT / **/
4107 * This symbol, if defined, indicates that <shadow.h> exists and
4108 * should be included.
4110 /*#define I_SHADOW / **/
4113 * This symbol, if defined, indicates that <socks.h> exists and
4114 * should be included.
4116 /*#define I_SOCKS / **/
4119 * This symbol, if defined, indicates that <sunmath.h> exists and
4120 * should be included.
4122 /*#define I_SUNMATH / **/
4125 * This symbol, if defined, indicates that <syslog.h> exists and
4126 * should be included.
4128 /*#define I_SYSLOG / **/
4131 * This symbol, if defined, indicates that <sys/mode.h> exists and
4132 * should be included.
4134 /*#define I_SYSMODE / **/
4137 * This symbol, if defined, indicates that <sys/mount.h> exists and
4138 * should be included.
4140 /*#define I_SYS_MOUNT / **/
4143 * This symbol, if defined, indicates that <sys/statfs.h> exists.
4145 /*#define I_SYS_STATFS / **/
4148 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
4149 * should be included.
4151 /*#define I_SYS_STATVFS / **/
4154 * This symbol, if defined, indicates that <sys/utsname.h> exists and
4155 * should be included.
4157 /*#define I_SYSUTSNAME / **/
4160 * This symbol, if defined, indicates that <sys/vfs.h> exists and
4161 * should be included.
4163 /*#define I_SYS_VFS / **/
4166 * This symbol, if defined, indicates that <ustat.h> exists and
4167 * should be included.
4169 /*#define I_USTAT / **/
4172 * This symbol, if defined, contains the string used by stdio to
4173 * format long doubles (format 'f') for output.
4176 * This symbol, if defined, contains the string used by stdio to
4177 * format long doubles (format 'g') for output.
4180 * This symbol, if defined, contains the string used by stdio to
4181 * format long doubles (format 'e') for output.
4184 * This symbol, if defined, contains the string used by stdio to
4185 * format long doubles (format 'f') for input.
4187 /*#define PERL_PRIfldbl "f" / **/
4188 /*#define PERL_PRIgldbl "g" / **/
4189 /*#define PERL_PRIeldbl "e" / **/
4190 /*#define PERL_SCNfldbl "f" / **/
4193 * This symbol, if defined, indicates that the Misc Attribution
4194 * Declaration code should be conditionally compiled.
4196 /*#define PERL_MAD / **/
4199 * This symbol, if defined, indicates that the system stores
4200 * the variable argument list datatype, va_list, in a format
4201 * that cannot be copied by simple assignment, so that some
4202 * other means must be used when copying is required.
4203 * As such systems vary in their provision (or non-provision)
4204 * of copying mechanisms, handy.h defines a platform-
4205 * independent macro, Perl_va_copy(src, dst), to do the job.
4207 /*#define NEED_VA_COPY / **/
4210 * This symbol defines the C type used for Perl's IV.
4213 * This symbol defines the C type used for Perl's UV.
4216 * This symbol defines the C type used for Perl's I8.
4219 * This symbol defines the C type used for Perl's U8.
4222 * This symbol defines the C type used for Perl's I16.
4225 * This symbol defines the C type used for Perl's U16.
4228 * This symbol defines the C type used for Perl's I32.
4231 * This symbol defines the C type used for Perl's U32.
4234 * This symbol defines the C type used for Perl's I64.
4237 * This symbol defines the C type used for Perl's U64.
4240 * This symbol defines the C type used for Perl's NV.
4243 * This symbol contains the sizeof(IV).
4246 * This symbol contains the sizeof(UV).
4249 * This symbol contains the sizeof(I8).
4252 * This symbol contains the sizeof(U8).
4255 * This symbol contains the sizeof(I16).
4258 * This symbol contains the sizeof(U16).
4261 * This symbol contains the sizeof(I32).
4264 * This symbol contains the sizeof(U32).
4267 * This symbol contains the sizeof(I64).
4270 * This symbol contains the sizeof(U64).
4273 * This symbol contains the sizeof(NV).
4276 * This symbol, if defined, indicates that a variable of type NVTYPE
4277 * can preserve all the bits of a variable of type UVTYPE.
4279 /* NV_PRESERVES_UV_BITS:
4280 * This symbol contains the number of bits a variable of type NVTYPE
4281 * can preserve of a variable of type UVTYPE.
4283 /* NV_OVERFLOWS_INTEGERS_AT:
4284 * This symbol gives the largest integer value that NVs can hold. This
4285 * value + 1.0 cannot be stored accurately. It is expressed as constant
4286 * floating point expression to reduce the chance of decimal/binary
4287 * conversion issues. If it can not be determined, the value 0 is given.
4289 /* NV_ZERO_IS_ALLBITS_ZERO:
4290 * This symbol, if defined, indicates that a variable of type NVTYPE
4291 * stores 0.0 in memory as all bits zero.
4294 # define IVTYPE __int64 /**/
4295 # define UVTYPE unsigned __int64 /**/
4297 # define IVTYPE long long /**/
4298 # define UVTYPE unsigned long long /**/
4300 #define I8TYPE char /**/
4301 #define U8TYPE unsigned char /**/
4302 #define I16TYPE short /**/
4303 #define U16TYPE unsigned short /**/
4304 #define I32TYPE long /**/
4305 #define U32TYPE unsigned long /**/
4308 # define I64TYPE __int64 /**/
4309 # define U64TYPE unsigned __int64 /**/
4311 # define I64TYPE long long /**/
4312 # define U64TYPE unsigned long long /**/
4315 #define NVTYPE double /**/
4316 #define IVSIZE 8 /**/
4317 #define UVSIZE 8 /**/
4318 #define I8SIZE 1 /**/
4319 #define U8SIZE 1 /**/
4320 #define I16SIZE 2 /**/
4321 #define U16SIZE 2 /**/
4322 #define I32SIZE 4 /**/
4323 #define U32SIZE 4 /**/
4325 #define I64SIZE 8 /**/
4326 #define U64SIZE 8 /**/
4328 #define NVSIZE 8 /**/
4329 #undef NV_PRESERVES_UV
4330 #define NV_PRESERVES_UV_BITS 53
4331 #define NV_OVERFLOWS_INTEGERS_AT 256.0*256.0*256.0*256.0*256.0*256.0*2.0*2.0*2.0*2.0*2.0
4332 #define NV_ZERO_IS_ALLBITS_ZERO
4335 # if BYTEORDER == 0x1234
4337 # define BYTEORDER 0x12345678
4339 # if BYTEORDER == 0x4321
4341 # define BYTEORDER 0x87654321
4348 * This symbol defines the format string used for printing a Perl IV
4349 * as a signed decimal integer.
4352 * This symbol defines the format string used for printing a Perl UV
4353 * as an unsigned decimal integer.
4356 * This symbol defines the format string used for printing a Perl UV
4357 * as an unsigned octal integer.
4360 * This symbol defines the format string used for printing a Perl UV
4361 * as an unsigned hexadecimal integer in lowercase abcdef.
4364 * This symbol defines the format string used for printing a Perl UV
4365 * as an unsigned hexadecimal integer in uppercase ABCDEF.
4368 * This symbol defines the format string used for printing a Perl NV
4369 * using %e-ish floating point format.
4372 * This symbol defines the format string used for printing a Perl NV
4373 * using %f-ish floating point format.
4376 * This symbol defines the format string used for printing a Perl NV
4377 * using %g-ish floating point format.
4379 #define IVdf "I64d" /**/
4380 #define UVuf "I64u" /**/
4381 #define UVof "I64o" /**/
4382 #define UVxf "I64x" /**/
4383 #define UVXf "I64X" /**/
4384 #define NVef "e" /**/
4385 #define NVff "f" /**/
4386 #define NVgf "g" /**/
4389 * This symbol holds the minimum number of bits operated by select.
4390 * That is, if you do select(n, ...), how many bits at least will be
4391 * cleared in the masks if some activity is detected. Usually this
4392 * is either n or 32*ceil(n/32), especially many little-endians do
4393 * the latter. This is only useful if you have select(), naturally.
4395 #define SELECT_MIN_BITS 32 /**/
4398 * This variable contains the size of struct stat's st_ino in bytes.
4401 * This symbol holds the signedess of struct stat's st_ino.
4402 * 1 for unsigned, -1 for signed.
4404 #define ST_INO_SIGN 1 /* st_ino sign */
4405 #define ST_INO_SIZE 4 /* st_ino size */
4408 * This variable contains the string to put in front of a perl
4409 * script to make sure (one hopes) that it runs with perl and not
4412 #define STARTPERL "#!perl" /**/
4414 /* HAS_STDIO_STREAM_ARRAY:
4415 * This symbol, if defined, tells that there is an array
4416 * holding the stdio streams.
4418 /* STDIO_STREAM_ARRAY:
4419 * This symbol tells the name of the array holding the stdio streams.
4420 * Usual values include _iob, __iob, and __sF.
4422 /*#define HAS_STDIO_STREAM_ARRAY / **/
4423 #ifdef HAS_STDIO_STREAM_ARRAY
4424 #define STDIO_STREAM_ARRAY
4428 * This symbol contains the maximum value for the time_t offset that
4429 * the system function gmtime () accepts, and defaults to 0
4432 * This symbol contains the minimum value for the time_t offset that
4433 * the system function gmtime () accepts, and defaults to 0
4436 * This symbol contains the maximum value for the time_t offset that
4437 * the system function localtime () accepts, and defaults to 0
4440 * This symbol contains the minimum value for the time_t offset that
4441 * the system function localtime () accepts, and defaults to 0
4443 #define GMTIME_MAX 2147483647 /**/
4444 #define GMTIME_MIN 0 /**/
4445 #define LOCALTIME_MAX 2147483647 /**/
4446 #define LOCALTIME_MIN 0 /**/
4449 * This symbol, if defined, indicates that 64-bit integers should
4450 * be used when available. If not defined, the native integers
4451 * will be employed (be they 32 or 64 bits). The minimal possible
4452 * 64-bitness is used, just enough to get 64-bit integers into Perl.
4453 * This may mean using for example "long longs", while your memory
4454 * may still be limited to 2 gigabytes.
4457 * This symbol, if defined, indicates that 64-bit integers should
4458 * be used when available. If not defined, the native integers
4459 * will be used (be they 32 or 64 bits). The maximal possible
4460 * 64-bitness is employed: LP64 or ILP64, meaning that you will
4461 * be able to use more than 2 gigabytes of memory. This mode is
4462 * even more binary incompatible than USE_64_BIT_INT. You may not
4463 * be able to run the resulting executable in a 32-bit CPU at all or
4464 * you may need at least to reboot your OS to 64-bit mode.
4466 #ifndef USE_64_BIT_INT
4467 #define USE_64_BIT_INT /**/
4469 #ifndef USE_64_BIT_ALL
4470 /*#define USE_64_BIT_ALL / **/
4474 * This symbol, if defined, indicates that Perl should
4475 * be built with support for DTrace.
4477 /*#define USE_DTRACE / **/
4480 * This symbol, if defined, indicates that Perl should
4481 * be built to use 'fast stdio'.
4482 * Defaults to define in Perls 5.8 and earlier, to undef later.
4484 #ifndef USE_FAST_STDIO
4485 /*#define USE_FAST_STDIO / **/
4489 * This symbol, if defined, indicates that large file support
4490 * should be used when available.
4492 #ifndef USE_LARGE_FILES
4493 /*#define USE_LARGE_FILES / **/
4497 * This symbol, if defined, indicates that long doubles should
4498 * be used when available.
4500 #ifndef USE_LONG_DOUBLE
4501 /*#define USE_LONG_DOUBLE / **/
4505 * This symbol, if defined, indicates that 64-bit interfaces and
4506 * long doubles should be used when available.
4508 #ifndef USE_MORE_BITS
4509 /*#define USE_MORE_BITS / **/
4513 * This symbol, if defined, indicates that Perl should
4514 * be built to use multiplicity.
4516 #ifndef MULTIPLICITY
4517 /*#define MULTIPLICITY / **/
4521 * This symbol, if defined, indicates that the PerlIO abstraction should
4522 * be used throughout. If not defined, stdio should be
4523 * used in a fully backward compatible manner.
4526 /*#define USE_PERLIO / **/
4530 * This symbol, if defined, indicates that Perl should
4531 * be built to use socks.
4534 /*#define USE_SOCKS / **/
4537 /* HAS_DRAND48_PROTO:
4538 * This symbol, if defined, indicates that the system provides
4539 * a prototype for the drand48() function. Otherwise, it is up
4540 * to the program to supply one. A good guess is
4541 * extern double drand48(void);
4543 /*#define HAS_DRAND48_PROTO / **/
4545 /* HAS_GETHOST_PROTOS:
4546 * This symbol, if defined, indicates that <netdb.h> includes
4547 * prototypes for gethostent(), gethostbyname(), and
4548 * gethostbyaddr(). Otherwise, it is up to the program to guess
4549 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
4551 #define HAS_GETHOST_PROTOS /**/
4553 /* HAS_GETNET_PROTOS:
4554 * This symbol, if defined, indicates that <netdb.h> includes
4555 * prototypes for getnetent(), getnetbyname(), and
4556 * getnetbyaddr(). Otherwise, it is up to the program to guess
4557 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
4559 /*#define HAS_GETNET_PROTOS / **/
4561 /* HAS_GETPROTO_PROTOS:
4562 * This symbol, if defined, indicates that <netdb.h> includes
4563 * prototypes for getprotoent(), getprotobyname(), and
4564 * getprotobyaddr(). Otherwise, it is up to the program to guess
4565 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
4567 #define HAS_GETPROTO_PROTOS /**/
4569 /* HAS_GETSERV_PROTOS:
4570 * This symbol, if defined, indicates that <netdb.h> includes
4571 * prototypes for getservent(), getservbyname(), and
4572 * getservbyaddr(). Otherwise, it is up to the program to guess
4573 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
4575 #define HAS_GETSERV_PROTOS /**/
4578 * This symbol, if defined, indicates that the system provides
4579 * a prototype for the lseek() function. Otherwise, it is up
4580 * to the program to supply one. A good guess is
4581 * extern off_t lseek(int, off_t, int);
4583 #define HAS_LSEEK_PROTO /**/
4586 * This symbol holds the type used for the 1st argument
4587 * to gethostbyaddr().
4590 * This symbol holds the type used for the 2nd argument
4591 * to gethostbyaddr().
4594 * This symbol holds the type used for the argument to
4598 * This symbol holds the type used for the 1st argument to
4601 #define Netdb_host_t char * /**/
4602 #define Netdb_hlen_t int /**/
4603 #define Netdb_name_t char * /**/
4604 #define Netdb_net_t long /**/
4607 * This symbol holds the type used for the 2nd, 3rd, and 4th
4608 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
4609 * is defined, and 'int *' otherwise. This is only useful if you
4610 * have select(), of course.
4612 #define Select_fd_set_t Perl_fd_set * /**/
4615 * This symbol holds the type used for the size argument of
4616 * various socket calls (just the base type, not the pointer-to).
4618 #define Sock_size_t int /**/
4621 * This symbol, if defined, indicates that the time() routine exists.
4624 * This symbol holds the type returned by time(). It can be long,
4625 * or time_t on BSD sites (in which case <sys/types.h> should be
4628 #define HAS_TIME /**/
4629 #define Time_t time_t /* Time type */
4632 * This symbol, if defined, indicates that the times() routine exists.
4633 * Note that this became obsolete on some systems (SUNOS), which now
4634 * use getrusage(). It may be necessary to include <sys/times.h>.
4636 #define HAS_TIMES /**/
4639 * This symbol holds the type used to declare file positions in libc.
4640 * It can be fpos_t, long, uint, etc... It may be necessary to include
4641 * <sys/types.h> to get any typedef'ed information.
4643 #define Fpos_t fpos_t /* File position type */
4646 * This symbol defines the format string used for printing a Gid_t.
4648 #define Gid_t_f "ld" /**/
4651 * This symbol holds the signedess of a Gid_t.
4652 * 1 for unsigned, -1 for signed.
4654 #define Gid_t_sign -1 /* GID sign */
4657 * This symbol holds the size of a Gid_t in bytes.
4659 #define Gid_t_size 4 /* GID size */
4662 * This symbol holds the return type of getgid() and the type of
4663 * argument to setrgid() and related functions. Typically,
4664 * it is the type of group ids in the kernel. It can be int, ushort,
4665 * gid_t, etc... It may be necessary to include <sys/types.h> to get
4666 * any typedef'ed information.
4668 #define Gid_t gid_t /* Type for getgid(), etc... */
4671 * This symbol holds the type used to declare offsets in the kernel.
4672 * It can be int, long, off_t, etc... It may be necessary to include
4673 * <sys/types.h> to get any typedef'ed information.
4676 * This symbol holds the number of bytes used by the Off_t.
4679 * This symbol holds the number of bytes used by the Off_t.
4681 #define Off_t long /* <offset> type */
4682 #define LSEEKSIZE 4 /* <offset> size */
4683 #define Off_t_size 4 /* <offset> size */
4686 * This symbol holds the type used to declare file modes
4687 * for systems calls. It is usually mode_t, but may be
4688 * int or unsigned short. It may be necessary to include <sys/types.h>
4689 * to get any typedef'ed information.
4691 #define Mode_t mode_t /* file mode parameter for system calls */
4694 * This symbol holds the type used to declare process ids in the kernel.
4695 * It can be int, uint, pid_t, etc... It may be necessary to include
4696 * <sys/types.h> to get any typedef'ed information.
4698 #define Pid_t int /* PID type */
4701 * This symbol holds the size of a Size_t in bytes.
4703 #define Size_t_size 8 /**/
4706 * This symbol holds the type used to declare length parameters
4707 * for string functions. It is usually size_t, but may be
4708 * unsigned long, int, etc. It may be necessary to include
4709 * <sys/types.h> to get any typedef'ed information.
4711 #define Size_t size_t /* length parameter for string functions */
4714 * This symbol defines the format string used for printing a Uid_t.
4716 #define Uid_t_f "ld" /**/
4719 * This symbol holds the signedess of a Uid_t.
4720 * 1 for unsigned, -1 for signed.
4722 #define Uid_t_sign -1 /* UID sign */
4725 * This symbol holds the size of a Uid_t in bytes.
4727 #define Uid_t_size 4 /* UID size */
4730 * This symbol holds the type used to declare user ids in the kernel.
4731 * It can be int, ushort, uid_t, etc... It may be necessary to include
4732 * <sys/types.h> to get any typedef'ed information.
4734 #define Uid_t uid_t /* UID type */