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 #ifdef PERL_GLOBAL_STRUCT
23 #error PERL_GLOBAL_STRUCT cannot be defined with PERL_OBJECT
25 #define win32_perllib_path PerlEnv_lib_path
30 * This symbol contains the number of bytes required to align a
31 * double. Usual values are 2, 4 and 8.
32 * On NeXT starting with 3.2, you can build "Fat" Multiple Architecture
33 * Binaries (MAB) for targets with varying alignment. This only matters
34 * for perl, where the config.h can be generated and installed on one
35 * system, and used by a different architecture to build an extension.
36 * The default is eight, for safety.
39 #define MEM_ALIGNBYTES 8 /**/
42 #define MEM_ALIGNBYTES 2
45 #define MEM_ALIGNBYTES 4
46 #else /* __hppa__, __sparc__ and default for unknown architectures */
47 #define MEM_ALIGNBYTES 8
53 * This symbol holds a string representing the architecture name.
54 * It may be used to construct an architecture-dependant pathname
55 * where library files may be held under a private library, for
58 #define ARCHNAME "MSWin32-x86" /**/
61 * This symbol holds the path of the bin directory where the package will
62 * be installed. Program must be prepared to deal with ~name substitution.
65 * This symbol is the filename expanded version of the BIN symbol, for
66 * programs that do not want to deal with that at run-time.
68 #define BIN "c:\\perl5004.5x\\bin" /**/
69 #define BIN_EXP "c:\\perl5004.5x\\bin" /**/
72 * This macro catenates 2 tokens together.
75 * This macro surrounds its token with double quotes.
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
82 #define STRINGIFY(a)"a"
83 /* If you can get stringification with catify, tell me how! */
86 #define CAT2(a,b)a ## b
87 #define CAT3(a,b,c)a ## b ## c
88 #define CAT4(a,b,c,d)a ## b ## c ## d
89 #define CAT5(a,b,c,d,e)a ## b ## c ## d ## e
91 #define STRINGIFY(a)StGiFy(a)
92 #define SCAT2(a,b)StGiFy(a) StGiFy(b)
93 #define SCAT3(a,b,c)StGiFy(a) StGiFy(b) StGiFy(c)
94 #define SCAT4(a,b,c,d)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d)
95 #define SCAT5(a,b,c,d,e)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) StGiFy(e)
98 #include "Bletch: How does this C preprocessor catenate tokens?"
102 * This symbol contains the first part of the string which will invoke
103 * the C preprocessor on the standard input and produce to standard
104 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
105 * call a wrapper. See CPPRUN.
108 * This symbol contains the second part of the string which will invoke
109 * the C preprocessor on the standard input and produce to standard
110 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
111 * to specify standard input, otherwise the value is "".
113 #define CPPSTDIN "cl -E"
117 * This symbol, if defined, indicates that the alarm routine is
120 /*#define HAS_ALARM /**/
123 * This symbol indicates the C compiler can check for function attributes,
124 * such as printf formats. This is normally only supported by GNU cc.
126 /*#define HASATTRIBUTE /**/
128 #define __attribute__(_arg_)
132 * This symbol is defined if the bcmp() routine is available to
133 * compare blocks of memory.
135 /*#define HAS_BCMP /**/
138 * This symbol is defined if the bcopy() routine is available to
139 * copy blocks of memory.
141 /*#define HAS_BCOPY /**/
144 * This symbol is defined if the bzero() routine is available to
145 * set a memory block to 0.
147 /*#define HAS_BZERO /**/
150 * This symbol is defined if the C compiler can cast negative
151 * or large floating point numbers to 32-bit ints.
156 * This symbol is defined if the C compiler can cast negative
157 * numbers to unsigned longs, ints and shorts.
160 * This symbol contains flags that say what difficulties the compiler
161 * has casting odd floating values to unsigned long:
163 * 1 = couldn't cast < 0
164 * 2 = couldn't cast >= 0x80000000
165 * 4 = couldn't cast in argument expression list
167 #define CASTNEGFLOAT /**/
168 #define CASTFLAGS 0 /**/
171 * This symbol, if defined, indicates that the chown routine is
174 /*#define HAS_CHOWN /**/
177 * This symbol, if defined, indicates that the chroot routine is
180 /*#define HAS_CHROOT /**/
183 * This symbol, if defined, indicates that the chsize routine is available
184 * to truncate files. You might need a -lx to get this routine.
186 #define HAS_CHSIZE /**/
189 * This symbol, if defined, indicates that the closedir() routine
190 * does not return a value.
192 /*#define VOID_CLOSEDIR /**/
195 * This symbol, if defined, indicates that this C compiler knows about
196 * the const type. There is no need to actually test for that symbol
197 * within your programs. The mere use of the "const" keyword will
198 * trigger the necessary tests.
200 #define HASCONST /**/
206 * This symbol, if defined, indicates that the crypt routine is available
207 * to encrypt passwords and the like.
209 /*#define HAS_CRYPT /**/
212 * This symbol, if defined, indicates that the cuserid routine is
213 * available to get character login names.
215 /*#define HAS_CUSERID /**/
218 * This symbol, if defined, indicates that this system's <float.h>
219 * or <limits.h> defines the symbol DBL_DIG, which is the number
220 * of significant digits in a double precision number. If this
221 * symbol is not defined, a guess of 15 is usually pretty good.
223 #define HAS_DBL_DIG /**/
226 * This symbol, if defined, indicates that the difftime routine is
229 #define HAS_DIFFTIME /**/
232 * This symbol, if defined, indicates that the dlerror routine is
233 * available to return a string describing the last error that
234 * occurred from a call to dlopen(), dlclose() or dlsym().
236 #define HAS_DLERROR /**/
239 * This symbol, if defined, indicates that the dup2 routine is
240 * available to duplicate file descriptors.
242 #define HAS_DUP2 /**/
245 * This symbol, if defined, indicates that the fchmod routine is available
246 * to change mode of opened files. If unavailable, use chmod().
248 /*#define HAS_FCHMOD /**/
251 * This symbol, if defined, indicates that the fchown routine is available
252 * to change ownership of opened files. If unavailable, use chown().
254 /*#define HAS_FCHOWN /**/
257 * This symbol, if defined, indicates to the C program that
258 * the fcntl() function exists.
260 /*#define HAS_FCNTL /**/
263 * This symbol, if defined, indicates that the fgetpos routine is
264 * available to get the file position indicator, similar to ftell().
266 #define HAS_FGETPOS /**/
269 * This symbol, if defined, indicates that the system supports filenames
270 * longer than 14 characters.
272 #define FLEXFILENAMES /**/
275 * This symbol, if defined, indicates that the flock routine is
276 * available to do file locking.
278 #define HAS_FLOCK /**/
281 * This symbol, if defined, indicates that the fork routine is
284 /*#define HAS_FORK /**/
287 * This symbol, if defined, indicates that the fsetpos routine is
288 * available to set the file position indicator, similar to fseek().
290 #define HAS_FSETPOS /**/
293 * This symbol, if defined, indicates that the gettimeofday() system
294 * call is available for a sub-second accuracy clock. Usually, the file
295 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
296 * The type "Timeval" should be used to refer to "struct timeval".
298 /*#define HAS_GETTIMEOFDAY /**/
299 #ifdef HAS_GETTIMEOFDAY
300 #define Timeval struct timeval /* Structure used by gettimeofday() */
304 * This symbol, if defined, indicates that the getgroups() routine is
305 * available to get the list of process groups. If unavailable, multiple
306 * groups are probably not supported.
309 * This symbol, if defined, indicates that the setgroups() routine is
310 * available to set the list of process groups. If unavailable, multiple
311 * groups are probably not supported.
313 /*#define HAS_GETGROUPS /**/
314 /*#define HAS_SETGROUPS /**/
317 * This symbol, if defined, indicates that the gethostent routine is
318 * available to lookup host names in some data base or other.
320 /*#define HAS_GETHOSTENT /**/
322 /* HAS_GETHOSTBYADDR:
323 * This symbol, if defined, indicates that the gethostbyaddr routine is
324 * available to lookup hosts by their IP addresses.
326 #define HAS_GETHOSTBYADDR /**/
329 * This symbol holds the type used for the 1st argument
330 * to gethostbyaddr().
332 #define Netdb_host_t char *
335 * This symbol holds the type used for the 2nd argument
336 * to gethostbyaddr().
338 #define Netdb_hlen_t int
340 /* HAS_GETHOSTBYNAME:
341 * This symbol, if defined, indicates that the gethostbyname routine is
342 * available to lookup hosts by their DNS names.
344 #define HAS_GETHOSTBYNAME /**/
347 * This symbol holds the type used for the 1st argument
348 * to gethostbyname(), the 1st argument to getnetbyname(),
349 * the 1st argument to getprotobyname(), the 1st argument to
350 * getservbyname(), the 2nd argument to getservbyname(),
351 * and the 2nd argument to getservbyport().
353 #define Netdb_name_t char *
356 * This symbol, if defined, indicates that the getnetbyaddr routine is
357 * available to lookup networks by their IP addresses.
359 /*#define HAS_GETNETBYADDR /**/
362 * This symbol holds the type used for the 1st argument
365 #define Netdb_net_t long
368 * This symbol, if defined, indicates that the getnetbyname routine is
369 * available to lookup networks by their names.
371 /*#define HAS_GETNETBYNAME /**/
373 /* HAS_GETPROTOBYNAME:
374 * This symbol, if defined, indicates that the getprotobyname routine is
375 * available to lookup protocols by their names.
377 #define HAS_GETPROTOBYNAME /**/
379 /* HAS_GETPROTOBYNUMBER:
380 * This symbol, if defined, indicates that the getprotobynumber routine is
381 * available to lookup protocols by their numbers.
383 #define HAS_GETPROTOBYNUMBER /**/
385 /* HAS_GETSERVBYNAME:
386 * This symbol, if defined, indicates that the getservbyname routine is
387 * available to lookup services by their names.
389 #define HAS_GETSERVBYNAME /**/
391 /* HAS_GETSERVBYPORT:
392 * This symbol, if defined, indicates that the getservbyport routine is
393 * available to lookup services by their ports.
395 #define HAS_GETSERVBYPORT /**/
398 * This symbol, if defined, indicates that the C program may use the
399 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
402 /*#define HAS_UNAME /**/
405 * This symbol, if defined, indicates that the getlogin routine is
406 * available to get the login name.
408 #define HAS_GETLOGIN /**/
411 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
412 * routine is available to get the current process group.
414 /*#define HAS_GETPGRP2 /**/
417 * This symbol, if defined, indicates that the getppid routine is
418 * available to get the parent process ID.
420 /*#define HAS_GETPPID /**/
423 * This symbol, if defined, indicates that the getpriority routine is
424 * available to get a process's priority.
426 /*#define HAS_GETPRIORITY /**/
429 * This symbol, if defined, indicates that the htonl() routine (and
430 * friends htons() ntohl() ntohs()) are available to do network
431 * order byte swapping.
434 * This symbol, if defined, indicates that the htons() routine (and
435 * friends htonl() ntohl() ntohs()) are available to do network
436 * order byte swapping.
439 * This symbol, if defined, indicates that the ntohl() routine (and
440 * friends htonl() htons() ntohs()) are available to do network
441 * order byte swapping.
444 * This symbol, if defined, indicates that the ntohs() routine (and
445 * friends htonl() htons() ntohl()) are available to do network
446 * order byte swapping.
448 #define HAS_HTONL /**/
449 #define HAS_HTONS /**/
450 #define HAS_NTOHL /**/
451 #define HAS_NTOHS /**/
454 * This manifest constant lets the C program know that isascii
457 #define HAS_ISASCII /**/
460 * This symbol, if defined, indicates that the killpg routine is available
461 * to kill process groups. If unavailable, you probably should use kill
462 * with a negative process number.
464 /*#define HAS_KILLPG /**/
467 * This symbol, if defined, indicates that the link routine is
468 * available to create hard links.
470 /*#define HAS_LINK /**/
473 * This symbol, if defined, indicates that the localeconv routine is
474 * available for numeric and monetary formatting conventions.
476 #define HAS_LOCALECONV /**/
479 * This symbol, if defined, indicates that the lockf routine is
480 * available to do file locking.
482 /*#define HAS_LOCKF /**/
485 * This symbol, if defined, indicates that the lstat routine is
486 * available to do file stats on symbolic links.
488 /*#define HAS_LSTAT /**/
491 * This symbol, if defined, indicates that the mblen routine is available
492 * to find the number of bytes in a multibye character.
494 #define HAS_MBLEN /**/
497 * This symbol, if defined, indicates that the mbstowcs routine is
498 * available to covert a multibyte string into a wide character string.
500 #define HAS_MBSTOWCS /**/
503 * This symbol, if defined, indicates that the mbtowc routine is available
504 * to covert a multibyte to a wide character.
506 #define HAS_MBTOWC /**/
509 * This symbol, if defined, indicates that the memcmp routine is available
510 * to compare blocks of memory.
512 #define HAS_MEMCMP /**/
515 * This symbol, if defined, indicates that the memcpy routine is available
516 * to copy blocks of memory.
518 #define HAS_MEMCPY /**/
521 * This symbol, if defined, indicates that the memmove routine is available
522 * to copy potentially overlapping blocks of memory. This should be used
523 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
526 #define HAS_MEMMOVE /**/
529 * This symbol, if defined, indicates that the memset routine is available
530 * to set blocks of memory.
532 #define HAS_MEMSET /**/
535 * This symbol, if defined, indicates that the mkdir routine is available
536 * to create directories. Otherwise you should fork off a new process to
539 #define HAS_MKDIR /**/
542 * This symbol, if defined, indicates that the mkfifo routine is
543 * available to create FIFOs. Otherwise, mknod should be able to
544 * do it for you. However, if mkfifo is there, mknod might require
545 * super-user privileges which mkfifo will not.
547 /*#define HAS_MKFIFO /**/
550 * This symbol, if defined, indicates that the mktime routine is
553 #define HAS_MKTIME /**/
556 * This symbol, if defined, indicates that the entire msg*(2) library is
557 * supported (IPC mechanism based on message queues).
559 /*#define HAS_MSG /**/
562 * This symbol, if defined, indicates that the nice routine is
565 /*#define HAS_NICE /**/
568 * This manifest constant lets the C program know that the three
569 * argument form of open(2) is available.
571 /*#define HAS_OPEN3 /**/
574 * This symbol, if defined, indicates that pathconf() is available
575 * to determine file-system related limits and options associated
576 * with a given filename.
579 * This symbol, if defined, indicates that pathconf() is available
580 * to determine file-system related limits and options associated
581 * with a given open file descriptor.
583 /*#define HAS_PATHCONF /**/
584 /*#define HAS_FPATHCONF /**/
587 * This symbol, if defined, indicates that the pause routine is
588 * available to suspend a process until a signal is received.
590 #define HAS_PAUSE /**/
593 * This symbol, if defined, indicates that the pipe routine is
594 * available to create an inter-process channel.
596 #define HAS_PIPE /**/
599 * This symbol, if defined, indicates that the poll routine is
600 * available to poll active file descriptors.
602 /*#define HAS_POLL /**/
604 /* HAS_PTHREAD_YIELD:
605 * This symbol, if defined, indicates that the pthread_yield routine is
606 * available to yield the execution of the current thread.
608 #undef HAS_PTHREAD_YIELD
611 * This symbol, if defined, indicates that the readdir routine is
612 * available to read directory entries. You may have to include
613 * <dirent.h>. See I_DIRENT.
615 #define HAS_READDIR /**/
618 * This symbol, if defined, indicates that the sched_yield
619 * routine is available to yield the execution of the current thread.
621 #undef HAS_SCHED_YIELD
624 * This symbol, if defined, indicates that the seekdir routine is
625 * available. You may have to include <dirent.h>. See I_DIRENT.
627 #define HAS_SEEKDIR /**/
630 * This symbol, if defined, indicates that the telldir routine is
631 * available. You may have to include <dirent.h>. See I_DIRENT.
633 #define HAS_TELLDIR /**/
636 * This symbol, if defined, indicates that the rewinddir routine is
637 * available. You may have to include <dirent.h>. See I_DIRENT.
639 #define HAS_REWINDDIR /**/
642 * This symbol, if defined, indicates that the readlink routine is
643 * available to read the value of a symbolic link.
645 /*#define HAS_READLINK /**/
648 * This symbol, if defined, indicates that the rename routine is available
649 * to rename files. Otherwise you should do the unlink(), link(), unlink()
652 #define HAS_RENAME /**/
655 * This symbol, if defined, indicates that the rmdir routine is
656 * available to remove directories. Otherwise you should fork off a
657 * new process to exec /bin/rmdir.
659 #define HAS_RMDIR /**/
662 * This symbol, if defined, indicates that the bcopy 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_BCOPY /**/
670 * This symbol, if defined, indicates that the memcpy routine is available
671 * to copy potentially overlapping memory blocks. Otherwise you should
672 * probably use memmove() or memcpy(). If neither is defined, roll your
675 /*#define HAS_SAFE_MEMCPY /**/
678 * This symbol, if defined, indicates that the memcmp routine is available
679 * and can be used to compare relative magnitudes of chars with their high
680 * bits set. If it is not defined, roll your own version.
682 #define HAS_SANE_MEMCMP /**/
685 * This symbol, if defined, indicates that the select routine is
686 * available to select active file descriptors. If the timeout field
687 * is used, <sys/time.h> may need to be included.
689 #define HAS_SELECT /**/
692 * This symbol, if defined, indicates that the entire sem*(2) library is
695 /*#define HAS_SEM /**/
698 * This symbol, if defined, indicates that the setegid routine is available
699 * to change the effective gid of the current program.
701 /*#define HAS_SETEGID /**/
704 * This symbol, if defined, indicates that the seteuid routine is available
705 * to change the effective uid of the current program.
707 /*#define HAS_SETEUID /**/
710 * This symbol, if defined, indicates that the setlinebuf routine is
711 * available to change stderr or stdout from block-buffered or unbuffered
712 * to a line-buffered mode.
714 /*#define HAS_SETLINEBUF /**/
717 * This symbol, if defined, indicates that the setlocale routine is
718 * available to handle locale-specific ctype implementations.
720 #define HAS_SETLOCALE /**/
723 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
724 * routine is available to set the current process group.
726 /*#define HAS_SETPGRP2 /**/
729 * This symbol, if defined, indicates that the setpriority routine is
730 * available to set a process's priority.
732 /*#define HAS_SETPRIORITY /**/
735 * This symbol, if defined, indicates that the setregid routine is
736 * available to change the real and effective gid of the current
740 * This symbol, if defined, indicates that the setresgid routine is
741 * available to change the real, effective and saved gid of the current
744 /*#define HAS_SETREGID /**/
745 /*#define HAS_SETRESGID /**/
748 * This symbol, if defined, indicates that the setreuid routine is
749 * available to change the real and effective uid of the current
753 * This symbol, if defined, indicates that the setresuid routine is
754 * available to change the real, effective and saved uid of the current
757 /*#define HAS_SETREUID /**/
758 /*#define HAS_SETRESUID /**/
761 * This symbol, if defined, indicates that the setrgid routine is available
762 * to change the real gid of the current program.
764 /*#define HAS_SETRGID /**/
767 * This symbol, if defined, indicates that the setruid routine is available
768 * to change the real uid of the current program.
770 /*#define HAS_SETRUID /**/
773 * This symbol, if defined, indicates that the setsid routine is
774 * available to set the process group ID.
776 /*#define HAS_SETSID /**/
779 * This symbol, if defined, indicates that the entire shm*(2) library is
782 /*#define HAS_SHM /**/
785 * This symbol holds the return type of the shmat() system call.
786 * Usually set to 'void *' or 'char *'.
788 /* HAS_SHMAT_PROTOTYPE:
789 * This symbol, if defined, indicates that the sys/shm.h includes
790 * a prototype for shmat(). Otherwise, it is up to the program to
791 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
792 * but not always right so it should be emitted by the program only
793 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
795 #define Shmat_t void * /**/
796 /*#define HAS_SHMAT_PROTOTYPE /**/
799 * This symbol, if defined, indicates that Vr4's sigaction() routine
802 /*#define HAS_SIGACTION /**/
805 * This symbol, if defined, indicates that the BSD socket interface is
809 * This symbol, if defined, indicates that the BSD socketpair() call is
812 #define HAS_SOCKET /**/
813 /*#define HAS_SOCKETPAIR /**/
816 * This symbol is defined if this system has a stat structure declaring
817 * st_blksize and st_blocks.
819 /*#define USE_STAT_BLOCKS /**/
822 * This symbol is defined if the _ptr and _cnt fields (or similar)
823 * of the stdio FILE structure can be used to access the stdio buffer
824 * for a file handle. If this is defined, then the FILE_ptr(fp)
825 * and FILE_cnt(fp) macros will also be defined and should be used
826 * to access these fields.
829 * This macro is used to access the _ptr field (or equivalent) of the
830 * FILE structure pointed to by its argument. This macro will always be
831 * defined if USE_STDIO_PTR is defined.
834 * This symbol is defined if the FILE_ptr macro can be used as an
838 * This macro is used to access the _cnt field (or equivalent) of the
839 * FILE structure pointed to by its argument. This macro will always be
840 * defined if USE_STDIO_PTR is defined.
843 * This symbol is defined if the FILE_cnt macro can be used as an
846 #define USE_STDIO_PTR /**/
848 #define FILE_ptr(fp) ((fp)->_ptr)
849 #define STDIO_PTR_LVALUE /**/
850 #define FILE_cnt(fp) ((fp)->_cnt)
851 #define STDIO_CNT_LVALUE /**/
855 * This symbol is defined if the _base field (or similar) of the
856 * stdio FILE structure can be used to access the stdio buffer for
857 * a file handle. If this is defined, then the FILE_base(fp) macro
858 * will also be defined and should be used to access this field.
859 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
860 * to determine the number of bytes in the buffer. USE_STDIO_BASE
861 * will never be defined unless USE_STDIO_PTR is.
864 * This macro is used to access the _base field (or equivalent) of the
865 * FILE structure pointed to by its argument. This macro will always be
866 * defined if USE_STDIO_BASE is defined.
869 * This macro is used to determine the number of bytes in the I/O
870 * buffer pointed to by _base field (or equivalent) of the FILE
871 * structure pointed to its argument. This macro will always be defined
872 * if USE_STDIO_BASE is defined.
874 #define USE_STDIO_BASE /**/
875 #ifdef USE_STDIO_BASE
876 #define FILE_base(fp) ((fp)->_base)
877 #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
881 * This symbol is defined to indicate that the strchr()/strrchr()
882 * functions are available for string searching. If not, try the
883 * index()/rindex() pair.
886 * This symbol is defined to indicate that the index()/rindex()
887 * functions are available for string searching.
889 #define HAS_STRCHR /**/
890 /*#define HAS_INDEX /**/
893 * This symbol, if defined, indicates that the strcoll routine is
894 * available to compare strings using collating information.
896 #define HAS_STRCOLL /**/
899 * This symbol, if defined, indicates that this C compiler knows how
900 * to copy structures. If undefined, you'll need to use a block copy
901 * routine of some sort instead.
903 #define USE_STRUCT_COPY /**/
906 * This symbol, if defined, indicates that the strerror routine is
907 * available to translate error numbers to strings. See the writeup
908 * of Strerror() in this file before you try to define your own.
911 * This symbol, if defined, indicates that the sys_errlist array is
912 * available to translate error numbers to strings. The extern int
913 * sys_nerr gives the size of that table.
916 * This preprocessor symbol is defined as a macro if strerror() is
917 * not available to translate error numbers to strings but sys_errlist[]
920 #define HAS_STRERROR /**/
921 #define HAS_SYS_ERRLIST /**/
922 #define Strerror(e) strerror(e)
925 * This symbol, if defined, indicates that the strtod routine is
926 * available to provide better numeric string conversion than atof().
928 #define HAS_STRTOD /**/
931 * This symbol, if defined, indicates that the strtol routine is available
932 * to provide better numeric string conversion than atoi() and friends.
934 #define HAS_STRTOL /**/
937 * This symbol, if defined, indicates that the strtoul routine is
938 * available to provide conversion of strings to unsigned long.
940 #define HAS_STRTOUL /**/
943 * This symbol, if defined, indicates that the strxfrm() routine is
944 * available to transform strings.
946 #define HAS_STRXFRM /**/
949 * This symbol, if defined, indicates that the symlink routine is available
950 * to create symbolic links.
952 /*#define HAS_SYMLINK /**/
955 * This symbol, if defined, indicates that the syscall routine is
956 * available to call arbitrary system calls. If undefined, that's tough.
958 /*#define HAS_SYSCALL /**/
961 * This symbol, if defined, indicates that sysconf() is available
962 * to determine system related limits and options.
964 /*#define HAS_SYSCONF /**/
967 * This symbol, if defined, indicates that the system routine is
968 * available to issue a shell command.
970 #define HAS_SYSTEM /**/
973 * This symbol, if defined, indicates that the tcgetpgrp routine is
974 * available to get foreground process group ID.
976 /*#define HAS_TCGETPGRP /**/
979 * This symbol, if defined, indicates that the tcsetpgrp routine is
980 * available to set foreground process group ID.
982 /*#define HAS_TCSETPGRP /**/
985 * This symbol holds the type returned by time(). It can be long,
986 * or time_t on BSD sites (in which case <sys/types.h> should be
989 #define Time_t time_t /* Time type */
992 * This symbol, if defined, indicates that the times() routine exists.
993 * Note that this became obsolete on some systems (SUNOS), which now
994 * use getrusage(). It may be necessary to include <sys/times.h>.
996 #define HAS_TIMES /**/
999 * This symbol, if defined, indicates that the truncate routine is
1000 * available to truncate files.
1002 /*#define HAS_TRUNCATE /**/
1005 * This symbol, if defined, indicates that the tzname[] array is
1006 * available to access timezone names.
1008 #define HAS_TZNAME /**/
1011 * This symbol, if defined, indicates that the umask routine is
1012 * available to set and get the value of the file creation mask.
1014 #define HAS_UMASK /**/
1017 * This symbol, if defined, indicates that vfork() exists.
1019 /*#define HAS_VFORK /**/
1022 * This symbol's value is either "void" or "int", corresponding to the
1023 * appropriate return type of a signal handler. Thus, you can declare
1024 * a signal handler using "Signal_t (*handler)()", and define the
1025 * handler using "Signal_t handler(sig)".
1027 #define Signal_t void /* Signal handler's return type */
1030 * This symbol, if defined, indicates that this C compiler knows about
1031 * the volatile declaration.
1033 #define HASVOLATILE /**/
1039 * This symbol, if defined, indicates that the vprintf routine is available
1040 * to printf with a pointer to an argument list. If unavailable, you
1041 * may need to write your own, probably in terms of _doprnt().
1043 /* USE_CHAR_VSPRINTF:
1044 * This symbol is defined if this system has vsprintf() returning type
1045 * (char*). The trend seems to be to declare it as "int vsprintf()". It
1046 * is up to the package author to declare vsprintf correctly based on the
1049 #define HAS_VPRINTF /**/
1050 /*#define USE_CHAR_VSPRINTF /**/
1053 * This symbol, if defined, indicates that wait4() exists.
1055 /*#define HAS_WAIT4 /**/
1058 * This symbol, if defined, indicates that the waitpid routine is
1059 * available to wait for child process.
1061 /*#define HAS_WAITPID /**/
1064 * This symbol, if defined, indicates that the wcstombs routine is
1065 * available to convert wide character strings to multibyte strings.
1067 #define HAS_WCSTOMBS /**/
1070 * This symbol, if defined, indicates that the wctomb routine is available
1071 * to covert a wide character to a multibyte.
1073 #define HAS_WCTOMB /**/
1076 * This symbol holds the type used to declare file positions in libc.
1077 * It can be fpos_t, long, uint, etc... It may be necessary to include
1078 * <sys/types.h> to get any typedef'ed information.
1080 #define Fpos_t fpos_t /* File position type */
1083 * This symbol holds the return type of getgid() and the type of
1084 * argument to setrgid() and related functions. Typically,
1085 * it is the type of group ids in the kernel. It can be int, ushort,
1086 * uid_t, etc... It may be necessary to include <sys/types.h> to get
1087 * any typedef'ed information.
1089 #define Gid_t gid_t /* Type for getgid(), etc... */
1092 * This symbol holds the type used for the second argument to
1093 * [gs]etgroups(). Usually, this is the same of gidtype, but
1094 * sometimes it isn't. It can be int, ushort, uid_t, etc...
1095 * It may be necessary to include <sys/types.h> to get any
1096 * typedef'ed information. This is only required if you have
1097 * getgroups() or setgroups().
1099 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1100 #define Groups_t gid_t /* Type for 2nd arg to [gs]etgroups() */
1104 * This symbol contains the type of the prefix structure element
1105 * in the <db.h> header file. In older versions of DB, it was
1106 * int, while in newer ones it is u_int32_t.
1109 * This symbol contains the type of the prefix structure element
1110 * in the <db.h> header file. In older versions of DB, it was
1111 * int, while in newer ones it is size_t.
1113 #define DB_Hash_t int /**/
1114 #define DB_Prefix_t int /**/
1117 * This symbol, if defined, indicates to the C program that it should
1118 * include <dirent.h>. Using this symbol also triggers the definition
1119 * of the Direntry_t define which ends up being 'struct dirent' or
1120 * 'struct direct' depending on the availability of <dirent.h>.
1123 * This symbol, if defined, indicates to the C program that the length
1124 * of directory entry names is provided by a d_namlen field. Otherwise
1125 * you need to do strlen() on the d_name field.
1128 * This symbol is set to 'struct direct' or 'struct dirent' depending on
1129 * whether dirent is available or not. You should use this pseudo type to
1130 * portably declare your directory entries.
1132 #define I_DIRENT /**/
1133 #define DIRNAMLEN /**/
1134 #define Direntry_t struct direct
1137 * This symbol, if defined, indicates that <dlfcn.h> exists and should
1140 #define I_DLFCN /**/
1143 * This manifest constant tells the C program to include <fcntl.h>.
1145 #define I_FCNTL /**/
1148 * This symbol, if defined, indicates to the C program that it should
1149 * include <float.h> to get definition of symbols like DBL_MAX or
1150 * DBL_MIN, i.e. machine dependent floating point values.
1152 #define I_FLOAT /**/
1155 * This symbol, if defined, indicates to the C program that it should
1161 * This symbol, if defined, indicates to the C program that it should
1162 * include <limits.h> to get definition of symbols like WORD_BIT or
1163 * LONG_MAX, i.e. machine dependant limitations.
1165 #define I_LIMITS /**/
1168 * This symbol, if defined, indicates to the C program that it should
1174 * This symbol, if defined, indicates to the C program that it should
1175 * include <memory.h>.
1177 /*#define I_MEMORY /**/
1180 * This symbol, if defined, indicates that <ndbm.h> exists and should
1183 /*#define I_NDBM /**/
1186 * This symbol, if defined, indicates that <net/errno.h> exists and
1187 * should be included.
1189 /*#define I_NET_ERRNO /**/
1192 * This symbol, if defined, indicates to the C program that it should
1193 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
1195 /*#define I_NETINET_IN /**/
1198 * This symbol, if defined, indicates that <netdb.h> exists and
1199 * should be included.
1201 /*#define I_NETDB /**/
1204 * This symbol, if defined, indicates to the C program that it should
1208 * This symbol, if defined, indicates to the C program that struct passwd
1209 * contains pw_quota.
1212 * This symbol, if defined, indicates to the C program that struct passwd
1216 * This symbol, if defined, indicates to the C program that struct passwd
1217 * contains pw_change.
1220 * This symbol, if defined, indicates to the C program that struct passwd
1221 * contains pw_class.
1224 * This symbol, if defined, indicates to the C program that struct passwd
1225 * contains pw_expire.
1228 * This symbol, if defined, indicates to the C program that struct passwd
1229 * contains pw_comment.
1231 /*#define I_PWD /**/
1232 /*#define PWQUOTA /**/
1233 /*#define PWAGE /**/
1234 /*#define PWCHANGE /**/
1235 /*#define PWCLASS /**/
1236 /*#define PWEXPIRE /**/
1237 /*#define PWCOMMENT /**/
1240 * This symbol, if defined, indicates that <stddef.h> exists and should
1243 #define I_STDDEF /**/
1246 * This symbol, if defined, indicates that <stdlib.h> exists and should
1249 #define I_STDLIB /**/
1252 * This symbol, if defined, indicates to the C program that it should
1253 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
1255 #define I_STRING /**/
1258 * This symbol, if defined, indicates to the C program that it should
1259 * include <sys/dir.h>.
1261 /*#define I_SYS_DIR /**/
1264 * This symbol, if defined, indicates to the C program that it should
1265 * include <sys/file.h> to get definition of R_OK and friends.
1267 /*#define I_SYS_FILE /**/
1270 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
1271 * be included. Otherwise, include <sgtty.h> or <termio.h>.
1273 /*#define I_SYS_IOCTL /**/
1276 * This symbol, if defined, indicates to the C program that it should
1277 * include <sys/ndir.h>.
1279 /*#define I_SYS_NDIR /**/
1282 * This symbol, if defined, indicates to the C program that it should
1283 * include <sys/param.h>.
1285 /*#define I_SYS_PARAM /**/
1288 * This symbol, if defined, indicates to the C program that it should
1289 * include <sys/resource.h>.
1291 /*#define I_SYS_RESOURCE /**/
1294 * This symbol, if defined, indicates to the C program that it should
1295 * include <sys/select.h> in order to get definition of struct timeval.
1297 /*#define I_SYS_SELECT /**/
1300 * This symbol, if defined, indicates to the C program that it should
1301 * include <sys/times.h>.
1303 /*#define I_SYS_TIMES /**/
1306 * This symbol, if defined, indicates to the C program that it should
1307 * include <sys/types.h>.
1309 #define I_SYS_TYPES /**/
1312 * This symbol, if defined, indicates to the C program that it should
1313 * include <sys/un.h> to get UNIX domain socket definitions.
1315 /*#define I_SYS_UN /**/
1318 * This symbol, if defined, indicates to the C program that it should
1319 * include <sys/wait.h>.
1321 /*#define I_SYS_WAIT /**/
1324 * This symbol, if defined, indicates that the program should include
1325 * <termio.h> rather than <sgtty.h>. There are also differences in
1326 * the ioctl() calls that depend on the value of this symbol.
1329 * This symbol, if defined, indicates that the program should include
1330 * the POSIX termios.h rather than sgtty.h or termio.h.
1331 * There are also differences in the ioctl() calls that depend on the
1332 * value of this symbol.
1335 * This symbol, if defined, indicates that the program should include
1336 * <sgtty.h> rather than <termio.h>. There are also differences in
1337 * the ioctl() calls that depend on the value of this symbol.
1339 /*#define I_TERMIO /**/
1340 /*#define I_TERMIOS /**/
1341 /*#define I_SGTTY /**/
1344 * This symbol, if defined, indicates to the C program that it should
1348 * This symbol, if defined, indicates to the C program that it should
1349 * include <sys/time.h>.
1351 /* I_SYS_TIME_KERNEL:
1352 * This symbol, if defined, indicates to the C program that it should
1353 * include <sys/time.h> with KERNEL defined.
1356 /*#define I_SYS_TIME /**/
1357 /*#define I_SYS_TIME_KERNEL /**/
1360 * This symbol, if defined, indicates to the C program that it should
1361 * include <unistd.h>.
1363 /*#define I_UNISTD /**/
1366 * This symbol, if defined, indicates to the C program that it should
1367 * include <utime.h>.
1369 #define I_UTIME /**/
1372 * This symbol, if defined, indicates that <stdarg.h> exists and should
1376 * This symbol, if defined, indicates to the C program that it should
1377 * include <varargs.h>.
1379 #define I_STDARG /**/
1380 /*#define I_VARARGS /**/
1383 * This symbol, if defined, indicates to the C program that it should
1386 /*#define I_VFORK /**/
1389 * This symbol contains the value of sizeof(int) so that the C
1390 * preprocessor can make decisions based on it.
1393 * This symbol contains the value of sizeof(long) so that the C
1394 * preprocessor can make decisions based on it.
1397 * This symbol contains the value of sizeof(short) so that the C
1398 * preprocessor can make decisions based on it.
1400 #define INTSIZE 4 /**/
1401 #define LONGSIZE 4 /**/
1402 #define SHORTSIZE 2 /**/
1405 * This symbol holds the type used to declare offsets in the kernel.
1406 * It can be int, long, off_t, etc... It may be necessary to include
1407 * <sys/types.h> to get any typedef'ed information.
1409 #define Off_t off_t /* <offset> type */
1412 * This symbol holds the type used to declare file modes
1413 * for systems calls. It is usually mode_t, but may be
1414 * int or unsigned short. It may be necessary to include <sys/types.h>
1415 * to get any typedef'ed information.
1417 #define Mode_t mode_t /* file mode parameter for system calls */
1420 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1421 * non-blocking I/O for the file descriptor. Note that there is no way
1422 * back, i.e. you cannot turn it blocking again this way. If you wish to
1423 * alternatively switch between blocking and non-blocking, use the
1424 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1427 * This symbol holds the errno error code set by read() when no data was
1428 * present on the non-blocking file descriptor.
1431 * This symbol holds the return code from read() when no data is present
1432 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1433 * not defined, then you can't distinguish between no data and EOF by
1434 * issuing a read(). You'll have to find another way to tell for sure!
1437 * This symbol, if defined, indicates to the C program that a read() on
1438 * a non-blocking file descriptor will return 0 on EOF, and not the value
1439 * held in RD_NODATA (-1 usually, in that case!).
1441 #define VAL_O_NONBLOCK O_NONBLOCK
1442 #define VAL_EAGAIN EAGAIN
1443 #define RD_NODATA -1
1444 #define EOF_NONBLOCK
1447 * If defined, this macro indicates that the C compiler can handle
1448 * function prototypes.
1451 * This macro is used to declare function parameters for folks who want
1452 * to make declarations with prototypes using a different style than
1453 * the above macros. Use double parentheses. For example:
1455 * int main _((int argc, char *argv[]));
1457 #define CAN_PROTOTYPE /**/
1458 #ifdef CAN_PROTOTYPE
1459 #define _(args) args
1465 * This symbol contains the number of bits of random number the rand()
1466 * function produces. Usual values are 15, 16, and 31.
1468 #define RANDBITS 15 /**/
1471 * This symbol holds the type used for the 2nd, 3rd, and 4th
1472 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
1473 * is defined, and 'int *' otherwise. This is only useful if you
1474 * have select(), of course.
1476 #define Select_fd_set_t Perl_fd_set * /**/
1479 * This symbol holds the type used to declare length parameters
1480 * for string functions. It is usually size_t, but may be
1481 * unsigned long, int, etc. It may be necessary to include
1482 * <sys/types.h> to get any typedef'ed information.
1484 #define Size_t size_t /* length paramater for string functions */
1487 * This symbol holds the type used by functions that return
1488 * a count of bytes or an error condition. It must be a signed type.
1489 * It is usually ssize_t, but may be long or int, etc.
1490 * It may be necessary to include <sys/types.h> or <unistd.h>
1491 * to get any typedef'ed information.
1492 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1494 #define SSize_t int /* signed count of bytes */
1497 * This symbol is defined to be the type of char used in stdio.h.
1498 * It has the values "unsigned char" or "char".
1500 #define STDCHAR char /**/
1503 * This symbol holds the type used to declare user ids in the kernel.
1504 * It can be int, ushort, uid_t, etc... It may be necessary to include
1505 * <sys/types.h> to get any typedef'ed information.
1507 #define Uid_t uid_t /* UID type */
1510 * This symbol holds the complete pathname to the sed program.
1512 #define LOC_SED "" /**/
1515 * This symbol contains the name of the operating system, as determined
1516 * by Configure. You shouldn't rely on it too much; the specific
1517 * feature tests from Configure are generally more reliable.
1519 #define OSNAME "MSWin32" /**/
1522 * This variable, if defined, holds the name of the directory in
1523 * which the user wants to put architecture-dependent public
1524 * library files for perl5. It is most often a local directory
1525 * such as /usr/local/lib. Programs using this variable must be
1526 * prepared to deal with filename expansion. If ARCHLIB is the
1527 * same as PRIVLIB, it is not defined, since presumably the
1528 * program already searches PRIVLIB.
1531 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1532 * in programs that are not prepared to deal with ~ expansion at run-time.
1534 #define ARCHLIB "c:\\perl\\lib\\MSWin32-x86" /**/
1535 #define ARCHLIB_EXP (win32_perllib_path(ARCHNAME,NULL)) /**/
1538 * This symbol, if defined, indicates that Perl 5.004 should be
1539 * binary-compatible with Perl 5.003.
1541 /*#define BINCOMPAT3 /**/
1544 * This symbol holds the hexadecimal constant defined in byteorder,
1545 * i.e. 0x1234 or 0x4321, etc...
1546 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1547 * Binaries (MAB) on either big endian or little endian machines.
1548 * The endian-ness is available at compile-time. This only matters
1549 * for perl, where the config.h can be generated and installed on
1550 * one system, and used by a different architecture to build an
1551 * extension. Older versions of NeXT that might not have
1552 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1553 * so the default case (for NeXT) is big endian to catch them.
1554 * This might matter for NeXT 3.0.
1557 #define BYTEORDER 0x1234 /* large digits for MSB */
1559 #ifdef __LITTLE_ENDIAN__
1560 #define BYTEORDER 0x1234
1561 #else /* __BIG_ENDIAN__ */
1562 #define BYTEORDER 0x4321
1563 #endif /* ENDIAN CHECK */
1567 * This symbol, if defined, indicates that the C-shell exists.
1568 * If defined, contains the full pathname of csh.
1570 /*#define CSH "" /**/
1572 /* DLSYM_NEEDS_UNDERSCORE:
1573 * This symbol, if defined, indicates that we need to prepend an
1574 * underscore to the symbol name before calling dlsym(). This only
1575 * makes sense if you *have* dlsym, which we will presume is the
1576 * case if you're using dl_dlopen.xs.
1578 /*#define DLSYM_NEEDS_UNDERSCORE /**/
1580 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1581 * This symbol, if defined, indicates that the bug that prevents
1582 * setuid scripts from being secure is not present in this kernel.
1585 * This symbol, if defined, indicates that the C program should
1586 * check the script that it is executing for setuid/setgid bits, and
1587 * attempt to emulate setuid/setgid on systems that have disabled
1588 * setuid #! scripts because the kernel can't do it securely.
1589 * It is up to the package designer to make sure that this emulation
1590 * is done securely. Among other things, it should do an fstat on
1591 * the script it just opened to make sure it really is a setuid/setgid
1592 * script, it should make sure the arguments passed correspond exactly
1593 * to the argument on the #! line, and it should not trust any
1594 * subprocesses to which it must pass the filename rather than the
1595 * file descriptor of the script to be executed.
1597 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1598 /*#define DOSUID /**/
1601 * This preprocessor macro is defined to convert a floating point
1602 * number to a string without a trailing decimal point. This
1603 * emulates the behavior of sprintf("%g"), but is sometimes much more
1604 * efficient. If gconvert() is not available, but gcvt() drops the
1605 * trailing decimal point, then gcvt() is used. If all else fails,
1606 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1607 * macro are: value, number of digits, whether trailing zeros should
1608 * be retained, and the output buffer.
1609 * Possible values are:
1610 * d_Gconvert='gconvert((x),(n),(t),(b))'
1611 * d_Gconvert='gcvt((x),(n),(b))'
1612 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1613 * The last two assume trailing zeros should not be kept.
1615 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1618 * This symbol, if defined, indicates to the C program that
1619 * the getpgid(pid) function is available to get the
1622 /*#define HAS_GETPGID /**/
1625 * This symbol, if defined, indicates that the getpgrp routine is
1626 * available to get the current process group.
1629 * This symbol, if defined, indicates that getpgrp needs one
1630 * arguments whereas USG one needs none.
1632 /*#define HAS_GETPGRP /**/
1633 /*#define USE_BSD_GETPGRP /**/
1636 * This symbol, if defined, indicates to the C program that the
1637 * inet_aton() function is available to parse IP address "dotted-quad"
1640 /*#define HAS_INET_ATON /**/
1643 * This symbol, if defined, indicates to the C program that
1644 * the setpgid(pid, gpid) function is available to set the
1647 /*#define HAS_SETPGID /**/
1650 * This symbol, if defined, indicates that the setpgrp routine is
1651 * available to set the current process group.
1654 * This symbol, if defined, indicates that setpgrp needs two
1655 * arguments whereas USG one needs none. See also HAS_SETPGID
1656 * for a POSIX interface.
1659 * This symbol, if defined, indicates that the BSD notion of process
1660 * group is to be used. For instance, you have to say setpgrp(pid, pgrp)
1661 * instead of the USG setpgrp(). This should be obsolete since
1662 * there are systems which have BSD-ish setpgrp but USG-ish getpgrp.
1664 /*#define HAS_SETPGRP /**/
1665 /*#define USE_BSD_SETPGRP /**/
1666 /*#define USE_BSDPGRP /**/
1669 * This symbol, if defined, indicates that sfio should
1672 /*#define USE_SFIO /**/
1674 /* PTHREADS_CREATED_JOINABLE:
1675 * This symbol, if defined, indicates that pthreads are created
1676 * in the joinable (aka undetached) state.
1678 /*#define PTHREADS_CREATED_JOINABLE /**/
1681 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1684 * This macro is used in the same way as sigsetjmp(), but will invoke
1685 * traditional setjmp() if sigsetjmp isn't available.
1686 * See HAS_SIGSETJMP.
1689 * This macro is used in the same way as siglongjmp(), but will invoke
1690 * traditional longjmp() if siglongjmp isn't available.
1691 * See HAS_SIGSETJMP.
1693 /*#define HAS_SIGSETJMP /**/
1694 #ifdef HAS_SIGSETJMP
1695 #define Sigjmp_buf sigjmp_buf
1696 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1697 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1699 #define Sigjmp_buf jmp_buf
1700 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1701 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1704 /* USE_DYNAMIC_LOADING:
1705 * This symbol, if defined, indicates that dynamic loading of
1706 * some sort is available.
1708 #define USE_DYNAMIC_LOADING /**/
1711 * This symbol, if defined, indicates that <dbm.h> exists and should
1715 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
1716 * should be included.
1718 /*#define I_DBM /**/
1719 #define I_RPCSVC_DBM /**/
1722 * This symbol, if defined, indicates to the C program that it should
1723 * include <locale.h>.
1725 #define I_LOCALE /**/
1728 * This symbol, if defined, indicates to the C program that it should
1731 /*#define I_SFIO /**/
1734 * This symbol, if defined, indicates to the C program that it should
1735 * include <sys/stat.h>.
1737 #define I_SYS_STAT /**/
1740 * This symbol, if defined, indicates to the C program that it should
1741 * include <values.h> to get definition of symbols like MINFLOAT or
1742 * MAXLONG, i.e. machine dependant limitations. Probably, you
1743 * should use <limits.h> instead, if it is available.
1745 /*#define I_VALUES /**/
1748 * This variable contains the return type of free(). It is usually
1749 * void, but occasionally int.
1752 * This symbol is the type of pointer returned by malloc and realloc.
1754 #define Malloc_t void * /**/
1755 #define Free_t void /**/
1758 * This symbol, if defined, indicates that we're using our own malloc.
1761 #define MYMALLOC /**/
1765 * This variable, if defined, holds the name of the directory in
1766 * which the user has perl5.000 or perl5.001 architecture-dependent
1767 * public library files for perl5. For the most part, these
1768 * files will work with 5.002 (and later), but that is not
1772 * This symbol contains the ~name expanded version of OLDARCHLIB, to be
1773 * used in programs that are not prepared to deal with ~ expansion at
1776 /*#define OLDARCHLIB "" /**/
1777 /*#define OLDARCHLIB_EXP "" /**/
1780 * This symbol contains the name of the private library for this package.
1781 * The library is private in the sense that it needn't be in anyone's
1782 * execution path, but it should be accessible by the world. The program
1783 * should be prepared to do ~ expansion.
1786 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1787 * in programs that are not prepared to deal with ~ expansion at run-time.
1789 #define PRIVLIB "c:\\perl5004.5x\\lib" /**/
1790 #define PRIVLIB_EXP (win32_perllib_path(NULL)) /**/
1793 * This symbol contains the full pathname to the shell used on this
1794 * on this system to execute Bourne shell scripts. Usually, this will be
1795 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1796 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
1799 #define SH_PATH "cmd /x /c" /**/
1802 * This symbol contains a list of signal names in order of
1803 * signal number. This is intended
1804 * to be used as a static array initialization, like this:
1805 * char *sig_name[] = { SIG_NAME };
1806 * The signals in the list are separated with commas, and each signal
1807 * is surrounded by double quotes. There is no leading SIG in the signal
1808 * name, i.e. SIGQUIT is known as "QUIT".
1809 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1810 * etc., where nn is the actual signal number (e.g. NUM37).
1811 * The signal number for sig_name[i] is stored in sig_num[i].
1812 * The last element is 0 to terminate the list with a NULL. This
1813 * corresponds to the 0 at the end of the sig_num list.
1816 * This symbol contains a list of signal numbers, in the same order as the
1817 * SIG_NAME list. It is suitable for static array initialization, as in:
1818 * int sig_num[] = { SIG_NUM };
1819 * The signals in the list are separated with commas, and the indices
1820 * within that list and the SIG_NAME list match, so it's easy to compute
1821 * the signal name from a number or vice versa at the price of a small
1822 * dynamic linear lookup.
1823 * Duplicates are allowed, but are moved to the end of the list.
1824 * The signal number corresponding to sig_name[i] is sig_number[i].
1825 * if (i < NSIG) then sig_number[i] == i.
1826 * The last element is 0, corresponding to the 0 at the end of
1827 * the sig_name list.
1829 #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 /**/
1830 #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 /**/
1833 * This symbol contains the name of the private library for this package.
1834 * The library is private in the sense that it needn't be in anyone's
1835 * execution path, but it should be accessible by the world. The program
1836 * should be prepared to do ~ expansion.
1837 * The standard distribution will put nothing in this directory.
1838 * Individual sites may place their own extensions and modules in
1842 * This symbol contains the ~name expanded version of SITEARCH, to be used
1843 * in programs that are not prepared to deal with ~ expansion at run-time.
1845 #define SITEARCH "c:\\perl\\lib\\site\\MSWin32-x86" /**/
1846 #define SITEARCH_EXP (win32_perllib_path("site",ARCHNAME,NULL)) /**/
1849 * This symbol contains the name of the private library for this package.
1850 * The library is private in the sense that it needn't be in anyone's
1851 * execution path, but it should be accessible by the world. The program
1852 * should be prepared to do ~ expansion.
1853 * The standard distribution will put nothing in this directory.
1854 * Individual sites may place their own extensions and modules in
1858 * This symbol contains the ~name expanded version of SITELIB, to be used
1859 * in programs that are not prepared to deal with ~ expansion at run-time.
1861 #define SITELIB "c:\\perl5004.5x\\lib\\site" /**/
1862 #define SITELIB_EXP (win32_perllib_path("site",NULL)) /**/
1865 * This variable contains the string to put in front of a perl
1866 * script to make sure (one hopes) that it runs with perl and not
1869 #define STARTPERL "#!perl" /**/
1872 * This symbol, if defined, indicates that the PerlIO abstraction should
1873 * be used throughout. If not defined, stdio should be
1874 * used in a fully backward compatible manner.
1876 /*#define USE_PERLIO /**/
1879 * This symbol indicates how much support of the void type is given by this
1880 * compiler. What various bits mean:
1882 * 1 = supports declaration of void
1883 * 2 = supports arrays of pointers to functions returning void
1884 * 4 = supports comparisons between pointers to void functions and
1885 * addresses of void functions
1886 * 8 = suports declaration of generic void pointers
1888 * The package designer should define VOIDUSED to indicate the requirements
1889 * of the package. This can be done either by #defining VOIDUSED before
1890 * including config.h, or by defining defvoidused in Myinit.U. If the
1891 * latter approach is taken, only those flags will be tested. If the
1892 * level of void support necessary is not present, defines void to int.
1897 #define VOIDFLAGS 15
1898 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1899 #define void int /* is void to be avoided? */
1900 #define M_VOID /* Xenix strikes again */