2 * This file was produced by running the config_h.SH script, which
3 * gets its values from config.sh, which is generally produced by
6 * Feel free to modify any of this as the need arises. Note, however,
7 * that running config_h.SH again will wipe out any changes you've made.
8 * For a more permanent change edit config.sh and rerun config_h.SH.
10 * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
14 * Package name : perl5
16 * Configuration time: Tue Jan 18 21:02:23 2000
17 * Configured by : gsar
25 * This symbol holds the complete pathname to the sed program.
27 #define LOC_SED "" /**/
30 * This symbol, if defined, indicates that the alarm routine is
33 /*#define HAS_ALARM /**/
36 * This symbol indicates the C compiler can check for function attributes,
37 * such as printf formats. This is normally only supported by GNU cc.
39 #define HASATTRIBUTE /**/
41 #define __attribute__(_arg_)
45 * This symbol is defined if the bcmp() routine is available to
46 * compare blocks of memory.
48 /*#define HAS_BCMP /**/
51 * This symbol is defined if the bcopy() routine is available to
52 * copy blocks of memory.
54 /*#define HAS_BCOPY /**/
57 * This symbol is defined if the bzero() routine is available to
58 * set a memory block to 0.
60 /*#define HAS_BZERO /**/
63 * This symbol, if defined, indicates that the chown routine is
66 /*#define HAS_CHOWN /**/
69 * This symbol, if defined, indicates that the chroot routine is
72 /*#define HAS_CHROOT /**/
75 * This symbol, if defined, indicates that the chsize routine is available
76 * to truncate files. You might need a -lx to get this routine.
78 #define HAS_CHSIZE /**/
81 * This symbol, if defined, indicates that this C compiler knows about
82 * the const type. There is no need to actually test for that symbol
83 * within your programs. The mere use of the "const" keyword will
84 * trigger the necessary tests.
92 * This symbol, if defined, indicates that the crypt routine is available
93 * to encrypt passwords and the like.
95 /*#define HAS_CRYPT /**/
98 * This symbol, if defined, indicates that the cuserid routine is
99 * available to get character login names.
101 /*#define HAS_CUSERID /**/
104 * This symbol, if defined, indicates that this system's <float.h>
105 * or <limits.h> defines the symbol DBL_DIG, which is the number
106 * of significant digits in a double precision number. If this
107 * symbol is not defined, a guess of 15 is usually pretty good.
109 #define HAS_DBL_DIG /**/
112 * This symbol, if defined, indicates that the difftime routine is
115 #define HAS_DIFFTIME /**/
118 * This symbol, if defined, indicates that the dlerror routine is
119 * available to return a string describing the last error that
120 * occurred from a call to dlopen(), dlclose() or dlsym().
122 #define HAS_DLERROR /**/
124 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
125 * This symbol, if defined, indicates that the bug that prevents
126 * setuid scripts from being secure is not present in this kernel.
129 * This symbol, if defined, indicates that the C program should
130 * check the script that it is executing for setuid/setgid bits, and
131 * attempt to emulate setuid/setgid on systems that have disabled
132 * setuid #! scripts because the kernel can't do it securely.
133 * It is up to the package designer to make sure that this emulation
134 * is done securely. Among other things, it should do an fstat on
135 * the script it just opened to make sure it really is a setuid/setgid
136 * script, it should make sure the arguments passed correspond exactly
137 * to the argument on the #! line, and it should not trust any
138 * subprocesses to which it must pass the filename rather than the
139 * file descriptor of the script to be executed.
141 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
142 /*#define DOSUID /**/
145 * This symbol, if defined, indicates that the dup2 routine is
146 * available to duplicate file descriptors.
148 #define HAS_DUP2 /**/
151 * This symbol, if defined, indicates that the fchmod routine is available
152 * to change mode of opened files. If unavailable, use chmod().
154 /*#define HAS_FCHMOD /**/
157 * This symbol, if defined, indicates that the fchown routine is available
158 * to change ownership of opened files. If unavailable, use chown().
160 /*#define HAS_FCHOWN /**/
163 * This symbol, if defined, indicates to the C program that
164 * the fcntl() function exists.
166 /*#define HAS_FCNTL /**/
169 * This symbol, if defined, indicates that the fgetpos routine is
170 * available to get the file position indicator, similar to ftell().
172 #define HAS_FGETPOS /**/
175 * This symbol, if defined, indicates that the system supports filenames
176 * longer than 14 characters.
178 #define FLEXFILENAMES /**/
181 * This symbol, if defined, indicates that the flock routine is
182 * available to do file locking.
184 #define HAS_FLOCK /**/
187 * This symbol, if defined, indicates that the fork routine is
190 /*#define HAS_FORK /**/
193 * This symbol, if defined, indicates that the fsetpos routine is
194 * available to set the file position indicator, similar to fseek().
196 #define HAS_FSETPOS /**/
199 * This symbol, if defined, indicates that the gettimeofday() system
200 * call is available for a sub-second accuracy clock. Usually, the file
201 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
202 * The type "Timeval" should be used to refer to "struct timeval".
204 /*#define HAS_GETTIMEOFDAY /**/
205 #ifdef HAS_GETTIMEOFDAY
206 #define Timeval struct timeval /* Structure used by gettimeofday() */
210 * This symbol, if defined, indicates that the getgroups() routine is
211 * available to get the list of process groups. If unavailable, multiple
212 * groups are probably not supported.
214 /*#define HAS_GETGROUPS /**/
217 * This symbol, if defined, indicates that the getlogin routine is
218 * available to get the login name.
220 #define HAS_GETLOGIN /**/
223 * This symbol, if defined, indicates to the C program that
224 * the getpgid(pid) function is available to get the
227 /*#define HAS_GETPGID /**/
230 * This symbol, if defined, indicates that the getpgrp routine is
231 * available to get the current process group.
234 * This symbol, if defined, indicates that getpgrp needs one
235 * arguments whereas USG one needs none.
237 /*#define HAS_GETPGRP /**/
238 /*#define USE_BSD_GETPGRP /**/
241 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
242 * routine is available to get the current process group.
244 /*#define HAS_GETPGRP2 /**/
247 * This symbol, if defined, indicates that the getppid routine is
248 * available to get the parent process ID.
250 /*#define HAS_GETPPID /**/
253 * This symbol, if defined, indicates that the getpriority routine is
254 * available to get a process's priority.
256 /*#define HAS_GETPRIORITY /**/
259 * This symbol, if defined, indicates to the C program that the
260 * inet_aton() function is available to parse IP address "dotted-quad"
263 /*#define HAS_INET_ATON /**/
266 * This symbol, if defined, indicates that the killpg routine is available
267 * to kill process groups. If unavailable, you probably should use kill
268 * with a negative process number.
270 /*#define HAS_KILLPG /**/
273 * This symbol, if defined, indicates that the link routine is
274 * available to create hard links.
276 #define HAS_LINK /**/
279 * This symbol, if defined, indicates that the localeconv routine is
280 * available for numeric and monetary formatting conventions.
282 #define HAS_LOCALECONV /**/
285 * This symbol, if defined, indicates that the lockf routine is
286 * available to do file locking.
288 /*#define HAS_LOCKF /**/
291 * This symbol, if defined, indicates that the lstat routine is
292 * available to do file stats on symbolic links.
294 /*#define HAS_LSTAT /**/
297 * This symbol, if defined, indicates that the madvise routine is
298 * available to hint about the expected access behavior.
300 /*#define HAS_MADVISE /**/
303 * This symbol, if defined, indicates that the mblen routine is available
304 * to find the number of bytes in a multibye character.
306 #define HAS_MBLEN /**/
309 * This symbol, if defined, indicates that the mbstowcs routine is
310 * available to covert a multibyte string into a wide character string.
312 #define HAS_MBSTOWCS /**/
315 * This symbol, if defined, indicates that the mbtowc routine is available
316 * to covert a multibyte to a wide character.
318 #define HAS_MBTOWC /**/
321 * This symbol, if defined, indicates that the memcmp routine is available
322 * to compare blocks of memory.
324 #define HAS_MEMCMP /**/
327 * This symbol, if defined, indicates that the memcpy routine is available
328 * to copy blocks of memory.
330 #define HAS_MEMCPY /**/
333 * This symbol, if defined, indicates that the memmove routine is available
334 * to copy potentially overlapping blocks of memory. This should be used
335 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
338 #define HAS_MEMMOVE /**/
341 * This symbol, if defined, indicates that the memset routine is available
342 * to set blocks of memory.
344 #define HAS_MEMSET /**/
347 * This symbol, if defined, indicates that the mkdir routine is available
348 * to create directories. Otherwise you should fork off a new process to
351 #define HAS_MKDIR /**/
354 * This symbol, if defined, indicates that the mkdtemp routine is
355 * available to exclusively create a uniquely named temporary directory.
357 /*#define HAS_MKDTEMP /**/
360 * This symbol, if defined, indicates that the mkfifo routine is
361 * available to create FIFOs. Otherwise, mknod should be able to
362 * do it for you. However, if mkfifo is there, mknod might require
363 * super-user privileges which mkfifo will not.
365 /*#define HAS_MKFIFO /**/
368 * This symbol, if defined, indicates that the mkstemp routine is
369 * available to exclusively create and open a uniquely named
372 /*#define HAS_MKSTEMP /**/
375 * This symbol, if defined, indicates that the mkstemps routine is
376 * available to exclusively create and open a uniquely named
377 * (with a suffix) temporary file.
379 /*#define HAS_MKSTEMPS /**/
382 * This symbol, if defined, indicates that the mktime routine is
385 #define HAS_MKTIME /**/
388 * This symbol, if defined, indicates that the nice routine is
391 /*#define HAS_NICE /**/
394 * This symbol, if defined, indicates that pathconf() is available
395 * to determine file-system related limits and options associated
396 * with a given filename.
399 * This symbol, if defined, indicates that pathconf() is available
400 * to determine file-system related limits and options associated
401 * with a given open file descriptor.
403 /*#define HAS_PATHCONF /**/
404 /*#define HAS_FPATHCONF /**/
407 * This symbol, if defined, indicates that the pause routine is
408 * available to suspend a process until a signal is received.
410 #define HAS_PAUSE /**/
413 * This symbol, if defined, indicates that the pipe routine is
414 * available to create an inter-process channel.
416 #define HAS_PIPE /**/
419 * This symbol, if defined, indicates that the poll routine is
420 * available to poll active file descriptors. You may safely
421 * include <poll.h> when this symbol is defined.
423 /*#define HAS_POLL /**/
426 * This symbol, if defined, indicates that the readdir routine is
427 * available to read directory entries. You may have to include
428 * <dirent.h>. See I_DIRENT.
430 #define HAS_READDIR /**/
433 * This symbol, if defined, indicates that the seekdir routine is
434 * available. You may have to include <dirent.h>. See I_DIRENT.
436 #define HAS_SEEKDIR /**/
439 * This symbol, if defined, indicates that the telldir routine is
440 * available. You may have to include <dirent.h>. See I_DIRENT.
442 #define HAS_TELLDIR /**/
445 * This symbol, if defined, indicates that the rewinddir routine is
446 * available. You may have to include <dirent.h>. See I_DIRENT.
448 #define HAS_REWINDDIR /**/
451 * This symbol, if defined, indicates that the readlink routine is
452 * available to read the value of a symbolic link.
454 /*#define HAS_READLINK /**/
457 * This symbol, if defined, indicates that the rename routine is available
458 * to rename files. Otherwise you should do the unlink(), link(), unlink()
461 #define HAS_RENAME /**/
464 * This symbol, if defined, indicates that the rmdir routine is
465 * available to remove directories. Otherwise you should fork off a
466 * new process to exec /bin/rmdir.
468 #define HAS_RMDIR /**/
471 * This symbol, if defined, indicates that the select routine is
472 * available to select active file descriptors. If the timeout field
473 * is used, <sys/time.h> may need to be included.
475 #define HAS_SELECT /**/
478 * This symbol, if defined, indicates that the setegid routine is available
479 * to change the effective gid of the current program.
481 /*#define HAS_SETEGID /**/
484 * This symbol, if defined, indicates that the seteuid routine is available
485 * to change the effective uid of the current program.
487 /*#define HAS_SETEUID /**/
490 * This symbol, if defined, indicates that the setlinebuf routine is
491 * available to change stderr or stdout from block-buffered or unbuffered
492 * to a line-buffered mode.
494 /*#define HAS_SETLINEBUF /**/
497 * This symbol, if defined, indicates that the setlocale routine is
498 * available to handle locale-specific ctype implementations.
500 #define HAS_SETLOCALE /**/
503 * This symbol, if defined, indicates that the setpgid(pid, gpid)
504 * routine is available to set process group ID.
506 /*#define HAS_SETPGID /**/
509 * This symbol, if defined, indicates that the setpgrp routine is
510 * available to set the current process group.
513 * This symbol, if defined, indicates that setpgrp needs two
514 * arguments whereas USG one needs none. See also HAS_SETPGID
515 * for a POSIX interface.
517 /*#define HAS_SETPGRP /**/
518 /*#define USE_BSD_SETPGRP /**/
521 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
522 * routine is available to set the current process group.
524 /*#define HAS_SETPGRP2 /**/
527 * This symbol, if defined, indicates that the setpriority routine is
528 * available to set a process's priority.
530 /*#define HAS_SETPRIORITY /**/
533 * This symbol, if defined, indicates that the setregid routine is
534 * available to change the real and effective gid of the current
538 * This symbol, if defined, indicates that the setresgid routine is
539 * available to change the real, effective and saved gid of the current
542 /*#define HAS_SETREGID /**/
543 /*#define HAS_SETRESGID /**/
546 * This symbol, if defined, indicates that the setreuid routine is
547 * available to change the real and effective uid of the current
551 * This symbol, if defined, indicates that the setresuid routine is
552 * available to change the real, effective and saved uid of the current
555 /*#define HAS_SETREUID /**/
556 /*#define HAS_SETRESUID /**/
559 * This symbol, if defined, indicates that the setrgid routine is available
560 * to change the real gid of the current program.
562 /*#define HAS_SETRGID /**/
565 * This symbol, if defined, indicates that the setruid routine is available
566 * to change the real uid of the current program.
568 /*#define HAS_SETRUID /**/
571 * This symbol, if defined, indicates that the setsid routine is
572 * available to set the process group ID.
574 /*#define HAS_SETSID /**/
577 * This symbol holds the return type of the shmat() system call.
578 * Usually set to 'void *' or 'char *'.
580 /* HAS_SHMAT_PROTOTYPE:
581 * This symbol, if defined, indicates that the sys/shm.h includes
582 * a prototype for shmat(). Otherwise, it is up to the program to
583 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
584 * but not always right so it should be emitted by the program only
585 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
587 #define Shmat_t void * /**/
588 /*#define HAS_SHMAT_PROTOTYPE /**/
591 * This symbol is defined to indicate that the strchr()/strrchr()
592 * functions are available for string searching. If not, try the
593 * index()/rindex() pair.
596 * This symbol is defined to indicate that the index()/rindex()
597 * functions are available for string searching.
599 #define HAS_STRCHR /**/
600 /*#define HAS_INDEX /**/
603 * This symbol, if defined, indicates that the strcoll routine is
604 * available to compare strings using collating information.
606 #define HAS_STRCOLL /**/
609 * This symbol, if defined, indicates that this C compiler knows how
610 * to copy structures. If undefined, you'll need to use a block copy
611 * routine of some sort instead.
613 #define USE_STRUCT_COPY /**/
616 * This symbol, if defined, indicates that the strtod routine is
617 * available to provide better numeric string conversion than atof().
619 #define HAS_STRTOD /**/
622 * This symbol, if defined, indicates that the strtol routine is available
623 * to provide better numeric string conversion than atoi() and friends.
625 #define HAS_STRTOL /**/
628 * This symbol, if defined, indicates that the strtoul routine is
629 * available to provide conversion of strings to unsigned long.
631 #define HAS_STRTOUL /**/
634 * This symbol, if defined, indicates that the strxfrm() routine is
635 * available to transform strings.
637 #define HAS_STRXFRM /**/
640 * This symbol, if defined, indicates that the symlink routine is available
641 * to create symbolic links.
643 /*#define HAS_SYMLINK /**/
646 * This symbol, if defined, indicates that the syscall routine is
647 * available to call arbitrary system calls. If undefined, that's tough.
649 /*#define HAS_SYSCALL /**/
652 * This symbol, if defined, indicates that sysconf() is available
653 * to determine system related limits and options.
655 /*#define HAS_SYSCONF /**/
658 * This symbol, if defined, indicates that the system routine is
659 * available to issue a shell command.
661 #define HAS_SYSTEM /**/
664 * This symbol, if defined, indicates that the tcgetpgrp routine is
665 * available to get foreground process group ID.
667 /*#define HAS_TCGETPGRP /**/
670 * This symbol, if defined, indicates that the tcsetpgrp routine is
671 * available to set foreground process group ID.
673 /*#define HAS_TCSETPGRP /**/
676 * This symbol, if defined, indicates that the truncate routine is
677 * available to truncate files.
679 /*#define HAS_TRUNCATE /**/
682 * This symbol, if defined, indicates that the tzname[] array is
683 * available to access timezone names.
685 #define HAS_TZNAME /**/
688 * This symbol, if defined, indicates that the umask routine is
689 * available to set and get the value of the file creation mask.
691 #define HAS_UMASK /**/
694 * This symbol, if defined, indicates that this C compiler knows about
695 * the volatile declaration.
697 #define HASVOLATILE /**/
703 * This symbol, if defined, indicates that wait4() exists.
705 /*#define HAS_WAIT4 /**/
708 * This symbol, if defined, indicates that the waitpid routine is
709 * available to wait for child process.
711 #define HAS_WAITPID /**/
714 * This symbol, if defined, indicates that the wcstombs routine is
715 * available to convert wide character strings to multibyte strings.
717 #define HAS_WCSTOMBS /**/
720 * This symbol, if defined, indicates that the wctomb routine is available
721 * to covert a wide character to a multibyte.
723 #define HAS_WCTOMB /**/
726 * This symbol, if defined, indicates to the C program that it should
727 * include <arpa/inet.h> to get inet_addr and friends declarations.
729 #define I_ARPA_INET /**/
732 * This symbol, if defined, indicates that <dbm.h> exists and should
736 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
737 * should be included.
740 #define I_RPCSVC_DBM /**/
743 * This symbol, if defined, indicates to the C program that it should
744 * include <dirent.h>. Using this symbol also triggers the definition
745 * of the Direntry_t define which ends up being 'struct dirent' or
746 * 'struct direct' depending on the availability of <dirent.h>.
749 * This symbol, if defined, indicates to the C program that the length
750 * of directory entry names is provided by a d_namlen field. Otherwise
751 * you need to do strlen() on the d_name field.
754 * This symbol is set to 'struct direct' or 'struct dirent' depending on
755 * whether dirent is available or not. You should use this pseudo type to
756 * portably declare your directory entries.
758 #define I_DIRENT /**/
759 #define DIRNAMLEN /**/
760 #define Direntry_t struct direct
763 * This symbol, if defined, indicates that <dlfcn.h> exists and should
769 * This manifest constant tells the C program to include <fcntl.h>.
774 * This symbol, if defined, indicates to the C program that it should
775 * include <float.h> to get definition of symbols like DBL_MAX or
776 * DBL_MIN, i.e. machine dependent floating point values.
781 * This symbol, if defined, indicates to the C program that it should
782 * include <limits.h> to get definition of symbols like WORD_BIT or
783 * LONG_MAX, i.e. machine dependant limitations.
785 #define I_LIMITS /**/
788 * This symbol, if defined, indicates to the C program that it should
789 * include <locale.h>.
791 #define I_LOCALE /**/
794 * This symbol, if defined, indicates to the C program that it should
800 * This symbol, if defined, indicates to the C program that it should
801 * include <memory.h>.
803 /*#define I_MEMORY /**/
806 * This symbol, if defined, indicates that <ndbm.h> exists and should
809 /*#define I_NDBM /**/
812 * This symbol, if defined, indicates that <net/errno.h> exists and
813 * should be included.
815 /*#define I_NET_ERRNO /**/
818 * This symbol, if defined, indicates to the C program that it should
819 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
821 /*#define I_NETINET_IN /**/
824 * This symbol, if defined, indicates to the C program that it should
827 /*#define I_SFIO /**/
830 * This symbol, if defined, indicates that <stddef.h> exists and should
833 #define I_STDDEF /**/
836 * This symbol, if defined, indicates that <stdlib.h> exists and should
839 #define I_STDLIB /**/
842 * This symbol, if defined, indicates to the C program that it should
843 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
845 #define I_STRING /**/
848 * This symbol, if defined, indicates to the C program that it should
849 * include <sys/dir.h>.
851 /*#define I_SYS_DIR /**/
854 * This symbol, if defined, indicates to the C program that it should
855 * include <sys/file.h> to get definition of R_OK and friends.
857 /*#define I_SYS_FILE /**/
860 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
861 * be included. Otherwise, include <sgtty.h> or <termio.h>.
863 /*#define I_SYS_IOCTL /**/
866 * This symbol, if defined, indicates to the C program that it should
867 * include <sys/ndir.h>.
869 /*#define I_SYS_NDIR /**/
872 * This symbol, if defined, indicates to the C program that it should
873 * include <sys/param.h>.
875 /*#define I_SYS_PARAM /**/
878 * This symbol, if defined, indicates to the C program that it should
879 * include <sys/resource.h>.
881 /*#define I_SYS_RESOURCE /**/
884 * This symbol, if defined, indicates to the C program that it should
885 * include <sys/select.h> in order to get definition of struct timeval.
887 /*#define I_SYS_SELECT /**/
890 * This symbol, if defined, indicates to the C program that it should
891 * include <sys/stat.h>.
893 #define I_SYS_STAT /**/
896 * This symbol, if defined, indicates to the C program that it should
897 * include <sys/times.h>.
899 /*#define I_SYS_TIMES /**/
902 * This symbol, if defined, indicates to the C program that it should
903 * include <sys/types.h>.
905 #define I_SYS_TYPES /**/
908 * This symbol, if defined, indicates to the C program that it should
909 * include <sys/un.h> to get UNIX domain socket definitions.
911 /*#define I_SYS_UN /**/
914 * This symbol, if defined, indicates to the C program that it should
915 * include <sys/wait.h>.
917 /*#define I_SYS_WAIT /**/
920 * This symbol, if defined, indicates that the program should include
921 * <termio.h> rather than <sgtty.h>. There are also differences in
922 * the ioctl() calls that depend on the value of this symbol.
925 * This symbol, if defined, indicates that the program should include
926 * the POSIX termios.h rather than sgtty.h or termio.h.
927 * There are also differences in the ioctl() calls that depend on the
928 * value of this symbol.
931 * This symbol, if defined, indicates that the program should include
932 * <sgtty.h> rather than <termio.h>. There are also differences in
933 * the ioctl() calls that depend on the value of this symbol.
935 /*#define I_TERMIO /**/
936 /*#define I_TERMIOS /**/
937 /*#define I_SGTTY /**/
940 * This symbol, if defined, indicates to the C program that it should
941 * include <unistd.h>.
943 /*#define I_UNISTD /**/
946 * This symbol, if defined, indicates to the C program that it should
952 * This symbol, if defined, indicates to the C program that it should
953 * include <values.h> to get definition of symbols like MINFLOAT or
954 * MAXLONG, i.e. machine dependant limitations. Probably, you
955 * should use <limits.h> instead, if it is available.
957 /*#define I_VALUES /**/
960 * This symbol, if defined, indicates that <stdarg.h> exists and should
964 * This symbol, if defined, indicates to the C program that it should
965 * include <varargs.h>.
967 #define I_STDARG /**/
968 /*#define I_VARARGS /**/
971 * This symbol, if defined, indicates to the C program that it should
974 /*#define I_VFORK /**/
977 * If defined, this macro indicates that the C compiler can handle
978 * function prototypes.
981 * This macro is used to declare function parameters for folks who want
982 * to make declarations with prototypes using a different style than
983 * the above macros. Use double parentheses. For example:
985 * int main _((int argc, char *argv[]));
987 #define CAN_PROTOTYPE /**/
995 * This symbol contains the full pathname to the shell used on this
996 * on this system to execute Bourne shell scripts. Usually, this will be
997 * /bin/sh, though it's possible that some systems will have /bin/ksh,
998 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
1001 #define SH_PATH "cmd /x /c" /**/
1004 * This symbol is defined to be the type of char used in stdio.h.
1005 * It has the values "unsigned char" or "char".
1007 #define STDCHAR char /**/
1010 * This symbol, if defined, signifies that we our
1011 * build process is a cross-compilation.
1013 /*#define CROSSCOMPILE /**/
1016 * This symbol contains the value of sizeof(int) so that the C
1017 * preprocessor can make decisions based on it.
1020 * This symbol contains the value of sizeof(long) so that the C
1021 * preprocessor can make decisions based on it.
1024 * This symbol contains the value of sizeof(short) so that the C
1025 * preprocessor can make decisions based on it.
1027 #define INTSIZE 4 /**/
1028 #define LONGSIZE 4 /**/
1029 #define SHORTSIZE 2 /**/
1032 * This symbol, if defined, signifies that the build
1033 * process will produce some binary files that are going to be
1034 * used in a cross-platform environment. This is the case for
1035 * example with the NeXT "fat" binaries that contain executables
1038 /*#define MULTIARCH /**/
1041 * This symbol, if defined, tells that there's a 64-bit integer type,
1042 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
1043 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
1045 /*#define HAS_QUAD /**/
1047 # define Quad_t long long /**/
1048 # define Uquad_t unsigned long long /**/
1049 # define QUADKIND undef /**/
1050 # define QUAD_IS_INT 1
1051 # define QUAD_IS_LONG 2
1052 # define QUAD_IS_LONG_LONG 3
1053 # define QUAD_IS_INT64_T 4
1057 * This symbol, if defined, indicates that the accessx routine is
1058 * available to do extended access checks.
1060 /*#define HAS_ACCESSX /**/
1063 * This symbol, if defined, indicates that the eaccess routine is
1064 * available to do extended access checks.
1066 /*#define HAS_EACCESS /**/
1069 * This symbol, if defined, indicates to the C program that it should
1070 * include <sys/access.h>.
1072 /*#define I_SYS_ACCESS /**/
1075 * This symbol, if defined, indicates to the C program that it should
1076 * include <sys/security.h>.
1078 /*#define I_SYS_SECURITY /**/
1081 * This symbol contains the name of the operating system, as determined
1082 * by Configure. You shouldn't rely on it too much; the specific
1083 * feature tests from Configure are generally more reliable.
1085 #define OSNAME "MSWin32" /**/
1088 * This symbol contains the number of bytes required to align a
1089 * double. Usual values are 2, 4 and 8. The default is eight,
1092 #if defined(CROSSCOMPILE) || defined(MULTIARCH)
1093 # define MEM_ALIGNBYTES 8
1095 #define MEM_ALIGNBYTES 8
1099 * This variable, if defined, holds the name of the directory in
1100 * which the user wants to put architecture-dependent public
1101 * library files for perl5. It is most often a local directory
1102 * such as /usr/local/lib. Programs using this variable must be
1103 * prepared to deal with filename expansion. If ARCHLIB is the
1104 * same as PRIVLIB, it is not defined, since presumably the
1105 * program already searches PRIVLIB.
1108 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1109 * in programs that are not prepared to deal with ~ expansion at run-time.
1111 #define ARCHLIB "c:\\perl\\5.5.660\\lib\\MSWin32-x86" /**/
1112 /*#define ARCHLIB_EXP "" /**/
1115 * This symbol holds a string representing the architecture name.
1116 * It may be used to construct an architecture-dependant pathname
1117 * where library files may be held under a private library, for
1120 #define ARCHNAME "MSWin32-x86" /**/
1123 * This symbol, if defined, indicates that the atolf routine is
1124 * available to convert strings into long doubles.
1126 /*#define HAS_ATOLF /**/
1129 * This symbol, if defined, indicates that the atoll routine is
1130 * available to convert strings into long longs.
1132 /*#define HAS_ATOLL /**/
1135 * This symbol holds the path of the bin directory where the package will
1136 * be installed. Program must be prepared to deal with ~name substitution.
1139 * This symbol is the filename expanded version of the BIN symbol, for
1140 * programs that do not want to deal with that at run-time.
1142 #define BIN "c:\\perl\\5.5.660\\bin\\MSWin32-x86" /**/
1143 #define BIN_EXP "c:\\perl\\5.5.660\\bin\\MSWin32-x86" /**/
1145 /* PERL_BINCOMPAT_5005:
1146 * This symbol, if defined, indicates that Perl 5.006 should be
1147 * binary-compatible with Perl 5.005. This is impossible for builds
1148 * that use features like threads and multiplicity it is always undef
1149 * for those versions.
1151 /*#define PERL_BINCOMPAT_5005 /**/
1154 * This symbol holds the hexadecimal constant defined in byteorder,
1155 * i.e. 0x1234 or 0x4321, etc...
1156 * If the compiler supports cross-compiling or multiple-architecture
1157 * binaries (eg. on NeXT systems), use compiler-defined macros to
1158 * determine the byte order.
1159 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1160 * Binaries (MAB) on either big endian or little endian machines.
1161 * The endian-ness is available at compile-time. This only matters
1162 * for perl, where the config.h can be generated and installed on
1163 * one system, and used by a different architecture to build an
1164 * extension. Older versions of NeXT that might not have
1165 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1166 * so the default case (for NeXT) is big endian to catch them.
1167 * This might matter for NeXT 3.0.
1169 #if defined(CROSSCOMPILE) || defined(MULTIARCH)
1170 # ifdef __LITTLE_ENDIAN__
1172 # define BYTEORDER 0x1234
1175 # define BYTEORDER 0x12345678
1179 # ifdef __BIG_ENDIAN__
1181 # define BYTEORDER 0x4321
1184 # define BYTEORDER 0x87654321
1189 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1190 # define BYTEORDER 0x4321
1193 #define BYTEORDER 0x1234 /* large digits for MSB */
1197 * This macro catenates 2 tokens together.
1200 * This macro surrounds its token with double quotes.
1203 #define CAT2(a,b)a/**/b
1204 #define STRINGIFY(a)"a"
1205 /* If you can get stringification with catify, tell me how! */
1208 #define CAT2(a,b)a ## b
1209 #define StGiFy(a)# a
1210 #define STRINGIFY(a)StGiFy(a)
1212 #if 42 != 1 && 42 != 42
1213 #include "Bletch: How does this C preprocessor catenate tokens?"
1217 * This symbol contains the first part of the string which will invoke
1218 * the C preprocessor on the standard input and produce to standard
1219 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1220 * call a wrapper. See CPPRUN.
1223 * This symbol contains the second part of the string which will invoke
1224 * the C preprocessor on the standard input and produce to standard
1225 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1226 * to specify standard input, otherwise the value is "".
1229 * This symbol contains the string which will invoke a C preprocessor on
1230 * the standard input and produce to standard output. It needs to end
1231 * with CPPLAST, after all other preprocessor flags have been specified.
1232 * The main difference with CPPSTDIN is that this program will never be a
1233 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1234 * available directly to the user. Note that it may well be different from
1235 * the preprocessor used to compile the C program.
1237 #define CPPSTDIN "gcc -E"
1238 #define CPPMINUS "-"
1239 #define CPPRUN "gcc -E"
1242 * This manifest constant lets the C program know that the access()
1243 * system call is available to check for accessibility using real UID/GID.
1244 * (always present on UNIX.)
1246 #define HAS_ACCESS /**/
1249 * This symbol is defined if the C compiler can cast negative
1250 * or large floating point numbers to 32-bit ints.
1252 #define CASTI32 /**/
1255 * This symbol is defined if the C compiler can cast negative
1256 * numbers to unsigned longs, ints and shorts.
1259 * This symbol contains flags that say what difficulties the compiler
1260 * has casting odd floating values to unsigned long:
1262 * 1 = couldn't cast < 0
1263 * 2 = couldn't cast >= 0x80000000
1264 * 4 = couldn't cast in argument expression list
1266 #define CASTNEGFLOAT /**/
1267 #define CASTFLAGS 0 /**/
1270 * This symbol, if defined, indicates that the closedir() routine
1271 * does not return a value.
1273 /*#define VOID_CLOSEDIR /**/
1276 * This symbol, if defined, indicates that the C-shell exists.
1279 * This symbol, if defined, contains the full pathname of csh.
1281 /*#define HAS_CSH /**/
1286 /* DLSYM_NEEDS_UNDERSCORE:
1287 * This symbol, if defined, indicates that we need to prepend an
1288 * underscore to the symbol name before calling dlsym(). This only
1289 * makes sense if you *have* dlsym, which we will presume is the
1290 * case if you're using dl_dlopen.xs.
1292 /*#define DLSYM_NEEDS_UNDERSCORE /**/
1294 /* HAS_DRAND48_PROTO:
1295 * This symbol, if defined, indicates that the system provides
1296 * a prototype for the drand48() function. Otherwise, it is up
1297 * to the program to supply one. A good guess is
1298 * extern double drand48 _((void));
1300 /*#define HAS_DRAND48_PROTO /**/
1303 * This symbol, if defined, indicates that the getgrent routine is
1304 * available for finalizing sequential access of the group database.
1306 /*#define HAS_ENDGRENT /**/
1309 * This symbol, if defined, indicates that the endhostent() routine is
1310 * available to close whatever was being used for host queries.
1312 /*#define HAS_ENDHOSTENT /**/
1315 * This symbol, if defined, indicates that the endnetent() routine is
1316 * available to close whatever was being used for network queries.
1318 /*#define HAS_ENDNETENT /**/
1321 * This symbol, if defined, indicates that the endprotoent() routine is
1322 * available to close whatever was being used for protocol queries.
1324 /*#define HAS_ENDPROTOENT /**/
1327 * This symbol, if defined, indicates that the getgrent routine is
1328 * available for finalizing sequential access of the passwd database.
1330 /*#define HAS_ENDPWENT /**/
1333 * This symbol, if defined, indicates that the endservent() routine is
1334 * available to close whatever was being used for service queries.
1336 /*#define HAS_ENDSERVENT /**/
1339 * This symbol, if defined, indicates that the endspent system call is
1340 * available to finalize the scan of SysV shadow password entries.
1342 /*#define HAS_ENDSPENT /**/
1345 * This symbol, when defined, indicates presence of the fd_set typedef
1348 #define HAS_FD_SET /**/
1350 /* HAS_STRUCT_FS_DATA:
1351 * This symbol, if defined, indicates that the struct fs_data
1352 * to do statfs() is supported.
1354 /*#define HAS_STRUCT_FS_DATA /**/
1357 * This symbol, if defined, indicates that the fseeko routine is
1358 * available to fseek beyond 32 bits (useful for ILP32 hosts).
1360 /*#define HAS_FSEEKO /**/
1363 * This symbol, if defined, indicates that the fstatfs routine is
1364 * available to stat filesystems by file descriptors.
1366 /*#define HAS_FSTATFS /**/
1369 * This symbol, if defined, indicates that the ftello routine is
1370 * available to ftell beyond 32 bits (useful for ILP32 hosts).
1372 /*#define HAS_FTELLO /**/
1375 * This preprocessor macro is defined to convert a floating point
1376 * number to a string without a trailing decimal point. This
1377 * emulates the behavior of sprintf("%g"), but is sometimes much more
1378 * efficient. If gconvert() is not available, but gcvt() drops the
1379 * trailing decimal point, then gcvt() is used. If all else fails,
1380 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1381 * macro are: value, number of digits, whether trailing zeros should
1382 * be retained, and the output buffer.
1383 * Possible values are:
1384 * d_Gconvert='gconvert((x),(n),(t),(b))'
1385 * d_Gconvert='gcvt((x),(n),(b))'
1386 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1387 * The last two assume trailing zeros should not be kept.
1389 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1392 * This symbol, if defined, indicates that the getcwd routine is
1393 * available to get the current working directory.
1395 /*#define HAS_GETCWD /**/
1398 * This symbol, if defined, indicates that the fstatfs routine is
1399 * available to stat filesystems in bulk.
1401 /*#define HAS_GETFSSTAT /**/
1404 * This symbol, if defined, indicates that the getgrent routine is
1405 * available for sequential access of the group database.
1407 /*#define HAS_GETGRENT /**/
1409 /* HAS_GETHOSTBYADDR:
1410 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1411 * available to look up hosts by their IP addresses.
1413 #define HAS_GETHOSTBYADDR /**/
1415 /* HAS_GETHOSTBYNAME:
1416 * This symbol, if defined, indicates that the gethostbyname() routine is
1417 * available to look up host names in some data base or other.
1419 #define HAS_GETHOSTBYNAME /**/
1422 * This symbol, if defined, indicates that the gethostent() routine is
1423 * available to look up host names in some data base or another.
1425 /*#define HAS_GETHOSTENT /**/
1428 * This symbol, if defined, indicates that the C program may use the
1429 * gethostname() routine to derive the host name. See also HAS_UNAME
1433 * This symbol, if defined, indicates that the C program may use the
1434 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1438 * This symbol, if defined, indicates the command to feed to the
1439 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1440 * and HAS_UNAME. Note that the command uses a fully qualified path,
1441 * so that it is safe even if used by a process with super-user
1444 #define HAS_GETHOSTNAME /**/
1445 #define HAS_UNAME /**/
1446 #undef HAS_PHOSTNAME
1447 #ifdef HAS_PHOSTNAME
1448 #define PHOSTNAME "" /* How to get the host name */
1451 /* HAS_GETHOST_PROTOS:
1452 * This symbol, if defined, indicates that <netdb.h> includes
1453 * prototypes for gethostent(), gethostbyname(), and
1454 * gethostbyaddr(). Otherwise, it is up to the program to guess
1455 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1457 #define HAS_GETHOST_PROTOS /**/
1460 * This symbol, if defined, indicates that the getmnt routine is
1461 * available to get filesystem mount info by filename.
1463 /*#define HAS_GETMNT /**/
1466 * This symbol, if defined, indicates that the getmntent routine is
1467 * available to iterate through mounted file systems to get their info.
1469 /*#define HAS_GETMNTENT /**/
1471 /* HAS_GETNETBYADDR:
1472 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1473 * available to look up networks by their IP addresses.
1475 /*#define HAS_GETNETBYADDR /**/
1477 /* HAS_GETNETBYNAME:
1478 * This symbol, if defined, indicates that the getnetbyname() routine is
1479 * available to look up networks by their names.
1481 /*#define HAS_GETNETBYNAME /**/
1484 * This symbol, if defined, indicates that the getnetent() routine is
1485 * available to look up network names in some data base or another.
1487 /*#define HAS_GETNETENT /**/
1489 /* HAS_GETNET_PROTOS:
1490 * This symbol, if defined, indicates that <netdb.h> includes
1491 * prototypes for getnetent(), getnetbyname(), and
1492 * getnetbyaddr(). Otherwise, it is up to the program to guess
1493 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1495 /*#define HAS_GETNET_PROTOS /**/
1498 * This symbol, if defined, indicates that the getprotoent() routine is
1499 * available to look up protocols in some data base or another.
1501 /*#define HAS_GETPROTOENT /**/
1503 /* HAS_GETPROTOBYNAME:
1504 * This symbol, if defined, indicates that the getprotobyname()
1505 * routine is available to look up protocols by their name.
1507 /* HAS_GETPROTOBYNUMBER:
1508 * This symbol, if defined, indicates that the getprotobynumber()
1509 * routine is available to look up protocols by their number.
1511 #define HAS_GETPROTOBYNAME /**/
1512 #define HAS_GETPROTOBYNUMBER /**/
1514 /* HAS_GETPROTO_PROTOS:
1515 * This symbol, if defined, indicates that <netdb.h> includes
1516 * prototypes for getprotoent(), getprotobyname(), and
1517 * getprotobyaddr(). Otherwise, it is up to the program to guess
1518 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1520 #define HAS_GETPROTO_PROTOS /**/
1523 * This symbol, if defined, indicates that the getpwent routine is
1524 * available for sequential access of the passwd database.
1525 * If this is not available, the older getpw() function may be available.
1527 /*#define HAS_GETPWENT /**/
1530 * This symbol, if defined, indicates that the getservent() routine is
1531 * available to look up network services in some data base or another.
1533 /*#define HAS_GETSERVENT /**/
1535 /* HAS_GETSERV_PROTOS:
1536 * This symbol, if defined, indicates that <netdb.h> includes
1537 * prototypes for getservent(), getservbyname(), and
1538 * getservbyaddr(). Otherwise, it is up to the program to guess
1539 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1541 #define HAS_GETSERV_PROTOS /**/
1544 * This symbol, if defined, indicates that the getspent system call is
1545 * available to retrieve SysV shadow password entries sequentially.
1547 /*#define HAS_GETSPENT /**/
1550 * This symbol, if defined, indicates that the getspnam system call is
1551 * available to retrieve SysV shadow password entries by name.
1553 /*#define HAS_GETSPNAM /**/
1555 /* HAS_GETSERVBYNAME:
1556 * This symbol, if defined, indicates that the getservbyname()
1557 * routine is available to look up services by their name.
1559 /* HAS_GETSERVBYPORT:
1560 * This symbol, if defined, indicates that the getservbyport()
1561 * routine is available to look up services by their port.
1563 #define HAS_GETSERVBYNAME /**/
1564 #define HAS_GETSERVBYPORT /**/
1567 * This symbol, if defined, indicates to the C program that
1568 * the GNU C library is being used.
1570 /*#define HAS_GNULIBC /**/
1572 * This symbol, if defined, indicates that the hasmntopt routine is
1573 * available to query the mount options of file systems.
1575 /*#define HAS_HASMNTOPT /**/
1578 * This symbol, if defined, indicates that the htonl() routine (and
1579 * friends htons() ntohl() ntohs()) are available to do network
1580 * order byte swapping.
1583 * This symbol, if defined, indicates that the htons() routine (and
1584 * friends htonl() ntohl() ntohs()) are available to do network
1585 * order byte swapping.
1588 * This symbol, if defined, indicates that the ntohl() routine (and
1589 * friends htonl() htons() ntohs()) are available to do network
1590 * order byte swapping.
1593 * This symbol, if defined, indicates that the ntohs() routine (and
1594 * friends htonl() htons() ntohl()) are available to do network
1595 * order byte swapping.
1597 #define HAS_HTONL /**/
1598 #define HAS_HTONS /**/
1599 #define HAS_NTOHL /**/
1600 #define HAS_NTOHS /**/
1603 * This manifest constant lets the C program know that isascii
1606 #define HAS_ISASCII /**/
1609 * This symbol, if defined, indicates that the lchown routine is
1610 * available to operate on a symbolic link (instead of following the
1613 /*#define HAS_LCHOWN /**/
1616 * This symbol, if defined, indicates that this system's <float.h>
1617 * or <limits.h> defines the symbol LDBL_DIG, which is the number
1618 * of significant digits in a long double precision number. Unlike
1619 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
1621 #define HAS_LDBL_DIG /**/
1624 * This symbol will be defined if the C compiler supports long
1628 * This symbol contains the size of a long double, so that the
1629 * C preprocessor can make decisions based on it. It is only
1630 * defined if the system supports long doubles.
1632 #define HAS_LONG_DOUBLE /**/
1633 #ifdef HAS_LONG_DOUBLE
1634 #define LONG_DOUBLESIZE 12 /**/
1638 * This symbol will be defined if the C compiler supports long long.
1641 * This symbol contains the size of a long long, so that the
1642 * C preprocessor can make decisions based on it. It is only
1643 * defined if the system supports long long.
1645 /*#define HAS_LONG_LONG /**/
1646 #ifdef HAS_LONG_LONG
1647 #define LONGLONGSIZE 8 /**/
1651 * This symbol, if defined, indicates that the system provides
1652 * a prototype for the lseek() function. Otherwise, it is up
1653 * to the program to supply one. A good guess is
1654 * extern off_t lseek _((int, off_t, int));
1656 #define HAS_LSEEK_PROTO /**/
1659 * This symbol, if defined, indicates that the memchr routine is available
1660 * to locate characters within a C string.
1662 #define HAS_MEMCHR /**/
1665 * This symbol, if defined, indicates that the entire msg*(2) library is
1666 * supported (IPC mechanism based on message queues).
1668 /*#define HAS_MSG /**/
1671 * This manifest constant lets the C program know that the three
1672 * argument form of open(2) is available.
1674 /*#define HAS_OPEN3 /**/
1676 /* OLD_PTHREAD_CREATE_JOINABLE:
1677 * This symbol, if defined, indicates how to create pthread
1678 * in joinable (aka undetached) state. NOTE: not defined
1679 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1680 * (the new version of the constant).
1681 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1684 /*#define OLD_PTHREAD_CREATE_JOINABLE /**/
1686 /* HAS_PTHREAD_YIELD:
1687 * This symbol, if defined, indicates that the pthread_yield
1688 * routine is available to yield the execution of the current
1689 * thread. sched_yield is preferable to pthread_yield.
1692 * This symbol defines the way to yield the execution of
1693 * the current thread. Known ways are sched_yield,
1694 * pthread_yield, and pthread_yield with NULL.
1697 * This symbol, if defined, indicates that the sched_yield
1698 * routine is available to yield the execution of the current
1699 * thread. sched_yield is preferable to pthread_yield.
1701 /*#define HAS_PTHREAD_YIELD /**/
1702 #define SCHED_YIELD /**/
1703 /*#define HAS_SCHED_YIELD /**/
1706 * This symbol, if defined, indicates that the bcopy routine is available
1707 * to copy potentially overlapping memory blocks. Otherwise you should
1708 * probably use memmove() or memcpy(). If neither is defined, roll your
1711 /*#define HAS_SAFE_BCOPY /**/
1714 * This symbol, if defined, indicates that the memcpy routine is available
1715 * to copy potentially overlapping memory blocks. Otherwise you should
1716 * probably use memmove() or memcpy(). If neither is defined, roll your
1719 /*#define HAS_SAFE_MEMCPY /**/
1722 * This symbol, if defined, indicates that the memcmp routine is available
1723 * and can be used to compare relative magnitudes of chars with their high
1724 * bits set. If it is not defined, roll your own version.
1726 #define HAS_SANE_MEMCMP /**/
1729 * This symbol, if defined, indicates that the entire sem*(2) library is
1732 /*#define HAS_SEM /**/
1735 * This symbol, if defined, indicates that the setgrent routine is
1736 * available for initializing sequential access of the group database.
1738 /*#define HAS_SETGRENT /**/
1741 * This symbol, if defined, indicates that the setgroups() routine is
1742 * available to set the list of process groups. If unavailable, multiple
1743 * groups are probably not supported.
1745 /*#define HAS_SETGROUPS /**/
1748 * This symbol, if defined, indicates that the sethostent() routine is
1751 /*#define HAS_SETHOSTENT /**/
1754 * This symbol, if defined, indicates that the setnetent() routine is
1757 /*#define HAS_SETNETENT /**/
1760 * This symbol, if defined, indicates that the setprotoent() routine is
1763 /*#define HAS_SETPROTOENT /**/
1766 * This symbol, if defined, indicates that the setpwent routine is
1767 * available for initializing sequential access of the passwd database.
1769 /*#define HAS_SETPWENT /**/
1772 * This symbol, if defined, indicates that the setservent() routine is
1775 /*#define HAS_SETSERVENT /**/
1778 * This symbol, if defined, indicates that the setspent system call is
1779 * available to initialize the scan of SysV shadow password entries.
1781 /*#define HAS_SETSPENT /**/
1784 * This symbol, if defined, indicates that the setvbuf routine is
1785 * available to change buffering on an open stdio stream.
1786 * to a line-buffered mode.
1788 #define HAS_SETVBUF /**/
1791 * This symbol, if defined, indicates that sfio should
1794 /*#define USE_SFIO /**/
1797 * This symbol, if defined, indicates that the entire shm*(2) library is
1800 /*#define HAS_SHM /**/
1803 * This symbol, if defined, indicates that Vr4's sigaction() routine
1806 /*#define HAS_SIGACTION /**/
1809 * This variable indicates to the C program that the sigsetjmp()
1810 * routine is available to save the calling process's registers
1811 * and stack environment for later use by siglongjmp(), and
1812 * to optionally save the process's signal mask. See
1813 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
1816 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1819 * This macro is used in the same way as sigsetjmp(), but will invoke
1820 * traditional setjmp() if sigsetjmp isn't available.
1821 * See HAS_SIGSETJMP.
1824 * This macro is used in the same way as siglongjmp(), but will invoke
1825 * traditional longjmp() if siglongjmp isn't available.
1826 * See HAS_SIGSETJMP.
1828 /*#define HAS_SIGSETJMP /**/
1829 #ifdef HAS_SIGSETJMP
1830 #define Sigjmp_buf sigjmp_buf
1831 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1832 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1834 #define Sigjmp_buf jmp_buf
1835 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1836 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1840 * This symbol, if defined, indicates that the BSD socket interface is
1844 * This symbol, if defined, indicates that the BSD socketpair() call is
1848 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
1849 * Checking just with #ifdef might not be enough because this symbol
1850 * has been known to be an enum.
1852 /* HAS_MSG_DONTROUTE:
1853 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
1854 * Checking just with #ifdef might not be enough because this symbol
1855 * has been known to be an enum.
1858 * This symbol, if defined, indicates that the MSG_OOB is supported.
1859 * Checking just with #ifdef might not be enough because this symbol
1860 * has been known to be an enum.
1863 * This symbol, if defined, indicates that the MSG_PEEK is supported.
1864 * Checking just with #ifdef might not be enough because this symbol
1865 * has been known to be an enum.
1868 * This symbol, if defined, indicates that the MSG_PROXY is supported.
1869 * Checking just with #ifdef might not be enough because this symbol
1870 * has been known to be an enum.
1873 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
1874 * Checking just with #ifdef might not be enough because this symbol
1875 * has been known to be an enum.
1877 #define HAS_SOCKET /**/
1878 /*#define HAS_SOCKETPAIR /**/
1879 /*#define HAS_MSG_CTRUNC /**/
1880 /*#define HAS_MSG_DONTROUTE /**/
1881 /*#define HAS_MSG_OOB /**/
1882 /*#define HAS_MSG_PEEK /**/
1883 /*#define HAS_MSG_PROXY /**/
1884 /*#define HAS_SCM_RIGHTS /**/
1887 * This symbol holds the type used for the size argument of
1888 * various socket calls (just the base type, not the pointer-to).
1890 #define Sock_size_t int /**/
1893 * This symbol, if defined, indicates that the sqrtl routine is
1894 * available to do long double square roots.
1896 /*#define HAS_SQRTL /**/
1899 * This symbol is defined if this system has a stat structure declaring
1900 * st_blksize and st_blocks.
1902 #ifndef USE_STAT_BLOCKS
1903 /*#define USE_STAT_BLOCKS /**/
1906 /* HAS_STRUCT_STATFS_F_FLAGS:
1907 * This symbol, if defined, indicates that the struct statfs
1908 * does have the f_flags member containing the mount flags of
1909 * the filesystem containing the file.
1910 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
1911 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
1912 * have statfs() and struct statfs, they have ustat() and getmnt()
1913 * with struct ustat and struct fs_data.
1915 /*#define HAS_STRUCT_STATFS_F_FLAGS /**/
1917 /* HAS_STRUCT_STATFS:
1918 * This symbol, if defined, indicates that the struct statfs
1919 * to do statfs() is supported.
1921 /*#define HAS_STRUCT_STATFS /**/
1924 * This symbol, if defined, indicates that the fstatvfs routine is
1925 * available to stat filesystems by file descriptors.
1927 /*#define HAS_FSTATVFS /**/
1930 * This symbol is defined if the _ptr and _cnt fields (or similar)
1931 * of the stdio FILE structure can be used to access the stdio buffer
1932 * for a file handle. If this is defined, then the FILE_ptr(fp)
1933 * and FILE_cnt(fp) macros will also be defined and should be used
1934 * to access these fields.
1937 * This macro is used to access the _ptr field (or equivalent) of the
1938 * FILE structure pointed to by its argument. This macro will always be
1939 * defined if USE_STDIO_PTR is defined.
1941 /* STDIO_PTR_LVALUE:
1942 * This symbol is defined if the FILE_ptr macro can be used as an
1946 * This macro is used to access the _cnt field (or equivalent) of the
1947 * FILE structure pointed to by its argument. This macro will always be
1948 * defined if USE_STDIO_PTR is defined.
1950 /* STDIO_CNT_LVALUE:
1951 * This symbol is defined if the FILE_cnt macro can be used as an
1954 #define USE_STDIO_PTR /**/
1955 #ifdef USE_STDIO_PTR
1956 #define FILE_ptr(fp) ((fp)->_ptr)
1957 #define STDIO_PTR_LVALUE /**/
1958 #define FILE_cnt(fp) ((fp)->_cnt)
1959 #define STDIO_CNT_LVALUE /**/
1963 * This symbol is defined if the _base field (or similar) of the
1964 * stdio FILE structure can be used to access the stdio buffer for
1965 * a file handle. If this is defined, then the FILE_base(fp) macro
1966 * will also be defined and should be used to access this field.
1967 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1968 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1969 * will never be defined unless USE_STDIO_PTR is.
1972 * This macro is used to access the _base field (or equivalent) of the
1973 * FILE structure pointed to by its argument. This macro will always be
1974 * defined if USE_STDIO_BASE is defined.
1977 * This macro is used to determine the number of bytes in the I/O
1978 * buffer pointed to by _base field (or equivalent) of the FILE
1979 * structure pointed to its argument. This macro will always be defined
1980 * if USE_STDIO_BASE is defined.
1982 #define USE_STDIO_BASE /**/
1983 #ifdef USE_STDIO_BASE
1984 #define FILE_base(fp) ((fp)->_base)
1985 #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
1989 * This symbol, if defined, indicates that the strerror routine is
1990 * available to translate error numbers to strings. See the writeup
1991 * of Strerror() in this file before you try to define your own.
1994 * This symbol, if defined, indicates that the sys_errlist array is
1995 * available to translate error numbers to strings. The extern int
1996 * sys_nerr gives the size of that table.
1999 * This preprocessor symbol is defined as a macro if strerror() is
2000 * not available to translate error numbers to strings but sys_errlist[]
2003 #define HAS_STRERROR /**/
2004 #define HAS_SYS_ERRLIST /**/
2005 #define Strerror(e) strerror(e)
2008 * This symbol, if defined, indicates that the strtold routine is
2009 * available to convert strings to long doubles.
2011 /*#define HAS_STRTOLD /**/
2014 * This symbol, if defined, indicates that the strtoll routine is
2015 * available to convert strings to long longs.
2017 /*#define HAS_STRTOLL /**/
2020 * This symbol, if defined, indicates that the strtoull routine is
2021 * available to convert strings to unsigned long longs.
2023 /*#define HAS_STRTOULL /**/
2026 * This symbol, if defined, indicates that the strtouq routine is
2027 * available to convert strings to unsigned long longs (quads).
2029 /*#define HAS_STRTOUQ /**/
2031 /* HAS_TELLDIR_PROTO:
2032 * This symbol, if defined, indicates that the system provides
2033 * a prototype for the telldir() function. Otherwise, it is up
2034 * to the program to supply one. A good guess is
2035 * extern long telldir _((DIR*));
2037 #define HAS_TELLDIR_PROTO /**/
2040 * This symbol holds the type returned by time(). It can be long,
2041 * or time_t on BSD sites (in which case <sys/types.h> should be
2044 #define Time_t time_t /* Time type */
2047 * This symbol, if defined, indicates that the times() routine exists.
2048 * Note that this became obsolete on some systems (SUNOS), which now
2049 * use getrusage(). It may be necessary to include <sys/times.h>.
2051 #define HAS_TIMES /**/
2054 * This symbol, if defined, indicates that the union semun is
2055 * defined by including <sys/sem.h>. If not, the user code
2056 * probably needs to define it as:
2059 * struct semid_ds *buf;
2060 * unsigned short *array;
2063 /* USE_SEMCTL_SEMUN:
2064 * This symbol, if defined, indicates that union semun is
2065 * used for semctl IPC_STAT.
2067 /* USE_SEMCTL_SEMID_DS:
2068 * This symbol, if defined, indicates that struct semid_ds * is
2069 * used for semctl IPC_STAT.
2071 #define HAS_UNION_SEMUN /**/
2072 /*#define USE_SEMCTL_SEMUN /**/
2073 /*#define USE_SEMCTL_SEMID_DS /**/
2076 * This symbol, if defined, indicates that the ustat system call is
2077 * available to query file system statistics by dev_t.
2079 /*#define HAS_USTAT /**/
2082 * This symbol, if defined, indicates that vfork() exists.
2084 /*#define HAS_VFORK /**/
2087 * This symbol's value is either "void" or "int", corresponding to the
2088 * appropriate return type of a signal handler. Thus, you can declare
2089 * a signal handler using "Signal_t (*handler)()", and define the
2090 * handler using "Signal_t handler(sig)".
2092 #define Signal_t void /* Signal handler's return type */
2095 * This symbol, if defined, indicates that the vprintf routine is available
2096 * to printf with a pointer to an argument list. If unavailable, you
2097 * may need to write your own, probably in terms of _doprnt().
2099 /* USE_CHAR_VSPRINTF:
2100 * This symbol is defined if this system has vsprintf() returning type
2101 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2102 * is up to the package author to declare vsprintf correctly based on the
2105 #define HAS_VPRINTF /**/
2106 /*#define USE_CHAR_VSPRINTF /**/
2108 /* USE_DYNAMIC_LOADING:
2109 * This symbol, if defined, indicates that dynamic loading of
2110 * some sort is available.
2112 #define USE_DYNAMIC_LOADING /**/
2115 * This symbol contains the size of a double, so that the C preprocessor
2116 * can make decisions based on it.
2118 #define DOUBLESIZE 8 /**/
2121 * This symbol, if defined, indicates that this system uses
2124 /*#define EBCDIC /**/
2127 * This symbol, if defined, tells that fflush(NULL) does flush
2128 * all pending stdio output.
2131 * This symbol, if defined, tells that to flush
2132 * all pending stdio output one must loop through all
2133 * the stdio file handles stored in an array and fflush them.
2134 * Note that if fflushNULL is defined, fflushall will not
2135 * even be probed for and will be left undefined.
2137 #define FFLUSH_NULL /**/
2138 /*#define FFLUSH_ALL /**/
2141 * This symbol holds the type used to declare file positions in libc.
2142 * It can be fpos_t, long, uint, etc... It may be necessary to include
2143 * <sys/types.h> to get any typedef'ed information.
2145 #define Fpos_t fpos_t /* File position type */
2148 * This symbol defines the format string used for printing a Gid_t.
2150 #define Gid_t_f "ld" /**/
2153 * This symbol holds the size of a Gid_t in bytes.
2155 #define Gid_t_size 4 /* GID size */
2158 * This symbol holds the return type of getgid() and the type of
2159 * argument to setrgid() and related functions. Typically,
2160 * it is the type of group ids in the kernel. It can be int, ushort,
2161 * uid_t, etc... It may be necessary to include <sys/types.h> to get
2162 * any typedef'ed information.
2164 #define Gid_t gid_t /* Type for getgid(), etc... */
2167 * This symbol holds the type used for the second argument to
2168 * getgroups() and setgropus(). Usually, this is the same as
2169 * gidtype (gid_t) , but sometimes it isn't.
2170 * It can be int, ushort, uid_t, etc...
2171 * It may be necessary to include <sys/types.h> to get any
2172 * typedef'ed information. This is only required if you have
2173 * getgroups() or setgropus()..
2175 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2176 #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
2180 * This symbol contains the type of the prefix structure element
2181 * in the <db.h> header file. In older versions of DB, it was
2182 * int, while in newer ones it is u_int32_t.
2185 * This symbol contains the type of the prefix structure element
2186 * in the <db.h> header file. In older versions of DB, it was
2187 * int, while in newer ones it is size_t.
2189 #define DB_Hash_t int /**/
2190 #define DB_Prefix_t int /**/
2193 * This symbol, if defined, indicates to the C program that it should
2197 * This symbol, if defined, indicates to the C program that struct group
2198 * in <grp.h> contains gr_passwd.
2200 /*#define I_GRP /**/
2201 /*#define GRPASSWD /**/
2204 * This symbol, if defined, indicates to the C program that it should
2205 * include <inttypes.h>.
2207 /*#define I_INTTYPES /**/
2210 * This symbol, if defined, indicates to the C program that it should
2211 * include <mach/cthreads.h>.
2213 /*#define I_MACH_CTHREADS /**/
2216 * This symbol, if defined, indicates that <mntent.h> exists and
2217 * should be included.
2219 /*#define I_MNTENT /**/
2222 * This symbol, if defined, indicates that <netdb.h> exists and
2223 * should be included.
2225 /*#define I_NETDB /**/
2228 * This symbol, if defined, indicates to the C program that it should
2229 * include <netinet/tcp.h>.
2231 /*#define I_NETINET_TCP /**/
2234 * This symbol, if defined, indicates that <poll.h> exists and
2235 * should be included.
2237 /*#define I_POLL /**/
2240 * This symbol, if defined, indicates to the C program that it should
2241 * include <pthread.h>.
2243 /*#define I_PTHREAD /**/
2246 * This symbol, if defined, indicates to the C program that it should
2250 * This symbol, if defined, indicates to the C program that struct passwd
2251 * contains pw_quota.
2254 * This symbol, if defined, indicates to the C program that struct passwd
2258 * This symbol, if defined, indicates to the C program that struct passwd
2259 * contains pw_change.
2262 * This symbol, if defined, indicates to the C program that struct passwd
2263 * contains pw_class.
2266 * This symbol, if defined, indicates to the C program that struct passwd
2267 * contains pw_expire.
2270 * This symbol, if defined, indicates to the C program that struct passwd
2271 * contains pw_comment.
2274 * This symbol, if defined, indicates to the C program that struct passwd
2275 * contains pw_gecos.
2278 * This symbol, if defined, indicates to the C program that struct passwd
2279 * contains pw_passwd.
2281 /*#define I_PWD /**/
2282 /*#define PWQUOTA /**/
2283 /*#define PWAGE /**/
2284 /*#define PWCHANGE /**/
2285 /*#define PWCLASS /**/
2286 /*#define PWEXPIRE /**/
2287 /*#define PWCOMMENT /**/
2288 /*#define PWGECOS /**/
2289 /*#define PWPASSWD /**/
2292 * This symbol, if defined, indicates that <shadow.h> exists and
2293 * should be included.
2295 /*#define I_SHADOW /**/
2298 * This symbol, if defined, indicates that <socks.h> exists and
2299 * should be included.
2301 /*#define I_SOCKS /**/
2304 * This symbol, if defined, indicates that <sys/mount.h> exists and
2305 * should be included.
2307 /*#define I_SYS_MOUNT /**/
2310 * This symbol, if defined, indicates that <sys/statfs.h> exists.
2312 /*#define I_SYS_STATFS /**/
2315 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2316 * should be included.
2318 /*#define I_SYS_STATVFS /**/
2321 * This symbol, if defined, indicates that <sys/uio.h> exists and
2322 * should be included.
2324 /*#define I_SYSUIO /**/
2327 * This symbol, if defined, indicates that <sys/vfs.h> exists and
2328 * should be included.
2330 /*#define I_SYS_VFS /**/
2333 * This symbol, if defined, indicates to the C program that it should
2337 * This symbol, if defined, indicates to the C program that it should
2338 * include <sys/time.h>.
2340 /* I_SYS_TIME_KERNEL:
2341 * This symbol, if defined, indicates to the C program that it should
2342 * include <sys/time.h> with KERNEL defined.
2345 /*#define I_SYS_TIME /**/
2346 /*#define I_SYS_TIME_KERNEL /**/
2349 * This symbol, if defined, indicates that <ustat.h> exists and
2350 * should be included.
2352 /*#define I_USTAT /**/
2354 /* PERL_INC_VERSION_LIST:
2355 * This variable specifies the list of subdirectories in over
2356 * which perl.c:incpush() and lib/lib.pm will automatically
2357 * search when adding directories to @INC, in a format suitable
2358 * for a C initialization string. See the inc_version_list entry
2359 * in Porting/Glossary for more details.
2361 #define PERL_INC_VERSION_LIST 0 /**/
2364 * This symbol will be defined if the C compiler supports off64_t.
2367 * This symbol will be defined if the C compiler supports fpos64_t.
2369 /*#define HAS_OFF64_T /**/
2370 /*#define HAS_FPOS64_T /**/
2373 * This symbol, if defined, contains the string used by stdio to
2374 * format long doubles (format 'f') for output.
2377 * This symbol, if defined, contains the string used by stdio to
2378 * format long doubles (format 'g') for output.
2380 /*#define PERL_PRIfldbl "f" /**/
2381 /*#define PERL_PRIgldbl "g" /**/
2384 * This symbol holds the type used to declare offsets in the kernel.
2385 * It can be int, long, off_t, etc... It may be necessary to include
2386 * <sys/types.h> to get any typedef'ed information.
2389 * This symbol holds the number of bytes used by the Off_t.
2392 * This symbol holds the number of bytes used by the Off_t.
2394 #define Off_t off_t /* <offset> type */
2395 #define LSEEKSIZE 4 /* <offset> size */
2396 #define Off_t_size 4 /* <offset> size */
2399 * This variable contains the return type of free(). It is usually
2400 * void, but occasionally int.
2403 * This symbol is the type of pointer returned by malloc and realloc.
2405 #define Malloc_t void * /**/
2406 #define Free_t void /**/
2409 * This symbol, if defined, indicates that we're using our own malloc.
2411 /*#define MYMALLOC /**/
2414 * This symbol holds the type used to declare file modes
2415 * for systems calls. It is usually mode_t, but may be
2416 * int or unsigned short. It may be necessary to include <sys/types.h>
2417 * to get any typedef'ed information.
2419 #define Mode_t mode_t /* file mode parameter for system calls */
2422 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2423 * non-blocking I/O for the file descriptor. Note that there is no way
2424 * back, i.e. you cannot turn it blocking again this way. If you wish to
2425 * alternatively switch between blocking and non-blocking, use the
2426 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
2429 * This symbol holds the errno error code set by read() when no data was
2430 * present on the non-blocking file descriptor.
2433 * This symbol holds the return code from read() when no data is present
2434 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
2435 * not defined, then you can't distinguish between no data and EOF by
2436 * issuing a read(). You'll have to find another way to tell for sure!
2439 * This symbol, if defined, indicates to the C program that a read() on
2440 * a non-blocking file descriptor will return 0 on EOF, and not the value
2441 * held in RD_NODATA (-1 usually, in that case!).
2443 #define VAL_O_NONBLOCK O_NONBLOCK
2444 #define VAL_EAGAIN EAGAIN
2445 #define RD_NODATA -1
2446 #define EOF_NONBLOCK
2449 * This symbol holds the type used for the 1st argument
2450 * to gethostbyaddr().
2453 * This symbol holds the type used for the 2nd argument
2454 * to gethostbyaddr().
2457 * This symbol holds the type used for the argument to
2461 * This symbol holds the type used for the 1st argument to
2464 #define Netdb_host_t char * /**/
2465 #define Netdb_hlen_t int /**/
2466 #define Netdb_name_t char * /**/
2467 #define Netdb_net_t long /**/
2470 * This symbol defines the C type used for Perl's IV.
2473 * This symbol defines the C type used for Perl's UV.
2476 * This symbol defines the C type used for Perl's I8.
2479 * This symbol defines the C type used for Perl's U8.
2482 * This symbol defines the C type used for Perl's I16.
2485 * This symbol defines the C type used for Perl's U16.
2488 * This symbol defines the C type used for Perl's I32.
2491 * This symbol defines the C type used for Perl's U32.
2494 * This symbol defines the C type used for Perl's I64.
2497 * This symbol defines the C type used for Perl's U64.
2500 * This symbol defines the C type used for Perl's NV.
2503 * This symbol contains the sizeof(IV).
2506 * This symbol contains the sizeof(UV).
2509 * This symbol contains the sizeof(I8).
2512 * This symbol contains the sizeof(U8).
2515 * This symbol contains the sizeof(I16).
2518 * This symbol contains the sizeof(U16).
2521 * This symbol contains the sizeof(I32).
2524 * This symbol contains the sizeof(U32).
2527 * This symbol contains the sizeof(I64).
2530 * This symbol contains the sizeof(U64).
2532 #define IVTYPE long /**/
2533 #define UVTYPE unsigned long /**/
2534 #define I8TYPE char /**/
2535 #define U8TYPE unsigned char /**/
2536 #define I16TYPE short /**/
2537 #define U16TYPE unsigned short /**/
2538 #define I32TYPE long /**/
2539 #define U32TYPE unsigned long /**/
2541 #define I64TYPE long long /**/
2542 #define U64TYPE unsigned long long /**/
2544 #define NVTYPE double /**/
2545 #define IVSIZE 4 /**/
2546 #define UVSIZE 4 /**/
2547 #define I8SIZE 1 /**/
2548 #define U8SIZE 1 /**/
2549 #define I16SIZE 2 /**/
2550 #define U16SIZE 2 /**/
2551 #define I32SIZE 4 /**/
2552 #define U32SIZE 4 /**/
2554 #define I64SIZE 8 /**/
2555 #define U64SIZE 8 /**/
2559 * This symbol defines the format string used for printing a Perl IV
2560 * as a signed decimal integer.
2563 * This symbol defines the format string used for printing a Perl UV
2564 * as an unsigned decimal integer.
2567 * This symbol defines the format string used for printing a Perl UV
2568 * as an unsigned octal integer.
2571 * This symbol defines the format string used for printing a Perl UV
2572 * as an unsigned hexadecimal integer.
2574 #define IVdf "ld" /**/
2575 #define UVuf "lu" /**/
2576 #define UVof "lo" /**/
2577 #define UVxf "lx" /**/
2580 * This symbol holds the type used to declare process ids in the kernel.
2581 * It can be int, uint, pid_t, etc... It may be necessary to include
2582 * <sys/types.h> to get any typedef'ed information.
2584 #define Pid_t int /* PID type */
2587 * This symbol contains the name of the private library for this package.
2588 * The library is private in the sense that it needn't be in anyone's
2589 * execution path, but it should be accessible by the world. The program
2590 * should be prepared to do ~ expansion.
2593 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2594 * in programs that are not prepared to deal with ~ expansion at run-time.
2596 #define PRIVLIB "c:\\perl\\5.5.660\\lib" /**/
2597 #define PRIVLIB_EXP (win32_get_privlib("5.5.660")) /**/
2600 * This symbol contains the size of a pointer, so that the C preprocessor
2601 * can make decisions based on it. It will be sizeof(void *) if
2602 * the compiler supports (void *); otherwise it will be
2605 #define PTRSIZE 4 /**/
2608 * This macro is to be used to generate uniformly distributed
2609 * random numbers over the range [0., 1.[. You may have to supply
2610 * an 'extern double drand48();' in your program since SunOS 4.1.3
2611 * doesn't provide you with anything relevant in it's headers.
2612 * See HAS_DRAND48_PROTO.
2615 * This symbol defines the type of the argument of the
2616 * random seed function.
2619 * This symbol defines the macro to be used in seeding the
2620 * random number generator (see Drand01).
2623 * This symbol indicates how many bits are produced by the
2624 * function used to generate normalized random numbers.
2625 * Values include 15, 16, 31, and 48.
2627 #define Drand01() (rand()/(double)((unsigned)1<<RANDBITS)) /**/
2628 #define Rand_seed_t unsigned /**/
2629 #define seedDrand01(x) srand((Rand_seed_t)x) /**/
2630 #define RANDBITS 15 /**/
2633 * This symbol holds the minimum number of bits operated by select.
2634 * That is, if you do select(n, ...), how many bits at least will be
2635 * cleared in the masks if some activity is detected. Usually this
2636 * is either n or 32*ceil(n/32), especially many little-endians do
2637 * the latter. This is only useful if you have select(), naturally.
2639 #define SELECT_MIN_BITS 32 /**/
2642 * This symbol holds the type used for the 2nd, 3rd, and 4th
2643 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2644 * is defined, and 'int *' otherwise. This is only useful if you
2645 * have select(), of course.
2647 #define Select_fd_set_t Perl_fd_set * /**/
2650 * This symbol contains a list of signal names in order of
2651 * signal number. This is intended
2652 * to be used as a static array initialization, like this:
2653 * char *sig_name[] = { SIG_NAME };
2654 * The signals in the list are separated with commas, and each signal
2655 * is surrounded by double quotes. There is no leading SIG in the signal
2656 * name, i.e. SIGQUIT is known as "QUIT".
2657 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2658 * etc., where nn is the actual signal number (e.g. NUM37).
2659 * The signal number for sig_name[i] is stored in sig_num[i].
2660 * The last element is 0 to terminate the list with a NULL. This
2661 * corresponds to the 0 at the end of the sig_num list.
2664 * This symbol contains a list of signal numbers, in the same order as the
2665 * SIG_NAME list. It is suitable for static array initialization, as in:
2666 * int sig_num[] = { SIG_NUM };
2667 * The signals in the list are separated with commas, and the indices
2668 * within that list and the SIG_NAME list match, so it's easy to compute
2669 * the signal name from a number or vice versa at the price of a small
2670 * dynamic linear lookup.
2671 * Duplicates are allowed, but are moved to the end of the list.
2672 * The signal number corresponding to sig_name[i] is sig_number[i].
2673 * if (i < NSIG) then sig_number[i] == i.
2674 * The last element is 0, corresponding to the 0 at the end of
2675 * the sig_name list.
2677 #define SIG_NAME "ZERO", "NUM01", "INT", "QUIT", "ILL", "NUM05", "NUM06", "NUM07", "FPE", "KILL", "NUM10", "SEGV", "NUM12", "PIPE", "ALRM", "TERM", "NUM16", "NUM17", "NUM18", "NUM19", "CHLD", "BREAK", "ABRT", "STOP", "NUM24", "CONT", "CLD", 0 /**/
2678 #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, 20, 0 /**/
2681 * This symbol contains the name of the private library for this package.
2682 * The library is private in the sense that it needn't be in anyone's
2683 * execution path, but it should be accessible by the world. The program
2684 * should be prepared to do ~ expansion.
2685 * The standard distribution will put nothing in this directory.
2686 * After perl has been installed, users may install their own local
2687 * architecture-dependent modules in this directory with
2688 * MakeMaker Makefile.PL
2689 * or equivalent. See INSTALL for details.
2692 * This symbol contains the ~name expanded version of SITEARCH, to be used
2693 * in programs that are not prepared to deal with ~ expansion at run-time.
2695 #define SITEARCH "c:\\perl\\site\\5.5.660\\lib\\MSWin32-x86" /**/
2696 /*#define SITEARCH_EXP "" /**/
2699 * This symbol contains the name of the private library for this package.
2700 * The library is private in the sense that it needn't be in anyone's
2701 * execution path, but it should be accessible by the world. The program
2702 * should be prepared to do ~ expansion.
2703 * The standard distribution will put nothing in this directory.
2704 * After perl has been installed, users may install their own local
2705 * architecture-independent modules in this directory with
2706 * MakeMaker Makefile.PL
2707 * or equivalent. See INSTALL for details.
2710 * This symbol contains the ~name expanded version of SITELIB, to be used
2711 * in programs that are not prepared to deal with ~ expansion at run-time.
2713 #define SITELIB "c:\\perl\\site\\5.5.660\\lib" /**/
2714 #define SITELIB_EXP (win32_get_sitelib("5.5.660")) /**/
2717 * This symbol holds the type used to declare length parameters
2718 * for string functions. It is usually size_t, but may be
2719 * unsigned long, int, etc. It may be necessary to include
2720 * <sys/types.h> to get any typedef'ed information.
2722 #define Size_t size_t /* length paramater for string functions */
2725 * This symbol holds the type used by functions that return
2726 * a count of bytes or an error condition. It must be a signed type.
2727 * It is usually ssize_t, but may be long or int, etc.
2728 * It may be necessary to include <sys/types.h> or <unistd.h>
2729 * to get any typedef'ed information.
2730 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
2732 #define SSize_t int /* signed count of bytes */
2735 * This variable contains the string to put in front of a perl
2736 * script to make sure (one hopes) that it runs with perl and not
2739 #define STARTPERL "#!perl" /**/
2741 /* HAS_STDIO_STREAM_ARRAY:
2742 * This symbol, if defined, tells that there is an array
2743 * holding the stdio streams.
2745 /* STDIO_STREAM_ARRAY:
2746 * This symbol tells the name of the array holding the stdio streams.
2747 * Usual values include _iob, __iob, and __sF.
2749 /*#define HAS_STDIO_STREAM_ARRAY /**/
2750 #define STDIO_STREAM_ARRAY
2753 * This symbol defines the format string used for printing a Uid_t.
2755 #define Uid_t_f "ld" /**/
2758 * This symbol holds the size of a Uid_t in bytes.
2760 #define Uid_t_size 4 /* UID size */
2763 * This symbol holds the type used to declare user ids in the kernel.
2764 * It can be int, ushort, uid_t, etc... It may be necessary to include
2765 * <sys/types.h> to get any typedef'ed information.
2767 #define Uid_t uid_t /* UID type */
2770 * This variable conditionally defines the USE_64_BIT_ALL symbol,
2771 * and indicates that 64-bit integer types should be used
2772 * when available. The maximal possible
2773 * 64-bitness is employed: LP64 or ILP64, meaning that you will
2774 * be able to use more than 2 gigabytes of memory. This mode is
2775 * even more binary incompatible than USE_64_BIT_ALL. You may not
2776 * be able to run the resulting executable in a 32-bit CPU at all or
2777 * you may need at least to reboot your OS to 64-bit mode.
2779 #ifndef USE_64_BIT_ALL
2780 /*#define USE_64_BIT_ALL /**/
2784 * This symbol, if defined, indicates that 64-bit integers should
2785 * be used when available. If not defined, the native integers
2786 * will be employed (be they 32 or 64 bits). The minimal possible
2787 * 64-bitness is used, just enough to get 64-bit integers into Perl.
2788 * This may mean using for example "long longs", while your memory
2789 * may still be limited to 2 gigabytes.
2791 #ifndef USE_64_BIT_INT
2792 /*#define USE_64_BIT_INT /**/
2796 * This symbol, if defined, indicates that large file support
2797 * should be used when available.
2799 #ifndef USE_LARGE_FILES
2800 /*#define USE_LARGE_FILES /**/
2804 * This symbol, if defined, indicates that long doubles should
2805 * be used when available.
2807 #ifndef USE_LONG_DOUBLE
2808 /*#define USE_LONG_DOUBLE /**/
2811 #ifndef USE_MORE_BITS
2812 /*#define USE_MORE_BITS /**/
2816 * This symbol, if defined, indicates that Perl should
2817 * be built to use multiplicity.
2820 /*#define MULTIPLICITY /**/
2824 * This symbol, if defined, indicates that the PerlIO abstraction should
2825 * be used throughout. If not defined, stdio should be
2826 * used in a fully backward compatible manner.
2829 /*#define USE_PERLIO /**/
2833 * This symbol, if defined, indicates that Perl should
2834 * be built to use socks.
2837 /*#define USE_SOCKS /**/
2841 * This symbol, if defined, indicates that Perl should be built to
2842 * use the interpreter-based threading implementation.
2845 * This symbol, if defined, indicates that Perl should be built to
2846 * use the 5.005-based threading implementation.
2848 /* OLD_PTHREADS_API:
2849 * This symbol, if defined, indicates that Perl should
2850 * be built to use the old draft POSIX threads API.
2852 /*#define USE_5005THREADS /**/
2853 /*#define USE_ITHREADS /**/
2854 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
2855 #define USE_THREADS /* until src is revised*/
2857 /*#define OLD_PTHREADS_API /**/
2859 /* PERL_VENDORLIB_EXP:
2860 * This symbol contains the ~name expanded version of VENDORLIB, to be used
2861 * in programs that are not prepared to deal with ~ expansion at run-time.
2863 /*#define PERL_VENDORLIB_EXP "" /**/
2866 * This symbol indicates how much support of the void type is given by this
2867 * compiler. What various bits mean:
2869 * 1 = supports declaration of void
2870 * 2 = supports arrays of pointers to functions returning void
2871 * 4 = supports comparisons between pointers to void functions and
2872 * addresses of void functions
2873 * 8 = suports declaration of generic void pointers
2875 * The package designer should define VOIDUSED to indicate the requirements
2876 * of the package. This can be done either by #defining VOIDUSED before
2877 * including config.h, or by defining defvoidused in Myinit.U. If the
2878 * latter approach is taken, only those flags will be tested. If the
2879 * level of void support necessary is not present, defines void to int.
2884 #define VOIDFLAGS 15
2885 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
2886 #define void int /* is void to be avoided? */
2887 #define M_VOID /* Xenix strikes again */