2 * This file is mangled by fndvers (and perhaps other scripts) to produce
3 * the config.h for Plan 9. It was handwritten because the standard
4 * configuration scripts were written in a shell dialect incomprehensible
10 /* Configuration time: 21-Oct-1996 15:11
11 * Configured by: Luther Huffman, lutherh@stratcom.com
12 * Target system: Plan 9
16 * Mangled by Jarkko Hietaniemi 2003-02-02 based on Russ Cox'
17 * blood, sweat, and tears.
25 * This macro catenates 2 tokens together.
28 #define CAT2(a,b)a ## b
29 #define CAT3(a,b,c)a ## b ## c
30 #define CAT4(a,b,c,d)a ## b ## c ## d
31 #define CAT5(a,b,c,d,e)a ## b ## c ## d ## e
33 #define STRINGIFY(a)StGiFy(a)
34 #define SCAT2(a,b)StGiFy(a) StGiFy(b)
35 #define SCAT3(a,b,c)StGiFy(a) StGiFy(b) StGiFy(c)
36 #define SCAT4(a,b,c,d)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d)
37 #define SCAT5(a,b,c,d,e)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) StGiFy(e)
42 * This symbol contains the number of bytes required to align a
43 * double. Usual values are 2, 4 and 8.
45 #if (_P9P_OBJTYPE == 386) || (_P9P_OBJTYPE==power)
46 # define MEM_ALIGNBYTES 4 /* config-skip */
48 # if _P9P_OBJTYPE == 68020
49 # define MEM_ALIGNBYTES 2 /* config-skip */
51 # define MEM_ALIGNBYTES 8 /* config-skip */
56 * This symbol holds the path of the bin directory where the package will
57 * be installed. Program must be prepared to deal with ~name substitution.
60 * This symbol is the filename expanded version of the BIN symbol, for
61 * programs that do not want to deal with that at run-time.
63 #define BIN "/_P9P_OBJTYPE/bin" /* */
64 #define BIN_EXP "/_P9P_OBJTYPE/bin" /* */
67 * This symbol holds the complete pathname to the sed program.
69 #define LOC_SED "/bin/sed" /**/
72 * This symbol, if defined, indicates that the aintl routine is
73 * available. If copysignl is also present we can emulate modfl.
75 /*#define HAS_AINTL / **/
78 * This symbol, if defined, indicates that the alarm routine is
81 #define HAS_ALARM /**/
84 * This symbol indicates the C compiler can check for function attributes,
85 * such as printf formats. This is normally only supported by GNU cc.
87 /*#define HASATTRIBUTE /* config-skip */
92 #define __attribute__(_arg_)
96 * This symbol, if defined, indicates that the chown routine is
99 #define HAS_CHOWN /**/
102 * This symbol, if defined, indicates that the chroot routine is
105 /*#define HAS_CHROOT / **/
108 * This symbol, if defined, indicates that the chsize routine is available
109 * to truncate files. You might need a -lx to get this routine.
111 /*#define HAS_CHSIZE / **/
114 * This symbol, if defined, indicates that this C compiler knows about
115 * the const type. There is no need to actually test for that symbol
116 * within your programs. The mere use of the "const" keyword will
117 * trigger the necessary tests.
119 #define HASCONST /**/
125 * This symbol, if defined, indicates that the cuserid routine is
126 * available to get character login names.
128 #define HAS_CUSERID /**/
131 * This symbol, if defined, indicates that the difftime routine is
134 #define HAS_DIFFTIME /**/
137 * This symbol, if defined, indicates that the dlerror routine is
138 * available to return a string describing the last error that
139 * occurred from a call to dlopen(), dlclose() or dlsym().
141 /*#define HAS_DLERROR / **/
144 * This symbol, if defined, indicates that the dup2 routine is
145 * available to duplicate file descriptors.
147 #define HAS_DUP2 /**/
150 * This symbol, if defined, indicates that the fchmod routine is available
151 * to change mode of opened files. If unavailable, use chmod().
153 #define HAS_FCHMOD /**/
156 * This symbol, if defined, indicates that the fchown routine is available
157 * to change ownership of opened files. If unavailable, use chown().
159 /*#define HAS_FCHOWN / **/
162 * This symbol, if defined, indicates to the C program that
163 * the fcntl() function exists.
165 #define HAS_FCNTL /**/
168 * This symbol, if defined, indicates that the fgetpos routine is
169 * available to get the file position indicator, similar to ftell().
171 #define HAS_FGETPOS /**/
174 * This symbol, if defined, indicates that the flock routine is
175 * available to do file locking.
177 /*#define HAS_FLOCK / **/
180 * This symbol, if defined, indicates that the fork routine is
183 #define HAS_FORK /**/
186 * This symbol, if defined, indicates that the fsetpos routine is
187 * available to set the file position indicator, similar to fseek().
189 #define HAS_FSETPOS /**/
192 * This symbol, if defined, indicates that the gettimeofday() system
193 * call is available for a sub-second accuracy clock. Usually, the file
194 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
195 * The type "Timeval" should be used to refer to "struct timeval".
197 #define HAS_GETTIMEOFDAY /**/
198 #ifdef HAS_GETTIMEOFDAY
199 #define Timeval struct timeval /* Structure used by gettimeofday() */ /* config-skip */
203 * This symbol, if defined, indicates that the getgroups() routine is
204 * available to get the list of process groups. If unavailable, multiple
205 * groups are probably not supported.
207 #define HAS_GETGROUPS /* config-skip */
210 * This symbol, if defined, indicates that the getlogin routine is
211 * available to get the login name.
213 #define HAS_GETLOGIN /**/
216 * This symbol, if defined, indicates to the C program that
217 * the getpgid(pid) function is available to get the
220 /*#define HAS_GETPGID / **/
223 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
224 * routine is available to get the current process group.
226 /*#define HAS_GETPGRP2 / **/
229 * This symbol, if defined, indicates that the getppid routine is
230 * available to get the parent process ID.
232 #define HAS_GETPPID /**/
235 * This symbol, if defined, indicates that the getpriority routine is
236 * available to get a process's priority.
238 /*#define HAS_GETPRIORITY / **/
241 * This symbol, if defined, indicates to the C program that the
242 * inet_aton() function is available to parse IP address "dotted-quad"
245 /*#define HAS_INET_ATON / **/
248 * This symbol, if defined, indicates that the killpg routine is available
249 * to kill process groups. If unavailable, you probably should use kill
250 * with a negative process number.
252 /*#define HAS_KILLPG / **/
255 * This symbol, if defined, indicates that the link routine is
256 * available to create hard links.
258 /* #define HAS_LINK /**/
261 * This symbol, if defined, indicates that the localeconv routine is
262 * available for numeric and monetary formatting conventions.
264 #define HAS_LOCALECONV /**/
267 * This symbol, if defined, indicates that the lockf routine is
268 * available to do file locking.
270 /*#define HAS_LOCKF / **/
273 * This symbol, if defined, indicates that the lstat routine is
274 * available to do file stats on symbolic links.
276 /*#define HAS_LSTAT /**/
279 * This symbol, if defined, indicates that the mblen routine is available
280 * to find the number of bytes in a multibye character.
282 #define HAS_MBLEN /**/
285 * This symbol, if defined, indicates that the mbstowcs routine is
286 * available to covert a multibyte string into a wide character string.
288 #define HAS_MBSTOWCS /**/
291 * This symbol, if defined, indicates that the mbtowc routine is available
292 * to covert a multibyte to a wide character.
294 #define HAS_MBTOWC /**/
297 * This symbol, if defined, indicates that the mkdir routine is available
298 * to create directories. Otherwise you should fork off a new process to
301 #define HAS_MKDIR /**/
304 * This symbol, if defined, indicates that the mkfifo routine is
305 * available to create FIFOs. Otherwise, mknod should be able to
306 * do it for you. However, if mkfifo is there, mknod might require
307 * super-user privileges which mkfifo will not.
309 #define HAS_MKFIFO /**/
312 * This symbol, if defined, indicates that the mktime routine is
315 #define HAS_MKTIME /**/
318 * This symbol, if defined, indicates that the msync system call is
319 * available to synchronize a mapped file.
321 /*#define HAS_MSYNC / **/
324 * This symbol, if defined, indicates that the munmap system call is
325 * available to unmap a region, usually mapped by mmap().
327 /*#define HAS_MUNMAP / **/
330 * This symbol, if defined, indicates that the nice routine is
333 /*#define HAS_NICE / **/
336 * This symbol, if defined, indicates that pathconf() is available
337 * to determine file-system related limits and options associated
338 * with a given filename.
341 * This symbol, if defined, indicates that pathconf() is available
342 * to determine file-system related limits and options associated
343 * with a given open file descriptor.
345 #define HAS_PATHCONF /**/
346 #define HAS_FPATHCONF /**/
349 * This symbol, if defined, indicates that the pause routine is
350 * available to suspend a process until a signal is received.
352 #define HAS_PAUSE /**/
355 * This symbol, if defined, indicates that the pipe routine is
356 * available to create an inter-process channel.
358 #define HAS_PIPE /**/
361 * This symbol, if defined, indicates that the poll routine is
362 * available to poll active file descriptors. You may safely
363 * include <poll.h> when this symbol is defined.
365 /*#define HAS_POLL / **/
368 * This symbol, if defined, indicates that the readdir routine is
369 * available to read directory entries. You may have to include
370 * <dirent.h>. See I_DIRENT.
372 #define HAS_READDIR /**/
375 * This symbol, if defined, indicates that the seekdir routine is
376 * available. You may have to include <dirent.h>. See I_DIRENT.
378 /*#define HAS_SEEKDIR / **/
381 * This symbol, if defined, indicates that the telldir routine is
382 * available. You may have to include <dirent.h>. See I_DIRENT.
384 /*#define HAS_TELLDIR / **/
387 * This symbol, if defined, indicates that the rewinddir routine is
388 * available. You may have to include <dirent.h>. See I_DIRENT.
390 #define HAS_REWINDDIR /**/
393 * This symbol, if defined, indicates that the readlink routine is
394 * available to read the value of a symbolic link.
396 /*#define HAS_READLINK /**/
399 * This symbol, if defined, indicates that the rename routine is available
400 * to rename files. Otherwise you should do the unlink(), link(), unlink()
403 #define HAS_RENAME /**/
406 * This symbol, if defined, indicates that the rmdir routine is
407 * available to remove directories. Otherwise you should fork off a
408 * new process to exec /bin/rmdir.
410 #define HAS_RMDIR /**/
413 * This symbol, if defined, indicates that the select routine is
414 * available to select active file descriptors. If the timeout field
415 * is used, <sys/time.h> may need to be included.
417 #define HAS_SELECT /* config-skip */
420 * This symbol, if defined, indicates that the setegid routine is available
421 * to change the effective gid of the current program.
423 /*#define HAS_SETEGID / **/
426 * This symbol, if defined, indicates that the seteuid routine is available
427 * to change the effective uid of the current program.
429 /*#define HAS_SETEUID / **/
432 * This symbol, if defined, indicates that the setlinebuf routine is
433 * available to change stderr or stdout from block-buffered or unbuffered
434 * to a line-buffered mode.
436 #define HAS_SETLINEBUF /**/
439 * This symbol, if defined, indicates that the setlocale routine is
440 * available to handle locale-specific ctype implementations.
442 #define HAS_SETLOCALE /**/
445 * This symbol, if defined, indicates that the setpgid(pid, gpid)
446 * routine is available to set process group ID.
448 #define HAS_SETPGID /**/
451 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
452 * routine is available to set the current process group.
454 /*#define HAS_SETPGRP2 / **/
457 * This symbol, if defined, indicates that the setpriority routine is
458 * available to set a process's priority.
460 /*#define HAS_SETPRIORITY / **/
463 * This symbol, if defined, indicates that the setregid routine is
464 * available to change the real and effective gid of the current
468 * This symbol, if defined, indicates that the setresgid routine is
469 * available to change the real, effective and saved gid of the current
472 /*#define HAS_SETREGID / **/
473 /*#define HAS_SETRESGID / **/
476 * This symbol, if defined, indicates that the setreuid routine is
477 * available to change the real and effective uid of the current
481 * This symbol, if defined, indicates that the setresuid routine is
482 * available to change the real, effective and saved uid of the current
485 /*#define HAS_SETREUID / **/
486 /*#define HAS_SETRESUID / **/
489 * This symbol, if defined, indicates that the setrgid routine is available
490 * to change the real gid of the current program.
492 /*#define HAS_SETRGID / **/
495 * This symbol, if defined, indicates that the setruid routine is available
496 * to change the real uid of the current program.
498 /*#define HAS_SETRUID / **/
501 * This symbol, if defined, indicates that the setsid routine is
502 * available to set the process group ID.
504 #define HAS_SETSID /**/
507 * This symbol, if defined, indicates that the strcoll routine is
508 * available to compare strings using collating information.
510 #define HAS_STRCOLL /**/
513 * This symbol, if defined, indicates that the strtod routine is
514 * available to provide better numeric string conversion than atof().
516 #define HAS_STRTOD /**/
519 * This symbol, if defined, indicates that the strtol routine is available
520 * to provide better numeric string conversion than atoi() and friends.
522 #define HAS_STRTOL /**/
525 * This symbol, if defined, indicates that the strxfrm() routine is
526 * available to transform strings.
528 #define HAS_STRXFRM /**/
531 * This symbol, if defined, indicates that the symlink routine is available
532 * to create symbolic links.
534 /*#define HAS_SYMLINK /**/
537 * This symbol, if defined, indicates that the syscall routine is
538 * available to call arbitrary system calls. If undefined, that's tough.
540 /*#define HAS_SYSCALL / **/
543 * This symbol, if defined, indicates that sysconf() is available
544 * to determine system related limits and options.
546 #define HAS_SYSCONF /**/
549 * This symbol, if defined, indicates that the system routine is
550 * available to issue a shell command.
552 #define HAS_SYSTEM /**/
555 * This symbol, if defined, indicates that the tcgetpgrp routine is
556 * available to get foreground process group ID.
558 #define HAS_TCGETPGRP /**/
561 * This symbol, if defined, indicates that the tcsetpgrp routine is
562 * available to set foreground process group ID.
564 #define HAS_TCSETPGRP /**/
567 * This symbol, if defined, indicates that the truncate routine is
568 * available to truncate files.
570 /*#define HAS_TRUNCATE / **/
573 * This symbol, if defined, indicates that the tzname[] array is
574 * available to access timezone names.
576 #define HAS_TZNAME /**/
579 * This symbol, if defined, indicates that the umask routine is
580 * available to set and get the value of the file creation mask.
582 #define HAS_UMASK /**/
585 * This symbol, if defined, indicates that the usleep routine is
586 * available to let the process sleep on a sub-second accuracy.
588 /*#define HAS_USLEEP / **/
591 * This symbol, if defined, indicates that wait4() exists.
593 /*#define HAS_WAIT4 / **/
596 * This symbol, if defined, indicates that the waitpid routine is
597 * available to wait for child process.
599 #define HAS_WAITPID /**/
602 * This symbol, if defined, indicates that the wcstombs routine is
603 * available to convert wide character strings to multibyte strings.
605 #define HAS_WCSTOMBS /**/
608 * This symbol, if defined, indicates that the wctomb routine is available
609 * to covert a wide character to a multibyte.
611 #define HAS_WCTOMB /**/
614 * This symbol, if defined, indicates to the C program that it should
615 * include <arpa/inet.h> to get inet_addr and friends declarations.
617 #define I_ARPA_INET /**/
620 * This symbol, if defined, indicates that <dbm.h> exists and should
624 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
625 * should be included.
627 /*#define I_DBM / **/
628 /*#define I_RPCSVC_DBM / **/
631 * This symbol, if defined, indicates to the C program that it should
632 * include <dirent.h>. Using this symbol also triggers the definition
633 * of the Direntry_t define which ends up being 'struct dirent' or
634 * 'struct direct' depending on the availability of <dirent.h>.
637 * This symbol, if defined, indicates to the C program that the length
638 * of directory entry names is provided by a d_namlen field. Otherwise
639 * you need to do strlen() on the d_name field.
642 * This symbol is set to 'struct direct' or 'struct dirent' depending on
643 * whether dirent is available or not. You should use this pseudo type to
644 * portably declare your directory entries.
646 #define I_DIRENT /**/
647 /*#define DIRNAMLEN / **/
648 #define Direntry_t struct dirent
651 * This symbol, if defined, indicates that <dlfcn.h> exists and should
654 /*#define I_DLFCN / **/
657 * This manifest constant tells the C program to include <fcntl.h>.
662 * This symbol, if defined, indicates to the C program that it should
663 * include <locale.h>.
665 #define I_LOCALE /**/
668 * This symbol, if defined, indicates that <net/errno.h> exists and
669 * should be included.
671 /*#define I_NET_ERRNO /* config-skip */
674 * This symbol, if defined, indicates to the C program that it should
675 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
677 #define I_NETINET_IN /* config-skip */
680 * This symbol, if defined, indicates to the C program that it should
681 * include <sys/dir.h>.
683 /*#define I_SYS_DIR / **/
686 * This symbol, if defined, indicates to the C program that it should
687 * include <sys/file.h> to get definition of R_OK and friends.
689 /*#define I_SYS_FILE / **/
692 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
693 * be included. Otherwise, include <sgtty.h> or <termio.h>.
696 * This symbol, if defined, indicates the <sys/sockio.h> should be included
697 * to get socket ioctl options, like SIOCATMARK.
699 #define I_SYS_IOCTL /**/
700 /*#define I_SYS_SOCKIO / **/
703 * This symbol, if defined, indicates to the C program that it should
704 * include <sys/ndir.h>.
706 /*#define I_SYS_NDIR / **/
709 * This symbol, if defined, indicates to the C program that it should
710 * include <sys/param.h>.
712 #define I_SYS_PARAM /**/
715 * This symbol, if defined, indicates to the C program that it should
716 * include <sys/resource.h>.
718 #define I_SYS_RESOURCE /**/
720 /* Plan 9: file position in Plan 9 is <select.h> */
722 * This symbol, if defined, indicates to the C program that it should
723 * include <sys/select.h> in order to get definition of struct timeval.
725 #define I_SYS_SELECT /**/
728 * This symbol, if defined, indicates to the C program that it should
729 * include <sys/stat.h>.
731 #define I_SYS_STAT /**/
734 * This symbol, if defined, indicates to the C program that it should
735 * include <sys/times.h>.
737 #define I_SYS_TIMES /**/
740 * This symbol, if defined, indicates to the C program that it should
741 * include <sys/types.h>.
743 #define I_SYS_TYPES /**/
746 * This symbol, if defined, indicates to the C program that it should
747 * include <sys/un.h> to get UNIX domain socket definitions.
749 #define I_SYS_UN /**/
752 * This symbol, if defined, indicates to the C program that it should
753 * include <sys/wait.h>.
755 #define I_SYS_WAIT /**/
758 * This symbol, if defined, indicates that the program should include
759 * <termio.h> rather than <sgtty.h>. There are also differences in
760 * the ioctl() calls that depend on the value of this symbol.
763 * This symbol, if defined, indicates that the program should include
764 * the POSIX termios.h rather than sgtty.h or termio.h.
765 * There are also differences in the ioctl() calls that depend on the
766 * value of this symbol.
769 * This symbol, if defined, indicates that the program should include
770 * <sgtty.h> rather than <termio.h>. There are also differences in
771 * the ioctl() calls that depend on the value of this symbol.
773 /*#define I_TERMIO / **/
774 #define I_TERMIOS /**/
775 /*#define I_SGTTY / **/
778 * This symbol, if defined, indicates to the C program that it should
779 * include <unistd.h>.
781 #define I_UNISTD /**/
784 * This symbol, if defined, indicates to the C program that it should
790 * This symbol, if defined, indicates to the C program that it should
793 /*#define I_VFORK / **/
796 * This symbol contains the value of sizeof(int) so that the C
797 * preprocessor can make decisions based on it.
800 * This symbol contains the value of sizeof(long) so that the C
801 * preprocessor can make decisions based on it.
804 * This symbol contains the value of sizeof(short) so that the C
805 * preprocessor can make decisions based on it.
807 #define INTSIZE 4 /**/
808 #define LONGSIZE 4 /**/
809 #define SHORTSIZE 2 /**/
812 * This symbol, if defined, signifies that the build
813 * process will produce some binary files that are going to be
814 * used in a cross-platform environment. This is the case for
815 * example with the NeXT "fat" binaries that contain executables
818 /*#define MULTIARCH / **/
821 * This symbol, if defined, tells that there's a 64-bit integer type,
822 * Quad_t, and its unsigned counterpart, Uquad_t. QUADKIND will be one
823 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
825 #define HAS_QUAD /**/
827 # define Quad_t long long /**/
828 # define Uquad_t unsigned long long /**/
829 # define QUADKIND 3 /**/
830 # define QUAD_IS_INT 1
831 # define QUAD_IS_LONG 2
832 # define QUAD_IS_LONG_LONG 3
833 # define QUAD_IS_INT64_T 4
837 * This symbol, if defined, indicates that the accessx routine is
838 * available to do extended access checks.
840 /*#define HAS_ACCESSX / **/
843 * This symbol, if defined, indicates that the eaccess routine is
844 * available to do extended access checks.
846 /*#define HAS_EACCESS / **/
849 * This symbol, if defined, indicates to the C program that it should
850 * include <sys/access.h>.
852 /*#define I_SYS_ACCESS / **/
855 * This symbol, if defined, indicates to the C program that it should
856 * include <sys/security.h>.
858 /*#define I_SYS_SECURITY / **/
861 * This symbol contains the name of the operating system, as determined
862 * by Configure. You shouldn't rely on it too much; the specific
863 * feature tests from Configure are generally more reliable.
866 * This symbol contains the version of the operating system, as determined
867 * by Configure. You shouldn't rely on it too much; the specific
868 * feature tests from Configure are generally more reliable.
870 #define OSNAME "plan9" /**/
871 #define OSVERS "1" /**/
874 * This symbol, if defined, indicates that the program is running under the
875 * Plan 9 operating system.
880 * This symbol contains the number of bytes required to align a
881 * double, or a long double when applicable. Usual values are 2,
882 * 4 and 8. The default is eight, for safety.
884 #if defined(MULTIARCH)
885 # define MEM_ALIGNBYTES 8
887 #define MEM_ALIGNBYTES 4
891 * This variable, if defined, holds the name of the directory in
892 * which the user wants to put architecture-dependent public
893 * library files for perl. It is most often a local directory
894 * such as /usr/local/lib. Programs using this variable must be
895 * prepared to deal with filename expansion. If ARCHLIB is the
896 * same as PRIVLIB, it is not defined, since presumably the
897 * program already searches PRIVLIB.
900 * This symbol contains the ~name expanded version of ARCHLIB, to be used
901 * in programs that are not prepared to deal with ~ expansion at run-time.
903 #define ARCHLIB_EXP "/_P9P_OBJTYPE/lib/perl/_P9P_VERSION"
904 #define ARCHLIB "/_P9P_OBJTYPE/lib/perl/_P9P_VERSION"
907 * This symbol holds a string representing the architecture name.
908 * It may be used to construct an architecture-dependant pathname
909 * where library files may be held under a private library, for
912 #define ARCHNAME "plan9__P9P_OBJTYPE" /**/
915 * This symbol, if defined, indicates that the atolf routine is
916 * available to convert strings into long doubles.
918 /*#define HAS_ATOLF / **/
921 * This symbol, if defined, indicates that the atoll routine is
922 * available to convert strings into long longs.
924 #define HAS_ATOLL /**/
927 * This symbol holds the path of the bin directory where the package will
928 * be installed. Program must be prepared to deal with ~name substitution.
931 * This symbol is the filename expanded version of the BIN symbol, for
932 * programs that do not want to deal with that at run-time.
934 #define BIN "/usr/bin" /**/
935 #define BIN_EXP "/usr/bin" /**/
938 * This symbol holds the hexadecimal constant defined in byteorder,
939 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
940 * If the compiler supports cross-compiling or multiple-architecture
941 * binaries (eg. on NeXT systems), use compiler-defined macros to
942 * determine the byte order.
943 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
944 * Binaries (MAB) on either big endian or little endian machines.
945 * The endian-ness is available at compile-time. This only matters
946 * for perl, where the config.h can be generated and installed on
947 * one system, and used by a different architecture to build an
948 * extension. Older versions of NeXT that might not have
949 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
950 * so the default case (for NeXT) is big endian to catch them.
951 * This might matter for NeXT 3.0.
953 #if defined(MULTIARCH)
954 # ifdef __LITTLE_ENDIAN__
956 # define BYTEORDER 0x1234 /* config-skip */
959 # define BYTEORDER 0x12345678 /* config-skip */
963 # ifdef __BIG_ENDIAN__
965 # define BYTEORDER 0x4321
968 # define BYTEORDER 0x87654321
973 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
974 # define BYTEORDER 0x4321
977 #define BYTEORDER 0x1234 /* large digits for MSB */
981 * This macro catenates 2 tokens together.
984 * This macro surrounds its token with double quotes.
987 #define CAT2(a,b) a/**/b
988 #define STRINGIFY(a) "a"
989 /* If you can get stringification with catify, tell me how! */
992 #define PeRl_CaTiFy(a, b) a ## b
993 #define PeRl_StGiFy(a) #a
994 /* the additional level of indirection enables these macros to be
995 * used as arguments to other macros. See K&R 2nd ed., page 231. */
996 #define CAT2(a,b) PeRl_CaTiFy(a,b)
997 #define StGiFy(a) PeRl_StGiFy(a)
998 #define STRINGIFY(a) PeRl_StGiFy(a)
1000 #if 42 != 1 && 42 != 42
1001 # include "Bletch: How does this C preprocessor concatenate tokens?"
1005 * This symbol contains the first part of the string which will invoke
1006 * the C preprocessor on the standard input and produce to standard
1007 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1008 * call a wrapper. See CPPRUN.
1011 * This symbol contains the second part of the string which will invoke
1012 * the C preprocessor on the standard input and produce to standard
1013 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1014 * to specify standard input, otherwise the value is "".
1017 * This symbol contains the string which will invoke a C preprocessor on
1018 * the standard input and produce to standard output. It needs to end
1019 * with CPPLAST, after all other preprocessor flags have been specified.
1020 * The main difference with CPPSTDIN is that this program will never be a
1021 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1022 * available directly to the user. Note that it may well be different from
1023 * the preprocessor used to compile the C program.
1026 * This symbol is intended to be used along with CPPRUN in the same manner
1027 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1029 #define CPPSTDIN "cppstdin"
1031 #define CPPRUN "/bin/cpp"
1035 * This symbol, if defined, indicates that the _fwalk system call is
1036 * available to apply a function to all the file handles.
1038 /*#define HAS__FWALK / **/
1041 * This manifest constant lets the C program know that the access()
1042 * system call is available to check for accessibility using real UID/GID.
1043 * (always present on UNIX.)
1045 #define HAS_ACCESS /**/
1048 * This symbol, if defined, indicates that the asctime_r routine
1049 * is available to asctime re-entrantly.
1052 * This symbol encodes the prototype of asctime_r.
1053 * It is zero if d_asctime_r is undef, and one of the
1054 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1057 /*#define HAS_ASCTIME_R / **/
1058 #define ASCTIME_R_PROTO 0 /**/
1061 * This symbol is defined if the C compiler can cast negative
1062 * or large floating point numbers to 32-bit ints.
1064 /*#define CASTI32 / **/
1067 * This symbol is defined if the C compiler can cast negative
1068 * numbers to unsigned longs, ints and shorts.
1071 * This symbol contains flags that say what difficulties the compiler
1072 * has casting odd floating values to unsigned long:
1074 * 1 = couldn't cast < 0
1075 * 2 = couldn't cast >= 0x80000000
1076 * 4 = couldn't cast in argument expression list
1078 /*#define CASTNEGFLOAT /* config-skip */
1079 #if _P9P_OBJTYPE == 386
1080 # define CASTFLAGS 3 /**/ /* config-skip */
1082 # define CASTFLAGS 0 /**/ /* config-skip */
1086 * This symbol, if defined, indicates that the class routine is
1087 * available to classify doubles. Available for example in AIX.
1088 * The returned values are defined in <float.h> and are:
1090 * FP_PLUS_NORM Positive normalized, nonzero
1091 * FP_MINUS_NORM Negative normalized, nonzero
1092 * FP_PLUS_DENORM Positive denormalized, nonzero
1093 * FP_MINUS_DENORM Negative denormalized, nonzero
1095 * FP_MINUS_ZERO -0.0
1098 * FP_NANS Signaling Not a Number (NaNS)
1099 * FP_NANQ Quiet Not a Number (NaNQ)
1101 /*#define HAS_CLASS / **/
1104 * This symbol, if defined, indicates that the closedir() routine
1105 * does not return a value.
1107 /*#define VOID_CLOSEDIR / **/
1109 /* HAS_STRUCT_CMSGHDR:
1110 * This symbol, if defined, indicates that the struct cmsghdr
1113 /*#define HAS_STRUCT_CMSGHDR / **/
1116 * This symbol, if defined, indicates that the crypt_r routine
1117 * is available to crypt re-entrantly.
1120 * This symbol encodes the prototype of crypt_r.
1121 * It is zero if d_crypt_r is undef, and one of the
1122 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1125 /*#define HAS_CRYPT_R / **/
1126 #define CRYPT_R_PROTO 0 /**/
1129 * This symbol, if defined, indicates that the C-shell exists.
1132 * This symbol, if defined, contains the full pathname of csh.
1134 /*#define HAS_CSH / **/
1136 #define CSH "csh" /**/
1140 * This symbol, if defined, indicates that the ctime_r routine
1141 * is available to ctime re-entrantly.
1144 * This symbol encodes the prototype of ctime_r.
1145 * It is zero if d_ctime_r is undef, and one of the
1146 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1149 /*#define HAS_CTIME_R / **/
1150 #define CTIME_R_PROTO 0 /**/
1152 /* DLSYM_NEEDS_UNDERSCORE:
1153 * This symbol, if defined, indicates that we need to prepend an
1154 * underscore to the symbol name before calling dlsym(). This only
1155 * makes sense if you *have* dlsym, which we will presume is the
1156 * case if you're using dl_dlopen.xs.
1158 /*#define DLSYM_NEEDS_UNDERSCORE / **/
1161 * This symbol, if defined, indicates that the drand48_r routine
1162 * is available to drand48 re-entrantly.
1165 * This symbol encodes the prototype of drand48_r.
1166 * It is zero if d_drand48_r is undef, and one of the
1167 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1170 /*#define HAS_DRAND48_R / **/
1171 #define DRAND48_R_PROTO 0 /**/
1173 /* HAS_DRAND48_PROTO:
1174 * This symbol, if defined, indicates that the system provides
1175 * a prototype for the drand48() function. Otherwise, it is up
1176 * to the program to supply one. A good guess is
1177 * extern double drand48(void);
1179 /*#define HAS_DRAND48_PROTO / **/
1182 * This symbol, if defined, indicates that the getgrent routine is
1183 * available for finalizing sequential access of the group database.
1185 #define HAS_ENDGRENT /**/
1188 * This symbol, if defined, indicates that the endgrent_r routine
1189 * is available to endgrent re-entrantly.
1191 /* ENDGRENT_R_PROTO:
1192 * This symbol encodes the prototype of endgrent_r.
1193 * It is zero if d_endgrent_r is undef, and one of the
1194 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1197 /*#define HAS_ENDGRENT_R / **/
1198 #define ENDGRENT_R_PROTO 0 /**/
1201 * This symbol, if defined, indicates that the endhostent() routine is
1202 * available to close whatever was being used for host queries.
1204 #define HAS_ENDHOSTENT /**/
1207 * This symbol, if defined, indicates that the endnetent() routine is
1208 * available to close whatever was being used for network queries.
1210 /*#define HAS_ENDNETENT / **/
1213 * This symbol, if defined, indicates that the endprotoent() routine is
1214 * available to close whatever was being used for protocol queries.
1216 /*#define HAS_ENDPROTOENT / **/
1219 * This symbol, if defined, indicates that the getgrent routine is
1220 * available for finalizing sequential access of the passwd database.
1222 #define HAS_ENDPWENT /**/
1225 * This symbol, if defined, indicates that the endpwent_r routine
1226 * is available to endpwent re-entrantly.
1228 /* ENDPWENT_R_PROTO:
1229 * This symbol encodes the prototype of endpwent_r.
1230 * It is zero if d_endpwent_r is undef, and one of the
1231 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1234 /*#define HAS_ENDPWENT_R / **/
1235 #define ENDPWENT_R_PROTO 0 /**/
1238 * This symbol, if defined, indicates that the endservent() routine is
1239 * available to close whatever was being used for service queries.
1241 /*#define HAS_ENDSERVENT / **/
1244 * This symbol, if defined, indicates that the "fast stdio"
1245 * is available to manipulate the stdio buffers directly.
1247 /*#define HAS_FAST_STDIO /**/
1250 * This symbol, if defined, indicates that the fchdir routine is
1251 * available to change directory using a file descriptor.
1253 /*#define HAS_FCHDIR / **/
1256 * This symbol, if defined, indicates that fcntl() can be used
1257 * for file locking. Normally on Unix systems this is defined.
1258 * It may be undefined on VMS.
1260 /*#define FCNTL_CAN_LOCK / **/
1263 * This symbol, when defined, indicates presence of the fd_set typedef
1266 /*#define HAS_FD_SET / **/
1269 * This symbol, if defined, indicates that the finite routine is
1270 * available to check whether a double is finite (non-infinity non-NaN).
1272 /*#define HAS_FINITE / **/
1275 * This symbol, if defined, indicates that the finitel routine is
1276 * available to check whether a long double is finite
1277 * (non-infinity non-NaN).
1279 /*#define HAS_FINITEL / **/
1282 * This symbol, if defined, indicates that the system supports filenames
1283 * longer than 14 characters.
1285 #define FLEXFILENAMES /**/
1288 * This symbol, if defined, indicates that the fp_class routine is
1289 * available to classify doubles. Available for example in Digital UNIX.
1290 * The returned values are defined in <math.h> and are:
1292 * FP_SNAN Signaling NaN (Not-a-Number)
1293 * FP_QNAN Quiet NaN (Not-a-Number)
1294 * FP_POS_INF +infinity
1295 * FP_NEG_INF -infinity
1296 * FP_POS_NORM Positive normalized
1297 * FP_NEG_NORM Negative normalized
1298 * FP_POS_DENORM Positive denormalized
1299 * FP_NEG_DENORM Negative denormalized
1300 * FP_POS_ZERO +0.0 (positive zero)
1301 * FP_NEG_ZERO -0.0 (negative zero)
1303 /*#define HAS_FP_CLASS / **/
1306 * This symbol, if defined, indicates that the fpclass routine is
1307 * available to classify doubles. Available for example in Solaris/SVR4.
1308 * The returned values are defined in <ieeefp.h> and are:
1310 * FP_SNAN signaling NaN
1312 * FP_NINF negative infinity
1313 * FP_PINF positive infinity
1314 * FP_NDENORM negative denormalized non-zero
1315 * FP_PDENORM positive denormalized non-zero
1316 * FP_NZERO negative zero
1317 * FP_PZERO positive zero
1318 * FP_NNORM negative normalized non-zero
1319 * FP_PNORM positive normalized non-zero
1321 /*#define HAS_FPCLASS / **/
1324 * This symbol, if defined, indicates that the fpclassify routine is
1325 * available to classify doubles. Available for example in HP-UX.
1326 * The returned values are defined in <math.h> and are
1328 * FP_NORMAL Normalized
1330 * FP_INFINITE Infinity
1331 * FP_SUBNORMAL Denormalized
1335 /*#define HAS_FPCLASSIFY / **/
1338 * This symbol will be defined if the C compiler supports fpos64_t.
1340 /*#define HAS_FPOS64_T / **/
1343 * This symbol, if defined, indicates that the frexpl routine is
1344 * available to break a long double floating-point number into
1345 * a normalized fraction and an integral power of 2.
1347 /*#define HAS_FREXPL / **/
1349 /* HAS_STRUCT_FS_DATA:
1350 * This symbol, if defined, indicates that the struct fs_data
1351 * to do statfs() is supported.
1353 /*#define HAS_STRUCT_FS_DATA / **/
1356 * This symbol, if defined, indicates that the fseeko routine is
1357 * available to fseek beyond 32 bits (useful for ILP32 hosts).
1359 /*#define HAS_FSEEKO / **/
1362 * This symbol, if defined, indicates that the fstatfs routine is
1363 * available to stat filesystems by file descriptors.
1365 /*#define HAS_FSTATFS / **/
1368 * This symbol, if defined, indicates that the fsync routine is
1369 * available to write a file's modified data and attributes to
1370 * permanent storage.
1372 #define HAS_FSYNC /**/
1375 * This symbol, if defined, indicates that the ftello routine is
1376 * available to ftell beyond 32 bits (useful for ILP32 hosts).
1378 /*#define HAS_FTELLO / **/
1381 * This preprocessor macro is defined to convert a floating point
1382 * number to a string without a trailing decimal point. This
1383 * emulates the behavior of sprintf("%g"), but is sometimes much more
1384 * efficient. If gconvert() is not available, but gcvt() drops the
1385 * trailing decimal point, then gcvt() is used. If all else fails,
1386 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1387 * macro are: value, number of digits, whether trailing zeros should
1388 * be retained, and the output buffer.
1389 * The usual values are:
1390 * d_Gconvert='gconvert((x),(n),(t),(b))'
1391 * d_Gconvert='gcvt((x),(n),(b))'
1392 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1393 * The last two assume trailing zeros should not be kept.
1395 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1398 * This symbol, if defined, indicates that the getcwd routine is
1399 * available to get the current working directory.
1401 #define HAS_GETCWD /**/
1404 * This symbol, if defined, indicates that the getespwnam system call is
1405 * available to retrieve enhanced (shadow) password entries by name.
1407 /*#define HAS_GETESPWNAM / **/
1410 * This symbol, if defined, indicates that the getfsstat routine is
1411 * available to stat filesystems in bulk.
1413 /*#define HAS_GETFSSTAT / **/
1416 * This symbol, if defined, indicates that the getgrent routine is
1417 * available for sequential access of the group database.
1419 #define HAS_GETGRENT /**/
1422 * This symbol, if defined, indicates that the getgrent_r routine
1423 * is available to getgrent re-entrantly.
1425 /* GETGRENT_R_PROTO:
1426 * This symbol encodes the prototype of getgrent_r.
1427 * It is zero if d_getgrent_r is undef, and one of the
1428 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1431 /*#define HAS_GETGRENT_R / **/
1432 #define GETGRENT_R_PROTO 0 /**/
1435 * This symbol, if defined, indicates that the getgrgid_r routine
1436 * is available to getgrgid re-entrantly.
1438 /* GETGRGID_R_PROTO:
1439 * This symbol encodes the prototype of getgrgid_r.
1440 * It is zero if d_getgrgid_r is undef, and one of the
1441 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1444 /*#define HAS_GETGRGID_R / **/
1445 #define GETGRGID_R_PROTO 0 /**/
1448 * This symbol, if defined, indicates that the getgrnam_r routine
1449 * is available to getgrnam re-entrantly.
1451 /* GETGRNAM_R_PROTO:
1452 * This symbol encodes the prototype of getgrnam_r.
1453 * It is zero if d_getgrnam_r is undef, and one of the
1454 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1457 /*#define HAS_GETGRNAM_R / **/
1458 #define GETGRNAM_R_PROTO 0 /**/
1460 /* HAS_GETHOSTBYADDR:
1461 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1462 * available to look up hosts by their IP addresses.
1464 #define HAS_GETHOSTBYADDR /**/
1466 /* HAS_GETHOSTBYNAME:
1467 * This symbol, if defined, indicates that the gethostbyname() routine is
1468 * available to look up host names in some data base or other.
1470 #define HAS_GETHOSTBYNAME /**/
1473 * This symbol, if defined, indicates that the gethostent() routine is
1474 * available to look up host names in some data base or another.
1476 /*#define HAS_GETHOSTENT / **/
1479 * This symbol, if defined, indicates that the C program may use the
1480 * gethostname() routine to derive the host name. See also HAS_UNAME
1484 * This symbol, if defined, indicates that the C program may use the
1485 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1489 * This symbol, if defined, indicates the command to feed to the
1490 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1491 * and HAS_UNAME. Note that the command uses a fully qualified path,
1492 * so that it is safe even if used by a process with super-user
1496 * This symbol, if defined, indicates that the C program may use the
1497 * contents of PHOSTNAME as a command to feed to the popen() routine
1498 * to derive the host name.
1500 #define HAS_GETHOSTNAME /**/
1501 #define HAS_UNAME /**/
1502 /*#define HAS_PHOSTNAME / **/
1503 #ifdef HAS_PHOSTNAME
1504 #define PHOSTNAME "/bin/uname -n" /* How to get the host name */
1507 /* HAS_GETHOST_PROTOS:
1508 * This symbol, if defined, indicates that <netdb.h> includes
1509 * prototypes for gethostent(), gethostbyname(), and
1510 * gethostbyaddr(). Otherwise, it is up to the program to guess
1511 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1513 /*#define HAS_GETHOST_PROTOS / **/
1516 * This symbol, if defined, indicates that the getitimer routine is
1517 * available to return interval timers.
1519 /*#define HAS_GETITIMER / **/
1522 * This symbol, if defined, indicates that the getlogin_r routine
1523 * is available to getlogin re-entrantly.
1525 /* GETLOGIN_R_PROTO:
1526 * This symbol encodes the prototype of getlogin_r.
1527 * It is zero if d_getlogin_r is undef, and one of the
1528 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1531 /*#define HAS_GETLOGIN_R / **/
1532 #define GETLOGIN_R_PROTO 0 /**/
1535 * This symbol, if defined, indicates that the getmnt routine is
1536 * available to get filesystem mount info by filename.
1538 /*#define HAS_GETMNT / **/
1541 * This symbol, if defined, indicates that the getmntent routine is
1542 * available to iterate through mounted file systems to get their info.
1544 /*#define HAS_GETMNTENT / **/
1546 /* HAS_GETNETBYADDR:
1547 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1548 * available to look up networks by their IP addresses.
1550 /*#define HAS_GETNETBYADDR / **/
1552 /* HAS_GETNETBYNAME:
1553 * This symbol, if defined, indicates that the getnetbyname() routine is
1554 * available to look up networks by their names.
1556 /*#define HAS_GETNETBYNAME / **/
1559 * This symbol, if defined, indicates that the getnetent() routine is
1560 * available to look up network names in some data base or another.
1562 /*#define HAS_GETNETENT / **/
1564 /* HAS_GETNET_PROTOS:
1565 * This symbol, if defined, indicates that <netdb.h> includes
1566 * prototypes for getnetent(), getnetbyname(), and
1567 * getnetbyaddr(). Otherwise, it is up to the program to guess
1568 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1570 /*#define HAS_GETNET_PROTOS / **/
1573 * This symbol, if defined, indicates that the getpagesize system call
1574 * is available to get system page size, which is the granularity of
1575 * many memory management calls.
1577 /*#define HAS_GETPAGESIZE / **/
1580 * This symbol, if defined, indicates that the getprotoent() routine is
1581 * available to look up protocols in some data base or another.
1583 /*#define HAS_GETPROTOENT / **/
1586 * This symbol, if defined, indicates that the getpgrp routine is
1587 * available to get the current process group.
1590 * This symbol, if defined, indicates that getpgrp needs one
1591 * arguments whereas USG one needs none.
1593 #define HAS_GETPGRP /**/
1594 /*#define USE_BSD_GETPGRP / **/
1596 /* HAS_GETPROTOBYNAME:
1597 * This symbol, if defined, indicates that the getprotobyname()
1598 * routine is available to look up protocols by their name.
1600 /* HAS_GETPROTOBYNUMBER:
1601 * This symbol, if defined, indicates that the getprotobynumber()
1602 * routine is available to look up protocols by their number.
1604 #define HAS_GETPROTOBYNAME /**/
1605 /*#define HAS_GETPROTOBYNUMBER / **/
1607 /* HAS_GETPROTO_PROTOS:
1608 * This symbol, if defined, indicates that <netdb.h> includes
1609 * prototypes for getprotoent(), getprotobyname(), and
1610 * getprotobyaddr(). Otherwise, it is up to the program to guess
1611 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1613 /*#define HAS_GETPROTO_PROTOS / **/
1616 * This symbol, if defined, indicates that the getprpwnam system call is
1617 * available to retrieve protected (shadow) password entries by name.
1619 /*#define HAS_GETPRPWNAM / **/
1622 * This symbol, if defined, indicates that the getpwent routine is
1623 * available for sequential access of the passwd database.
1624 * If this is not available, the older getpw() function may be available.
1626 #define HAS_GETPWENT /**/
1629 * This symbol, if defined, indicates that the getpwent_r routine
1630 * is available to getpwent re-entrantly.
1632 /* GETPWENT_R_PROTO:
1633 * This symbol encodes the prototype of getpwent_r.
1634 * It is zero if d_getpwent_r is undef, and one of the
1635 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1638 /*#define HAS_GETPWENT_R / **/
1639 #define GETPWENT_R_PROTO 0 /**/
1642 * This symbol, if defined, indicates that the getpwnam_r routine
1643 * is available to getpwnam re-entrantly.
1645 /* GETPWNAM_R_PROTO:
1646 * This symbol encodes the prototype of getpwnam_r.
1647 * It is zero if d_getpwnam_r is undef, and one of the
1648 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1651 /*#define HAS_GETPWNAM_R / **/
1652 #define GETPWNAM_R_PROTO 0 /**/
1655 * This symbol, if defined, indicates that the getpwuid_r routine
1656 * is available to getpwuid re-entrantly.
1658 /* GETPWUID_R_PROTO:
1659 * This symbol encodes the prototype of getpwuid_r.
1660 * It is zero if d_getpwuid_r is undef, and one of the
1661 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1664 /*#define HAS_GETPWUID_R / **/
1665 #define GETPWUID_R_PROTO 0 /**/
1668 * This symbol, if defined, indicates that the getservent() routine is
1669 * available to look up network services in some data base or another.
1671 /*#define HAS_GETSERVENT / **/
1673 /* HAS_GETSERV_PROTOS:
1674 * This symbol, if defined, indicates that <netdb.h> includes
1675 * prototypes for getservent(), getservbyname(), and
1676 * getservbyaddr(). Otherwise, it is up to the program to guess
1677 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1679 /*#define HAS_GETSERV_PROTOS / **/
1682 * This symbol, if defined, indicates that the getspnam system call is
1683 * available to retrieve SysV shadow password entries by name.
1685 /*#define HAS_GETSPNAM / **/
1688 * This symbol, if defined, indicates that the getspnam_r routine
1689 * is available to getspnam re-entrantly.
1691 /* GETSPNAM_R_PROTO:
1692 * This symbol encodes the prototype of getspnam_r.
1693 * It is zero if d_getspnam_r is undef, and one of the
1694 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1697 /*#define HAS_GETSPNAM_R / **/
1698 #define GETSPNAM_R_PROTO 0 /**/
1700 /* HAS_GETSERVBYNAME:
1701 * This symbol, if defined, indicates that the getservbyname()
1702 * routine is available to look up services by their name.
1704 /* HAS_GETSERVBYPORT:
1705 * This symbol, if defined, indicates that the getservbyport()
1706 * routine is available to look up services by their port.
1708 #define HAS_GETSERVBYNAME /**/
1709 /*#define HAS_GETSERVBYPORT / **/
1712 * This symbol, if defined, indicates that the gmtime_r routine
1713 * is available to gmtime re-entrantly.
1716 * This symbol encodes the prototype of gmtime_r.
1717 * It is zero if d_gmtime_r is undef, and one of the
1718 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1721 /*#define HAS_GMTIME_R / **/
1722 #define GMTIME_R_PROTO 0 /**/
1725 * This symbol, if defined, indicates to the C program that
1726 * the GNU C library is being used. A better check is to use
1727 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
1729 /*#define HAS_GNULIBC / **/
1730 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1731 # define _GNU_SOURCE
1734 * This symbol, if defined, indicates that the hasmntopt routine is
1735 * available to query the mount options of file systems.
1737 /*#define HAS_HASMNTOPT / **/
1740 * This symbol, if defined, indicates that the htonl() routine (and
1741 * friends htons() ntohl() ntohs()) are available to do network
1742 * order byte swapping.
1745 * This symbol, if defined, indicates that the htons() routine (and
1746 * friends htonl() ntohl() ntohs()) are available to do network
1747 * order byte swapping.
1750 * This symbol, if defined, indicates that the ntohl() routine (and
1751 * friends htonl() htons() ntohs()) are available to do network
1752 * order byte swapping.
1755 * This symbol, if defined, indicates that the ntohs() routine (and
1756 * friends htonl() htons() ntohl()) are available to do network
1757 * order byte swapping.
1759 #define HAS_HTONL /**/
1760 #define HAS_HTONS /**/
1761 #define HAS_NTOHL /**/
1762 #define HAS_NTOHS /**/
1765 * This symbol, if defined, indicates that the ilogbl routine is
1766 * available. If scalbnl is also present we can emulate frexpl.
1768 /*#define HAS_ILOGBL /**/
1771 * This symbol will defined if the C compiler supports int64_t.
1772 * Usually the <inttypes.h> needs to be included, but sometimes
1773 * <sys/types.h> is enough.
1775 #define HAS_INT64_T /**/
1778 * This manifest constant lets the C program know that isascii
1781 /*#define HAS_ISASCII / **/
1784 * This symbol, if defined, indicates that the isfinite routine is
1785 * available to check whether a double is finite (non-infinity non-NaN).
1787 /*#define HAS_ISFINITE / **/
1790 * This symbol, if defined, indicates that the isinf routine is
1791 * available to check whether a double is an infinity.
1793 /*#define HAS_ISINF / **/
1796 * This symbol, if defined, indicates that the isnan routine is
1797 * available to check whether a double is a NaN.
1799 /*#define HAS_ISNAN / **/
1802 * This symbol, if defined, indicates that the isnanl routine is
1803 * available to check whether a long double is a NaN.
1805 /*#define HAS_ISNANL / **/
1808 * This symbol, if defined, indicates that the lchown routine is
1809 * available to operate on a symbolic link (instead of following the
1812 /*#define HAS_LCHOWN / **/
1815 * This symbol, if defined, indicates that this system's <float.h>
1816 * or <limits.h> defines the symbol LDBL_DIG, which is the number
1817 * of significant digits in a long double precision number. Unlike
1818 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
1820 #define HAS_LDBL_DIG /* */
1823 * This symbol, if defined, indicates that the localtime_r routine
1824 * is available to localtime re-entrantly.
1826 /* LOCALTIME_R_NEEDS_TZSET:
1827 * Many libc's localtime_r implementations do not call tzset,
1828 * making them differ from localtime(), and making timezone
1829 * changes using $ENV{TZ} without explicitly calling tzset
1830 * impossible. This symbol makes us call tzset before localtime_r
1832 /* LOCALTIME_R_PROTO:
1833 * This symbol encodes the prototype of localtime_r.
1834 * It is zero if d_localtime_r is undef, and one of the
1835 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1838 /*#define HAS_LOCALTIME_R / **/
1839 /*#define LOCALTIME_R_NEEDS_TZSET / **/
1840 #define LOCALTIME_R_PROTO 0 /**/
1843 * This symbol will be defined if the C compiler supports long
1847 * This symbol contains the size of a long double, so that the
1848 * C preprocessor can make decisions based on it. It is only
1849 * defined if the system supports long doubles.
1851 #define HAS_LONG_DOUBLE /**/
1852 #ifdef HAS_LONG_DOUBLE
1853 #define LONG_DOUBLESIZE 8 /**/
1857 * This symbol will be defined if the C compiler supports long long.
1860 * This symbol contains the size of a long long, so that the
1861 * C preprocessor can make decisions based on it. It is only
1862 * defined if the system supports long long.
1864 #define HAS_LONG_LONG /**/
1865 #ifdef HAS_LONG_LONG
1866 #define LONGLONGSIZE 8 /**/
1870 * This symbol, if defined, indicates that the system provides
1871 * a prototype for the lseek() function. Otherwise, it is up
1872 * to the program to supply one. A good guess is
1873 * extern off_t lseek(int, off_t, int);
1875 /*#define HAS_LSEEK_PROTO / **/
1878 * This symbol, if defined, indicates that the madvise system call is
1879 * available to map a file into memory.
1881 /*#define HAS_MADVISE / **/
1884 * This symbol, if defined, indicates that the mkdtemp routine is
1885 * available to exclusively create a uniquely named temporary directory.
1887 /*#define HAS_MKDTEMP / **/
1890 * This symbol, if defined, indicates that the mkstemp routine is
1891 * available to exclusively create and open a uniquely named
1894 /*#define HAS_MKSTEMP / **/
1897 * This symbol, if defined, indicates that the mkstemps routine is
1898 * available to exclusively create and open a uniquely named
1899 * (with a suffix) temporary file.
1901 /*#define HAS_MKSTEMPS / **/
1904 * This symbol, if defined, indicates that the mmap system call is
1905 * available to map a file into memory.
1908 * This symbol holds the return type of the mmap() system call
1909 * (and simultaneously the type of the first argument).
1910 * Usually set to 'void *' or 'cadd_t'.
1912 /*#define HAS_MMAP / **/
1913 #define Mmap_t void * /**/
1916 * This symbol, if defined, indicates that the modfl routine is
1917 * available to split a long double x into a fractional part f and
1918 * an integer part i such that |f| < 1.0 and (f + i) = x.
1920 /*#define HAS_MODFL / **/
1923 * This symbol, if defined, indicates that the mprotect system call is
1924 * available to modify the access protection of a memory mapped file.
1926 /*#define HAS_MPROTECT / **/
1929 * This symbol, if defined, indicates that the entire msg*(2) library is
1930 * supported (IPC mechanism based on message queues).
1932 /*#define HAS_MSG / **/
1934 /* HAS_STRUCT_MSGHDR:
1935 * This symbol, if defined, indicates that the struct msghdr
1938 /*#define HAS_STRUCT_MSGHDR / **/
1941 * This symbol will be defined if the C compiler supports off64_t.
1943 /*#define HAS_OFF64_T / **/
1946 * This manifest constant lets the C program know that the three
1947 * argument form of open(2) is available.
1949 #define HAS_OPEN3 /**/
1951 /* OLD_PTHREAD_CREATE_JOINABLE:
1952 * This symbol, if defined, indicates how to create pthread
1953 * in joinable (aka undetached) state. NOTE: not defined
1954 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1955 * (the new version of the constant).
1956 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1959 /*#define OLD_PTHREAD_CREATE_JOINABLE / **/
1961 /* HAS_PTHREAD_YIELD:
1962 * This symbol, if defined, indicates that the pthread_yield
1963 * routine is available to yield the execution of the current
1964 * thread. sched_yield is preferable to pthread_yield.
1967 * This symbol defines the way to yield the execution of
1968 * the current thread. Known ways are sched_yield,
1969 * pthread_yield, and pthread_yield with NULL.
1972 * This symbol, if defined, indicates that the sched_yield
1973 * routine is available to yield the execution of the current
1974 * thread. sched_yield is preferable to pthread_yield.
1976 /*#define HAS_PTHREAD_YIELD / **/
1977 #define SCHED_YIELD undef /**/
1978 /*#define HAS_SCHED_YIELD / **/
1981 * This symbol, if defined, indicates that the random_r routine
1982 * is available to random re-entrantly.
1985 * This symbol encodes the prototype of random_r.
1986 * It is zero if d_random_r is undef, and one of the
1987 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
1990 /*#define HAS_RANDOM_R / **/
1991 #define RANDOM_R_PROTO 0 /**/
1994 * This symbol, if defined, indicates that the readdir_r routine
1995 * is available to readdir re-entrantly.
1998 * This symbol encodes the prototype of readdir_r.
1999 * It is zero if d_readdir_r is undef, and one of the
2000 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
2003 /*#define HAS_READDIR_R / **/
2004 #define READDIR_R_PROTO 0 /**/
2007 * This symbol, if defined, indicates that the readv routine is
2008 * available to do gather reads. You will also need <sys/uio.h>
2009 * and there I_SYSUIO.
2011 #define HAS_READV /**/
2014 * This symbol, if defined, indicates that the recvmsg routine is
2015 * available to send structured socket messages.
2017 /*#define HAS_RECVMSG / **/
2020 * This symbol, if defined, indicates that the system provides
2021 * a prototype for the sbrk() function. Otherwise, it is up
2022 * to the program to supply one. Good guesses are
2023 * extern void* sbrk(int);
2024 * extern void* sbrk(size_t);
2026 /*#define HAS_SBRK_PROTO / **/
2029 * This symbol, if defined, indicates that the entire sem*(2) library is
2032 /*#define HAS_SEM / **/
2035 * This symbol, if defined, indicates that the scalbnl routine is
2036 * available. If ilogbl is also present we can emulate frexpl.
2038 /*#define HAS_SCALBNL /**/
2041 * This symbol, if defined, indicates that the sendmsg routine is
2042 * available to send structured socket messages.
2044 /*#define HAS_SENDMSG / **/
2047 * This symbol, if defined, indicates that the setgrent routine is
2048 * available for initializing sequential access of the group database.
2050 #define HAS_SETGRENT /**/
2053 * This symbol, if defined, indicates that the setgrent_r routine
2054 * is available to setgrent re-entrantly.
2056 /* SETGRENT_R_PROTO:
2057 * This symbol encodes the prototype of setgrent_r.
2058 * It is zero if d_setgrent_r is undef, and one of the
2059 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
2062 /*#define HAS_SETGRENT_R / **/
2063 #define SETGRENT_R_PROTO 0 /**/
2066 * This symbol, if defined, indicates that the setgroups() routine is
2067 * available to set the list of process groups. If unavailable, multiple
2068 * groups are probably not supported.
2070 /*#define HAS_SETGROUPS /* config-skip */
2073 * This symbol, if defined, indicates that the sethostent() routine is
2076 /*#define HAS_SETHOSTENT / **/
2079 * This symbol, if defined, indicates that the setitimer routine is
2080 * available to set interval timers.
2082 /*#define HAS_SETITIMER / **/
2085 * This symbol, if defined, indicates that the setnetent() routine is
2088 /*#define HAS_SETNETENT / **/
2091 * This symbol, if defined, indicates that the setprotoent() routine is
2094 /*#define HAS_SETPROTOENT / **/
2097 * This symbol, if defined, indicates that the setpgrp routine is
2098 * available to set the current process group.
2101 * This symbol, if defined, indicates that setpgrp needs two
2102 * arguments whereas USG one needs none. See also HAS_SETPGID
2103 * for a POSIX interface.
2105 /*#define HAS_SETPGRP / **/
2106 /*#define USE_BSD_SETPGRP / **/
2108 /* HAS_SETPROCTITLE:
2109 * This symbol, if defined, indicates that the setproctitle routine is
2110 * available to set process title.
2112 /*#define HAS_SETPROCTITLE / **/
2115 * This symbol, if defined, indicates that the setpwent routine is
2116 * available for initializing sequential access of the passwd database.
2118 #define HAS_SETPWENT /**/
2121 * This symbol, if defined, indicates that the setpwent_r routine
2122 * is available to setpwent re-entrantly.
2124 /* SETPWENT_R_PROTO:
2125 * This symbol encodes the prototype of setpwent_r.
2126 * It is zero if d_setpwent_r is undef, and one of the
2127 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2130 /*#define HAS_SETPWENT_R / **/
2131 #define SETPWENT_R_PROTO 0 /**/
2134 * This symbol, if defined, indicates that the setservent() routine is
2137 /*#define HAS_SETSERVENT / **/
2140 * This symbol, if defined, indicates that the setvbuf routine is
2141 * available to change buffering on an open stdio stream.
2142 * to a line-buffered mode.
2144 #define HAS_SETVBUF /**/
2147 * This symbol, if defined, indicates that the entire shm*(2) library is
2150 /*#define HAS_SHM / **/
2153 * This symbol, if defined, indicates that Vr4's sigaction() routine
2156 #define HAS_SIGACTION /**/
2159 * This variable indicates to the C program that the sigsetjmp()
2160 * routine is available to save the calling process's registers
2161 * and stack environment for later use by siglongjmp(), and
2162 * to optionally save the process's signal mask. See
2163 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
2166 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
2169 * This macro is used in the same way as sigsetjmp(), but will invoke
2170 * traditional setjmp() if sigsetjmp isn't available.
2171 * See HAS_SIGSETJMP.
2174 * This macro is used in the same way as siglongjmp(), but will invoke
2175 * traditional longjmp() if siglongjmp isn't available.
2176 * See HAS_SIGSETJMP.
2178 #define HAS_SIGSETJMP /* config-skip */
2179 #ifdef HAS_SIGSETJMP
2180 #define Sigjmp_buf sigjmp_buf /* config-skip */
2181 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask)) /* config-skip */
2182 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval)) /* config-skip */
2184 #define Sigjmp_buf jmp_buf
2185 #define Sigsetjmp(buf,save_mask) setjmp((buf))
2186 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
2189 /* HAS_STATIC_INLINE:
2190 * This symbol, if defined, indicates that the C compiler supports
2191 * C99-style static inline. That is, the function can't be called
2192 * from another translation unit.
2194 /* PERL_STATIC_INLINE:
2195 * This symbol gives the best-guess incantation to use for static
2196 * inline functions. If HAS_STATIC_INLINE is defined, this will
2197 * give C99-style inline. If HAS_STATIC_INLINE is not defined,
2198 * this will give a plain 'static'. It will always be defined
2199 * to something that gives static linkage.
2200 * Possibilities include
2201 * static inline (c99)
2202 * static __inline__ (gcc -ansi)
2203 * static __inline (MSVC)
2204 * static _inline (older MSVC)
2205 * static (c89 compilers)
2207 /*#define HAS_STATIC_INLINE / **/
2208 #define PERL_STATIC_INLINE static /**/
2211 * This symbol, if defined, indicates that the BSD socket interface is
2215 * This symbol, if defined, indicates that the BSD socketpair() call is
2218 #define HAS_SOCKET /**/
2219 #define HAS_SOCKETPAIR /**/
2222 * This symbol, if defined, indicates that the socks5_init routine is
2223 * available to initialize SOCKS 5.
2225 /*#define HAS_SOCKS5_INIT / **/
2228 * This symbol, if defined, indicates that the sqrtl routine is
2229 * available to do long double square roots.
2231 /*#define HAS_SQRTL / **/
2234 * This symbol, if defined, indicates that the srand48_r routine
2235 * is available to srand48 re-entrantly.
2238 * This symbol encodes the prototype of srand48_r.
2239 * It is zero if d_srand48_r is undef, and one of the
2240 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2243 /*#define HAS_SRAND48_R / **/
2244 #define SRAND48_R_PROTO 0 /**/
2247 * This symbol, if defined, indicates that the srandom_r routine
2248 * is available to srandom re-entrantly.
2251 * This symbol encodes the prototype of srandom_r.
2252 * It is zero if d_srandom_r is undef, and one of the
2253 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2256 /*#define HAS_SRANDOM_R / **/
2257 #define SRANDOM_R_PROTO 0 /**/
2260 * This symbol is defined if this system has a stat structure declaring
2261 * st_blksize and st_blocks.
2263 #ifndef USE_STAT_BLOCKS
2264 /*#define USE_STAT_BLOCKS / **/
2267 /* HAS_STRUCT_STATFS_F_FLAGS:
2268 * This symbol, if defined, indicates that the struct statfs
2269 * does have the f_flags member containing the mount flags of
2270 * the filesystem containing the file.
2271 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
2272 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
2273 * have statfs() and struct statfs, they have ustat() and getmnt()
2274 * with struct ustat and struct fs_data.
2276 /*#define HAS_STRUCT_STATFS_F_FLAGS / **/
2278 /* HAS_STRUCT_STATFS:
2279 * This symbol, if defined, indicates that the struct statfs
2280 * to do statfs() is supported.
2282 /*#define HAS_STRUCT_STATFS / **/
2285 * This symbol, if defined, indicates that the fstatvfs routine is
2286 * available to stat filesystems by file descriptors.
2288 /*#define HAS_FSTATVFS / **/
2291 * This symbol is defined if the _ptr and _cnt fields (or similar)
2292 * of the stdio FILE structure can be used to access the stdio buffer
2293 * for a file handle. If this is defined, then the FILE_ptr(fp)
2294 * and FILE_cnt(fp) macros will also be defined and should be used
2295 * to access these fields.
2298 * This macro is used to access the _ptr field (or equivalent) of the
2299 * FILE structure pointed to by its argument. This macro will always be
2300 * defined if USE_STDIO_PTR is defined.
2302 /* STDIO_PTR_LVALUE:
2303 * This symbol is defined if the FILE_ptr macro can be used as an
2307 * This macro is used to access the _cnt field (or equivalent) of the
2308 * FILE structure pointed to by its argument. This macro will always be
2309 * defined if USE_STDIO_PTR is defined.
2311 /* STDIO_CNT_LVALUE:
2312 * This symbol is defined if the FILE_cnt macro can be used as an
2315 /* STDIO_PTR_LVAL_SETS_CNT:
2316 * This symbol is defined if using the FILE_ptr macro as an lvalue
2317 * to increase the pointer by n has the side effect of decreasing the
2318 * value of File_cnt(fp) by n.
2320 /* STDIO_PTR_LVAL_NOCHANGE_CNT:
2321 * This symbol is defined if using the FILE_ptr macro as an lvalue
2322 * to increase the pointer by n leaves File_cnt(fp) unchanged.
2324 /*#define USE_STDIO_PTR / **/
2325 #ifdef USE_STDIO_PTR
2326 #define FILE_ptr(fp) ((fp)->_ptr)
2327 /*#define STDIO_PTR_LVALUE / **/
2328 #define FILE_cnt(fp) ((fp)->_cnt)
2329 /*#define STDIO_CNT_LVALUE / **/
2330 /*#define STDIO_PTR_LVAL_SETS_CNT / **/
2331 /*#define STDIO_PTR_LVAL_NOCHANGE_CNT / **/
2335 * This symbol is defined if the _base field (or similar) of the
2336 * stdio FILE structure can be used to access the stdio buffer for
2337 * a file handle. If this is defined, then the FILE_base(fp) macro
2338 * will also be defined and should be used to access this field.
2339 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2340 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2341 * will never be defined unless USE_STDIO_PTR is.
2344 * This macro is used to access the _base field (or equivalent) of the
2345 * FILE structure pointed to by its argument. This macro will always be
2346 * defined if USE_STDIO_BASE is defined.
2349 * This macro is used to determine the number of bytes in the I/O
2350 * buffer pointed to by _base field (or equivalent) of the FILE
2351 * structure pointed to its argument. This macro will always be defined
2352 * if USE_STDIO_BASE is defined.
2354 /*#define USE_STDIO_BASE / **/
2355 #ifdef USE_STDIO_BASE
2356 #define FILE_base(fp) ((fp)->_base)
2357 #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
2361 * This symbol, if defined, indicates that the sys_errlist array is
2362 * available to translate error numbers to strings. The extern int
2363 * sys_nerr gives the size of that table.
2365 #define HAS_SYS_ERRLIST /**/
2368 * This symbol, if defined, indicates that the strerror_r routine
2369 * is available to strerror re-entrantly.
2371 /* STRERROR_R_PROTO:
2372 * This symbol encodes the prototype of strerror_r.
2373 * It is zero if d_strerror_r is undef, and one of the
2374 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2377 /*#define HAS_STRERROR_R / **/
2378 #define STRERROR_R_PROTO 0 /**/
2381 * This symbol, if defined, indicates that the strtold routine is
2382 * available to convert strings to long doubles.
2384 /*#define HAS_STRTOLD / **/
2387 * This symbol, if defined, indicates that the strtoll routine is
2388 * available to convert strings to long longs.
2390 /*#define HAS_STRTOLL / **/
2393 * This symbol, if defined, indicates that the strtoq routine is
2394 * available to convert strings to long longs (quads).
2396 /*#define HAS_STRTOQ / **/
2399 * This symbol, if defined, indicates that the strtoul routine is
2400 * available to provide conversion of strings to unsigned long.
2402 #define HAS_STRTOUL /**/
2405 * This symbol, if defined, indicates that the strtoull routine is
2406 * available to convert strings to unsigned long longs.
2408 /*#define HAS_STRTOULL / **/
2411 * This symbol, if defined, indicates that the strtouq routine is
2412 * available to convert strings to unsigned long longs (quads).
2414 /*#define HAS_STRTOUQ / **/
2416 /* HAS_TELLDIR_PROTO:
2417 * This symbol, if defined, indicates that the system provides
2418 * a prototype for the telldir() function. Otherwise, it is up
2419 * to the program to supply one. A good guess is
2420 * extern long telldir(DIR*);
2422 /*#define HAS_TELLDIR_PROTO / **/
2425 * This symbol, if defined, indicates that the time() routine exists.
2428 * This symbol holds the type returned by time(). It can be long,
2429 * or time_t on BSD sites (in which case <sys/types.h> should be
2432 #define HAS_TIME /**/
2433 #define Time_t time_t /* Time type */
2436 * This symbol, if defined, indicates that the times() routine exists.
2437 * Note that this became obsolete on some systems (SUNOS), which now
2438 * use getrusage(). It may be necessary to include <sys/times.h>.
2440 #define HAS_TIMES /**/
2443 * This symbol, if defined, indicates that the tmpnam_r routine
2444 * is available to tmpnam re-entrantly.
2447 * This symbol encodes the prototype of tmpnam_r.
2448 * It is zero if d_tmpnam_r is undef, and one of the
2449 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2452 /*#define HAS_TMPNAM_R / **/
2453 #define TMPNAM_R_PROTO 0 /**/
2456 * This symbol, if defined, indicates that the ualarm routine is
2457 * available to do alarms with microsecond granularity.
2459 /*#define HAS_UALARM / **/
2462 * This symbol, if defined, indicates that the union semun is
2463 * defined by including <sys/sem.h>. If not, the user code
2464 * probably needs to define it as:
2467 * struct semid_ds *buf;
2468 * unsigned short *array;
2471 /* USE_SEMCTL_SEMUN:
2472 * This symbol, if defined, indicates that union semun is
2473 * used for semctl IPC_STAT.
2475 /* USE_SEMCTL_SEMID_DS:
2476 * This symbol, if defined, indicates that struct semid_ds * is
2477 * used for semctl IPC_STAT.
2479 /*#define HAS_UNION_SEMUN / **/
2480 /*#define USE_SEMCTL_SEMUN / **/
2481 /*#define USE_SEMCTL_SEMID_DS / **/
2484 * This symbol, if defined, indicates that the unordered routine is
2485 * available to check whether two doubles are unordered
2486 * (effectively: whether either of them is NaN)
2488 /*#define HAS_UNORDERED / **/
2491 * This symbol, if defined, indicates that the ustat system call is
2492 * available to query file system statistics by dev_t.
2494 /*#define HAS_USTAT / **/
2497 * This symbol, if defined, indicates that vfork() exists.
2499 /*#define HAS_VFORK / **/
2502 * This symbol's value is either "void" or "int", corresponding to the
2503 * appropriate return type of a signal handler. Thus, you can declare
2504 * a signal handler using "Signal_t (*handler)()", and define the
2505 * handler using "Signal_t handler(sig)".
2507 #define Signal_t void /* Signal handler's return type */
2510 * This symbol, if defined, indicates that the writev routine is
2511 * available to do scatter writes.
2513 #define HAS_WRITEV /**/
2515 /* USE_DYNAMIC_LOADING:
2516 * This symbol, if defined, indicates that dynamic loading of
2517 * some sort is available.
2519 /*#define USE_DYNAMIC_LOADING / **/
2522 * This symbol contains the size of a double, so that the C preprocessor
2523 * can make decisions based on it.
2525 #define DOUBLESIZE 8 /**/
2528 * This symbol, if defined, indicates that this system uses
2531 /*#define EBCDIC / **/
2534 * This symbol, if defined, tells that fflush(NULL) does flush
2535 * all pending stdio output.
2538 * This symbol, if defined, tells that to flush
2539 * all pending stdio output one must loop through all
2540 * the stdio file handles stored in an array and fflush them.
2541 * Note that if fflushNULL is defined, fflushall will not
2542 * even be probed for and will be left undefined.
2544 #define FFLUSH_NULL /**/
2545 /*#define FFLUSH_ALL / **/
2548 * This symbol holds the type used to declare file positions in libc.
2549 * It can be fpos_t, long, uint, etc... It may be necessary to include
2550 * <sys/types.h> to get any typedef'ed information.
2552 #define Fpos_t fpos_t /* File position type */
2555 * This symbol defines the format string used for printing a Gid_t.
2557 #define Gid_t_f "hd" /**/
2560 * This symbol holds the signedess of a Gid_t.
2561 * 1 for unsigned, -1 for signed.
2563 #define Gid_t_sign -1 /* GID sign */
2566 * This symbol holds the size of a Gid_t in bytes.
2568 #define Gid_t_size 2 /* GID size */
2571 * This symbol holds the return type of getgid() and the type of
2572 * argument to setrgid() and related functions. Typically,
2573 * it is the type of group ids in the kernel. It can be int, ushort,
2574 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2575 * any typedef'ed information.
2577 #define Gid_t gid_t /* Type for getgid(), etc... */ /* config-skip */
2580 * This symbol holds the type used for the second argument to
2581 * getgroups() and setgroups(). Usually, this is the same as
2582 * gidtype (gid_t) , but sometimes it isn't.
2583 * It can be int, ushort, gid_t, etc...
2584 * It may be necessary to include <sys/types.h> to get any
2585 * typedef'ed information. This is only required if you have
2586 * getgroups() or setgroups()..
2588 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2589 #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
2593 * This symbol contains the type of the prefix structure element
2594 * in the <db.h> header file. In older versions of DB, it was
2595 * int, while in newer ones it is u_int32_t.
2598 * This symbol contains the type of the prefix structure element
2599 * in the <db.h> header file. In older versions of DB, it was
2600 * int, while in newer ones it is size_t.
2602 /* DB_VERSION_MAJOR_CFG:
2603 * This symbol, if defined, defines the major version number of
2604 * Berkeley DB found in the <db.h> header when Perl was configured.
2606 /* DB_VERSION_MINOR_CFG:
2607 * This symbol, if defined, defines the minor version number of
2608 * Berkeley DB found in the <db.h> header when Perl was configured.
2609 * For DB version 1 this is always 0.
2611 /* DB_VERSION_PATCH_CFG:
2612 * This symbol, if defined, defines the patch version number of
2613 * Berkeley DB found in the <db.h> header when Perl was configured.
2614 * For DB version 1 this is always 0.
2616 #define DB_Hash_t u_int32_t /**/
2617 #define DB_Prefix_t size_t /**/
2618 #define DB_VERSION_MAJOR_CFG /**/
2619 #define DB_VERSION_MINOR_CFG /**/
2620 #define DB_VERSION_PATCH_CFG /**/
2623 * This symbol, if defined, indicates that <fp_class.h> exists and
2624 * should be included.
2626 /*#define I_FP_CLASS / **/
2629 * This symbol, if defined, indicates to the C program that it should
2633 * This symbol, if defined, indicates to the C program that struct group
2634 * in <grp.h> contains gr_passwd.
2637 /*#define GRPASSWD / **/
2640 * This symbol, if defined, indicates that <ieeefp.h> exists and
2641 * should be included.
2643 /*#define I_IEEEFP / **/
2646 * This symbol, if defined, indicates to the C program that it should
2647 * include <inttypes.h>.
2649 #define I_INTTYPES /**/
2652 * This symbol, if defined, indicates that <libutil.h> exists and
2653 * should be included.
2655 /*#define I_LIBUTIL / **/
2658 * This symbol, if defined, indicates to the C program that it should
2659 * include <mach/cthreads.h>.
2661 /*#define I_MACH_CTHREADS / **/
2664 * This symbol, if defined, indicates that <mntent.h> exists and
2665 * should be included.
2667 /*#define I_MNTENT / **/
2670 * This symbol, if defined, indicates that <netdb.h> exists and
2671 * should be included.
2673 #define I_NETDB /**/
2676 * This symbol, if defined, indicates to the C program that it should
2677 * include <netinet/tcp.h>.
2679 #define I_NETINET_TCP /**/
2682 * This symbol, if defined, indicates that <poll.h> exists and
2683 * should be included.
2685 /*#define I_POLL / **/
2688 * This symbol, if defined, indicates that <prot.h> exists and
2689 * should be included.
2691 /*#define I_PROT / **/
2694 * This symbol, if defined, indicates to the C program that it should
2695 * include <pthread.h>.
2697 /*#define I_PTHREAD / **/
2700 * This symbol, if defined, indicates to the C program that it should
2704 * This symbol, if defined, indicates to the C program that struct passwd
2705 * contains pw_quota.
2708 * This symbol, if defined, indicates to the C program that struct passwd
2712 * This symbol, if defined, indicates to the C program that struct passwd
2713 * contains pw_change.
2716 * This symbol, if defined, indicates to the C program that struct passwd
2717 * contains pw_class.
2720 * This symbol, if defined, indicates to the C program that struct passwd
2721 * contains pw_expire.
2724 * This symbol, if defined, indicates to the C program that struct passwd
2725 * contains pw_comment.
2728 * This symbol, if defined, indicates to the C program that struct passwd
2729 * contains pw_gecos.
2732 * This symbol, if defined, indicates to the C program that struct passwd
2733 * contains pw_passwd.
2736 /*#define PWQUOTA / **/
2737 /*#define PWAGE / **/
2738 /*#define PWCHANGE / **/
2739 /*#define PWCLASS / **/
2740 /*#define PWEXPIRE / **/
2741 /*#define PWCOMMENT / **/
2742 /*#define PWGECOS / **/
2743 /*#define PWPASSWD / **/
2746 * This symbol, if defined, indicates that <shadow.h> exists and
2747 * should be included.
2749 /*#define I_SHADOW / **/
2752 * This symbol, if defined, indicates that <socks.h> exists and
2753 * should be included.
2755 /*#define I_SOCKS / **/
2758 * This symbol, if defined, indicates that <sunmath.h> exists and
2759 * should be included.
2761 /*#define I_SUNMATH / **/
2764 * This symbol, if defined, indicates that <syslog.h> exists and
2765 * should be included.
2767 /*#define I_SYSLOG / **/
2770 * This symbol, if defined, indicates that <sys/mode.h> exists and
2771 * should be included.
2773 /*#define I_SYSMODE / **/
2776 * This symbol, if defined, indicates that <sys/mount.h> exists and
2777 * should be included.
2779 /*#define I_SYS_MOUNT / **/
2782 * This symbol, if defined, indicates that <sys/statfs.h> exists.
2784 /*#define I_SYS_STATFS / **/
2787 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2788 * should be included.
2790 /*#define I_SYS_STATVFS / **/
2793 * This symbol, if defined, indicates that <sys/uio.h> exists and
2794 * should be included.
2796 #define I_SYSUIO /**/
2799 * This symbol, if defined, indicates that <sys/utsname.h> exists and
2800 * should be included.
2802 #define I_SYSUTSNAME /**/
2805 * This symbol, if defined, indicates that <sys/vfs.h> exists and
2806 * should be included.
2808 /*#define I_SYS_VFS / **/
2810 /* Plan 9: P9 has both <time.h> and <sys/time.h> */
2812 * This symbol, if defined, indicates to the C program that it should
2816 * This symbol, if defined, indicates to the C program that it should
2817 * include <sys/time.h>.
2819 #define I_SYS_TIME /**/
2822 /* I_SYS_TIME_KERNEL:
2823 * This symbol, if defined, indicates to the C program that it should
2824 * include <sys/time.h> with KERNEL defined.
2827 * This symbol, if defined, indicates to the C program that
2828 * the struct tm has a tm_zone field.
2831 /*#define I_SYS_TIME / **/
2832 /*#define I_SYS_TIME_KERNEL / **/
2833 /*#define HAS_TM_TM_ZONE / **/
2836 * This symbol, if defined, indicates that <ustat.h> exists and
2837 * should be included.
2839 /*#define I_USTAT / **/
2841 /* PERL_INC_VERSION_LIST:
2842 * This variable specifies the list of subdirectories in over
2843 * which perl.c:incpush() and lib/lib.pm will automatically
2844 * search when adding directories to @INC, in a format suitable
2845 * for a C initialization string. See the inc_version_list entry
2846 * in Porting/Glossary for more details.
2848 #define PERL_INC_VERSION_LIST 0 /**/
2850 /* INSTALL_USR_BIN_PERL:
2851 * This symbol, if defined, indicates that Perl is to be installed
2852 * also as /usr/bin/perl.
2854 /*#define INSTALL_USR_BIN_PERL / **/
2857 * This symbol, if defined, contains the string used by stdio to
2858 * format long doubles (format 'f') for output.
2861 * This symbol, if defined, contains the string used by stdio to
2862 * format long doubles (format 'g') for output.
2865 * This symbol, if defined, contains the string used by stdio to
2866 * format long doubles (format 'e') for output.
2869 * This symbol, if defined, contains the string used by stdio to
2870 * format long doubles (format 'f') for input.
2872 #define PERL_PRIfldbl "f" /**/
2873 #define PERL_PRIgldbl "g" /**/
2874 #define PERL_PRIeldbl "e" /**/
2875 #define PERL_SCNfldbl "f" /**/
2878 * This symbol holds the type used to declare offsets in the kernel.
2879 * It can be int, long, off_t, etc... It may be necessary to include
2880 * <sys/types.h> to get any typedef'ed information.
2883 * This symbol holds the number of bytes used by the Off_t.
2886 * This symbol holds the number of bytes used by the Off_t.
2888 #define Off_t off_t /* <offset> type */
2889 #define LSEEKSIZE 8 /* <offset> size */
2890 #define Off_t_size 8 /* <offset> size */
2893 * This variable contains the return type of free(). It is usually
2894 * void, but occasionally int.
2897 * This symbol is the type of pointer returned by malloc and realloc.
2899 #define Malloc_t void * /**/
2900 #define Free_t void /**/
2903 * This symbol, if defined, indicates that we're using our own malloc.
2905 #define MYMALLOC /**/
2908 * This symbol holds the type used to declare file modes
2909 * for systems calls. It is usually mode_t, but may be
2910 * int or unsigned short. It may be necessary to include <sys/types.h>
2911 * to get any typedef'ed information.
2913 #define Mode_t mode_t /* file mode parameter for system calls */
2916 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2917 * non-blocking I/O for the file descriptor. Note that there is no way
2918 * back, i.e. you cannot turn it blocking again this way. If you wish to
2919 * alternatively switch between blocking and non-blocking, use the
2920 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
2923 * This symbol holds the errno error code set by read() when no data was
2924 * present on the non-blocking file descriptor.
2927 * This symbol holds the return code from read() when no data is present
2928 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
2929 * not defined, then you can't distinguish between no data and EOF by
2930 * issuing a read(). You'll have to find another way to tell for sure!
2933 * This symbol, if defined, indicates to the C program that a read() on
2934 * a non-blocking file descriptor will return 0 on EOF, and not the value
2935 * held in RD_NODATA (-1 usually, in that case!).
2937 #define VAL_O_NONBLOCK O_NONBLOCK
2938 #define VAL_EAGAIN EAGAIN
2939 #define RD_NODATA -1
2940 #define EOF_NONBLOCK
2943 * This symbol, if defined, indicates that the system stores
2944 * the variable argument list datatype, va_list, in a format
2945 * that cannot be copied by simple assignment, so that some
2946 * other means must be used when copying is required.
2947 * As such systems vary in their provision (or non-provision)
2948 * of copying mechanisms, handy.h defines a platform-
2949 * independent macro, Perl_va_copy(src, dst), to do the job.
2951 /*#define NEED_VA_COPY / **/
2954 * This symbol holds the type used for the 1st argument
2955 * to gethostbyaddr().
2958 * This symbol holds the type used for the 2nd argument
2959 * to gethostbyaddr().
2962 * This symbol holds the type used for the argument to
2966 * This symbol holds the type used for the 1st argument to
2969 #define Netdb_host_t char * /**/
2970 #define Netdb_hlen_t size_t /**/
2971 #define Netdb_name_t char * /**/
2972 #define Netdb_net_t long /**/
2974 /* PERL_OTHERLIBDIRS:
2975 * This variable contains a colon-separated set of paths for the perl
2976 * binary to search for additional library files or modules.
2977 * These directories will be tacked to the end of @INC.
2978 * Perl will automatically search below each path for version-
2979 * and architecture-specific directories. See PERL_INC_VERSION_LIST
2982 /*#define PERL_OTHERLIBDIRS " " / **/
2985 * This symbol defines the C type used for Perl's IV.
2988 * This symbol defines the C type used for Perl's UV.
2991 * This symbol defines the C type used for Perl's I8.
2994 * This symbol defines the C type used for Perl's U8.
2997 * This symbol defines the C type used for Perl's I16.
3000 * This symbol defines the C type used for Perl's U16.
3003 * This symbol defines the C type used for Perl's I32.
3006 * This symbol defines the C type used for Perl's U32.
3009 * This symbol defines the C type used for Perl's I64.
3012 * This symbol defines the C type used for Perl's U64.
3015 * This symbol defines the C type used for Perl's NV.
3018 * This symbol contains the sizeof(IV).
3021 * This symbol contains the sizeof(UV).
3024 * This symbol contains the sizeof(I8).
3027 * This symbol contains the sizeof(U8).
3030 * This symbol contains the sizeof(I16).
3033 * This symbol contains the sizeof(U16).
3036 * This symbol contains the sizeof(I32).
3039 * This symbol contains the sizeof(U32).
3042 * This symbol contains the sizeof(I64).
3045 * This symbol contains the sizeof(U64).
3048 * This symbol contains the sizeof(NV).
3051 * This symbol, if defined, indicates that a variable of type NVTYPE
3052 * can preserve all the bits of a variable of type UVTYPE.
3054 /* NV_PRESERVES_UV_BITS:
3055 * This symbol contains the number of bits a variable of type NVTYPE
3056 * can preserve of a variable of type UVTYPE.
3058 #define IVTYPE long /**/
3059 #define UVTYPE unsigned long /**/
3060 #define I8TYPE char /**/
3061 #define U8TYPE unsigned char /**/
3062 #define I16TYPE short /**/
3063 #define U16TYPE unsigned short /**/
3064 #define I32TYPE long /**/
3065 #define U32TYPE unsigned long /**/
3067 #define I64TYPE long long /**/
3068 #define U64TYPE unsigned long long /**/
3070 #define NVTYPE double /**/
3071 #define IVSIZE 4 /**/
3072 #define UVSIZE 4 /**/
3073 #define I8SIZE 1 /**/
3074 #define U8SIZE 1 /**/
3075 #define I16SIZE 2 /**/
3076 #define U16SIZE 2 /**/
3077 #define I32SIZE 4 /**/
3078 #define U32SIZE 4 /**/
3080 #define I64SIZE 8 /**/
3081 #define U64SIZE 8 /**/
3083 #define NVSIZE 8 /**/
3084 /*#define NV_PRESERVES_UV
3085 #define NV_PRESERVES_UV_BITS 31
3088 * This symbol defines the format string used for printing a Perl IV
3089 * as a signed decimal integer.
3092 * This symbol defines the format string used for printing a Perl UV
3093 * as an unsigned decimal integer.
3096 * This symbol defines the format string used for printing a Perl UV
3097 * as an unsigned octal integer.
3100 * This symbol defines the format string used for printing a Perl UV
3101 * as an unsigned hexadecimal integer in lowercase abcdef.
3104 * This symbol defines the format string used for printing a Perl UV
3105 * as an unsigned hexadecimal integer in uppercase ABCDEF.
3108 * This symbol defines the format string used for printing a Perl NV
3109 * using %e-ish floating point format.
3112 * This symbol defines the format string used for printing a Perl NV
3113 * using %f-ish floating point format.
3116 * This symbol defines the format string used for printing a Perl NV
3117 * using %g-ish floating point format.
3119 #define IVdf "ld" /**/
3120 #define UVuf "lu" /**/
3121 #define UVof "lo" /**/
3122 #define UVxf "lx" /**/
3123 #define UVXf "lX" /**/
3124 #define NVef "e" /**/
3125 #define NVff "f" /**/
3126 #define NVgf "g" /**/
3129 * This symbol holds the type used to declare process ids in the kernel.
3130 * It can be int, uint, pid_t, etc... It may be necessary to include
3131 * <sys/types.h> to get any typedef'ed information.
3133 #define Pid_t pid_t /* PID type */
3136 * This symbol contains the name of the private library for this package.
3137 * The library is private in the sense that it needn't be in anyone's
3138 * execution path, but it should be accessible by the world. The program
3139 * should be prepared to do ~ expansion.
3142 * This symbol contains the ~name expanded version of PRIVLIB, to be used
3143 * in programs that are not prepared to deal with ~ expansion at run-time.
3145 #define PRIVLIB "/sys/lib/perl/5.27.9" /**/
3146 #define PRIVLIB_EXP "/sys/lib/perl/5.27.9" /**/
3149 * This symbol contains the size of a pointer, so that the C preprocessor
3150 * can make decisions based on it. It will be sizeof(void *) if
3151 * the compiler supports (void *); otherwise it will be
3154 #define PTRSIZE 4 /**/
3157 * This macro is to be used to generate uniformly distributed
3158 * random numbers over the range [0., 1.[. You may have to supply
3159 * an 'extern double drand48();' in your program since SunOS 4.1.3
3160 * doesn't provide you with anything relevant in its headers.
3161 * See HAS_DRAND48_PROTO.
3164 * This symbol defines the type of the argument of the
3165 * random seed function.
3168 * This symbol defines the macro to be used in seeding the
3169 * random number generator (see Drand01).
3172 * This symbol indicates how many bits are produced by the
3173 * function used to generate normalized random numbers.
3174 * Values include 15, 16, 31, and 48.
3176 #define Drand01() (rand() / (double) ((unsigned long)1 << 15)) /**/
3177 #define Rand_seed_t unsigned /**/
3178 #define seedDrand01(x) srand((Rand_seed_t)x) /**/
3179 #define RANDBITS 15 /**/
3182 * This symbol holds the minimum number of bits operated by select.
3183 * That is, if you do select(n, ...), how many bits at least will be
3184 * cleared in the masks if some activity is detected. Usually this
3185 * is either n or 32*ceil(n/32), especially many little-endians do
3186 * the latter. This is only useful if you have select(), naturally.
3188 #define SELECT_MIN_BITS 32 /**/
3191 * This symbol holds the type used for the 2nd, 3rd, and 4th
3192 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
3193 * is defined, and 'int *' otherwise. This is only useful if you
3194 * have select(), of course.
3196 #define Select_fd_set_t fd_set* /**/
3199 * This symbol contains a list of signal names in order of
3200 * signal number. This is intended
3201 * to be used as a static array initialization, like this:
3202 * char *sig_name[] = { SIG_NAME };
3203 * The signals in the list are separated with commas, and each signal
3204 * is surrounded by double quotes. There is no leading SIG in the signal
3205 * name, i.e. SIGQUIT is known as "QUIT".
3206 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3207 * etc., where nn is the actual signal number (e.g. NUM37).
3208 * The signal number for sig_name[i] is stored in sig_num[i].
3209 * The last element is 0 to terminate the list with a NULL. This
3210 * corresponds to the 0 at the end of the sig_num list.
3213 * This symbol contains a list of signal numbers, in the same order as the
3214 * SIG_NAME list. It is suitable for static array initialization, as in:
3215 * int sig_num[] = { SIG_NUM };
3216 * The signals in the list are separated with commas, and the indices
3217 * within that list and the SIG_NAME list match, so it's easy to compute
3218 * the signal name from a number or vice versa at the price of a small
3219 * dynamic linear lookup.
3220 * Duplicates are allowed, but are moved to the end of the list.
3221 * The signal number corresponding to sig_name[i] is sig_number[i].
3222 * if (i < NSIG) then sig_number[i] == i.
3223 * The last element is 0, corresponding to the 0 at the end of
3224 * the sig_name list.
3227 * This variable contains the number of elements of the SIG_NAME
3228 * and SIG_NUM arrays, excluding the final NULL entry.
3230 #define SIG_NAME "ZERO", "HUP", "INT", "QUIT", "ILL", "ABRT", "FPE", "KILL", "SEGV", "PIPE", "ALRM", "TERM", "USR1", "USR2", "BUS", "CHLD", "CONT", "STOP", "TSTP", "TTIN", "TTOU", "NUM21", "NUM22", "NUM23", "NUM24", "NUM25", "NUM26", "NUM27", "NUM28", "NUM29", "NUM30", "NUM31", "NUM32", "NUM33", "NUM34", "NUM35", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "NUM48", "NUM49", 0 /**/
3231 #define SIG_NUM 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 0 /**/
3232 #define SIG_SIZE 50 /**/
3235 * This symbol contains the name of the private library for this package.
3236 * The library is private in the sense that it needn't be in anyone's
3237 * execution path, but it should be accessible by the world. The program
3238 * should be prepared to do ~ expansion.
3239 * The standard distribution will put nothing in this directory.
3240 * After perl has been installed, users may install their own local
3241 * architecture-dependent modules in this directory with
3242 * MakeMaker Makefile.PL
3243 * or equivalent. See INSTALL for details.
3246 * This symbol contains the ~name expanded version of SITEARCH, to be used
3247 * in programs that are not prepared to deal with ~ expansion at run-time.
3249 #define SITEARCH_EXP "/_P9P_OBJTYPE/lib/perl/_P9P_VERSION/site_perl" /* */
3250 #define SITEARCH "/_P9P_OBJTYPE/lib/perl/_P9P_VERSION/site_perl" /* */
3254 * This symbol contains the name of the private library for this package.
3255 * The library is private in the sense that it needn't be in anyone's
3256 * execution path, but it should be accessible by the world. The program
3257 * should be prepared to do ~ expansion.
3258 * The standard distribution will put nothing in this directory.
3259 * After perl has been installed, users may install their own local
3260 * architecture-independent modules in this directory with
3261 * MakeMaker Makefile.PL
3262 * or equivalent. See INSTALL for details.
3265 * This symbol contains the ~name expanded version of SITELIB, to be used
3266 * in programs that are not prepared to deal with ~ expansion at run-time.
3269 * This define is SITELIB_EXP with any trailing version-specific component
3270 * removed. The elements in inc_version_list (inc_version_list.U) can
3271 * be tacked onto this variable to generate a list of directories to search.
3273 #define SITELIB "/sys/lib/perl/5.27.9/site_perl" /**/
3274 #define SITELIB_EXP "/sys/lib/perl/5.27.9/site_perl" /**/
3275 #define SITELIB_STEM "/sys/lib/perl/5.27.9/site_perl" /**/
3278 * This symbol holds the size of a Size_t in bytes.
3280 #define Size_t_size 4 /* */
3283 * This symbol holds the type used to declare length parameters
3284 * for string functions. It is usually size_t, but may be
3285 * unsigned long, int, etc. It may be necessary to include
3286 * <sys/types.h> to get any typedef'ed information.
3288 #define Size_t size_t /* length parameter for string functions */
3291 * This symbol holds the type used for the size argument of
3292 * various socket calls (just the base type, not the pointer-to).
3294 #define Sock_size_t int /**/
3297 * This symbol holds the type used by functions that return
3298 * a count of bytes or an error condition. It must be a signed type.
3299 * It is usually ssize_t, but may be long or int, etc.
3300 * It may be necessary to include <sys/types.h> or <unistd.h>
3301 * to get any typedef'ed information.
3302 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3304 #define SSize_t ssize_t /* signed count of bytes */
3307 * This variable contains the string to put in front of a perl
3308 * script to make sure (one hopes) that it runs with perl and not
3311 #define STARTPERL "#!/bin/perl" /**/
3314 * This symbol is defined to be the type of char used in stdio.h.
3315 * It has the values "unsigned char" or "char".
3317 #define STDCHAR char /**/
3319 /* HAS_STDIO_STREAM_ARRAY:
3320 * This symbol, if defined, tells that there is an array
3321 * holding the stdio streams.
3323 /* STDIO_STREAM_ARRAY:
3324 * This symbol tells the name of the array holding the stdio streams.
3325 * Usual values include _iob, __iob, and __sF.
3327 /*#define HAS_STDIO_STREAM_ARRAY / **/
3328 #define STDIO_STREAM_ARRAY
3331 * This symbol defines the format string used for printing a Uid_t.
3333 #define Uid_t_f "hd" /**/
3336 * This symbol holds the signedess of a Uid_t.
3337 * 1 for unsigned, -1 for signed.
3339 #define Uid_t_sign -1 /* UID sign */
3342 * This symbol holds the size of a Uid_t in bytes.
3344 #define Uid_t_size 2 /* UID size */
3347 * This symbol holds the type used to declare user ids in the kernel.
3348 * It can be int, ushort, uid_t, etc... It may be necessary to include
3349 * <sys/types.h> to get any typedef'ed information.
3351 #define Uid_t uid_t /* UID type */
3354 * This symbol, if defined, indicates that 64-bit integers should
3355 * be used when available. If not defined, the native integers
3356 * will be employed (be they 32 or 64 bits). The minimal possible
3357 * 64-bitness is used, just enough to get 64-bit integers into Perl.
3358 * This may mean using for example "long longs", while your memory
3359 * may still be limited to 2 gigabytes.
3362 * This symbol, if defined, indicates that 64-bit integers should
3363 * be used when available. If not defined, the native integers
3364 * will be used (be they 32 or 64 bits). The maximal possible
3365 * 64-bitness is employed: LP64 or ILP64, meaning that you will
3366 * be able to use more than 2 gigabytes of memory. This mode is
3367 * even more binary incompatible than USE_64_BIT_INT. You may not
3368 * be able to run the resulting executable in a 32-bit CPU at all or
3369 * you may need at least to reboot your OS to 64-bit mode.
3371 #ifndef USE_64_BIT_INT
3372 /*#define USE_64_BIT_INT / **/
3375 #ifndef USE_64_BIT_ALL
3376 /*#define USE_64_BIT_ALL / **/
3380 * This symbol, if defined, indicates that Perl should
3381 * be built to use 'fast stdio'.
3382 * Defaults to define in Perls 5.8 and earlier, to undef later.
3384 #ifndef USE_FAST_STDIO
3385 /*#define USE_FAST_STDIO / **/
3389 * This symbol, if defined, indicates that large file support
3390 * should be used when available.
3392 #ifndef USE_LARGE_FILES
3393 #define USE_LARGE_FILES /**/
3397 * This symbol, if defined, indicates that long doubles should
3398 * be used when available.
3400 #ifndef USE_LONG_DOUBLE
3401 /*#define USE_LONG_DOUBLE / **/
3405 * This symbol, if defined, indicates that 64-bit interfaces and
3406 * long doubles should be used when available.
3408 #ifndef USE_MORE_BITS
3409 /*#define USE_MORE_BITS / **/
3413 * This symbol, if defined, indicates that Perl should
3414 * be built to use multiplicity.
3416 #ifndef MULTIPLICITY
3417 /*#define MULTIPLICITY / **/
3421 * This symbol, if defined, indicates that the PerlIO abstraction should
3422 * be used throughout. If not defined, stdio should be
3423 * used in a fully backward compatible manner.
3426 #define USE_PERLIO /**/
3430 * This symbol, if defined, indicates that Perl should
3431 * be built to use socks.
3434 /*#define USE_SOCKS / **/
3438 * This symbol, if defined, indicates that Perl should be built to
3439 * use the interpreter-based threading implementation.
3442 * This symbol, if defined, indicates that Perl should be built to
3443 * use the 5.005-based threading implementation.
3445 /* OLD_PTHREADS_API:
3446 * This symbol, if defined, indicates that Perl should
3447 * be built to use the old draft POSIX threads API.
3449 /* USE_REENTRANT_API:
3450 * This symbol, if defined, indicates that Perl should
3451 * try to use the various _r versions of library functions.
3452 * This is extremely experimental.
3454 /*#define USE_5005THREADS / **/
3455 /*#define USE_ITHREADS / **/
3456 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
3457 #define USE_THREADS /* until src is revised*/
3459 /*#define OLD_PTHREADS_API / **/
3460 /*#define USE_REENTRANT_API / **/
3463 * If defined, this symbol contains the name of a private library.
3464 * The library is private in the sense that it needn't be in anyone's
3465 * execution path, but it should be accessible by the world.
3466 * It may have a ~ on the front.
3467 * The standard distribution will put nothing in this directory.
3468 * Vendors who distribute perl may wish to place their own
3469 * architecture-dependent modules and extensions in this directory with
3470 * MakeMaker Makefile.PL INSTALLDIRS=vendor
3471 * or equivalent. See INSTALL for details.
3473 /* PERL_VENDORARCH_EXP:
3474 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
3475 * in programs that are not prepared to deal with ~ expansion at run-time.
3477 /*#define PERL_VENDORARCH "" / **/
3478 /*#define PERL_VENDORARCH_EXP "" / **/
3480 /* PERL_VENDORLIB_EXP:
3481 * This symbol contains the ~name expanded version of VENDORLIB, to be used
3482 * in programs that are not prepared to deal with ~ expansion at run-time.
3484 /* PERL_VENDORLIB_STEM:
3485 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
3486 * removed. The elements in inc_version_list (inc_version_list.U) can
3487 * be tacked onto this variable to generate a list of directories to search.
3489 /*#define PERL_VENDORLIB_EXP "" / **/
3490 /*#define PERL_VENDORLIB_STEM "" / **/
3493 * This symbol, if defined, indicates that the crypt routine is available
3494 * to encrypt passwords and the like.
3496 /*#define HAS_CRYPT / **/
3498 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
3499 * This symbol, if defined, indicates that the bug that prevents
3500 * setuid scripts from being secure is not present in this kernel.
3503 * This symbol, if defined, indicates that the C program should
3504 * check the script that it is executing for setuid/setgid bits, and
3505 * attempt to emulate setuid/setgid on systems that have disabled
3506 * setuid #! scripts because the kernel can't do it securely.
3507 * It is up to the package designer to make sure that this emulation
3508 * is done securely. Among other things, it should do an fstat on
3509 * the script it just opened to make sure it really is a setuid/setgid
3510 * script, it should make sure the arguments passed correspond exactly
3511 * to the argument on the #! line, and it should not trust any
3512 * subprocesses to which it must pass the filename rather than the
3513 * file descriptor of the script to be executed.
3515 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/
3516 /*#define DOSUID / **/
3519 * This symbol holds the return type of the shmat() system call.
3520 * Usually set to 'void *' or 'char *'.
3522 /* HAS_SHMAT_PROTOTYPE:
3523 * This symbol, if defined, indicates that the sys/shm.h includes
3524 * a prototype for shmat(). Otherwise, it is up to the program to
3525 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
3526 * but not always right so it should be emitted by the program only
3527 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
3529 #define Shmat_t /* config-skip */
3530 /*#define HAS_SHMAT_PROTOTYPE / **/
3533 * This symbol, if defined, indicates that <ndbm.h> exists and should
3536 /*#define I_NDBM / **/
3539 * This symbol contains the full pathname to the shell used on this
3540 * on this system to execute Bourne shell scripts. Usually, this will be
3541 * /bin/sh, though it's possible that some systems will have /bin/ksh,
3542 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
3545 #define SH_PATH "/bin/sh" /* config-skip */
3547 /* USE_CROSS_COMPILE:
3548 * This symbol, if defined, indicates that Perl is being cross-compiled.
3551 * This symbol, if defined, indicates the target architecture
3552 * Perl has been cross-compiled to. Undefined if not a cross-compile.
3554 #ifndef USE_CROSS_COMPILE
3555 /*#define USE_CROSS_COMPILE / **/
3556 #define PERL_TARGETARCH "" /**/
3560 * This symbol, if defined, indicates that the copysignl routine is
3561 * available. If aintl is also present we can emulate modfl.
3563 /*#define HAS_COPYSIGNL /**/
3566 * This symbol, if defined, indicates that a C++ compiler was
3567 * used to compiled Perl and will be used to compile extensions.
3569 /*#define USE_CPLUSPLUS /**/
3571 /* HAS_DBMINIT_PROTO:
3572 * This symbol, if defined, indicates that the system provides
3573 * a prototype for the dbminit() function. Otherwise, it is up
3574 * to the program to supply one. A good guess is
3575 * extern int dbminit(char *);
3577 /*#define HAS_DBMINIT_PROTO / **/
3580 * This manifest constant lets the C program know that dirfd
3583 /*#define HAS_DIRFD / **/
3586 * This symbol, if defined, indicates that the system provides
3587 * a prototype for the flock() function. Otherwise, it is up
3588 * to the program to supply one. A good guess is
3589 * extern int flock(int, int);
3591 /*#define HAS_FLOCK_PROTO / **/
3594 * This symbol, if defined, indicates that the fpclassl routine is
3595 * available to classify long doubles. Available for example in IRIX.
3596 * The returned values are defined in <ieeefp.h> and are:
3598 * FP_SNAN signaling NaN
3600 * FP_NINF negative infinity
3601 * FP_PINF positive infinity
3602 * FP_NDENORM negative denormalized non-zero
3603 * FP_PDENORM positive denormalized non-zero
3604 * FP_NZERO negative zero
3605 * FP_PZERO positive zero
3606 * FP_NNORM negative normalized non-zero
3607 * FP_PNORM positive normalized non-zero
3609 /*#define HAS_FPCLASSL / **/
3612 * This symbol, if defined, indicates that the nl_langinfo routine is
3613 * available to return local data. You will also need <langinfo.h>
3614 * and therefore I_LANGINFO.
3616 /*#define HAS_NL_LANGINFO / **/
3619 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3620 * to the absolute pathname of the executing program.
3622 /* PROCSELFEXE_PATH:
3623 * If HAS_PROCSELFEXE is defined this symbol is the filename
3624 * of the symbolic link pointing to the absolute pathname of
3625 * the executing program.
3627 /*#define HAS_PROCSELFEXE / **/
3628 #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3629 #define PROCSELFEXE_PATH /**/
3632 /* HAS_PTHREAD_ATTR_SETSCOPE:
3633 * This symbol, if defined, indicates that the pthread_attr_setscope
3634 * system call is available to set the contention scope attribute of
3635 * a thread attribute object.
3637 /*#define HAS_PTHREAD_ATTR_SETSCOPE / **/
3640 * This symbol, if defined, indicates that the sigprocmask
3641 * system call is available to examine or change the signal mask
3642 * of the calling process.
3644 #define HAS_SIGPROCMASK /**/
3647 * This symbol, if defined, indicates that the sockatmark routine is
3648 * available to test whether a socket is at the out-of-band mark.
3650 /*#define HAS_SOCKATMARK / **/
3652 /* HAS_SOCKATMARK_PROTO:
3653 * This symbol, if defined, indicates that the system provides
3654 * a prototype for the sockatmark() function. Otherwise, it is up
3655 * to the program to supply one. A good guess is
3656 * extern int sockatmark(int);
3658 /*#define HAS_SOCKATMARK_PROTO / **/
3660 /* HAS_SETRESGID_PROTO:
3661 * This symbol, if defined, indicates that the system provides
3662 * a prototype for the setresgid() function. Otherwise, it is up
3663 * to the program to supply one. Good guesses are
3664 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3666 /*#define HAS_SETRESGID_PROTO / **/
3668 /* HAS_SETRESUID_PROTO:
3669 * This symbol, if defined, indicates that the system provides
3670 * a prototype for the setresuid() function. Otherwise, it is up
3671 * to the program to supply one. Good guesses are
3672 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3674 /*#define HAS_SETRESUID_PROTO / **/
3677 * This symbol, if defined, indicates that the strftime routine is
3678 * available to do time formatting.
3680 #define HAS_STRFTIME /**/
3682 /* HAS_SYSCALL_PROTO:
3683 * This symbol, if defined, indicates that the system provides
3684 * a prototype for the syscall() function. Otherwise, it is up
3685 * to the program to supply one. Good guesses are
3686 * extern int syscall(int, ...);
3687 * extern int syscall(long, ...);
3689 /*#define HAS_SYSCALL_PROTO / **/
3691 /* U32_ALIGNMENT_REQUIRED:
3692 * This symbol, if defined, indicates that you must access
3693 * character data through U32-aligned pointers.
3695 #ifndef U32_ALIGNMENT_REQUIRED
3696 #define U32_ALIGNMENT_REQUIRED /**/
3699 /* HAS_USLEEP_PROTO:
3700 * This symbol, if defined, indicates that the system provides
3701 * a prototype for the usleep() function. Otherwise, it is up
3702 * to the program to supply one. A good guess is
3703 * extern int usleep(useconds_t);
3705 /*#define HAS_USLEEP_PROTO / **/
3708 * This symbol, if defined, indicates that <crypt.h> exists and
3709 * should be included.
3711 /*#define I_CRYPT / **/
3714 * This symbol, if defined, indicates that <fp.h> exists and
3715 * should be included.
3717 /*#define I_FP / **/
3720 * This symbol, if defined, indicates that <langinfo.h> exists and
3721 * should be included.
3723 /*#define I_LANGINFO / **/
3726 * This symbol, if defined, indicates that the ctermid_r routine
3727 * is available to ctermid re-entrantly.
3730 * This symbol encodes the prototype of ctermid_r.
3731 * It is zero if d_ctermid_r is undef, and one of the
3732 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
3735 /*#define HAS_CTERMID_R / **/
3736 #define CTERMID_R_PROTO 0 /**/
3738 /* HAS_ENDHOSTENT_R:
3739 * This symbol, if defined, indicates that the endhostent_r routine
3740 * is available to endhostent re-entrantly.
3742 /* ENDHOSTENT_R_PROTO:
3743 * This symbol encodes the prototype of endhostent_r.
3744 * It is zero if d_endhostent_r is undef, and one of the
3745 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
3748 /*#define HAS_ENDHOSTENT_R / **/
3749 #define ENDHOSTENT_R_PROTO 0 /**/
3752 * This symbol, if defined, indicates that the endnetent_r routine
3753 * is available to endnetent re-entrantly.
3755 /* ENDNETENT_R_PROTO:
3756 * This symbol encodes the prototype of endnetent_r.
3757 * It is zero if d_endnetent_r is undef, and one of the
3758 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
3761 /*#define HAS_ENDNETENT_R / **/
3762 #define ENDNETENT_R_PROTO 0 /**/
3764 /* HAS_ENDPROTOENT_R:
3765 * This symbol, if defined, indicates that the endprotoent_r routine
3766 * is available to endprotoent re-entrantly.
3768 /* ENDPROTOENT_R_PROTO:
3769 * This symbol encodes the prototype of endprotoent_r.
3770 * It is zero if d_endprotoent_r is undef, and one of the
3771 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
3774 /*#define HAS_ENDPROTOENT_R / **/
3775 #define ENDPROTOENT_R_PROTO 0 /**/
3777 /* HAS_ENDSERVENT_R:
3778 * This symbol, if defined, indicates that the endservent_r routine
3779 * is available to endservent re-entrantly.
3781 /* ENDSERVENT_R_PROTO:
3782 * This symbol encodes the prototype of endservent_r.
3783 * It is zero if d_endservent_r is undef, and one of the
3784 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
3787 /*#define HAS_ENDSERVENT_R / **/
3788 #define ENDSERVENT_R_PROTO 0 /**/
3790 /* HAS_GETHOSTBYADDR_R:
3791 * This symbol, if defined, indicates that the gethostbyaddr_r routine
3792 * is available to gethostbyaddr re-entrantly.
3794 /* GETHOSTBYADDR_R_PROTO:
3795 * This symbol encodes the prototype of gethostbyaddr_r.
3796 * It is zero if d_gethostbyaddr_r is undef, and one of the
3797 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
3800 /*#define HAS_GETHOSTBYADDR_R / **/
3801 #define GETHOSTBYADDR_R_PROTO 0 /**/
3803 /* HAS_GETHOSTBYNAME_R:
3804 * This symbol, if defined, indicates that the gethostbyname_r routine
3805 * is available to gethostbyname re-entrantly.
3807 /* GETHOSTBYNAME_R_PROTO:
3808 * This symbol encodes the prototype of gethostbyname_r.
3809 * It is zero if d_gethostbyname_r is undef, and one of the
3810 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
3813 /*#define HAS_GETHOSTBYNAME_R / **/
3814 #define GETHOSTBYNAME_R_PROTO 0 /**/
3816 /* HAS_GETHOSTENT_R:
3817 * This symbol, if defined, indicates that the gethostent_r routine
3818 * is available to gethostent re-entrantly.
3820 /* GETHOSTENT_R_PROTO:
3821 * This symbol encodes the prototype of gethostent_r.
3822 * It is zero if d_gethostent_r is undef, and one of the
3823 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
3826 /*#define HAS_GETHOSTENT_R /* config-skip */
3827 #define GETHOSTENT_R_PROTO 0 /**/
3829 /* HAS_GETNETBYADDR_R:
3830 * This symbol, if defined, indicates that the getnetbyaddr_r routine
3831 * is available to getnetbyaddr re-entrantly.
3833 /* GETNETBYADDR_R_PROTO:
3834 * This symbol encodes the prototype of getnetbyaddr_r.
3835 * It is zero if d_getnetbyaddr_r is undef, and one of the
3836 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
3839 /*#define HAS_GETNETBYADDR_R / **/
3840 #define GETNETBYADDR_R_PROTO 0 /**/
3842 /* HAS_GETNETBYNAME_R:
3843 * This symbol, if defined, indicates that the getnetbyname_r routine
3844 * is available to getnetbyname re-entrantly.
3846 /* GETNETBYNAME_R_PROTO:
3847 * This symbol encodes the prototype of getnetbyname_r.
3848 * It is zero if d_getnetbyname_r is undef, and one of the
3849 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
3852 /*#define HAS_GETNETBYNAME_R / **/
3853 #define GETNETBYNAME_R_PROTO 0 /**/
3856 * This symbol, if defined, indicates that the getnetent_r routine
3857 * is available to getnetent re-entrantly.
3859 /* GETNETENT_R_PROTO:
3860 * This symbol encodes the prototype of getnetent_r.
3861 * It is zero if d_getnetent_r is undef, and one of the
3862 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
3865 /*#define HAS_GETNETENT_R / **/
3866 #define GETNETENT_R_PROTO 0 /**/
3868 /* HAS_GETPROTOBYNAME_R:
3869 * This symbol, if defined, indicates that the getprotobyname_r routine
3870 * is available to getprotobyname re-entrantly.
3872 /* GETPROTOBYNAME_R_PROTO:
3873 * This symbol encodes the prototype of getprotobyname_r.
3874 * It is zero if d_getprotobyname_r is undef, and one of the
3875 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
3878 /*#define HAS_GETPROTOBYNAME_R / **/
3879 #define GETPROTOBYNAME_R_PROTO 0 /**/
3881 /* HAS_GETPROTOBYNUMBER_R:
3882 * This symbol, if defined, indicates that the getprotobynumber_r routine
3883 * is available to getprotobynumber re-entrantly.
3885 /* GETPROTOBYNUMBER_R_PROTO:
3886 * This symbol encodes the prototype of getprotobynumber_r.
3887 * It is zero if d_getprotobynumber_r is undef, and one of the
3888 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
3891 /*#define HAS_GETPROTOBYNUMBER_R / **/
3892 #define GETPROTOBYNUMBER_R_PROTO 0 /**/
3894 /* HAS_GETPROTOENT_R:
3895 * This symbol, if defined, indicates that the getprotoent_r routine
3896 * is available to getprotoent re-entrantly.
3898 /* GETPROTOENT_R_PROTO:
3899 * This symbol encodes the prototype of getprotoent_r.
3900 * It is zero if d_getprotoent_r is undef, and one of the
3901 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
3904 /*#define HAS_GETPROTOENT_R / **/
3905 #define GETPROTOENT_R_PROTO 0 /**/
3907 /* HAS_GETSERVBYNAME_R:
3908 * This symbol, if defined, indicates that the getservbyname_r routine
3909 * is available to getservbyname re-entrantly.
3911 /* GETSERVBYNAME_R_PROTO:
3912 * This symbol encodes the prototype of getservbyname_r.
3913 * It is zero if d_getservbyname_r is undef, and one of the
3914 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
3917 /*#define HAS_GETSERVBYNAME_R / **/
3918 #define GETSERVBYNAME_R_PROTO 0 /**/
3920 /* HAS_GETSERVBYPORT_R:
3921 * This symbol, if defined, indicates that the getservbyport_r routine
3922 * is available to getservbyport re-entrantly.
3924 /* GETSERVBYPORT_R_PROTO:
3925 * This symbol encodes the prototype of getservbyport_r.
3926 * It is zero if d_getservbyport_r is undef, and one of the
3927 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
3930 /*#define HAS_GETSERVBYPORT_R / **/
3931 #define GETSERVBYPORT_R_PROTO 0 /**/
3933 /* HAS_GETSERVENT_R:
3934 * This symbol, if defined, indicates that the getservent_r routine
3935 * is available to getservent re-entrantly.
3937 /* GETSERVENT_R_PROTO:
3938 * This symbol encodes the prototype of getservent_r.
3939 * It is zero if d_getservent_r is undef, and one of the
3940 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
3943 /*#define HAS_GETSERVENT_R / **/
3944 #define GETSERVENT_R_PROTO 0 /**/
3946 /* HAS_PTHREAD_ATFORK:
3947 * This symbol, if defined, indicates that the pthread_atfork routine
3948 * is available to setup fork handlers.
3950 /*#define HAS_PTHREAD_ATFORK / **/
3953 * This symbol, if defined, indicates that the readdir64_r routine
3954 * is available to readdir64 re-entrantly.
3956 /* READDIR64_R_PROTO:
3957 * This symbol encodes the prototype of readdir64_r.
3958 * It is zero if d_readdir64_r is undef, and one of the
3959 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
3962 /*#define HAS_READDIR64_R / **/
3963 #define READDIR64_R_PROTO 0 /**/
3965 /* HAS_SETHOSTENT_R:
3966 * This symbol, if defined, indicates that the sethostent_r routine
3967 * is available to sethostent re-entrantly.
3969 /* SETHOSTENT_R_PROTO:
3970 * This symbol encodes the prototype of sethostent_r.
3971 * It is zero if d_sethostent_r is undef, and one of the
3972 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
3975 /*#define HAS_SETHOSTENT_R / **/
3976 #define SETHOSTENT_R_PROTO 0 /**/
3979 * This symbol, if defined, indicates that the setlocale_r routine
3980 * is available to setlocale re-entrantly.
3982 /* SETLOCALE_R_PROTO:
3983 * This symbol encodes the prototype of setlocale_r.
3984 * It is zero if d_setlocale_r is undef, and one of the
3985 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
3988 /*#define HAS_SETLOCALE_R / **/
3989 #define SETLOCALE_R_PROTO 0 /**/
3992 * This symbol, if defined, indicates that the setnetent_r routine
3993 * is available to setnetent re-entrantly.
3995 /* SETNETENT_R_PROTO:
3996 * This symbol encodes the prototype of setnetent_r.
3997 * It is zero if d_setnetent_r is undef, and one of the
3998 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
4001 /*#define HAS_SETNETENT_R / **/
4002 #define SETNETENT_R_PROTO 0 /**/
4004 /* HAS_SETPROTOENT_R:
4005 * This symbol, if defined, indicates that the setprotoent_r routine
4006 * is available to setprotoent re-entrantly.
4008 /* SETPROTOENT_R_PROTO:
4009 * This symbol encodes the prototype of setprotoent_r.
4010 * It is zero if d_setprotoent_r is undef, and one of the
4011 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
4014 /*#define HAS_SETPROTOENT_R / **/
4015 #define SETPROTOENT_R_PROTO 0 /**/
4017 /* HAS_SETSERVENT_R:
4018 * This symbol, if defined, indicates that the setservent_r routine
4019 * is available to setservent re-entrantly.
4021 /* SETSERVENT_R_PROTO:
4022 * This symbol encodes the prototype of setservent_r.
4023 * It is zero if d_setservent_r is undef, and one of the
4024 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
4027 /*#define HAS_SETSERVENT_R / **/
4028 #define SETSERVENT_R_PROTO 0 /**/
4031 * This symbol, if defined, indicates that the ttyname_r routine
4032 * is available to ttyname re-entrantly.
4035 * This symbol encodes the prototype of ttyname_r.
4036 * It is zero if d_ttyname_r is undef, and one of the
4037 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
4040 /*#define HAS_TTYNAME_R / **/
4041 #define TTYNAME_R_PROTO 0 /**/