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:27 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 __int64 /**/
1048 # define Uquad_t unsigned __int64 /**/
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.650\\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.650\\bin\\MSWin32-x86" /**/
1143 #define BIN_EXP "c:\\perl\\5.5.650\\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 "cl -nologo -E"
1239 #define CPPRUN "cl -nologo -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 /**/
1368 * This symbol, if defined, indicates that the ftello routine is
1369 * available to ftell beyond 32 bits (useful for ILP32 hosts).
1371 /*#define HAS_FTELLO /**/
1374 * This preprocessor macro is defined to convert a floating point
1375 * number to a string without a trailing decimal point. This
1376 * emulates the behavior of sprintf("%g"), but is sometimes much more
1377 * efficient. If gconvert() is not available, but gcvt() drops the
1378 * trailing decimal point, then gcvt() is used. If all else fails,
1379 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1380 * macro are: value, number of digits, whether trailing zeros should
1381 * be retained, and the output buffer.
1382 * Possible values are:
1383 * d_Gconvert='gconvert((x),(n),(t),(b))'
1384 * d_Gconvert='gcvt((x),(n),(b))'
1385 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1386 * The last two assume trailing zeros should not be kept.
1388 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1391 * This symbol, if defined, indicates that the getcwd routine is
1392 * available to get the current working directory.
1394 /*#define HAS_GETCWD /**/
1397 * This symbol, if defined, indicates that the getgrent routine is
1398 * available for sequential access of the group database.
1400 /*#define HAS_GETGRENT /**/
1402 /* HAS_GETHOSTBYADDR:
1403 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1404 * available to look up hosts by their IP addresses.
1406 #define HAS_GETHOSTBYADDR /**/
1408 /* HAS_GETHOSTBYNAME:
1409 * This symbol, if defined, indicates that the gethostbyname() routine is
1410 * available to look up host names in some data base or other.
1412 #define HAS_GETHOSTBYNAME /**/
1415 * This symbol, if defined, indicates that the gethostent() routine is
1416 * available to look up host names in some data base or another.
1418 /*#define HAS_GETHOSTENT /**/
1421 * This symbol, if defined, indicates that the C program may use the
1422 * gethostname() routine to derive the host name. See also HAS_UNAME
1426 * This symbol, if defined, indicates that the C program may use the
1427 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1431 * This symbol, if defined, indicates the command to feed to the
1432 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1433 * and HAS_UNAME. Note that the command uses a fully qualified path,
1434 * so that it is safe even if used by a process with super-user
1437 #define HAS_GETHOSTNAME /**/
1438 #define HAS_UNAME /**/
1439 #undef HAS_PHOSTNAME
1440 #ifdef HAS_PHOSTNAME
1441 #define PHOSTNAME "" /* How to get the host name */
1444 /* HAS_GETHOST_PROTOS:
1445 * This symbol, if defined, indicates that <netdb.h> includes
1446 * prototypes for gethostent(), gethostbyname(), and
1447 * gethostbyaddr(). Otherwise, it is up to the program to guess
1448 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1450 #define HAS_GETHOST_PROTOS /**/
1453 * This symbol, if defined, indicates that the getmnt routine is
1454 * available to get filesystem mount info by filename.
1456 /*#define HAS_GETMNT /**/
1459 * This symbol, if defined, indicates that the getmntent routine is
1460 * available to iterate through mounted file systems to get their info.
1462 /*#define HAS_GETMNTENT /**/
1464 /* HAS_GETNETBYADDR:
1465 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1466 * available to look up networks by their IP addresses.
1468 /*#define HAS_GETNETBYADDR /**/
1470 /* HAS_GETNETBYNAME:
1471 * This symbol, if defined, indicates that the getnetbyname() routine is
1472 * available to look up networks by their names.
1474 /*#define HAS_GETNETBYNAME /**/
1477 * This symbol, if defined, indicates that the getnetent() routine is
1478 * available to look up network names in some data base or another.
1480 /*#define HAS_GETNETENT /**/
1482 /* HAS_GETNET_PROTOS:
1483 * This symbol, if defined, indicates that <netdb.h> includes
1484 * prototypes for getnetent(), getnetbyname(), and
1485 * getnetbyaddr(). Otherwise, it is up to the program to guess
1486 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1488 /*#define HAS_GETNET_PROTOS /**/
1491 * This symbol, if defined, indicates that the getprotoent() routine is
1492 * available to look up protocols in some data base or another.
1494 /*#define HAS_GETPROTOENT /**/
1496 /* HAS_GETPROTOBYNAME:
1497 * This symbol, if defined, indicates that the getprotobyname()
1498 * routine is available to look up protocols by their name.
1500 /* HAS_GETPROTOBYNUMBER:
1501 * This symbol, if defined, indicates that the getprotobynumber()
1502 * routine is available to look up protocols by their number.
1504 #define HAS_GETPROTOBYNAME /**/
1505 #define HAS_GETPROTOBYNUMBER /**/
1507 /* HAS_GETPROTO_PROTOS:
1508 * This symbol, if defined, indicates that <netdb.h> includes
1509 * prototypes for getprotoent(), getprotobyname(), and
1510 * getprotobyaddr(). 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_GETPROTO_PROTOS /**/
1516 * This symbol, if defined, indicates that the getpwent routine is
1517 * available for sequential access of the passwd database.
1518 * If this is not available, the older getpw() function may be available.
1520 /*#define HAS_GETPWENT /**/
1523 * This symbol, if defined, indicates that the getservent() routine is
1524 * available to look up network services in some data base or another.
1526 /*#define HAS_GETSERVENT /**/
1528 /* HAS_GETSERV_PROTOS:
1529 * This symbol, if defined, indicates that <netdb.h> includes
1530 * prototypes for getservent(), getservbyname(), and
1531 * getservbyaddr(). Otherwise, it is up to the program to guess
1532 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1534 #define HAS_GETSERV_PROTOS /**/
1537 * This symbol, if defined, indicates that the getspent system call is
1538 * available to retrieve SysV shadow password entries sequentially.
1540 /*#define HAS_GETSPENT /**/
1543 * This symbol, if defined, indicates that the getspnam system call is
1544 * available to retrieve SysV shadow password entries by name.
1546 /*#define HAS_GETSPNAM /**/
1548 /* HAS_GETSERVBYNAME:
1549 * This symbol, if defined, indicates that the getservbyname()
1550 * routine is available to look up services by their name.
1552 /* HAS_GETSERVBYPORT:
1553 * This symbol, if defined, indicates that the getservbyport()
1554 * routine is available to look up services by their port.
1556 #define HAS_GETSERVBYNAME /**/
1557 #define HAS_GETSERVBYPORT /**/
1560 * This symbol, if defined, indicates to the C program that
1561 * the GNU C library is being used.
1563 /*#define HAS_GNULIBC /**/
1565 * This symbol, if defined, indicates that the hasmntopt routine is
1566 * available to query the mount options of file systems.
1568 /*#define HAS_HASMNTOPT /**/
1571 * This symbol, if defined, indicates that the htonl() routine (and
1572 * friends htons() ntohl() ntohs()) are available to do network
1573 * order byte swapping.
1576 * This symbol, if defined, indicates that the htons() routine (and
1577 * friends htonl() ntohl() ntohs()) are available to do network
1578 * order byte swapping.
1581 * This symbol, if defined, indicates that the ntohl() routine (and
1582 * friends htonl() htons() ntohs()) are available to do network
1583 * order byte swapping.
1586 * This symbol, if defined, indicates that the ntohs() routine (and
1587 * friends htonl() htons() ntohl()) are available to do network
1588 * order byte swapping.
1590 #define HAS_HTONL /**/
1591 #define HAS_HTONS /**/
1592 #define HAS_NTOHL /**/
1593 #define HAS_NTOHS /**/
1596 * This manifest constant lets the C program know that isascii
1599 #define HAS_ISASCII /**/
1602 * This symbol, if defined, indicates that the lchown routine is
1603 * available to operate on a symbolic link (instead of following the
1606 /*#define HAS_LCHOWN /**/
1609 * This symbol, if defined, indicates that this system's <float.h>
1610 * or <limits.h> defines the symbol LDBL_DIG, which is the number
1611 * of significant digits in a long double precision number. Unlike
1612 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
1614 #define HAS_LDBL_DIG /**/
1617 * This symbol will be defined if the C compiler supports long
1621 * This symbol contains the size of a long double, so that the
1622 * C preprocessor can make decisions based on it. It is only
1623 * defined if the system supports long doubles.
1625 #define HAS_LONG_DOUBLE /**/
1626 #ifdef HAS_LONG_DOUBLE
1627 #define LONG_DOUBLESIZE 10 /**/
1631 * This symbol will be defined if the C compiler supports long long.
1634 * This symbol contains the size of a long long, so that the
1635 * C preprocessor can make decisions based on it. It is only
1636 * defined if the system supports long long.
1638 /*#define HAS_LONG_LONG /**/
1639 #ifdef HAS_LONG_LONG
1640 #define LONGLONGSIZE 8 /**/
1644 * This symbol, if defined, indicates that the memchr routine is available
1645 * to locate characters within a C string.
1647 #define HAS_MEMCHR /**/
1650 * This symbol, if defined, indicates that the entire msg*(2) library is
1651 * supported (IPC mechanism based on message queues).
1653 /*#define HAS_MSG /**/
1656 * This manifest constant lets the C program know that the three
1657 * argument form of open(2) is available.
1659 /*#define HAS_OPEN3 /**/
1661 /* OLD_PTHREAD_CREATE_JOINABLE:
1662 * This symbol, if defined, indicates how to create pthread
1663 * in joinable (aka undetached) state. NOTE: not defined
1664 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1665 * (the new version of the constant).
1666 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1669 /*#define OLD_PTHREAD_CREATE_JOINABLE /**/
1671 /* HAS_PTHREAD_YIELD:
1672 * This symbol, if defined, indicates that the pthread_yield
1673 * routine is available to yield the execution of the current
1674 * thread. sched_yield is preferable to pthread_yield.
1677 * This symbol defines the way to yield the execution of
1678 * the current thread. Known ways are sched_yield,
1679 * pthread_yield, and pthread_yield with NULL.
1682 * This symbol, if defined, indicates that the sched_yield
1683 * routine is available to yield the execution of the current
1684 * thread. sched_yield is preferable to pthread_yield.
1686 /*#define HAS_PTHREAD_YIELD /**/
1687 #define SCHED_YIELD /**/
1688 /*#define HAS_SCHED_YIELD /**/
1691 * This symbol, if defined, indicates that the bcopy routine is available
1692 * to copy potentially overlapping memory blocks. Otherwise you should
1693 * probably use memmove() or memcpy(). If neither is defined, roll your
1696 /*#define HAS_SAFE_BCOPY /**/
1699 * This symbol, if defined, indicates that the memcpy routine is available
1700 * to copy potentially overlapping memory blocks. Otherwise you should
1701 * probably use memmove() or memcpy(). If neither is defined, roll your
1704 /*#define HAS_SAFE_MEMCPY /**/
1707 * This symbol, if defined, indicates that the memcmp routine is available
1708 * and can be used to compare relative magnitudes of chars with their high
1709 * bits set. If it is not defined, roll your own version.
1711 #define HAS_SANE_MEMCMP /**/
1714 * This symbol, if defined, indicates that the entire sem*(2) library is
1717 /*#define HAS_SEM /**/
1720 * This symbol, if defined, indicates that the setgrent routine is
1721 * available for initializing sequential access of the group database.
1723 /*#define HAS_SETGRENT /**/
1726 * This symbol, if defined, indicates that the setgroups() routine is
1727 * available to set the list of process groups. If unavailable, multiple
1728 * groups are probably not supported.
1730 /*#define HAS_SETGROUPS /**/
1733 * This symbol, if defined, indicates that the sethostent() routine is
1736 /*#define HAS_SETHOSTENT /**/
1739 * This symbol, if defined, indicates that the setnetent() routine is
1742 /*#define HAS_SETNETENT /**/
1745 * This symbol, if defined, indicates that the setprotoent() routine is
1748 /*#define HAS_SETPROTOENT /**/
1751 * This symbol, if defined, indicates that the setpwent routine is
1752 * available for initializing sequential access of the passwd database.
1754 /*#define HAS_SETPWENT /**/
1757 * This symbol, if defined, indicates that the setservent() routine is
1760 /*#define HAS_SETSERVENT /**/
1763 * This symbol, if defined, indicates that the setspent system call is
1764 * available to initialize the scan of SysV shadow password entries.
1766 /*#define HAS_SETSPENT /**/
1769 * This symbol, if defined, indicates that the setvbuf routine is
1770 * available to change buffering on an open stdio stream.
1771 * to a line-buffered mode.
1773 #define HAS_SETVBUF /**/
1776 * This symbol, if defined, indicates that sfio should
1779 /*#define USE_SFIO /**/
1782 * This symbol, if defined, indicates that the entire shm*(2) library is
1785 /*#define HAS_SHM /**/
1788 * This symbol, if defined, indicates that Vr4's sigaction() routine
1791 /*#define HAS_SIGACTION /**/
1794 * This variable indicates to the C program that the sigsetjmp()
1795 * routine is available to save the calling process's registers
1796 * and stack environment for later use by siglongjmp(), and
1797 * to optionally save the process's signal mask. See
1798 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
1801 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1804 * This macro is used in the same way as sigsetjmp(), but will invoke
1805 * traditional setjmp() if sigsetjmp isn't available.
1806 * See HAS_SIGSETJMP.
1809 * This macro is used in the same way as siglongjmp(), but will invoke
1810 * traditional longjmp() if siglongjmp isn't available.
1811 * See HAS_SIGSETJMP.
1813 /*#define HAS_SIGSETJMP /**/
1814 #ifdef HAS_SIGSETJMP
1815 #define Sigjmp_buf sigjmp_buf
1816 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1817 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1819 #define Sigjmp_buf jmp_buf
1820 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1821 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1825 * This symbol, if defined, indicates that the BSD socket interface is
1829 * This symbol, if defined, indicates that the BSD socketpair() call is
1833 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
1834 * Checking just with #ifdef might not be enough because this symbol
1835 * has been known to be an enum.
1837 /* HAS_MSG_DONTROUTE:
1838 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
1839 * Checking just with #ifdef might not be enough because this symbol
1840 * has been known to be an enum.
1843 * This symbol, if defined, indicates that the MSG_OOB is supported.
1844 * Checking just with #ifdef might not be enough because this symbol
1845 * has been known to be an enum.
1848 * This symbol, if defined, indicates that the MSG_PEEK is supported.
1849 * Checking just with #ifdef might not be enough because this symbol
1850 * has been known to be an enum.
1853 * This symbol, if defined, indicates that the MSG_PROXY 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 SCM_RIGHTS is supported.
1859 * Checking just with #ifdef might not be enough because this symbol
1860 * has been known to be an enum.
1862 #define HAS_SOCKET /**/
1863 /*#define HAS_SOCKETPAIR /**/
1864 /*#define HAS_MSG_CTRUNC /**/
1865 /*#define HAS_MSG_DONTROUTE /**/
1866 /*#define HAS_MSG_OOB /**/
1867 /*#define HAS_MSG_PEEK /**/
1868 /*#define HAS_MSG_PROXY /**/
1869 /*#define HAS_SCM_RIGHTS /**/
1872 * This symbol, if defined, indicates that the sqrtl routine is
1873 * available to do long double square roots.
1875 /*#define HAS_SQRTL /**/
1878 * This symbol is defined if this system has a stat structure declaring
1879 * st_blksize and st_blocks.
1881 #ifndef USE_STAT_BLOCKS
1882 /*#define USE_STAT_BLOCKS /**/
1885 /* HAS_STRUCT_STATFS_F_FLAGS:
1886 * This symbol, if defined, indicates that the struct statfs
1887 * does have the f_flags member containing the mount flags of
1888 * the filesystem containing the file.
1889 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
1890 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
1891 * have statfs() and struct statfs, they have ustat() and getmnt()
1892 * with struct ustat and struct fs_data.
1894 /*#define HAS_STRUCT_STATFS_F_FLAGS /**/
1896 /* HAS_STRUCT_STATFS:
1897 * This symbol, if defined, indicates that the struct statfs
1898 * to do statfs() is supported.
1900 /*#define HAS_STRUCT_STATFS /**/
1903 * This symbol, if defined, indicates that the fstatvfs routine is
1904 * available to stat filesystems by file descriptors.
1906 /*#define HAS_FSTATVFS /**/
1909 * This symbol is defined if the _ptr and _cnt fields (or similar)
1910 * of the stdio FILE structure can be used to access the stdio buffer
1911 * for a file handle. If this is defined, then the FILE_ptr(fp)
1912 * and FILE_cnt(fp) macros will also be defined and should be used
1913 * to access these fields.
1916 * This macro is used to access the _ptr field (or equivalent) of the
1917 * FILE structure pointed to by its argument. This macro will always be
1918 * defined if USE_STDIO_PTR is defined.
1920 /* STDIO_PTR_LVALUE:
1921 * This symbol is defined if the FILE_ptr macro can be used as an
1925 * This macro is used to access the _cnt field (or equivalent) of the
1926 * FILE structure pointed to by its argument. This macro will always be
1927 * defined if USE_STDIO_PTR is defined.
1929 /* STDIO_CNT_LVALUE:
1930 * This symbol is defined if the FILE_cnt macro can be used as an
1933 #define USE_STDIO_PTR /**/
1934 #ifdef USE_STDIO_PTR
1935 #define FILE_ptr(fp) ((fp)->_ptr)
1936 #define STDIO_PTR_LVALUE /**/
1937 #define FILE_cnt(fp) ((fp)->_cnt)
1938 #define STDIO_CNT_LVALUE /**/
1942 * This symbol is defined if the _base field (or similar) of the
1943 * stdio FILE structure can be used to access the stdio buffer for
1944 * a file handle. If this is defined, then the FILE_base(fp) macro
1945 * will also be defined and should be used to access this field.
1946 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1947 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1948 * will never be defined unless USE_STDIO_PTR is.
1951 * This macro is used to access the _base field (or equivalent) of the
1952 * FILE structure pointed to by its argument. This macro will always be
1953 * defined if USE_STDIO_BASE is defined.
1956 * This macro is used to determine the number of bytes in the I/O
1957 * buffer pointed to by _base field (or equivalent) of the FILE
1958 * structure pointed to its argument. This macro will always be defined
1959 * if USE_STDIO_BASE is defined.
1961 #define USE_STDIO_BASE /**/
1962 #ifdef USE_STDIO_BASE
1963 #define FILE_base(fp) ((fp)->_base)
1964 #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
1968 * This symbol, if defined, indicates that the strerror routine is
1969 * available to translate error numbers to strings. See the writeup
1970 * of Strerror() in this file before you try to define your own.
1973 * This symbol, if defined, indicates that the sys_errlist array is
1974 * available to translate error numbers to strings. The extern int
1975 * sys_nerr gives the size of that table.
1978 * This preprocessor symbol is defined as a macro if strerror() is
1979 * not available to translate error numbers to strings but sys_errlist[]
1982 #define HAS_STRERROR /**/
1983 #define HAS_SYS_ERRLIST /**/
1984 #define Strerror(e) strerror(e)
1987 * This symbol, if defined, indicates that the strtold routine is
1988 * available to convert strings to long doubles.
1990 /*#define HAS_STRTOLD /**/
1993 * This symbol, if defined, indicates that the strtoll routine is
1994 * available to convert strings to long longs.
1996 /*#define HAS_STRTOLL /**/
1999 * This symbol, if defined, indicates that the strtoull routine is
2000 * available to convert strings to unsigned long longs.
2002 /*#define HAS_STRTOULL /**/
2005 * This symbol, if defined, indicates that the strtouq routine is
2006 * available to convert strings to unsigned long longs (quads).
2008 /*#define HAS_STRTOUQ /**/
2010 /* HAS_TELLDIR_PROTO:
2011 * This symbol, if defined, indicates that the system provides
2012 * a prototype for the telldir() function. Otherwise, it is up
2013 * to the program to supply one. A good guess is
2014 * extern long telldir _((DIR*));
2016 #define HAS_TELLDIR_PROTO /**/
2019 * This symbol holds the type returned by time(). It can be long,
2020 * or time_t on BSD sites (in which case <sys/types.h> should be
2023 #define Time_t time_t /* Time type */
2026 * This symbol, if defined, indicates that the times() routine exists.
2027 * Note that this became obsolete on some systems (SUNOS), which now
2028 * use getrusage(). It may be necessary to include <sys/times.h>.
2030 #define HAS_TIMES /**/
2033 * This symbol, if defined, indicates that the union semun is
2034 * defined by including <sys/sem.h>. If not, the user code
2035 * probably needs to define it as:
2038 * struct semid_ds *buf;
2039 * unsigned short *array;
2042 /* USE_SEMCTL_SEMUN:
2043 * This symbol, if defined, indicates that union semun is
2044 * used for semctl IPC_STAT.
2046 /* USE_SEMCTL_SEMID_DS:
2047 * This symbol, if defined, indicates that struct semid_ds * is
2048 * used for semctl IPC_STAT.
2050 #define HAS_UNION_SEMUN /**/
2051 /*#define USE_SEMCTL_SEMUN /**/
2052 /*#define USE_SEMCTL_SEMID_DS /**/
2055 * This symbol, if defined, indicates that the ustat system call is
2056 * available to query file system statistics by dev_t.
2058 /*#define HAS_USTAT /**/
2061 * This symbol, if defined, indicates that vfork() exists.
2063 /*#define HAS_VFORK /**/
2066 * This symbol's value is either "void" or "int", corresponding to the
2067 * appropriate return type of a signal handler. Thus, you can declare
2068 * a signal handler using "Signal_t (*handler)()", and define the
2069 * handler using "Signal_t handler(sig)".
2071 #define Signal_t void /* Signal handler's return type */
2074 * This symbol, if defined, indicates that the vprintf routine is available
2075 * to printf with a pointer to an argument list. If unavailable, you
2076 * may need to write your own, probably in terms of _doprnt().
2078 /* USE_CHAR_VSPRINTF:
2079 * This symbol is defined if this system has vsprintf() returning type
2080 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2081 * is up to the package author to declare vsprintf correctly based on the
2084 #define HAS_VPRINTF /**/
2085 /*#define USE_CHAR_VSPRINTF /**/
2087 /* USE_DYNAMIC_LOADING:
2088 * This symbol, if defined, indicates that dynamic loading of
2089 * some sort is available.
2091 #define USE_DYNAMIC_LOADING /**/
2094 * This symbol contains the size of a double, so that the C preprocessor
2095 * can make decisions based on it.
2097 #define DOUBLESIZE 8 /**/
2100 * This symbol, if defined, indicates that this system uses
2103 /*#define EBCDIC /**/
2106 * This symbol, if defined, tells that fflush(NULL) does flush
2107 * all pending stdio output.
2110 * This symbol, if defined, tells that to flush
2111 * all pending stdio output one must loop through all
2112 * the stdio file handles stored in an array and fflush them.
2113 * Note that if fflushNULL is defined, fflushall will not
2114 * even be probed for and will be left undefined.
2116 #define FFLUSH_NULL /**/
2117 /*#define FFLUSH_ALL /**/
2120 * This symbol holds the type used to declare file positions in libc.
2121 * It can be fpos_t, long, uint, etc... It may be necessary to include
2122 * <sys/types.h> to get any typedef'ed information.
2124 #define Fpos_t fpos_t /* File position type */
2127 * This symbol defines the format string used for printing a Gid_t.
2129 #define Gid_t_f "ld" /**/
2132 * This symbol holds the size of a Gid_t in bytes.
2134 #define Gid_t_size 4 /* GID size */
2137 * This symbol holds the return type of getgid() and the type of
2138 * argument to setrgid() and related functions. Typically,
2139 * it is the type of group ids in the kernel. It can be int, ushort,
2140 * uid_t, etc... It may be necessary to include <sys/types.h> to get
2141 * any typedef'ed information.
2143 #define Gid_t gid_t /* Type for getgid(), etc... */
2146 * This symbol holds the type used for the second argument to
2147 * getgroups() and setgropus(). Usually, this is the same as
2148 * gidtype (gid_t) , but sometimes it isn't.
2149 * It can be int, ushort, uid_t, etc...
2150 * It may be necessary to include <sys/types.h> to get any
2151 * typedef'ed information. This is only required if you have
2152 * getgroups() or setgropus()..
2154 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2155 #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
2159 * This symbol contains the type of the prefix structure element
2160 * in the <db.h> header file. In older versions of DB, it was
2161 * int, while in newer ones it is u_int32_t.
2164 * This symbol contains the type of the prefix structure element
2165 * in the <db.h> header file. In older versions of DB, it was
2166 * int, while in newer ones it is size_t.
2168 #define DB_Hash_t int /**/
2169 #define DB_Prefix_t int /**/
2172 * This symbol, if defined, indicates to the C program that it should
2176 * This symbol, if defined, indicates to the C program that struct group
2177 * in <grp.h> contains gr_passwd.
2179 /*#define I_GRP /**/
2180 /*#define GRPASSWD /**/
2183 * This symbol, if defined, indicates to the C program that it should
2184 * include <inttypes.h>.
2186 /*#define I_INTTYPES /**/
2189 * This symbol, if defined, indicates to the C program that it should
2190 * include <mach/cthreads.h>.
2192 /*#define I_MACH_CTHREADS /**/
2195 * This symbol, if defined, indicates that <mntent.h> exists and
2196 * should be included.
2198 /*#define I_MNTENT /**/
2201 * This symbol, if defined, indicates that <netdb.h> exists and
2202 * should be included.
2204 /*#define I_NETDB /**/
2207 * This symbol, if defined, indicates to the C program that it should
2208 * include <netinet/tcp.h>.
2210 /*#define I_NETINET_TCP /**/
2213 * This symbol, if defined, indicates that <poll.h> exists and
2214 * should be included.
2216 /*#define I_POLL /**/
2219 * This symbol, if defined, indicates to the C program that it should
2220 * include <pthread.h>.
2222 /*#define I_PTHREAD /**/
2225 * This symbol, if defined, indicates to the C program that it should
2229 * This symbol, if defined, indicates to the C program that struct passwd
2230 * contains pw_quota.
2233 * This symbol, if defined, indicates to the C program that struct passwd
2237 * This symbol, if defined, indicates to the C program that struct passwd
2238 * contains pw_change.
2241 * This symbol, if defined, indicates to the C program that struct passwd
2242 * contains pw_class.
2245 * This symbol, if defined, indicates to the C program that struct passwd
2246 * contains pw_expire.
2249 * This symbol, if defined, indicates to the C program that struct passwd
2250 * contains pw_comment.
2253 * This symbol, if defined, indicates to the C program that struct passwd
2254 * contains pw_gecos.
2257 * This symbol, if defined, indicates to the C program that struct passwd
2258 * contains pw_passwd.
2260 /*#define I_PWD /**/
2261 /*#define PWQUOTA /**/
2262 /*#define PWAGE /**/
2263 /*#define PWCHANGE /**/
2264 /*#define PWCLASS /**/
2265 /*#define PWEXPIRE /**/
2266 /*#define PWCOMMENT /**/
2267 /*#define PWGECOS /**/
2268 /*#define PWPASSWD /**/
2271 * This symbol, if defined, indicates that <shadow.h> exists and
2272 * should be included.
2274 /*#define I_SHADOW /**/
2277 * This symbol, if defined, indicates that <socks.h> exists and
2278 * should be included.
2280 /*#define I_SOCKS /**/
2283 * This symbol, if defined, indicates that <sys/mount.h> exists and
2284 * should be included.
2286 /*#define I_SYS_MOUNT /**/
2289 * This symbol, if defined, indicates that <sys/statfs.h> exists.
2291 /*#define I_SYS_STATFS /**/
2294 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2295 * should be included.
2297 /*#define I_SYS_STATVFS /**/
2300 * This symbol, if defined, indicates that <sys/uio.h> exists and
2301 * should be included.
2303 /*#define I_SYSUIO /**/
2306 * This symbol, if defined, indicates that <sys/vfs.h> exists and
2307 * should be included.
2309 /*#define I_SYS_VFS /**/
2312 * This symbol, if defined, indicates to the C program that it should
2316 * This symbol, if defined, indicates to the C program that it should
2317 * include <sys/time.h>.
2319 /* I_SYS_TIME_KERNEL:
2320 * This symbol, if defined, indicates to the C program that it should
2321 * include <sys/time.h> with KERNEL defined.
2324 /*#define I_SYS_TIME /**/
2325 /*#define I_SYS_TIME_KERNEL /**/
2328 * This symbol, if defined, indicates that <ustat.h> exists and
2329 * should be included.
2331 /*#define I_USTAT /**/
2333 /* PERL_INC_VERSION_LIST:
2334 * This variable specifies the list of subdirectories in over
2335 * which perl.c:incpush() and lib/lib.pm will automatically
2336 * search when adding directories to @INC, in a format suitable
2337 * for a C initialization string. See the inc_version_list entry
2338 * in Porting/Glossary for more details.
2340 #define PERL_INC_VERSION_LIST 0 /**/
2343 * This symbol will be defined if the C compiler supports off64_t.
2346 * This symbol will be defined if the C compiler supports fpos64_t.
2348 /*#define HAS_OFF64_T /**/
2349 /*#define HAS_FPOS64_T /**/
2352 * This symbol, if defined, contains the string used by stdio to
2353 * format long doubles (format 'f') for output.
2356 * This symbol, if defined, contains the string used by stdio to
2357 * format long doubles (format 'g') for output.
2359 /*#define PERL_PRIfldbl "f" /**/
2360 /*#define PERL_PRIgldbl "g" /**/
2363 * This symbol holds the type used to declare offsets in the kernel.
2364 * It can be int, long, off_t, etc... It may be necessary to include
2365 * <sys/types.h> to get any typedef'ed information.
2368 * This symbol holds the number of bytes used by the Off_t.
2371 * This symbol holds the number of bytes used by the Off_t.
2373 #define Off_t off_t /* <offset> type */
2374 #define LSEEKSIZE 4 /* <offset> size */
2375 #define Off_t_size 4 /* <offset> size */
2378 * This variable contains the return type of free(). It is usually
2379 * void, but occasionally int.
2382 * This symbol is the type of pointer returned by malloc and realloc.
2384 #define Malloc_t void * /**/
2385 #define Free_t void /**/
2388 * This symbol, if defined, indicates that we're using our own malloc.
2390 /*#define MYMALLOC /**/
2393 * This symbol holds the type used to declare file modes
2394 * for systems calls. It is usually mode_t, but may be
2395 * int or unsigned short. It may be necessary to include <sys/types.h>
2396 * to get any typedef'ed information.
2398 #define Mode_t mode_t /* file mode parameter for system calls */
2401 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2402 * non-blocking I/O for the file descriptor. Note that there is no way
2403 * back, i.e. you cannot turn it blocking again this way. If you wish to
2404 * alternatively switch between blocking and non-blocking, use the
2405 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
2408 * This symbol holds the errno error code set by read() when no data was
2409 * present on the non-blocking file descriptor.
2412 * This symbol holds the return code from read() when no data is present
2413 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
2414 * not defined, then you can't distinguish between no data and EOF by
2415 * issuing a read(). You'll have to find another way to tell for sure!
2418 * This symbol, if defined, indicates to the C program that a read() on
2419 * a non-blocking file descriptor will return 0 on EOF, and not the value
2420 * held in RD_NODATA (-1 usually, in that case!).
2422 #define VAL_O_NONBLOCK O_NONBLOCK
2423 #define VAL_EAGAIN EAGAIN
2424 #define RD_NODATA -1
2425 #define EOF_NONBLOCK
2428 * This symbol holds the type used for the 1st argument
2429 * to gethostbyaddr().
2432 * This symbol holds the type used for the 2nd argument
2433 * to gethostbyaddr().
2436 * This symbol holds the type used for the argument to
2440 * This symbol holds the type used for the 1st argument to
2443 #define Netdb_host_t char * /**/
2444 #define Netdb_hlen_t int /**/
2445 #define Netdb_name_t char * /**/
2446 #define Netdb_net_t long /**/
2449 * This symbol defines the C type used for Perl's IV.
2452 * This symbol defines the C type used for Perl's UV.
2455 * This symbol defines the C type used for Perl's I8.
2458 * This symbol defines the C type used for Perl's U8.
2461 * This symbol defines the C type used for Perl's I16.
2464 * This symbol defines the C type used for Perl's U16.
2467 * This symbol defines the C type used for Perl's I32.
2470 * This symbol defines the C type used for Perl's U32.
2473 * This symbol defines the C type used for Perl's I64.
2476 * This symbol defines the C type used for Perl's U64.
2479 * This symbol defines the C type used for Perl's NV.
2482 * This symbol contains the sizeof(IV).
2485 * This symbol contains the sizeof(UV).
2488 * This symbol contains the sizeof(I8).
2491 * This symbol contains the sizeof(U8).
2494 * This symbol contains the sizeof(I16).
2497 * This symbol contains the sizeof(U16).
2500 * This symbol contains the sizeof(I32).
2503 * This symbol contains the sizeof(U32).
2506 * This symbol contains the sizeof(I64).
2509 * This symbol contains the sizeof(U64).
2511 #define IVTYPE long /**/
2512 #define UVTYPE unsigned long /**/
2513 #define I8TYPE char /**/
2514 #define U8TYPE unsigned char /**/
2515 #define I16TYPE short /**/
2516 #define U16TYPE unsigned short /**/
2517 #define I32TYPE long /**/
2518 #define U32TYPE unsigned long /**/
2520 #define I64TYPE __int64 /**/
2521 #define U64TYPE unsigned __int64 /**/
2523 #define NVTYPE double /**/
2524 #define IVSIZE 4 /**/
2525 #define UVSIZE 4 /**/
2526 #define I8SIZE 1 /**/
2527 #define U8SIZE 1 /**/
2528 #define I16SIZE 2 /**/
2529 #define U16SIZE 2 /**/
2530 #define I32SIZE 4 /**/
2531 #define U32SIZE 4 /**/
2533 #define I64SIZE 8 /**/
2534 #define U64SIZE 8 /**/
2538 * This symbol defines the format string used for printing a Perl IV
2539 * as a signed decimal integer.
2542 * This symbol defines the format string used for printing a Perl UV
2543 * as an unsigned decimal integer.
2546 * This symbol defines the format string used for printing a Perl UV
2547 * as an unsigned octal integer.
2550 * This symbol defines the format string used for printing a Perl UV
2551 * as an unsigned hexadecimal integer.
2553 #define IVdf "ld" /**/
2554 #define UVuf "lu" /**/
2555 #define UVof "lo" /**/
2556 #define UVxf "lx" /**/
2559 * This symbol holds the type used to declare process ids in the kernel.
2560 * It can be int, uint, pid_t, etc... It may be necessary to include
2561 * <sys/types.h> to get any typedef'ed information.
2563 #define Pid_t int /* PID type */
2566 * This symbol contains the name of the private library for this package.
2567 * The library is private in the sense that it needn't be in anyone's
2568 * execution path, but it should be accessible by the world. The program
2569 * should be prepared to do ~ expansion.
2572 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2573 * in programs that are not prepared to deal with ~ expansion at run-time.
2575 #define PRIVLIB "c:\\perl\\5.5.650\\lib" /**/
2576 #define PRIVLIB_EXP (win32_get_privlib("5.5.650")) /**/
2579 * This symbol contains the size of a pointer, so that the C preprocessor
2580 * can make decisions based on it. It will be sizeof(void *) if
2581 * the compiler supports (void *); otherwise it will be
2584 #define PTRSIZE 4 /**/
2587 * This macro is to be used to generate uniformly distributed
2588 * random numbers over the range [0., 1.[. You may have to supply
2589 * an 'extern double drand48();' in your program since SunOS 4.1.3
2590 * doesn't provide you with anything relevant in it's headers.
2591 * See HAS_DRAND48_PROTO.
2594 * This symbol defines the type of the argument of the
2595 * random seed function.
2598 * This symbol defines the macro to be used in seeding the
2599 * random number generator (see Drand01).
2602 * This symbol indicates how many bits are produced by the
2603 * function used to generate normalized random numbers.
2604 * Values include 15, 16, 31, and 48.
2606 #define Drand01() (rand()/(double)((unsigned)1<<RANDBITS)) /**/
2607 #define Rand_seed_t unsigned /**/
2608 #define seedDrand01(x) srand((Rand_seed_t)x) /**/
2609 #define RANDBITS 15 /**/
2612 * This symbol holds the minimum number of bits operated by select.
2613 * That is, if you do select(n, ...), how many bits at least will be
2614 * cleared in the masks if some activity is detected. Usually this
2615 * is either n or 32*ceil(n/32), especially many little-endians do
2616 * the latter. This is only useful if you have select(), naturally.
2618 #define SELECT_MIN_BITS 32 /**/
2621 * This symbol holds the type used for the 2nd, 3rd, and 4th
2622 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2623 * is defined, and 'int *' otherwise. This is only useful if you
2624 * have select(), of course.
2626 #define Select_fd_set_t Perl_fd_set * /**/
2629 * This symbol contains a list of signal names in order of
2630 * signal number. This is intended
2631 * to be used as a static array initialization, like this:
2632 * char *sig_name[] = { SIG_NAME };
2633 * The signals in the list are separated with commas, and each signal
2634 * is surrounded by double quotes. There is no leading SIG in the signal
2635 * name, i.e. SIGQUIT is known as "QUIT".
2636 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2637 * etc., where nn is the actual signal number (e.g. NUM37).
2638 * The signal number for sig_name[i] is stored in sig_num[i].
2639 * The last element is 0 to terminate the list with a NULL. This
2640 * corresponds to the 0 at the end of the sig_num list.
2643 * This symbol contains a list of signal numbers, in the same order as the
2644 * SIG_NAME list. It is suitable for static array initialization, as in:
2645 * int sig_num[] = { SIG_NUM };
2646 * The signals in the list are separated with commas, and the indices
2647 * within that list and the SIG_NAME list match, so it's easy to compute
2648 * the signal name from a number or vice versa at the price of a small
2649 * dynamic linear lookup.
2650 * Duplicates are allowed, but are moved to the end of the list.
2651 * The signal number corresponding to sig_name[i] is sig_number[i].
2652 * if (i < NSIG) then sig_number[i] == i.
2653 * The last element is 0, corresponding to the 0 at the end of
2654 * the sig_name list.
2656 #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 /**/
2657 #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 /**/
2660 * This symbol contains the name of the private library for this package.
2661 * The library is private in the sense that it needn't be in anyone's
2662 * execution path, but it should be accessible by the world. The program
2663 * should be prepared to do ~ expansion.
2664 * The standard distribution will put nothing in this directory.
2665 * After perl has been installed, users may install their own local
2666 * architecture-dependent modules in this directory with
2667 * MakeMaker Makefile.PL
2668 * or equivalent. See INSTALL for details.
2671 * This symbol contains the ~name expanded version of SITEARCH, to be used
2672 * in programs that are not prepared to deal with ~ expansion at run-time.
2674 #define SITEARCH "c:\\perl\\site\\5.5.650\\lib\\MSWin32-x86" /**/
2675 /*#define SITEARCH_EXP "" /**/
2678 * This symbol contains the name of the private library for this package.
2679 * The library is private in the sense that it needn't be in anyone's
2680 * execution path, but it should be accessible by the world. The program
2681 * should be prepared to do ~ expansion.
2682 * The standard distribution will put nothing in this directory.
2683 * After perl has been installed, users may install their own local
2684 * architecture-independent modules in this directory with
2685 * MakeMaker Makefile.PL
2686 * or equivalent. See INSTALL for details.
2689 * This symbol contains the ~name expanded version of SITELIB, to be used
2690 * in programs that are not prepared to deal with ~ expansion at run-time.
2692 #define SITELIB "c:\\perl\\site\\5.5.650\\lib" /**/
2693 #define SITELIB_EXP (win32_get_sitelib("5.5.650")) /**/
2696 * This symbol holds the type used to declare length parameters
2697 * for string functions. It is usually size_t, but may be
2698 * unsigned long, int, etc. It may be necessary to include
2699 * <sys/types.h> to get any typedef'ed information.
2701 #define Size_t size_t /* length paramater for string functions */
2704 * This symbol holds the type used by functions that return
2705 * a count of bytes or an error condition. It must be a signed type.
2706 * It is usually ssize_t, but may be long or int, etc.
2707 * It may be necessary to include <sys/types.h> or <unistd.h>
2708 * to get any typedef'ed information.
2709 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
2711 #define SSize_t int /* signed count of bytes */
2714 * This variable contains the string to put in front of a perl
2715 * script to make sure (one hopes) that it runs with perl and not
2718 #define STARTPERL "#!perl" /**/
2720 /* HAS_STDIO_STREAM_ARRAY:
2721 * This symbol, if defined, tells that there is an array
2722 * holding the stdio streams.
2724 /* STDIO_STREAM_ARRAY:
2725 * This symbol tells the name of the array holding the stdio streams.
2726 * Usual values include _iob, __iob, and __sF.
2728 /*#define HAS_STDIO_STREAM_ARRAY /**/
2729 #define STDIO_STREAM_ARRAY
2732 * This symbol defines the format string used for printing a Uid_t.
2734 #define Uid_t_f "ld" /**/
2737 * This symbol holds the size of a Uid_t in bytes.
2739 #define Uid_t_size 4 /* UID size */
2742 * This symbol holds the type used to declare user ids in the kernel.
2743 * It can be int, ushort, uid_t, etc... It may be necessary to include
2744 * <sys/types.h> to get any typedef'ed information.
2746 #define Uid_t uid_t /* UID type */
2749 * This symbol, if defined, indicates that 64-bit integers should
2750 * be used when available. If not defined, the native integers
2751 * will be used (be they 32 or 64 bits).
2754 /*#define USE_64_BITS /**/
2758 * This symbol, if defined, indicates that large file support
2759 * should be used when available. The USE_64_BITS symbol will
2760 * also be turned on if necessary.
2762 #ifndef USE_LARGE_FILES
2763 /*#define USE_LARGE_FILES /**/
2767 * This symbol, if defined, indicates that long doubles should
2768 * be used when available.
2770 #ifndef USE_LONG_DOUBLE
2771 /*#define USE_LONG_DOUBLE /**/
2775 * This symbol, if defined, indicates that long longs should
2776 * be used when available.
2778 #ifndef USE_LONG_LONG
2779 /*#define USE_LONG_LONG /**/
2782 #ifndef USE_MORE_BITS
2783 /*#define USE_MORE_BITS /**/
2787 * This symbol, if defined, indicates that Perl should
2788 * be built to use multiplicity.
2791 /*#define MULTIPLICITY /**/
2795 * This symbol, if defined, indicates that the PerlIO abstraction should
2796 * be used throughout. If not defined, stdio should be
2797 * used in a fully backward compatible manner.
2800 /*#define USE_PERLIO /**/
2804 * This symbol, if defined, indicates that Perl should
2805 * be built to use socks.
2808 /*#define USE_SOCKS /**/
2812 * This symbol, if defined, indicates that Perl should be built to
2813 * use the interpreter-based threading implementation.
2816 * This symbol, if defined, indicates that Perl should be built to
2817 * use the 5.005-based threading implementation.
2819 /* OLD_PTHREADS_API:
2820 * This symbol, if defined, indicates that Perl should
2821 * be built to use the old draft POSIX threads API.
2823 /*#define USE_5005THREADS /**/
2824 /*#define USE_ITHREADS /**/
2825 #if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
2826 #define USE_THREADS /* until src is revised*/
2828 /*#define OLD_PTHREADS_API /**/
2830 /* PERL_VENDORLIB_EXP:
2831 * This symbol contains the ~name expanded version of VENDORLIB, to be used
2832 * in programs that are not prepared to deal with ~ expansion at run-time.
2834 /*#define PERL_VENDORLIB_EXP "" /**/
2837 * This symbol indicates how much support of the void type is given by this
2838 * compiler. What various bits mean:
2840 * 1 = supports declaration of void
2841 * 2 = supports arrays of pointers to functions returning void
2842 * 4 = supports comparisons between pointers to void functions and
2843 * addresses of void functions
2844 * 8 = suports declaration of generic void pointers
2846 * The package designer should define VOIDUSED to indicate the requirements
2847 * of the package. This can be done either by #defining VOIDUSED before
2848 * including config.h, or by defining defvoidused in Myinit.U. If the
2849 * latter approach is taken, only those flags will be tested. If the
2850 * level of void support necessary is not present, defines void to int.
2855 #define VOIDFLAGS 15
2856 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
2857 #define void int /* is void to be avoided? */
2858 #define M_VOID /* Xenix strikes again */