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-x86" /**/
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 /**/
314 /* HAS_GETHOSTBYADDR:
315 * This symbol, if defined, indicates that the gethostbyaddr routine is
316 * available to lookup hosts by their IP addresses.
318 #define HAS_GETHOSTBYADDR /**/
321 * This symbol holds the type used for the 1st argument
322 * to gethostbyaddr().
324 #define Netdb_host_t char *
327 * This symbol holds the type used for the 2nd argument
328 * to gethostbyaddr().
330 #define Netdb_hlen_t int
332 /* HAS_GETHOSTBYNAME:
333 * This symbol, if defined, indicates that the gethostbyname routine is
334 * available to lookup hosts by their DNS names.
336 #define HAS_GETHOSTBYNAME /**/
339 * This symbol holds the type used for the 1st argument
340 * to gethostbyname(), the 1st argument to getnetbyname(),
341 * the 1st argument to getprotobyname(), the 1st argument to
342 * getservbyname(), the 2nd argument to getservbyname(),
343 * and the 2nd argument to getservbyport().
345 #define Netdb_name_t char *
348 * This symbol, if defined, indicates that the getnetbyaddr routine is
349 * available to lookup networks by their IP addresses.
351 /*#define HAS_GETNETBYADDR /**/
354 * This symbol holds the type used for the 1st argument
357 #define Netdb_net_t long
360 * This symbol, if defined, indicates that the getnetbyname routine is
361 * available to lookup networks by their names.
363 /*#define HAS_GETNETBYNAME /**/
365 /* HAS_GETPROTOBYNAME:
366 * This symbol, if defined, indicates that the getprotobyname routine is
367 * available to lookup protocols by their names.
369 #define HAS_GETPROTOBYNAME /**/
371 /* HAS_GETPROTOBYNUMBER:
372 * This symbol, if defined, indicates that the getprotobynumber routine is
373 * available to lookup protocols by their numbers.
375 #define HAS_GETPROTOBYNUMBER /**/
377 /* HAS_GETSERVBYNAME:
378 * This symbol, if defined, indicates that the getservbyname routine is
379 * available to lookup services by their names.
381 #define HAS_GETSERVBYNAME /**/
383 /* HAS_GETSERVBYPORT:
384 * This symbol, if defined, indicates that the getservbyport routine is
385 * available to lookup services by their ports.
387 #define HAS_GETSERVBYPORT /**/
390 * This symbol, if defined, indicates that the C program may use the
391 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
394 /*#define HAS_UNAME /**/
397 * This symbol, if defined, indicates that the getlogin routine is
398 * available to get the login name.
400 #define HAS_GETLOGIN /**/
403 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
404 * routine is available to get the current process group.
406 /*#define HAS_GETPGRP2 /**/
409 * This symbol, if defined, indicates that the getppid routine is
410 * available to get the parent process ID.
412 /*#define HAS_GETPPID /**/
415 * This symbol, if defined, indicates that the getpriority routine is
416 * available to get a process's priority.
418 /*#define HAS_GETPRIORITY /**/
421 * This symbol, if defined, indicates that the htonl() routine (and
422 * friends htons() ntohl() ntohs()) are available to do network
423 * order byte swapping.
426 * This symbol, if defined, indicates that the htons() routine (and
427 * friends htonl() ntohl() ntohs()) are available to do network
428 * order byte swapping.
431 * This symbol, if defined, indicates that the ntohl() routine (and
432 * friends htonl() htons() ntohs()) are available to do network
433 * order byte swapping.
436 * This symbol, if defined, indicates that the ntohs() routine (and
437 * friends htonl() htons() ntohl()) are available to do network
438 * order byte swapping.
440 #define HAS_HTONL /**/
441 #define HAS_HTONS /**/
442 #define HAS_NTOHL /**/
443 #define HAS_NTOHS /**/
446 * This manifest constant lets the C program know that isascii
449 #define HAS_ISASCII /**/
452 * This symbol, if defined, indicates that the killpg routine is available
453 * to kill process groups. If unavailable, you probably should use kill
454 * with a negative process number.
456 /*#define HAS_KILLPG /**/
459 * This symbol, if defined, indicates that the link routine is
460 * available to create hard links.
462 /*#define HAS_LINK /**/
465 * This symbol, if defined, indicates that the localeconv routine is
466 * available for numeric and monetary formatting conventions.
468 #define HAS_LOCALECONV /**/
471 * This symbol, if defined, indicates that the lockf routine is
472 * available to do file locking.
474 /*#define HAS_LOCKF /**/
477 * This symbol, if defined, indicates that the lstat routine is
478 * available to do file stats on symbolic links.
480 /*#define HAS_LSTAT /**/
483 * This symbol, if defined, indicates that the mblen routine is available
484 * to find the number of bytes in a multibye character.
486 #define HAS_MBLEN /**/
489 * This symbol, if defined, indicates that the mbstowcs routine is
490 * available to covert a multibyte string into a wide character string.
492 #define HAS_MBSTOWCS /**/
495 * This symbol, if defined, indicates that the mbtowc routine is available
496 * to covert a multibyte to a wide character.
498 #define HAS_MBTOWC /**/
501 * This symbol, if defined, indicates that the memcmp routine is available
502 * to compare blocks of memory.
504 #define HAS_MEMCMP /**/
507 * This symbol, if defined, indicates that the memcpy routine is available
508 * to copy blocks of memory.
510 #define HAS_MEMCPY /**/
513 * This symbol, if defined, indicates that the memmove routine is available
514 * to copy potentially overlapping blocks of memory. This should be used
515 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
518 #define HAS_MEMMOVE /**/
521 * This symbol, if defined, indicates that the memset routine is available
522 * to set blocks of memory.
524 #define HAS_MEMSET /**/
527 * This symbol, if defined, indicates that the mkdir routine is available
528 * to create directories. Otherwise you should fork off a new process to
531 #define HAS_MKDIR /**/
534 * This symbol, if defined, indicates that the mkfifo routine is
535 * available to create FIFOs. Otherwise, mknod should be able to
536 * do it for you. However, if mkfifo is there, mknod might require
537 * super-user privileges which mkfifo will not.
539 /*#define HAS_MKFIFO /**/
542 * This symbol, if defined, indicates that the mktime routine is
545 #define HAS_MKTIME /**/
548 * This symbol, if defined, indicates that the entire msg*(2) library is
549 * supported (IPC mechanism based on message queues).
551 /*#define HAS_MSG /**/
554 * This symbol, if defined, indicates that the nice routine is
557 /*#define HAS_NICE /**/
560 * This manifest constant lets the C program know that the three
561 * argument form of open(2) is available.
563 /*#define HAS_OPEN3 /**/
566 * This symbol, if defined, indicates that pathconf() is available
567 * to determine file-system related limits and options associated
568 * with a given filename.
571 * This symbol, if defined, indicates that pathconf() is available
572 * to determine file-system related limits and options associated
573 * with a given open file descriptor.
575 /*#define HAS_PATHCONF /**/
576 /*#define HAS_FPATHCONF /**/
579 * This symbol, if defined, indicates that the pause routine is
580 * available to suspend a process until a signal is received.
582 #define HAS_PAUSE /**/
585 * This symbol, if defined, indicates that the pipe routine is
586 * available to create an inter-process channel.
588 #define HAS_PIPE /**/
591 * This symbol, if defined, indicates that the poll routine is
592 * available to poll active file descriptors.
594 /*#define HAS_POLL /**/
596 /* HAS_PTHREAD_YIELD:
597 * This symbol, if defined, indicates that the pthread_yield routine is
598 * available to yield the execution of the current thread.
600 #undef HAS_PTHREAD_YIELD
603 * This symbol, if defined, indicates that the readdir routine is
604 * available to read directory entries. You may have to include
605 * <dirent.h>. See I_DIRENT.
607 #define HAS_READDIR /**/
610 * This symbol, if defined, indicates that the sched_yield
611 * routine is available to yield the execution of the current thread.
613 #undef HAS_SCHED_YIELD
616 * This symbol, if defined, indicates that the seekdir routine is
617 * available. You may have to include <dirent.h>. See I_DIRENT.
619 #define HAS_SEEKDIR /**/
622 * This symbol, if defined, indicates that the telldir routine is
623 * available. You may have to include <dirent.h>. See I_DIRENT.
625 #define HAS_TELLDIR /**/
628 * This symbol, if defined, indicates that the rewinddir routine is
629 * available. You may have to include <dirent.h>. See I_DIRENT.
631 #define HAS_REWINDDIR /**/
634 * This symbol, if defined, indicates that the readlink routine is
635 * available to read the value of a symbolic link.
637 /*#define HAS_READLINK /**/
640 * This symbol, if defined, indicates that the rename routine is available
641 * to rename files. Otherwise you should do the unlink(), link(), unlink()
644 #define HAS_RENAME /**/
647 * This symbol, if defined, indicates that the rmdir routine is
648 * available to remove directories. Otherwise you should fork off a
649 * new process to exec /bin/rmdir.
651 #define HAS_RMDIR /**/
654 * This symbol, if defined, indicates that the bcopy routine is available
655 * to copy potentially overlapping memory blocks. Otherwise you should
656 * probably use memmove() or memcpy(). If neither is defined, roll your
659 /*#define HAS_SAFE_BCOPY /**/
662 * This symbol, if defined, indicates that the memcpy routine is available
663 * to copy potentially overlapping memory blocks. Otherwise you should
664 * probably use memmove() or memcpy(). If neither is defined, roll your
667 /*#define HAS_SAFE_MEMCPY /**/
670 * This symbol, if defined, indicates that the memcmp routine is available
671 * and can be used to compare relative magnitudes of chars with their high
672 * bits set. If it is not defined, roll your own version.
674 #define HAS_SANE_MEMCMP /**/
677 * This symbol, if defined, indicates that the select routine is
678 * available to select active file descriptors. If the timeout field
679 * is used, <sys/time.h> may need to be included.
681 #define HAS_SELECT /**/
684 * This symbol, if defined, indicates that the entire sem*(2) library is
687 /*#define HAS_SEM /**/
690 * This symbol, if defined, indicates that the setegid routine is available
691 * to change the effective gid of the current program.
693 /*#define HAS_SETEGID /**/
696 * This symbol, if defined, indicates that the seteuid routine is available
697 * to change the effective uid of the current program.
699 /*#define HAS_SETEUID /**/
702 * This symbol, if defined, indicates that the setlinebuf routine is
703 * available to change stderr or stdout from block-buffered or unbuffered
704 * to a line-buffered mode.
706 /*#define HAS_SETLINEBUF /**/
709 * This symbol, if defined, indicates that the setlocale routine is
710 * available to handle locale-specific ctype implementations.
712 #define HAS_SETLOCALE /**/
715 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
716 * routine is available to set the current process group.
718 /*#define HAS_SETPGRP2 /**/
721 * This symbol, if defined, indicates that the setpriority routine is
722 * available to set a process's priority.
724 /*#define HAS_SETPRIORITY /**/
727 * This symbol, if defined, indicates that the setregid routine is
728 * available to change the real and effective gid of the current
732 * This symbol, if defined, indicates that the setresgid routine is
733 * available to change the real, effective and saved gid of the current
736 /*#define HAS_SETREGID /**/
737 /*#define HAS_SETRESGID /**/
740 * This symbol, if defined, indicates that the setreuid routine is
741 * available to change the real and effective uid of the current
745 * This symbol, if defined, indicates that the setresuid routine is
746 * available to change the real, effective and saved uid of the current
749 /*#define HAS_SETREUID /**/
750 /*#define HAS_SETRESUID /**/
753 * This symbol, if defined, indicates that the setrgid routine is available
754 * to change the real gid of the current program.
756 /*#define HAS_SETRGID /**/
759 * This symbol, if defined, indicates that the setruid routine is available
760 * to change the real uid of the current program.
762 /*#define HAS_SETRUID /**/
765 * This symbol, if defined, indicates that the setsid routine is
766 * available to set the process group ID.
768 /*#define HAS_SETSID /**/
771 * This symbol, if defined, indicates that the entire shm*(2) library is
774 /*#define HAS_SHM /**/
777 * This symbol holds the return type of the shmat() system call.
778 * Usually set to 'void *' or 'char *'.
780 /* HAS_SHMAT_PROTOTYPE:
781 * This symbol, if defined, indicates that the sys/shm.h includes
782 * a prototype for shmat(). Otherwise, it is up to the program to
783 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
784 * but not always right so it should be emitted by the program only
785 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
787 #define Shmat_t void * /**/
788 /*#define HAS_SHMAT_PROTOTYPE /**/
791 * This symbol, if defined, indicates that Vr4's sigaction() routine
794 /*#define HAS_SIGACTION /**/
797 * This symbol, if defined, indicates that the BSD socket interface is
801 * This symbol, if defined, indicates that the BSD socketpair() call is
804 #define HAS_SOCKET /**/
805 /*#define HAS_SOCKETPAIR /**/
808 * This symbol is defined if this system has a stat structure declaring
809 * st_blksize and st_blocks.
811 /*#define USE_STAT_BLOCKS /**/
814 * This symbol is defined if the _ptr and _cnt fields (or similar)
815 * of the stdio FILE structure can be used to access the stdio buffer
816 * for a file handle. If this is defined, then the FILE_ptr(fp)
817 * and FILE_cnt(fp) macros will also be defined and should be used
818 * to access these fields.
821 * This macro is used to access the _ptr field (or equivalent) of the
822 * FILE structure pointed to by its argument. This macro will always be
823 * defined if USE_STDIO_PTR is defined.
826 * This symbol is defined if the FILE_ptr macro can be used as an
830 * This macro is used to access the _cnt field (or equivalent) of the
831 * FILE structure pointed to by its argument. This macro will always be
832 * defined if USE_STDIO_PTR is defined.
835 * This symbol is defined if the FILE_cnt macro can be used as an
838 #define USE_STDIO_PTR /**/
840 #define FILE_ptr(fp) ((fp)->curp)
841 #define STDIO_PTR_LVALUE /**/
842 #define FILE_cnt(fp) ((fp)->level)
843 #define STDIO_CNT_LVALUE /**/
847 * This symbol is defined if the _base field (or similar) of the
848 * stdio FILE structure can be used to access the stdio buffer for
849 * a file handle. If this is defined, then the FILE_base(fp) macro
850 * will also be defined and should be used to access this field.
851 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
852 * to determine the number of bytes in the buffer. USE_STDIO_BASE
853 * will never be defined unless USE_STDIO_PTR is.
856 * This macro is used to access the _base field (or equivalent) of the
857 * FILE structure pointed to by its argument. This macro will always be
858 * defined if USE_STDIO_BASE is defined.
861 * This macro is used to determine the number of bytes in the I/O
862 * buffer pointed to by _base field (or equivalent) of the FILE
863 * structure pointed to its argument. This macro will always be defined
864 * if USE_STDIO_BASE is defined.
866 #define USE_STDIO_BASE /**/
867 #ifdef USE_STDIO_BASE
868 #define FILE_base(fp) ((fp)->buffer)
869 #define FILE_bufsiz(fp) ((fp)->level + (fp)->curp - (fp)->buffer)
873 * This symbol is defined to indicate that the strchr()/strrchr()
874 * functions are available for string searching. If not, try the
875 * index()/rindex() pair.
878 * This symbol is defined to indicate that the index()/rindex()
879 * functions are available for string searching.
881 #define HAS_STRCHR /**/
882 /*#define HAS_INDEX /**/
885 * This symbol, if defined, indicates that the strcoll routine is
886 * available to compare strings using collating information.
888 #define HAS_STRCOLL /**/
891 * This symbol, if defined, indicates that this C compiler knows how
892 * to copy structures. If undefined, you'll need to use a block copy
893 * routine of some sort instead.
895 #define USE_STRUCT_COPY /**/
898 * This symbol, if defined, indicates that the strerror routine is
899 * available to translate error numbers to strings. See the writeup
900 * of Strerror() in this file before you try to define your own.
903 * This symbol, if defined, indicates that the sys_errlist array is
904 * available to translate error numbers to strings. The extern int
905 * sys_nerr gives the size of that table.
908 * This preprocessor symbol is defined as a macro if strerror() is
909 * not available to translate error numbers to strings but sys_errlist[]
912 #define HAS_STRERROR /**/
913 #define HAS_SYS_ERRLIST /**/
914 #define Strerror(e) strerror(e)
917 * This symbol, if defined, indicates that the strtod routine is
918 * available to provide better numeric string conversion than atof().
920 #define HAS_STRTOD /**/
923 * This symbol, if defined, indicates that the strtol routine is available
924 * to provide better numeric string conversion than atoi() and friends.
926 #define HAS_STRTOL /**/
929 * This symbol, if defined, indicates that the strtoul routine is
930 * available to provide conversion of strings to unsigned long.
932 #define HAS_STRTOUL /**/
935 * This symbol, if defined, indicates that the strxfrm() routine is
936 * available to transform strings.
938 #define HAS_STRXFRM /**/
941 * This symbol, if defined, indicates that the symlink routine is available
942 * to create symbolic links.
944 /*#define HAS_SYMLINK /**/
947 * This symbol, if defined, indicates that the syscall routine is
948 * available to call arbitrary system calls. If undefined, that's tough.
950 /*#define HAS_SYSCALL /**/
953 * This symbol, if defined, indicates that sysconf() is available
954 * to determine system related limits and options.
956 /*#define HAS_SYSCONF /**/
959 * This symbol, if defined, indicates that the system routine is
960 * available to issue a shell command.
962 #define HAS_SYSTEM /**/
965 * This symbol, if defined, indicates that the tcgetpgrp routine is
966 * available to get foreground process group ID.
968 /*#define HAS_TCGETPGRP /**/
971 * This symbol, if defined, indicates that the tcsetpgrp routine is
972 * available to set foreground process group ID.
974 /*#define HAS_TCSETPGRP /**/
977 * This symbol holds the type returned by time(). It can be long,
978 * or time_t on BSD sites (in which case <sys/types.h> should be
981 #define Time_t time_t /* Time type */
984 * This symbol, if defined, indicates that the times() routine exists.
985 * Note that this became obsolete on some systems (SUNOS), which now
986 * use getrusage(). It may be necessary to include <sys/times.h>.
988 #define HAS_TIMES /**/
991 * This symbol, if defined, indicates that the truncate routine is
992 * available to truncate files.
994 /*#define HAS_TRUNCATE /**/
997 * This symbol, if defined, indicates that the tzname[] array is
998 * available to access timezone names.
1000 #define HAS_TZNAME /**/
1003 * This symbol, if defined, indicates that the umask routine is
1004 * available to set and get the value of the file creation mask.
1006 #define HAS_UMASK /**/
1009 * This symbol, if defined, indicates that vfork() exists.
1011 /*#define HAS_VFORK /**/
1014 * This symbol's value is either "void" or "int", corresponding to the
1015 * appropriate return type of a signal handler. Thus, you can declare
1016 * a signal handler using "Signal_t (*handler)()", and define the
1017 * handler using "Signal_t handler(sig)".
1019 #define Signal_t void /* Signal handler's return type */
1022 * This symbol, if defined, indicates that this C compiler knows about
1023 * the volatile declaration.
1025 #define HASVOLATILE /**/
1031 * This symbol, if defined, indicates that the vprintf routine is available
1032 * to printf with a pointer to an argument list. If unavailable, you
1033 * may need to write your own, probably in terms of _doprnt().
1035 /* USE_CHAR_VSPRINTF:
1036 * This symbol is defined if this system has vsprintf() returning type
1037 * (char*). The trend seems to be to declare it as "int vsprintf()". It
1038 * is up to the package author to declare vsprintf correctly based on the
1041 #define HAS_VPRINTF /**/
1042 /*#define USE_CHAR_VSPRINTF /**/
1045 * This symbol, if defined, indicates that wait4() exists.
1047 /*#define HAS_WAIT4 /**/
1050 * This symbol, if defined, indicates that the waitpid routine is
1051 * available to wait for child process.
1053 /*#define HAS_WAITPID /**/
1056 * This symbol, if defined, indicates that the wcstombs routine is
1057 * available to convert wide character strings to multibyte strings.
1059 #define HAS_WCSTOMBS /**/
1062 * This symbol, if defined, indicates that the wctomb routine is available
1063 * to covert a wide character to a multibyte.
1065 #define HAS_WCTOMB /**/
1068 * This symbol holds the type used to declare file positions in libc.
1069 * It can be fpos_t, long, uint, etc... It may be necessary to include
1070 * <sys/types.h> to get any typedef'ed information.
1072 #define Fpos_t fpos_t /* File position type */
1075 * This symbol holds the return type of getgid() and the type of
1076 * argument to setrgid() and related functions. Typically,
1077 * it is the type of group ids in the kernel. It can be int, ushort,
1078 * uid_t, etc... It may be necessary to include <sys/types.h> to get
1079 * any typedef'ed information.
1081 #define Gid_t gid_t /* Type for getgid(), etc... */
1084 * This symbol holds the type used for the second argument to
1085 * [gs]etgroups(). Usually, this is the same of gidtype, but
1086 * sometimes it isn't. It can be int, ushort, uid_t, etc...
1087 * It may be necessary to include <sys/types.h> to get any
1088 * typedef'ed information. This is only required if you have
1089 * getgroups() or setgroups().
1091 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1092 #define Groups_t gid_t /* Type for 2nd arg to [gs]etgroups() */
1096 * This symbol contains the type of the prefix structure element
1097 * in the <db.h> header file. In older versions of DB, it was
1098 * int, while in newer ones it is u_int32_t.
1101 * This symbol contains the type of the prefix structure element
1102 * in the <db.h> header file. In older versions of DB, it was
1103 * int, while in newer ones it is size_t.
1105 #define DB_Hash_t int /**/
1106 #define DB_Prefix_t int /**/
1109 * This symbol, if defined, indicates to the C program that it should
1110 * include <dirent.h>. Using this symbol also triggers the definition
1111 * of the Direntry_t define which ends up being 'struct dirent' or
1112 * 'struct direct' depending on the availability of <dirent.h>.
1115 * This symbol, if defined, indicates to the C program that the length
1116 * of directory entry names is provided by a d_namlen field. Otherwise
1117 * you need to do strlen() on the d_name field.
1120 * This symbol is set to 'struct direct' or 'struct dirent' depending on
1121 * whether dirent is available or not. You should use this pseudo type to
1122 * portably declare your directory entries.
1124 #define I_DIRENT /**/
1125 #define DIRNAMLEN /**/
1126 #define Direntry_t struct direct
1129 * This symbol, if defined, indicates that <dlfcn.h> exists and should
1132 #define I_DLFCN /**/
1135 * This manifest constant tells the C program to include <fcntl.h>.
1137 #define I_FCNTL /**/
1140 * This symbol, if defined, indicates to the C program that it should
1141 * include <float.h> to get definition of symbols like DBL_MAX or
1142 * DBL_MIN, i.e. machine dependent floating point values.
1144 #define I_FLOAT /**/
1147 * This symbol, if defined, indicates to the C program that it should
1153 * This symbol, if defined, indicates to the C program that it should
1154 * include <limits.h> to get definition of symbols like WORD_BIT or
1155 * LONG_MAX, i.e. machine dependant limitations.
1157 #define I_LIMITS /**/
1160 * This symbol, if defined, indicates to the C program that it should
1166 * This symbol, if defined, indicates to the C program that it should
1167 * include <memory.h>.
1169 /*#define I_MEMORY /**/
1172 * This symbol, if defined, indicates that <ndbm.h> exists and should
1175 /*#define I_NDBM /**/
1178 * This symbol, if defined, indicates that <net/errno.h> exists and
1179 * should be included.
1181 /*#define I_NET_ERRNO /**/
1184 * This symbol, if defined, indicates to the C program that it should
1185 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
1187 /*#define I_NETINET_IN /**/
1190 * This symbol, if defined, indicates that <netdb.h> exists and
1191 * should be included.
1193 /*#define I_NETDB /**/
1196 * This symbol, if defined, indicates to the C program that it should
1200 * This symbol, if defined, indicates to the C program that struct passwd
1201 * contains pw_quota.
1204 * This symbol, if defined, indicates to the C program that struct passwd
1208 * This symbol, if defined, indicates to the C program that struct passwd
1209 * contains pw_change.
1212 * This symbol, if defined, indicates to the C program that struct passwd
1213 * contains pw_class.
1216 * This symbol, if defined, indicates to the C program that struct passwd
1217 * contains pw_expire.
1220 * This symbol, if defined, indicates to the C program that struct passwd
1221 * contains pw_comment.
1223 /*#define I_PWD /**/
1224 /*#define PWQUOTA /**/
1225 /*#define PWAGE /**/
1226 /*#define PWCHANGE /**/
1227 /*#define PWCLASS /**/
1228 /*#define PWEXPIRE /**/
1229 /*#define PWCOMMENT /**/
1232 * This symbol, if defined, indicates that <stddef.h> exists and should
1235 #define I_STDDEF /**/
1238 * This symbol, if defined, indicates that <stdlib.h> exists and should
1241 #define I_STDLIB /**/
1244 * This symbol, if defined, indicates to the C program that it should
1245 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
1247 #define I_STRING /**/
1250 * This symbol, if defined, indicates to the C program that it should
1251 * include <sys/dir.h>.
1253 /*#define I_SYS_DIR /**/
1256 * This symbol, if defined, indicates to the C program that it should
1257 * include <sys/file.h> to get definition of R_OK and friends.
1259 /*#define I_SYS_FILE /**/
1262 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
1263 * be included. Otherwise, include <sgtty.h> or <termio.h>.
1265 /*#define I_SYS_IOCTL /**/
1268 * This symbol, if defined, indicates to the C program that it should
1269 * include <sys/ndir.h>.
1271 /*#define I_SYS_NDIR /**/
1274 * This symbol, if defined, indicates to the C program that it should
1275 * include <sys/param.h>.
1277 /*#define I_SYS_PARAM /**/
1280 * This symbol, if defined, indicates to the C program that it should
1281 * include <sys/resource.h>.
1283 /*#define I_SYS_RESOURCE /**/
1286 * This symbol, if defined, indicates to the C program that it should
1287 * include <sys/select.h> in order to get definition of struct timeval.
1289 /*#define I_SYS_SELECT /**/
1292 * This symbol, if defined, indicates to the C program that it should
1293 * include <sys/times.h>.
1295 /*#define I_SYS_TIMES /**/
1298 * This symbol, if defined, indicates to the C program that it should
1299 * include <sys/types.h>.
1301 #define I_SYS_TYPES /**/
1304 * This symbol, if defined, indicates to the C program that it should
1305 * include <sys/un.h> to get UNIX domain socket definitions.
1307 /*#define I_SYS_UN /**/
1310 * This symbol, if defined, indicates to the C program that it should
1311 * include <sys/wait.h>.
1313 /*#define I_SYS_WAIT /**/
1316 * This symbol, if defined, indicates that the program should include
1317 * <termio.h> rather than <sgtty.h>. There are also differences in
1318 * the ioctl() calls that depend on the value of this symbol.
1321 * This symbol, if defined, indicates that the program should include
1322 * the POSIX termios.h rather than sgtty.h or termio.h.
1323 * There are also differences in the ioctl() calls that depend on the
1324 * value of this symbol.
1327 * This symbol, if defined, indicates that the program should include
1328 * <sgtty.h> rather than <termio.h>. There are also differences in
1329 * the ioctl() calls that depend on the value of this symbol.
1331 /*#define I_TERMIO /**/
1332 /*#define I_TERMIOS /**/
1333 /*#define I_SGTTY /**/
1336 * This symbol, if defined, indicates to the C program that it should
1340 * This symbol, if defined, indicates to the C program that it should
1341 * include <sys/time.h>.
1343 /* I_SYS_TIME_KERNEL:
1344 * This symbol, if defined, indicates to the C program that it should
1345 * include <sys/time.h> with KERNEL defined.
1348 /*#define I_SYS_TIME /**/
1349 /*#define I_SYS_TIME_KERNEL /**/
1352 * This symbol, if defined, indicates to the C program that it should
1353 * include <unistd.h>.
1355 /*#define I_UNISTD /**/
1358 * This symbol, if defined, indicates to the C program that it should
1359 * include <utime.h>.
1361 #define I_UTIME /**/
1364 * This symbol, if defined, indicates that <stdarg.h> exists and should
1368 * This symbol, if defined, indicates to the C program that it should
1369 * include <varargs.h>.
1371 #define I_STDARG /**/
1372 /*#define I_VARARGS /**/
1375 * This symbol, if defined, indicates to the C program that it should
1378 /*#define I_VFORK /**/
1381 * This symbol contains the value of sizeof(int) so that the C
1382 * preprocessor can make decisions based on it.
1385 * This symbol contains the value of sizeof(long) so that the C
1386 * preprocessor can make decisions based on it.
1389 * This symbol contains the value of sizeof(short) so that the C
1390 * preprocessor can make decisions based on it.
1392 #define INTSIZE 4 /**/
1393 #define LONGSIZE 4 /**/
1394 #define SHORTSIZE 2 /**/
1397 * This symbol holds the type used to declare offsets in the kernel.
1398 * It can be int, long, off_t, etc... It may be necessary to include
1399 * <sys/types.h> to get any typedef'ed information.
1401 #define Off_t off_t /* <offset> type */
1404 * This symbol holds the type used to declare file modes
1405 * for systems calls. It is usually mode_t, but may be
1406 * int or unsigned short. It may be necessary to include <sys/types.h>
1407 * to get any typedef'ed information.
1409 #define Mode_t mode_t /* file mode parameter for system calls */
1412 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1413 * non-blocking I/O for the file descriptor. Note that there is no way
1414 * back, i.e. you cannot turn it blocking again this way. If you wish to
1415 * alternatively switch between blocking and non-blocking, use the
1416 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1419 * This symbol holds the errno error code set by read() when no data was
1420 * present on the non-blocking file descriptor.
1423 * This symbol holds the return code from read() when no data is present
1424 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1425 * not defined, then you can't distinguish between no data and EOF by
1426 * issuing a read(). You'll have to find another way to tell for sure!
1429 * This symbol, if defined, indicates to the C program that a read() on
1430 * a non-blocking file descriptor will return 0 on EOF, and not the value
1431 * held in RD_NODATA (-1 usually, in that case!).
1433 #define VAL_O_NONBLOCK O_NONBLOCK
1434 #define VAL_EAGAIN EAGAIN
1435 #define RD_NODATA -1
1436 #define EOF_NONBLOCK
1439 * If defined, this macro indicates that the C compiler can handle
1440 * function prototypes.
1443 * This macro is used to declare function parameters for folks who want
1444 * to make declarations with prototypes using a different style than
1445 * the above macros. Use double parentheses. For example:
1447 * int main _((int argc, char *argv[]));
1449 #define CAN_PROTOTYPE /**/
1450 #ifdef CAN_PROTOTYPE
1451 #define _(args) args
1457 * This symbol contains the number of bits of random number the rand()
1458 * function produces. Usual values are 15, 16, and 31.
1460 #define RANDBITS 15 /**/
1463 * This symbol holds the type used for the 2nd, 3rd, and 4th
1464 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
1465 * is defined, and 'int *' otherwise. This is only useful if you
1466 * have select(), of course.
1468 #define Select_fd_set_t Perl_fd_set * /**/
1471 * This symbol holds the type used to declare length parameters
1472 * for string functions. It is usually size_t, but may be
1473 * unsigned long, int, etc. It may be necessary to include
1474 * <sys/types.h> to get any typedef'ed information.
1476 #define Size_t size_t /* length paramater for string functions */
1479 * This symbol holds the type used by functions that return
1480 * a count of bytes or an error condition. It must be a signed type.
1481 * It is usually ssize_t, but may be long or int, etc.
1482 * It may be necessary to include <sys/types.h> or <unistd.h>
1483 * to get any typedef'ed information.
1484 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1486 #define SSize_t int /* signed count of bytes */
1489 * This symbol is defined to be the type of char used in stdio.h.
1490 * It has the values "unsigned char" or "char".
1492 #define STDCHAR unsigned char /**/
1495 * This symbol holds the type used to declare user ids in the kernel.
1496 * It can be int, ushort, uid_t, etc... It may be necessary to include
1497 * <sys/types.h> to get any typedef'ed information.
1499 #define Uid_t uid_t /* UID type */
1502 * This symbol holds the complete pathname to the sed program.
1504 #define LOC_SED "" /**/
1507 * This symbol contains the name of the operating system, as determined
1508 * by Configure. You shouldn't rely on it too much; the specific
1509 * feature tests from Configure are generally more reliable.
1511 #define OSNAME "MSWin32" /**/
1514 * This variable, if defined, holds the name of the directory in
1515 * which the user wants to put architecture-dependent public
1516 * library files for perl5. It is most often a local directory
1517 * such as /usr/local/lib. Programs using this variable must be
1518 * prepared to deal with filename expansion. If ARCHLIB is the
1519 * same as PRIVLIB, it is not defined, since presumably the
1520 * program already searches PRIVLIB.
1523 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1524 * in programs that are not prepared to deal with ~ expansion at run-time.
1526 #define ARCHLIB "c:\\perl\\lib\\MSWin32-x86" /**/
1527 #define ARCHLIB_EXP (win32_perllib_path(ARCHNAME,NULL)) /**/
1530 * This symbol, if defined, indicates that Perl 5.004 should be
1531 * binary-compatible with Perl 5.003.
1533 /*#define BINCOMPAT3 /**/
1536 * This symbol holds the hexadecimal constant defined in byteorder,
1537 * i.e. 0x1234 or 0x4321, etc...
1538 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1539 * Binaries (MAB) on either big endian or little endian machines.
1540 * The endian-ness is available at compile-time. This only matters
1541 * for perl, where the config.h can be generated and installed on
1542 * one system, and used by a different architecture to build an
1543 * extension. Older versions of NeXT that might not have
1544 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1545 * so the default case (for NeXT) is big endian to catch them.
1546 * This might matter for NeXT 3.0.
1549 #define BYTEORDER 0x1234 /* large digits for MSB */
1551 #ifdef __LITTLE_ENDIAN__
1552 #define BYTEORDER 0x1234
1553 #else /* __BIG_ENDIAN__ */
1554 #define BYTEORDER 0x4321
1555 #endif /* ENDIAN CHECK */
1559 * This symbol, if defined, indicates that the C-shell exists.
1560 * If defined, contains the full pathname of csh.
1562 /*#define CSH "" /**/
1564 /* DLSYM_NEEDS_UNDERSCORE:
1565 * This symbol, if defined, indicates that we need to prepend an
1566 * underscore to the symbol name before calling dlsym(). This only
1567 * makes sense if you *have* dlsym, which we will presume is the
1568 * case if you're using dl_dlopen.xs.
1570 /*#define DLSYM_NEEDS_UNDERSCORE /**/
1572 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1573 * This symbol, if defined, indicates that the bug that prevents
1574 * setuid scripts from being secure is not present in this kernel.
1577 * This symbol, if defined, indicates that the C program should
1578 * check the script that it is executing for setuid/setgid bits, and
1579 * attempt to emulate setuid/setgid on systems that have disabled
1580 * setuid #! scripts because the kernel can't do it securely.
1581 * It is up to the package designer to make sure that this emulation
1582 * is done securely. Among other things, it should do an fstat on
1583 * the script it just opened to make sure it really is a setuid/setgid
1584 * script, it should make sure the arguments passed correspond exactly
1585 * to the argument on the #! line, and it should not trust any
1586 * subprocesses to which it must pass the filename rather than the
1587 * file descriptor of the script to be executed.
1589 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1590 /*#define DOSUID /**/
1593 * This preprocessor macro is defined to convert a floating point
1594 * number to a string without a trailing decimal point. This
1595 * emulates the behavior of sprintf("%g"), but is sometimes much more
1596 * efficient. If gconvert() is not available, but gcvt() drops the
1597 * trailing decimal point, then gcvt() is used. If all else fails,
1598 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1599 * macro are: value, number of digits, whether trailing zeros should
1600 * be retained, and the output buffer.
1601 * Possible values are:
1602 * d_Gconvert='gconvert((x),(n),(t),(b))'
1603 * d_Gconvert='gcvt((x),(n),(b))'
1604 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1605 * The last two assume trailing zeros should not be kept.
1607 #define Gconvert(x,n,t,b) gcvt((x),(n),(b))
1610 * This symbol, if defined, indicates to the C program that
1611 * the getpgid(pid) function is available to get the
1614 /*#define HAS_GETPGID /**/
1617 * This symbol, if defined, indicates that the getpgrp routine is
1618 * available to get the current process group.
1621 * This symbol, if defined, indicates that getpgrp needs one
1622 * arguments whereas USG one needs none.
1624 /*#define HAS_GETPGRP /**/
1625 /*#define USE_BSD_GETPGRP /**/
1628 * This symbol, if defined, indicates to the C program that the
1629 * inet_aton() function is available to parse IP address "dotted-quad"
1632 /*#define HAS_INET_ATON /**/
1635 * This symbol, if defined, indicates to the C program that
1636 * the setpgid(pid, gpid) function is available to set the
1639 /*#define HAS_SETPGID /**/
1642 * This symbol, if defined, indicates that the setpgrp routine is
1643 * available to set the current process group.
1646 * This symbol, if defined, indicates that setpgrp needs two
1647 * arguments whereas USG one needs none. See also HAS_SETPGID
1648 * for a POSIX interface.
1651 * This symbol, if defined, indicates that the BSD notion of process
1652 * group is to be used. For instance, you have to say setpgrp(pid, pgrp)
1653 * instead of the USG setpgrp(). This should be obsolete since
1654 * there are systems which have BSD-ish setpgrp but USG-ish getpgrp.
1656 /*#define HAS_SETPGRP /**/
1657 /*#define USE_BSD_SETPGRP /**/
1658 /*#define USE_BSDPGRP /**/
1661 * This symbol, if defined, indicates that sfio should
1664 /*#define USE_SFIO /**/
1666 /* PTHREADS_CREATED_JOINABLE:
1667 * This symbol, if defined, indicates that pthreads are created
1668 * in the joinable (aka undetached) state.
1670 /*#define PTHREADS_CREATED_JOINABLE /**/
1673 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1676 * This macro is used in the same way as sigsetjmp(), but will invoke
1677 * traditional setjmp() if sigsetjmp isn't available.
1678 * See HAS_SIGSETJMP.
1681 * This macro is used in the same way as siglongjmp(), but will invoke
1682 * traditional longjmp() if siglongjmp isn't available.
1683 * See HAS_SIGSETJMP.
1685 /*#define HAS_SIGSETJMP /**/
1686 #ifdef HAS_SIGSETJMP
1687 #define Sigjmp_buf sigjmp_buf
1688 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1689 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1691 #define Sigjmp_buf jmp_buf
1692 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1693 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1696 /* USE_DYNAMIC_LOADING:
1697 * This symbol, if defined, indicates that dynamic loading of
1698 * some sort is available.
1700 #define USE_DYNAMIC_LOADING /**/
1703 * This symbol, if defined, indicates that <dbm.h> exists and should
1707 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
1708 * should be included.
1710 /*#define I_DBM /**/
1711 #define I_RPCSVC_DBM /**/
1714 * This symbol, if defined, indicates to the C program that it should
1715 * include <locale.h>.
1717 #define I_LOCALE /**/
1720 * This symbol, if defined, indicates to the C program that it should
1723 /*#define I_SFIO /**/
1726 * This symbol, if defined, indicates to the C program that it should
1727 * include <sys/stat.h>.
1729 #define I_SYS_STAT /**/
1732 * This symbol, if defined, indicates to the C program that it should
1733 * include <values.h> to get definition of symbols like MINFLOAT or
1734 * MAXLONG, i.e. machine dependant limitations. Probably, you
1735 * should use <limits.h> instead, if it is available.
1737 /*#define I_VALUES /**/
1740 * This variable contains the return type of free(). It is usually
1741 * void, but occasionally int.
1744 * This symbol is the type of pointer returned by malloc and realloc.
1746 #define Malloc_t void * /**/
1747 #define Free_t void /**/
1750 * This symbol, if defined, indicates that we're using our own malloc.
1753 #define MYMALLOC /**/
1757 * This variable, if defined, holds the name of the directory in
1758 * which the user has perl5.000 or perl5.001 architecture-dependent
1759 * public library files for perl5. For the most part, these
1760 * files will work with 5.002 (and later), but that is not
1764 * This symbol contains the ~name expanded version of OLDARCHLIB, to be
1765 * used in programs that are not prepared to deal with ~ expansion at
1768 /*#define OLDARCHLIB "" /**/
1769 /*#define OLDARCHLIB_EXP "" /**/
1772 * This symbol contains the name of the private library for this package.
1773 * The library is private in the sense that it needn't be in anyone's
1774 * execution path, but it should be accessible by the world. The program
1775 * should be prepared to do ~ expansion.
1778 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1779 * in programs that are not prepared to deal with ~ expansion at run-time.
1781 #define PRIVLIB "c:\\perl\\lib" /**/
1782 #define PRIVLIB_EXP (win32_perllib_path(NULL)) /**/
1785 * This symbol contains the full pathname to the shell used on this
1786 * on this system to execute Bourne shell scripts. Usually, this will be
1787 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1788 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
1791 #define SH_PATH "cmd /x /c" /**/
1794 * This symbol contains a list of signal names in order of
1795 * signal number. This is intended
1796 * to be used as a static array initialization, like this:
1797 * char *sig_name[] = { SIG_NAME };
1798 * The signals in the list are separated with commas, and each signal
1799 * is surrounded by double quotes. There is no leading SIG in the signal
1800 * name, i.e. SIGQUIT is known as "QUIT".
1801 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1802 * etc., where nn is the actual signal number (e.g. NUM37).
1803 * The signal number for sig_name[i] is stored in sig_num[i].
1804 * The last element is 0 to terminate the list with a NULL. This
1805 * corresponds to the 0 at the end of the sig_num list.
1808 * This symbol contains a list of signal numbers, in the same order as the
1809 * SIG_NAME list. It is suitable for static array initialization, as in:
1810 * int sig_num[] = { SIG_NUM };
1811 * The signals in the list are separated with commas, and the indices
1812 * within that list and the SIG_NAME list match, so it's easy to compute
1813 * the signal name from a number or vice versa at the price of a small
1814 * dynamic linear lookup.
1815 * Duplicates are allowed, but are moved to the end of the list.
1816 * The signal number corresponding to sig_name[i] is sig_number[i].
1817 * if (i < NSIG) then sig_number[i] == i.
1818 * The last element is 0, corresponding to the 0 at the end of
1819 * the sig_name list.
1821 #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 /**/
1822 #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 /**/
1825 * This symbol contains the name of the private library for this package.
1826 * The library is private in the sense that it needn't be in anyone's
1827 * execution path, but it should be accessible by the world. The program
1828 * should be prepared to do ~ expansion.
1829 * The standard distribution will put nothing in this directory.
1830 * Individual sites may place their own extensions and modules in
1834 * This symbol contains the ~name expanded version of SITEARCH, to be used
1835 * in programs that are not prepared to deal with ~ expansion at run-time.
1837 #define SITEARCH "c:\\perl\\lib\\site\\MSWin32-x86" /**/
1838 #define SITEARCH_EXP (win32_perllib_path("site",ARCHNAME,NULL)) /**/
1841 * This symbol contains the name of the private library for this package.
1842 * The library is private in the sense that it needn't be in anyone's
1843 * execution path, but it should be accessible by the world. The program
1844 * should be prepared to do ~ expansion.
1845 * The standard distribution will put nothing in this directory.
1846 * Individual sites may place their own extensions and modules in
1850 * This symbol contains the ~name expanded version of SITELIB, to be used
1851 * in programs that are not prepared to deal with ~ expansion at run-time.
1853 #define SITELIB "c:\\perl\\lib\\site" /**/
1854 #define SITELIB_EXP (win32_perllib_path("site",NULL)) /**/
1857 * This variable contains the string to put in front of a perl
1858 * script to make sure (one hopes) that it runs with perl and not
1861 #define STARTPERL "#!perl" /**/
1864 * This symbol, if defined, indicates that the PerlIO abstraction should
1865 * be used throughout. If not defined, stdio should be
1866 * used in a fully backward compatible manner.
1868 /*#define USE_PERLIO /**/
1871 * This symbol indicates how much support of the void type is given by this
1872 * compiler. What various bits mean:
1874 * 1 = supports declaration of void
1875 * 2 = supports arrays of pointers to functions returning void
1876 * 4 = supports comparisons between pointers to void functions and
1877 * addresses of void functions
1878 * 8 = suports declaration of generic void pointers
1880 * The package designer should define VOIDUSED to indicate the requirements
1881 * of the package. This can be done either by #defining VOIDUSED before
1882 * including config.h, or by defining defvoidused in Myinit.U. If the
1883 * latter approach is taken, only those flags will be tested. If the
1884 * level of void support necessary is not present, defines void to int.
1889 #define VOIDFLAGS 15
1890 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1891 #define void int /* is void to be avoided? */
1892 #define M_VOID /* Xenix strikes again */