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.4 1995/09/25 09:10:49 ram Exp $
13 /* Configuration time: undef
22 * This symbol contains the number of bytes required to align a
23 * double. Usual values are 2, 4 and 8.
24 * On NeXT starting with 3.2, you can build "Fat" Multiple Architecture
25 * Binaries (MAB) for targets with varying alignment. This only matters
26 * for perl, where the config.h can be generated and installed on one
27 * system, and used by a different architecture to build an extension.
28 * The default is eight, for safety.
31 #define MEM_ALIGNBYTES 8 /**/
34 #define MEM_ALIGNBYTES 2
37 #define MEM_ALIGNBYTES 4
38 #else /* __hppa__, __sparc__ and default for unknown architectures */
39 #define MEM_ALIGNBYTES 8
45 * This symbol holds a string representing the architecture name.
46 * It may be used to construct an architecture-dependant pathname
47 * where library files may be held under a private library, for
50 #define ARCHNAME "MSWin32" /**/
53 * This symbol holds the path of the bin directory where the package will
54 * be installed. Program must be prepared to deal with ~name substitution.
57 * This symbol is the filename expanded version of the BIN symbol, for
58 * programs that do not want to deal with that at run-time.
60 #define BIN "c:\\perl\\bin" /**/
61 #define BIN_EXP "c:\\perl\\bin" /**/
64 * This macro catenates 2 tokens together.
67 * This macro surrounds its token with double quotes.
70 #define CAT2(a,b)a/**/b
71 #define CAT3(a,b,c)a/**/b/**/c
72 #define CAT4(a,b,c,d)a/**/b/**/c/**/d
73 #define CAT5(a,b,c,d,e)a/**/b/**/c/**/d/**/e
74 #define STRINGIFY(a)"a"
75 /* If you can get stringification with catify, tell me how! */
78 #define CAT2(a,b)a ## b
79 #define CAT3(a,b,c)a ## b ## c
80 #define CAT4(a,b,c,d)a ## b ## c ## d
81 #define CAT5(a,b,c,d,e)a ## b ## c ## d ## e
83 #define STRINGIFY(a)StGiFy(a)
84 #define SCAT2(a,b)StGiFy(a) StGiFy(b)
85 #define SCAT3(a,b,c)StGiFy(a) StGiFy(b) StGiFy(c)
86 #define SCAT4(a,b,c,d)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d)
87 #define SCAT5(a,b,c,d,e)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) StGiFy(e)
90 #include "Bletch: How does this C preprocessor catenate tokens?"
94 * This symbol contains the first part of the string which will invoke
95 * the C preprocessor on the standard input and produce to standard
96 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
97 * call a wrapper. See CPPRUN.
100 * This symbol contains the second part of the string which will invoke
101 * the C preprocessor on the standard input and produce to standard
102 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
103 * to specify standard input, otherwise the value is "".
109 * This symbol, if defined, indicates that the alarm routine is
112 /*#define HAS_ALARM /**/
115 * This symbol indicates the C compiler can check for function attributes,
116 * such as printf formats. This is normally only supported by GNU cc.
118 /*#define HASATTRIBUTE /**/
120 #define __attribute__(_arg_)
124 * This symbol is defined if the bcmp() routine is available to
125 * compare blocks of memory.
127 /*#define HAS_BCMP /**/
130 * This symbol is defined if the bcopy() routine is available to
131 * copy blocks of memory.
133 /*#define HAS_BCOPY /**/
136 * This symbol is defined if the bzero() routine is available to
137 * set a memory block to 0.
139 /*#define HAS_BZERO /**/
142 * This symbol is defined if the C compiler can cast negative
143 * or large floating point numbers to 32-bit ints.
148 * This symbol is defined if the C compiler can cast negative
149 * numbers to unsigned longs, ints and shorts.
152 * This symbol contains flags that say what difficulties the compiler
153 * has casting odd floating values to unsigned long:
155 * 1 = couldn't cast < 0
156 * 2 = couldn't cast >= 0x80000000
157 * 4 = couldn't cast in argument expression list
159 #define CASTNEGFLOAT /**/
160 #define CASTFLAGS 0 /**/
163 * This symbol, if defined, indicates that the chown routine is
166 /*#define HAS_CHOWN /**/
169 * This symbol, if defined, indicates that the chroot routine is
172 /*#define HAS_CHROOT /**/
175 * This symbol, if defined, indicates that the chsize routine is available
176 * to truncate files. You might need a -lx to get this routine.
178 #define HAS_CHSIZE /**/
181 * This symbol, if defined, indicates that the closedir() routine
182 * does not return a value.
184 /*#define VOID_CLOSEDIR /**/
187 * This symbol, if defined, indicates that this C compiler knows about
188 * the const type. There is no need to actually test for that symbol
189 * within your programs. The mere use of the "const" keyword will
190 * trigger the necessary tests.
192 #define HASCONST /**/
198 * This symbol, if defined, indicates that the crypt routine is available
199 * to encrypt passwords and the like.
201 /*#define HAS_CRYPT /**/
204 * This symbol, if defined, indicates that the cuserid routine is
205 * available to get character login names.
207 /*#define HAS_CUSERID /**/
210 * This symbol, if defined, indicates that this system's <float.h>
211 * or <limits.h> defines the symbol DBL_DIG, which is the number
212 * of significant digits in a double precision number. If this
213 * symbol is not defined, a guess of 15 is usually pretty good.
215 #define HAS_DBL_DIG /**/
218 * This symbol, if defined, indicates that the difftime routine is
221 #define HAS_DIFFTIME /**/
224 * This symbol, if defined, indicates that the dlerror routine is
225 * available to return a string describing the last error that
226 * occurred from a call to dlopen(), dlclose() or dlsym().
228 #define HAS_DLERROR /**/
231 * This symbol, if defined, indicates that the dup2 routine is
232 * available to duplicate file descriptors.
234 #define HAS_DUP2 /**/
237 * This symbol, if defined, indicates that the fchmod routine is available
238 * to change mode of opened files. If unavailable, use chmod().
240 /*#define HAS_FCHMOD /**/
243 * This symbol, if defined, indicates that the fchown routine is available
244 * to change ownership of opened files. If unavailable, use chown().
246 /*#define HAS_FCHOWN /**/
249 * This symbol, if defined, indicates to the C program that
250 * the fcntl() function exists.
252 /*#define HAS_FCNTL /**/
255 * This symbol, if defined, indicates that the fgetpos routine is
256 * available to get the file position indicator, similar to ftell().
258 #define HAS_FGETPOS /**/
261 * This symbol, if defined, indicates that the system supports filenames
262 * longer than 14 characters.
264 #define FLEXFILENAMES /**/
267 * This symbol, if defined, indicates that the flock routine is
268 * available to do file locking.
270 #define HAS_FLOCK /**/
273 * This symbol, if defined, indicates that the fork routine is
276 /*#define HAS_FORK /**/
279 * This symbol, if defined, indicates that the fsetpos routine is
280 * available to set the file position indicator, similar to fseek().
282 #define HAS_FSETPOS /**/
285 * This symbol, if defined, indicates that the gettimeofday() system
286 * call is available for a sub-second accuracy clock. Usually, the file
287 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
288 * The type "Timeval" should be used to refer to "struct timeval".
290 /*#define HAS_GETTIMEOFDAY /**/
291 #ifdef HAS_GETTIMEOFDAY
292 #define Timeval struct timeval /* Structure used by gettimeofday() */
296 * This symbol, if defined, indicates that the getgroups() routine is
297 * available to get the list of process groups. If unavailable, multiple
298 * groups are probably not supported.
301 * This symbol, if defined, indicates that the setgroups() routine is
302 * available to set the list of process groups. If unavailable, multiple
303 * groups are probably not supported.
305 /*#define HAS_GETGROUPS /**/
306 /*#define HAS_SETGROUPS /**/
309 * This symbol, if defined, indicates that the gethostent routine is
310 * available to lookup host names in some data base or other.
312 /*#define HAS_GETHOSTENT /**/
315 * This symbol, if defined, indicates that the gethostbyaddr routine is
316 * available to lookup host names by their IP addresses.
318 /*#define HAS_GETHBADD /**/
321 * This symbol holds the type used for the 1st argument
322 * to gethostbyaddr().
324 #define Gethbadd_addr_t char *
327 * This symbol holds the type used for the 2nd argument
328 * to gethostbyaddr().
330 #define Gethbadd_alen_t int
333 * This symbol, if defined, indicates that the getnetbyaddr routine is
334 * available to lookup networks by their IP addresses.
336 /*#define HAS_GETNBADD /**/
339 * This symbol holds the type used for the 1st argument
342 #define Getnbadd_net_t long
345 * This symbol, if defined, indicates that the C program may use the
346 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
349 /*#define HAS_UNAME /**/
352 * This symbol, if defined, indicates that the getlogin routine is
353 * available to get the login name.
355 /*#define HAS_GETLOGIN /**/
358 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
359 * routine is available to get the current process group.
361 /*#define HAS_GETPGRP2 /**/
364 * This symbol, if defined, indicates that the getppid routine is
365 * available to get the parent process ID.
367 /*#define HAS_GETPPID /**/
370 * This symbol, if defined, indicates that the getpriority routine is
371 * available to get a process's priority.
373 /*#define HAS_GETPRIORITY /**/
376 * This symbol, if defined, indicates that the htonl() routine (and
377 * friends htons() ntohl() ntohs()) are available to do network
378 * order byte swapping.
381 * This symbol, if defined, indicates that the htons() routine (and
382 * friends htonl() ntohl() ntohs()) are available to do network
383 * order byte swapping.
386 * This symbol, if defined, indicates that the ntohl() routine (and
387 * friends htonl() htons() ntohs()) are available to do network
388 * order byte swapping.
391 * This symbol, if defined, indicates that the ntohs() routine (and
392 * friends htonl() htons() ntohl()) are available to do network
393 * order byte swapping.
395 #define HAS_HTONL /**/
396 #define HAS_HTONS /**/
397 #define HAS_NTOHL /**/
398 #define HAS_NTOHS /**/
401 * This manifest constant lets the C program know that isascii
404 #define HAS_ISASCII /**/
407 * This symbol, if defined, indicates that the killpg routine is available
408 * to kill process groups. If unavailable, you probably should use kill
409 * with a negative process number.
411 /*#define HAS_KILLPG /**/
414 * This symbol, if defined, indicates that the link routine is
415 * available to create hard links.
417 /*#define HAS_LINK /**/
420 * This symbol, if defined, indicates that the localeconv routine is
421 * available for numeric and monetary formatting conventions.
423 #define HAS_LOCALECONV /**/
426 * This symbol, if defined, indicates that the lockf routine is
427 * available to do file locking.
429 /*#define HAS_LOCKF /**/
432 * This symbol, if defined, indicates that the lstat routine is
433 * available to do file stats on symbolic links.
435 /*#define HAS_LSTAT /**/
438 * This symbol, if defined, indicates that the mblen routine is available
439 * to find the number of bytes in a multibye character.
441 #define HAS_MBLEN /**/
444 * This symbol, if defined, indicates that the mbstowcs routine is
445 * available to covert a multibyte string into a wide character string.
447 #define HAS_MBSTOWCS /**/
450 * This symbol, if defined, indicates that the mbtowc routine is available
451 * to covert a multibyte to a wide character.
453 #define HAS_MBTOWC /**/
456 * This symbol, if defined, indicates that the memcmp routine is available
457 * to compare blocks of memory.
459 #define HAS_MEMCMP /**/
462 * This symbol, if defined, indicates that the memcpy routine is available
463 * to copy blocks of memory.
465 #define HAS_MEMCPY /**/
468 * This symbol, if defined, indicates that the memmove routine is available
469 * to copy potentially overlapping blocks of memory. This should be used
470 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
473 #define HAS_MEMMOVE /**/
476 * This symbol, if defined, indicates that the memset routine is available
477 * to set blocks of memory.
479 #define HAS_MEMSET /**/
482 * This symbol, if defined, indicates that the mkdir routine is available
483 * to create directories. Otherwise you should fork off a new process to
486 #define HAS_MKDIR /**/
489 * This symbol, if defined, indicates that the mkfifo routine is
490 * available to create FIFOs. Otherwise, mknod should be able to
491 * do it for you. However, if mkfifo is there, mknod might require
492 * super-user privileges which mkfifo will not.
494 /*#define HAS_MKFIFO /**/
497 * This symbol, if defined, indicates that the mktime routine is
500 #define HAS_MKTIME /**/
503 * This symbol, if defined, indicates that the entire msg*(2) library is
504 * supported (IPC mechanism based on message queues).
506 /*#define HAS_MSG /**/
509 * This symbol, if defined, indicates that the nice routine is
512 /*#define HAS_NICE /**/
515 * This manifest constant lets the C program know that the three
516 * argument form of open(2) is available.
518 /*#define HAS_OPEN3 /**/
521 * This symbol, if defined, indicates that pathconf() is available
522 * to determine file-system related limits and options associated
523 * with a given filename.
526 * This symbol, if defined, indicates that pathconf() is available
527 * to determine file-system related limits and options associated
528 * with a given open file descriptor.
530 /*#define HAS_PATHCONF /**/
531 /*#define HAS_FPATHCONF /**/
534 * This symbol, if defined, indicates that the pause routine is
535 * available to suspend a process until a signal is received.
537 #define HAS_PAUSE /**/
540 * This symbol, if defined, indicates that the pipe routine is
541 * available to create an inter-process channel.
543 #define HAS_PIPE /**/
546 * This symbol, if defined, indicates that the poll routine is
547 * available to poll active file descriptors.
549 /*#define HAS_POLL /**/
552 * This symbol, if defined, indicates that the readdir routine is
553 * available to read directory entries. You may have to include
554 * <dirent.h>. See I_DIRENT.
556 #define HAS_READDIR /**/
559 * This symbol, if defined, indicates that the seekdir routine is
560 * available. You may have to include <dirent.h>. See I_DIRENT.
562 #define HAS_SEEKDIR /**/
565 * This symbol, if defined, indicates that the telldir routine is
566 * available. You may have to include <dirent.h>. See I_DIRENT.
568 #define HAS_TELLDIR /**/
571 * This symbol, if defined, indicates that the rewinddir routine is
572 * available. You may have to include <dirent.h>. See I_DIRENT.
574 #define HAS_REWINDDIR /**/
577 * This symbol, if defined, indicates that the readlink routine is
578 * available to read the value of a symbolic link.
580 /*#define HAS_READLINK /**/
583 * This symbol, if defined, indicates that the rename routine is available
584 * to rename files. Otherwise you should do the unlink(), link(), unlink()
587 #define HAS_RENAME /**/
590 * This symbol, if defined, indicates that the rmdir routine is
591 * available to remove directories. Otherwise you should fork off a
592 * new process to exec /bin/rmdir.
594 #define HAS_RMDIR /**/
597 * This symbol, if defined, indicates that the bcopy routine is available
598 * to copy potentially overlapping memory blocks. Otherwise you should
599 * probably use memmove() or memcpy(). If neither is defined, roll your
602 /*#define HAS_SAFE_BCOPY /**/
605 * This symbol, if defined, indicates that the memcpy routine is available
606 * to copy potentially overlapping memory blocks. Otherwise you should
607 * probably use memmove() or memcpy(). If neither is defined, roll your
610 /*#define HAS_SAFE_MEMCPY /**/
613 * This symbol, if defined, indicates that the memcmp routine is available
614 * and can be used to compare relative magnitudes of chars with their high
615 * bits set. If it is not defined, roll your own version.
617 #define HAS_SANE_MEMCMP /**/
620 * This symbol, if defined, indicates that the select routine is
621 * available to select active file descriptors. If the timeout field
622 * is used, <sys/time.h> may need to be included.
624 #define HAS_SELECT /**/
627 * This symbol, if defined, indicates that the entire sem*(2) library is
630 /*#define HAS_SEM /**/
633 * This symbol, if defined, indicates that the setegid routine is available
634 * to change the effective gid of the current program.
636 /*#define HAS_SETEGID /**/
639 * This symbol, if defined, indicates that the seteuid routine is available
640 * to change the effective uid of the current program.
642 /*#define HAS_SETEUID /**/
645 * This symbol, if defined, indicates that the setlinebuf routine is
646 * available to change stderr or stdout from block-buffered or unbuffered
647 * to a line-buffered mode.
649 /*#define HAS_SETLINEBUF /**/
652 * This symbol, if defined, indicates that the setlocale routine is
653 * available to handle locale-specific ctype implementations.
655 #define HAS_SETLOCALE /**/
658 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
659 * routine is available to set the current process group.
661 /*#define HAS_SETPGRP2 /**/
664 * This symbol, if defined, indicates that the setpriority routine is
665 * available to set a process's priority.
667 /*#define HAS_SETPRIORITY /**/
670 * This symbol, if defined, indicates that the setregid routine is
671 * available to change the real and effective gid of the current
675 * This symbol, if defined, indicates that the setresgid routine is
676 * available to change the real, effective and saved gid of the current
679 /*#define HAS_SETREGID /**/
680 /*#define HAS_SETRESGID /**/
683 * This symbol, if defined, indicates that the setreuid routine is
684 * available to change the real and effective uid of the current
688 * This symbol, if defined, indicates that the setresuid routine is
689 * available to change the real, effective and saved uid of the current
692 /*#define HAS_SETREUID /**/
693 /*#define HAS_SETRESUID /**/
696 * This symbol, if defined, indicates that the setrgid routine is available
697 * to change the real gid of the current program.
699 /*#define HAS_SETRGID /**/
702 * This symbol, if defined, indicates that the setruid routine is available
703 * to change the real uid of the current program.
705 /*#define HAS_SETRUID /**/
708 * This symbol, if defined, indicates that the setsid routine is
709 * available to set the process group ID.
711 /*#define HAS_SETSID /**/
714 * This symbol, if defined, indicates that the entire shm*(2) library is
717 /*#define HAS_SHM /**/
720 * This symbol holds the return type of the shmat() system call.
721 * Usually set to 'void *' or 'char *'.
723 /* HAS_SHMAT_PROTOTYPE:
724 * This symbol, if defined, indicates that the sys/shm.h includes
725 * a prototype for shmat(). Otherwise, it is up to the program to
726 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
727 * but not always right so it should be emitted by the program only
728 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
730 #define Shmat_t void * /**/
731 /*#define HAS_SHMAT_PROTOTYPE /**/
734 * This symbol, if defined, indicates that Vr4's sigaction() routine
737 /*#define HAS_SIGACTION /**/
740 * This symbol, if defined, indicates that the BSD socket interface is
744 * This symbol, if defined, indicates that the BSD socketpair() call is
747 #define HAS_SOCKET /**/
748 /*#define HAS_SOCKETPAIR /**/
751 * This symbol is defined if this system has a stat structure declaring
752 * st_blksize and st_blocks.
754 /*#define USE_STAT_BLOCKS /**/
757 * This symbol is defined if the _ptr and _cnt fields (or similar)
758 * of the stdio FILE structure can be used to access the stdio buffer
759 * for a file handle. If this is defined, then the FILE_ptr(fp)
760 * and FILE_cnt(fp) macros will also be defined and should be used
761 * to access these fields.
764 * This macro is used to access the _ptr field (or equivalent) of the
765 * FILE structure pointed to by its argument. This macro will always be
766 * defined if USE_STDIO_PTR is defined.
769 * This symbol is defined if the FILE_ptr macro can be used as an
773 * This macro is used to access the _cnt field (or equivalent) of the
774 * FILE structure pointed to by its argument. This macro will always be
775 * defined if USE_STDIO_PTR is defined.
778 * This symbol is defined if the FILE_cnt macro can be used as an
781 #define USE_STDIO_PTR /**/
783 #define FILE_ptr(fp) ((fp)->curp)
784 #define STDIO_PTR_LVALUE /**/
785 #define FILE_cnt(fp) ((fp)->level)
786 #define STDIO_CNT_LVALUE /**/
790 * This symbol is defined if the _base field (or similar) of the
791 * stdio FILE structure can be used to access the stdio buffer for
792 * a file handle. If this is defined, then the FILE_base(fp) macro
793 * will also be defined and should be used to access this field.
794 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
795 * to determine the number of bytes in the buffer. USE_STDIO_BASE
796 * will never be defined unless USE_STDIO_PTR is.
799 * This macro is used to access the _base field (or equivalent) of the
800 * FILE structure pointed to by its argument. This macro will always be
801 * defined if USE_STDIO_BASE is defined.
804 * This macro is used to determine the number of bytes in the I/O
805 * buffer pointed to by _base field (or equivalent) of the FILE
806 * structure pointed to its argument. This macro will always be defined
807 * if USE_STDIO_BASE is defined.
809 #define USE_STDIO_BASE /**/
810 #ifdef USE_STDIO_BASE
811 #define FILE_base(fp) ((fp)->buffer)
812 #define FILE_bufsiz(fp) ((fp)->level + (fp)->curp - (fp)->buffer)
816 * This symbol is defined to indicate that the strchr()/strrchr()
817 * functions are available for string searching. If not, try the
818 * index()/rindex() pair.
821 * This symbol is defined to indicate that the index()/rindex()
822 * functions are available for string searching.
824 #define HAS_STRCHR /**/
825 /*#define HAS_INDEX /**/
828 * This symbol, if defined, indicates that the strcoll routine is
829 * available to compare strings using collating information.
831 #define HAS_STRCOLL /**/
834 * This symbol, if defined, indicates that this C compiler knows how
835 * to copy structures. If undefined, you'll need to use a block copy
836 * routine of some sort instead.
838 #define USE_STRUCT_COPY /**/
841 * This symbol, if defined, indicates that the strerror routine is
842 * available to translate error numbers to strings. See the writeup
843 * of Strerror() in this file before you try to define your own.
846 * This symbol, if defined, indicates that the sys_errlist array is
847 * available to translate error numbers to strings. The extern int
848 * sys_nerr gives the size of that table.
851 * This preprocessor symbol is defined as a macro if strerror() is
852 * not available to translate error numbers to strings but sys_errlist[]
855 #define HAS_STRERROR /**/
856 #define HAS_SYS_ERRLIST /**/
857 #define Strerror(e) strerror(e)
860 * This symbol, if defined, indicates that the strtod routine is
861 * available to provide better numeric string conversion than atof().
863 #define HAS_STRTOD /**/
866 * This symbol, if defined, indicates that the strtol routine is available
867 * to provide better numeric string conversion than atoi() and friends.
869 #define HAS_STRTOL /**/
872 * This symbol, if defined, indicates that the strtoul routine is
873 * available to provide conversion of strings to unsigned long.
875 #define HAS_STRTOUL /**/
878 * This symbol, if defined, indicates that the strxfrm() routine is
879 * available to transform strings.
881 #define HAS_STRXFRM /**/
884 * This symbol, if defined, indicates that the symlink routine is available
885 * to create symbolic links.
887 /*#define HAS_SYMLINK /**/
890 * This symbol, if defined, indicates that the syscall routine is
891 * available to call arbitrary system calls. If undefined, that's tough.
893 /*#define HAS_SYSCALL /**/
896 * This symbol, if defined, indicates that sysconf() is available
897 * to determine system related limits and options.
899 /*#define HAS_SYSCONF /**/
902 * This symbol, if defined, indicates that the system routine is
903 * available to issue a shell command.
905 #define HAS_SYSTEM /**/
908 * This symbol, if defined, indicates that the tcgetpgrp routine is
909 * available to get foreground process group ID.
911 /*#define HAS_TCGETPGRP /**/
914 * This symbol, if defined, indicates that the tcsetpgrp routine is
915 * available to set foreground process group ID.
917 /*#define HAS_TCSETPGRP /**/
920 * This symbol holds the type returned by time(). It can be long,
921 * or time_t on BSD sites (in which case <sys/types.h> should be
924 #define Time_t time_t /* Time type */
927 * This symbol, if defined, indicates that the times() routine exists.
928 * Note that this became obsolete on some systems (SUNOS), which now
929 * use getrusage(). It may be necessary to include <sys/times.h>.
931 #define HAS_TIMES /**/
934 * This symbol, if defined, indicates that the truncate routine is
935 * available to truncate files.
937 /*#define HAS_TRUNCATE /**/
940 * This symbol, if defined, indicates that the tzname[] array is
941 * available to access timezone names.
943 #define HAS_TZNAME /**/
946 * This symbol, if defined, indicates that the umask routine is
947 * available to set and get the value of the file creation mask.
949 #define HAS_UMASK /**/
952 * This symbol, if defined, indicates that vfork() exists.
954 /*#define HAS_VFORK /**/
957 * This symbol's value is either "void" or "int", corresponding to the
958 * appropriate return type of a signal handler. Thus, you can declare
959 * a signal handler using "Signal_t (*handler)()", and define the
960 * handler using "Signal_t handler(sig)".
962 #define Signal_t void /* Signal handler's return type */
965 * This symbol, if defined, indicates that this C compiler knows about
966 * the volatile declaration.
968 #define HASVOLATILE /**/
974 * This symbol, if defined, indicates that the vprintf routine is available
975 * to printf with a pointer to an argument list. If unavailable, you
976 * may need to write your own, probably in terms of _doprnt().
978 /* USE_CHAR_VSPRINTF:
979 * This symbol is defined if this system has vsprintf() returning type
980 * (char*). The trend seems to be to declare it as "int vsprintf()". It
981 * is up to the package author to declare vsprintf correctly based on the
984 #define HAS_VPRINTF /**/
985 /*#define USE_CHAR_VSPRINTF /**/
988 * This symbol, if defined, indicates that wait4() exists.
990 /*#define HAS_WAIT4 /**/
993 * This symbol, if defined, indicates that the waitpid routine is
994 * available to wait for child process.
996 /*#define HAS_WAITPID /**/
999 * This symbol, if defined, indicates that the wcstombs routine is
1000 * available to convert wide character strings to multibyte strings.
1002 #define HAS_WCSTOMBS /**/
1005 * This symbol, if defined, indicates that the wctomb routine is available
1006 * to covert a wide character to a multibyte.
1008 #define HAS_WCTOMB /**/
1011 * This symbol holds the type used to declare file positions in libc.
1012 * It can be fpos_t, long, uint, etc... It may be necessary to include
1013 * <sys/types.h> to get any typedef'ed information.
1015 #define Fpos_t fpos_t /* File position type */
1018 * This symbol holds the return type of getgid() and the type of
1019 * argument to setrgid() and related functions. Typically,
1020 * it is the type of group ids in the kernel. It can be int, ushort,
1021 * uid_t, etc... It may be necessary to include <sys/types.h> to get
1022 * any typedef'ed information.
1024 #define Gid_t gid_t /* Type for getgid(), etc... */
1027 * This symbol holds the type used for the second argument to
1028 * [gs]etgroups(). Usually, this is the same of gidtype, but
1029 * sometimes it isn't. It can be int, ushort, uid_t, etc...
1030 * It may be necessary to include <sys/types.h> to get any
1031 * typedef'ed information. This is only required if you have
1032 * getgroups() or setgroups().
1034 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1035 #define Groups_t gid_t /* Type for 2nd arg to [gs]etgroups() */
1039 * This symbol contains the type of the prefix structure element
1040 * in the <db.h> header file. In older versions of DB, it was
1041 * int, while in newer ones it is u_int32_t.
1044 * This symbol contains the type of the prefix structure element
1045 * in the <db.h> header file. In older versions of DB, it was
1046 * int, while in newer ones it is size_t.
1048 #define DB_Hash_t int /**/
1049 #define DB_Prefix_t int /**/
1052 * This symbol, if defined, indicates to the C program that it should
1053 * include <dirent.h>. Using this symbol also triggers the definition
1054 * of the Direntry_t define which ends up being 'struct dirent' or
1055 * 'struct direct' depending on the availability of <dirent.h>.
1058 * This symbol, if defined, indicates to the C program that the length
1059 * of directory entry names is provided by a d_namlen field. Otherwise
1060 * you need to do strlen() on the d_name field.
1063 * This symbol is set to 'struct direct' or 'struct dirent' depending on
1064 * whether dirent is available or not. You should use this pseudo type to
1065 * portably declare your directory entries.
1067 #define I_DIRENT /**/
1068 #define DIRNAMLEN /**/
1069 #define Direntry_t struct direct
1072 * This symbol, if defined, indicates that <dlfcn.h> exists and should
1075 #define I_DLFCN /**/
1078 * This manifest constant tells the C program to include <fcntl.h>.
1080 #define I_FCNTL /**/
1083 * This symbol, if defined, indicates to the C program that it should
1084 * include <float.h> to get definition of symbols like DBL_MAX or
1085 * DBL_MIN, i.e. machine dependent floating point values.
1087 #define I_FLOAT /**/
1090 * This symbol, if defined, indicates to the C program that it should
1096 * This symbol, if defined, indicates to the C program that it should
1097 * include <limits.h> to get definition of symbols like WORD_BIT or
1098 * LONG_MAX, i.e. machine dependant limitations.
1100 #define I_LIMITS /**/
1103 * This symbol, if defined, indicates to the C program that it should
1109 * This symbol, if defined, indicates to the C program that it should
1110 * include <memory.h>.
1112 /*#define I_MEMORY /**/
1115 * This symbol, if defined, indicates that <ndbm.h> exists and should
1118 /*#define I_NDBM /**/
1121 * This symbol, if defined, indicates that <net/errno.h> exists and
1122 * should be included.
1124 /*#define I_NET_ERRNO /**/
1127 * This symbol, if defined, indicates to the C program that it should
1128 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
1130 /*#define I_NETINET_IN /**/
1133 * This symbol, if defined, indicates that <netdb.h> exists and
1134 * should be included.
1136 /*#define I_NETDB /**/
1139 * This symbol, if defined, indicates to the C program that it should
1143 * This symbol, if defined, indicates to the C program that struct passwd
1144 * contains pw_quota.
1147 * This symbol, if defined, indicates to the C program that struct passwd
1151 * This symbol, if defined, indicates to the C program that struct passwd
1152 * contains pw_change.
1155 * This symbol, if defined, indicates to the C program that struct passwd
1156 * contains pw_class.
1159 * This symbol, if defined, indicates to the C program that struct passwd
1160 * contains pw_expire.
1163 * This symbol, if defined, indicates to the C program that struct passwd
1164 * contains pw_comment.
1166 /*#define I_PWD /**/
1167 /*#define PWQUOTA /**/
1168 /*#define PWAGE /**/
1169 /*#define PWCHANGE /**/
1170 /*#define PWCLASS /**/
1171 /*#define PWEXPIRE /**/
1172 /*#define PWCOMMENT /**/
1175 * This symbol, if defined, indicates that <stddef.h> exists and should
1178 #define I_STDDEF /**/
1181 * This symbol, if defined, indicates that <stdlib.h> exists and should
1184 #define I_STDLIB /**/
1187 * This symbol, if defined, indicates to the C program that it should
1188 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
1190 #define I_STRING /**/
1193 * This symbol, if defined, indicates to the C program that it should
1194 * include <sys/dir.h>.
1196 /*#define I_SYS_DIR /**/
1199 * This symbol, if defined, indicates to the C program that it should
1200 * include <sys/file.h> to get definition of R_OK and friends.
1202 /*#define I_SYS_FILE /**/
1205 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
1206 * be included. Otherwise, include <sgtty.h> or <termio.h>.
1208 /*#define I_SYS_IOCTL /**/
1211 * This symbol, if defined, indicates to the C program that it should
1212 * include <sys/ndir.h>.
1214 /*#define I_SYS_NDIR /**/
1217 * This symbol, if defined, indicates to the C program that it should
1218 * include <sys/param.h>.
1220 /*#define I_SYS_PARAM /**/
1223 * This symbol, if defined, indicates to the C program that it should
1224 * include <sys/resource.h>.
1226 /*#define I_SYS_RESOURCE /**/
1229 * This symbol, if defined, indicates to the C program that it should
1230 * include <sys/select.h> in order to get definition of struct timeval.
1232 /*#define I_SYS_SELECT /**/
1235 * This symbol, if defined, indicates to the C program that it should
1236 * include <sys/times.h>.
1238 /*#define I_SYS_TIMES /**/
1241 * This symbol, if defined, indicates to the C program that it should
1242 * include <sys/types.h>.
1244 #define I_SYS_TYPES /**/
1247 * This symbol, if defined, indicates to the C program that it should
1248 * include <sys/un.h> to get UNIX domain socket definitions.
1250 /*#define I_SYS_UN /**/
1253 * This symbol, if defined, indicates to the C program that it should
1254 * include <sys/wait.h>.
1256 /*#define I_SYS_WAIT /**/
1259 * This symbol, if defined, indicates that the program should include
1260 * <termio.h> rather than <sgtty.h>. There are also differences in
1261 * the ioctl() calls that depend on the value of this symbol.
1264 * This symbol, if defined, indicates that the program should include
1265 * the POSIX termios.h rather than sgtty.h or termio.h.
1266 * There are also differences in the ioctl() calls that depend on the
1267 * value of this symbol.
1270 * This symbol, if defined, indicates that the program should include
1271 * <sgtty.h> rather than <termio.h>. There are also differences in
1272 * the ioctl() calls that depend on the value of this symbol.
1274 /*#define I_TERMIO /**/
1275 /*#define I_TERMIOS /**/
1276 /*#define I_SGTTY /**/
1279 * This symbol, if defined, indicates to the C program that it should
1283 * This symbol, if defined, indicates to the C program that it should
1284 * include <sys/time.h>.
1286 /* I_SYS_TIME_KERNEL:
1287 * This symbol, if defined, indicates to the C program that it should
1288 * include <sys/time.h> with KERNEL defined.
1291 /*#define I_SYS_TIME /**/
1292 /*#define I_SYS_TIME_KERNEL /**/
1295 * This symbol, if defined, indicates to the C program that it should
1296 * include <unistd.h>.
1298 /*#define I_UNISTD /**/
1301 * This symbol, if defined, indicates to the C program that it should
1302 * include <utime.h>.
1304 #define I_UTIME /**/
1307 * This symbol, if defined, indicates that <stdarg.h> exists and should
1311 * This symbol, if defined, indicates to the C program that it should
1312 * include <varargs.h>.
1314 #define I_STDARG /**/
1315 /*#define I_VARARGS /**/
1318 * This symbol, if defined, indicates to the C program that it should
1321 /*#define I_VFORK /**/
1324 * This symbol contains the value of sizeof(int) so that the C
1325 * preprocessor can make decisions based on it.
1328 * This symbol contains the value of sizeof(long) so that the C
1329 * preprocessor can make decisions based on it.
1332 * This symbol contains the value of sizeof(short) so that the C
1333 * preprocessor can make decisions based on it.
1335 #define INTSIZE 4 /**/
1336 #define LONGSIZE 4 /**/
1337 #define SHORTSIZE 2 /**/
1340 * This symbol holds the type used to declare offsets in the kernel.
1341 * It can be int, long, off_t, etc... It may be necessary to include
1342 * <sys/types.h> to get any typedef'ed information.
1344 #define Off_t off_t /* <offset> type */
1347 * This symbol holds the type used to declare file modes
1348 * for systems calls. It is usually mode_t, but may be
1349 * int or unsigned short. It may be necessary to include <sys/types.h>
1350 * to get any typedef'ed information.
1352 #define Mode_t mode_t /* file mode parameter for system calls */
1355 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1356 * non-blocking I/O for the file descriptor. Note that there is no way
1357 * back, i.e. you cannot turn it blocking again this way. If you wish to
1358 * alternatively switch between blocking and non-blocking, use the
1359 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1362 * This symbol holds the errno error code set by read() when no data was
1363 * present on the non-blocking file descriptor.
1366 * This symbol holds the return code from read() when no data is present
1367 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1368 * not defined, then you can't distinguish between no data and EOF by
1369 * issuing a read(). You'll have to find another way to tell for sure!
1372 * This symbol, if defined, indicates to the C program that a read() on
1373 * a non-blocking file descriptor will return 0 on EOF, and not the value
1374 * held in RD_NODATA (-1 usually, in that case!).
1376 #define VAL_O_NONBLOCK O_NONBLOCK
1377 #define VAL_EAGAIN EAGAIN
1378 #define RD_NODATA -1
1379 #define EOF_NONBLOCK
1382 * If defined, this macro indicates that the C compiler can handle
1383 * function prototypes.
1386 * This macro is used to declare function parameters for folks who want
1387 * to make declarations with prototypes using a different style than
1388 * the above macros. Use double parentheses. For example:
1390 * int main _((int argc, char *argv[]));
1392 #define CAN_PROTOTYPE /**/
1393 #ifdef CAN_PROTOTYPE
1394 #define _(args) args
1400 * This symbol contains the number of bits of random number the rand()
1401 * function produces. Usual values are 15, 16, and 31.
1403 #define RANDBITS 15 /**/
1406 * This symbol holds the type used for the 2nd, 3rd, and 4th
1407 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
1408 * is defined, and 'int *' otherwise. This is only useful if you
1409 * have select(), of course.
1411 #define Select_fd_set_t Perl_fd_set * /**/
1414 * This symbol holds the type used to declare length parameters
1415 * for string functions. It is usually size_t, but may be
1416 * unsigned long, int, etc. It may be necessary to include
1417 * <sys/types.h> to get any typedef'ed information.
1419 #define Size_t size_t /* length paramater for string functions */
1422 * This symbol holds the type used by functions that return
1423 * a count of bytes or an error condition. It must be a signed type.
1424 * It is usually ssize_t, but may be long or int, etc.
1425 * It may be necessary to include <sys/types.h> or <unistd.h>
1426 * to get any typedef'ed information.
1427 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1429 #define SSize_t int /* signed count of bytes */
1432 * This symbol is defined to be the type of char used in stdio.h.
1433 * It has the values "unsigned char" or "char".
1435 #define STDCHAR unsigned char /**/
1438 * This symbol holds the type used to declare user ids in the kernel.
1439 * It can be int, ushort, uid_t, etc... It may be necessary to include
1440 * <sys/types.h> to get any typedef'ed information.
1442 #define Uid_t uid_t /* UID type */
1445 * This symbol holds the complete pathname to the sed program.
1447 #define LOC_SED "" /**/
1450 * This symbol contains the name of the operating system, as determined
1451 * by Configure. You shouldn't rely on it too much; the specific
1452 * feature tests from Configure are generally more reliable.
1454 #define OSNAME "MSWin32" /**/
1457 * This variable, if defined, holds the name of the directory in
1458 * which the user wants to put architecture-dependent public
1459 * library files for perl5. It is most often a local directory
1460 * such as /usr/local/lib. Programs using this variable must be
1461 * prepared to deal with filename expansion. If ARCHLIB is the
1462 * same as PRIVLIB, it is not defined, since presumably the
1463 * program already searches PRIVLIB.
1466 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1467 * in programs that are not prepared to deal with ~ expansion at run-time.
1469 #define ARCHLIB "c:\\perl\\lib" /**/
1470 #define ARCHLIB_EXP (win32PerlLibPath()) /**/
1471 #define APPLLIB_EXP (win32SiteLibPath()) /**/
1474 * This symbol, if defined, indicates that Perl 5.004 should be
1475 * binary-compatible with Perl 5.003.
1477 /*#define BINCOMPAT3 /**/
1480 * This symbol holds the hexadecimal constant defined in byteorder,
1481 * i.e. 0x1234 or 0x4321, etc...
1482 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1483 * Binaries (MAB) on either big endian or little endian machines.
1484 * The endian-ness is available at compile-time. This only matters
1485 * for perl, where the config.h can be generated and installed on
1486 * one system, and used by a different architecture to build an
1487 * extension. Older versions of NeXT that might not have
1488 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1489 * so the default case (for NeXT) is big endian to catch them.
1490 * This might matter for NeXT 3.0.
1493 #define BYTEORDER 0x1234 /* large digits for MSB */
1495 #ifdef __LITTLE_ENDIAN__
1496 #define BYTEORDER 0x1234
1497 #else /* __BIG_ENDIAN__ */
1498 #define BYTEORDER 0x4321
1499 #endif /* ENDIAN CHECK */
1503 * This symbol, if defined, indicates that the C-shell exists.
1504 * If defined, contains the full pathname of csh.
1506 /*#define CSH "" /**/
1508 /* DLSYM_NEEDS_UNDERSCORE:
1509 * This symbol, if defined, indicates that we need to prepend an
1510 * underscore to the symbol name before calling dlsym(). This only
1511 * makes sense if you *have* dlsym, which we will presume is the
1512 * case if you're using dl_dlopen.xs.
1514 /*#define DLSYM_NEEDS_UNDERSCORE /**/
1516 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1517 * This symbol, if defined, indicates that the bug that prevents
1518 * setuid scripts from being secure is not present in this kernel.
1521 * This symbol, if defined, indicates that the C program should
1522 * check the script that it is executing for setuid/setgid bits, and
1523 * attempt to emulate setuid/setgid on systems that have disabled
1524 * setuid #! scripts because the kernel can't do it securely.
1525 * It is up to the package designer to make sure that this emulation
1526 * is done securely. Among other things, it should do an fstat on
1527 * the script it just opened to make sure it really is a setuid/setgid
1528 * script, it should make sure the arguments passed correspond exactly
1529 * to the argument on the #! line, and it should not trust any
1530 * subprocesses to which it must pass the filename rather than the
1531 * file descriptor of the script to be executed.
1533 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1534 /*#define DOSUID /**/
1537 * This preprocessor macro is defined to convert a floating point
1538 * number to a string without a trailing decimal point. This
1539 * emulates the behavior of sprintf("%g"), but is sometimes much more
1540 * efficient. If gconvert() is not available, but gcvt() drops the
1541 * trailing decimal point, then gcvt() is used. If all else fails,
1542 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1543 * macro are: value, number of digits, whether trailing zeros should
1544 * be retained, and the output buffer.
1545 * Possible values are:
1546 * d_Gconvert='gconvert((x),(n),(t),(b))'
1547 * d_Gconvert='gcvt((x),(n),(b))'
1548 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1549 * The last two assume trailing zeros should not be kept.
1551 #define Gconvert(x,n,t,b) gcvt((x),(n),(b))
1554 * This symbol, if defined, indicates to the C program that
1555 * the getpgid(pid) function is available to get the
1558 /*#define HAS_GETPGID /**/
1561 * This symbol, if defined, indicates that the getpgrp routine is
1562 * available to get the current process group.
1565 * This symbol, if defined, indicates that getpgrp needs one
1566 * arguments whereas USG one needs none.
1568 /*#define HAS_GETPGRP /**/
1569 /*#define USE_BSD_GETPGRP /**/
1572 * This symbol, if defined, indicates to the C program that the
1573 * inet_aton() function is available to parse IP address "dotted-quad"
1576 /*#define HAS_INET_ATON /**/
1579 * This symbol, if defined, indicates to the C program that
1580 * the setpgid(pid, gpid) function is available to set the
1583 /*#define HAS_SETPGID /**/
1586 * This symbol, if defined, indicates that the setpgrp routine is
1587 * available to set the current process group.
1590 * This symbol, if defined, indicates that setpgrp needs two
1591 * arguments whereas USG one needs none. See also HAS_SETPGID
1592 * for a POSIX interface.
1595 * This symbol, if defined, indicates that the BSD notion of process
1596 * group is to be used. For instance, you have to say setpgrp(pid, pgrp)
1597 * instead of the USG setpgrp(). This should be obsolete since
1598 * there are systems which have BSD-ish setpgrp but USG-ish getpgrp.
1600 /*#define HAS_SETPGRP /**/
1601 /*#define USE_BSD_SETPGRP /**/
1602 /*#define USE_BSDPGRP /**/
1605 * This symbol, if defined, indicates that sfio should
1608 /*#define USE_SFIO /**/
1611 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1614 * This macro is used in the same way as sigsetjmp(), but will invoke
1615 * traditional setjmp() if sigsetjmp isn't available.
1616 * See HAS_SIGSETJMP.
1619 * This macro is used in the same way as siglongjmp(), but will invoke
1620 * traditional longjmp() if siglongjmp isn't available.
1621 * See HAS_SIGSETJMP.
1623 /*#define HAS_SIGSETJMP /**/
1624 #ifdef HAS_SIGSETJMP
1625 #define Sigjmp_buf sigjmp_buf
1626 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1627 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1629 #define Sigjmp_buf jmp_buf
1630 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1631 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1634 /* USE_DYNAMIC_LOADING:
1635 * This symbol, if defined, indicates that dynamic loading of
1636 * some sort is available.
1638 #define USE_DYNAMIC_LOADING /**/
1641 * This symbol, if defined, indicates that <dbm.h> exists and should
1645 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
1646 * should be included.
1648 /*#define I_DBM /**/
1649 #define I_RPCSVC_DBM /**/
1652 * This symbol, if defined, indicates to the C program that it should
1653 * include <locale.h>.
1655 #define I_LOCALE /**/
1658 * This symbol, if defined, indicates to the C program that it should
1661 /*#define I_SFIO /**/
1664 * This symbol, if defined, indicates to the C program that it should
1665 * include <sys/stat.h>.
1667 #define I_SYS_STAT /**/
1670 * This symbol, if defined, indicates to the C program that it should
1671 * include <values.h> to get definition of symbols like MINFLOAT or
1672 * MAXLONG, i.e. machine dependant limitations. Probably, you
1673 * should use <limits.h> instead, if it is available.
1675 /*#define I_VALUES /**/
1678 * This variable contains the return type of free(). It is usually
1679 * void, but occasionally int.
1682 * This symbol is the type of pointer returned by malloc and realloc.
1684 #define Malloc_t void * /**/
1685 #define Free_t void /**/
1688 * This symbol, if defined, indicates that we're using our own malloc.
1690 #define MYMALLOC /**/
1693 * This variable, if defined, holds the name of the directory in
1694 * which the user has perl5.000 or perl5.001 architecture-dependent
1695 * public library files for perl5. For the most part, these
1696 * files will work with 5.002 (and later), but that is not
1700 * This symbol contains the ~name expanded version of OLDARCHLIB, to be
1701 * used in programs that are not prepared to deal with ~ expansion at
1704 /*#define OLDARCHLIB "" /**/
1705 /*#define OLDARCHLIB_EXP "" /**/
1708 * This symbol contains the name of the private library for this package.
1709 * The library is private in the sense that it needn't be in anyone's
1710 * execution path, but it should be accessible by the world. The program
1711 * should be prepared to do ~ expansion.
1714 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1715 * in programs that are not prepared to deal with ~ expansion at run-time.
1717 #define PRIVLIB "c:\\perl\\lib" /**/
1718 #define PRIVLIB_EXP "c:\\perl\\lib" /**/
1721 * This symbol contains the full pathname to the shell used on this
1722 * on this system to execute Bourne shell scripts. Usually, this will be
1723 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1724 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
1727 #define SH_PATH "cmd /x /c" /**/
1730 * This symbol contains a list of signal names in order of
1731 * signal number. This is intended
1732 * to be used as a static array initialization, like this:
1733 * char *sig_name[] = { SIG_NAME };
1734 * The signals in the list are separated with commas, and each signal
1735 * is surrounded by double quotes. There is no leading SIG in the signal
1736 * name, i.e. SIGQUIT is known as "QUIT".
1737 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1738 * etc., where nn is the actual signal number (e.g. NUM37).
1739 * The signal number for sig_name[i] is stored in sig_num[i].
1740 * The last element is 0 to terminate the list with a NULL. This
1741 * corresponds to the 0 at the end of the sig_num list.
1744 * This symbol contains a list of signal numbers, in the same order as the
1745 * SIG_NAME list. It is suitable for static array initialization, as in:
1746 * int sig_num[] = { SIG_NUM };
1747 * The signals in the list are separated with commas, and the indices
1748 * within that list and the SIG_NAME list match, so it's easy to compute
1749 * the signal name from a number or vice versa at the price of a small
1750 * dynamic linear lookup.
1751 * Duplicates are allowed, but are moved to the end of the list.
1752 * The signal number corresponding to sig_name[i] is sig_number[i].
1753 * if (i < NSIG) then sig_number[i] == i.
1754 * The last element is 0, corresponding to the 0 at the end of
1755 * the sig_name list.
1757 #define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","ABRT","EMT","FPE","KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM","USR1","USR2","CHLD","PWR","WINCH","URG","IO","STOP","TSTP","CONT","TTIN","TTOU","VTALRM","PROF","XCPU","XFSZ","WAITING","LWP","FREEZE","THAW","RTMIN","NUM37","NUM38","NUM39","NUM40","NUM41","NUM42","RTMAX","IOT","CLD","POLL",0 /**/
1758 #define SIG_NUM 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,6,18,22,0 /**/
1761 * This symbol contains the name of the private library for this package.
1762 * The library is private in the sense that it needn't be in anyone's
1763 * execution path, but it should be accessible by the world. The program
1764 * should be prepared to do ~ expansion.
1765 * The standard distribution will put nothing in this directory.
1766 * Individual sites may place their own extensions and modules in
1770 * This symbol contains the ~name expanded version of SITEARCH, to be used
1771 * in programs that are not prepared to deal with ~ expansion at run-time.
1773 #define SITEARCH "c:\\perl\\lib\\site" /**/
1774 #define SITEARCH_EXP "c:\\perl\\lib\\site" /**/
1777 * This symbol contains the name of the private library for this package.
1778 * The library is private in the sense that it needn't be in anyone's
1779 * execution path, but it should be accessible by the world. The program
1780 * should be prepared to do ~ expansion.
1781 * The standard distribution will put nothing in this directory.
1782 * Individual sites may place their own extensions and modules in
1786 * This symbol contains the ~name expanded version of SITELIB, to be used
1787 * in programs that are not prepared to deal with ~ expansion at run-time.
1789 #define SITELIB "c:\\perl\\lib\\site" /**/
1790 #define SITELIB_EXP "c:\\perl\\lib\\site" /**/
1793 * This variable contains the string to put in front of a perl
1794 * script to make sure (one hopes) that it runs with perl and not
1797 #define STARTPERL "#!perl" /**/
1800 * This symbol, if defined, indicates that the PerlIO abstraction should
1801 * be used throughout. If not defined, stdio should be
1802 * used in a fully backward compatible manner.
1804 /*#define USE_PERLIO /**/
1807 * This symbol indicates how much support of the void type is given by this
1808 * compiler. What various bits mean:
1810 * 1 = supports declaration of void
1811 * 2 = supports arrays of pointers to functions returning void
1812 * 4 = supports comparisons between pointers to void functions and
1813 * addresses of void functions
1814 * 8 = suports declaration of generic void pointers
1816 * The package designer should define VOIDUSED to indicate the requirements
1817 * of the package. This can be done either by #defining VOIDUSED before
1818 * including config.h, or by defining defvoidused in Myinit.U. If the
1819 * latter approach is taken, only those flags will be tested. If the
1820 * level of void support necessary is not present, defines void to int.
1825 #define VOIDFLAGS 15
1826 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1827 #define void int /* is void to be avoided? */
1828 #define M_VOID /* Xenix strikes again */