2 * This file was produced by running the config_h.SH script, which
3 * gets its values from config.sh, which is generally produced by
6 * Feel free to modify any of this as the need arises. Note, however,
7 * that running config_h.SH again will wipe out any changes you've made.
8 * For a more permanent change edit config.sh and rerun config_h.SH.
10 * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
14 * Package name : perl5
16 * Configuration time: undef
17 * Configured by : gsar
25 * This symbol holds the complete pathname to the sed program.
27 #define LOC_SED "" /**/
30 * This symbol holds the path of the bin directory where the package will
31 * be installed. Program must be prepared to deal with ~name substitution.
34 * This symbol is the filename expanded version of the BIN symbol, for
35 * programs that do not want to deal with that at run-time.
37 #define BIN "c:\\perl5004.5x\\bin" /**/
38 #define BIN_EXP "c:\\perl5004.5x\\bin" /**/
41 * This symbol contains the first part of the string which will invoke
42 * the C preprocessor on the standard input and produce to standard
43 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
44 * call a wrapper. See CPPRUN.
47 * This symbol contains the second part of the string which will invoke
48 * the C preprocessor on the standard input and produce to standard
49 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
50 * to specify standard input, otherwise the value is "".
56 * This symbol, if defined, indicates that the alarm routine is
59 /*#define HAS_ALARM /**/
62 * This symbol indicates the C compiler can check for function attributes,
63 * such as printf formats. This is normally only supported by GNU cc.
65 /*#define HASATTRIBUTE /**/
67 #define __attribute__(_arg_)
71 * This symbol is defined if the bcmp() routine is available to
72 * compare blocks of memory.
74 /*#define HAS_BCMP /**/
77 * This symbol is defined if the bcopy() routine is available to
78 * copy blocks of memory.
80 /*#define HAS_BCOPY /**/
83 * This symbol is defined if the bzero() routine is available to
84 * set a memory block to 0.
86 /*#define HAS_BZERO /**/
89 * This symbol, if defined, indicates that the chown routine is
92 /*#define HAS_CHOWN /**/
95 * This symbol, if defined, indicates that the chroot routine is
98 /*#define HAS_CHROOT /**/
101 * This symbol, if defined, indicates that the chsize routine is available
102 * to truncate files. You might need a -lx to get this routine.
104 #define HAS_CHSIZE /**/
107 * This symbol, if defined, indicates that this C compiler knows about
108 * the const type. There is no need to actually test for that symbol
109 * within your programs. The mere use of the "const" keyword will
110 * trigger the necessary tests.
112 #define HASCONST /**/
118 * This symbol, if defined, indicates that the crypt routine is available
119 * to encrypt passwords and the like.
121 /*#define HAS_CRYPT /**/
124 * This symbol, if defined, indicates that the cuserid routine is
125 * available to get character login names.
127 /*#define HAS_CUSERID /**/
130 * This symbol, if defined, indicates that this system's <float.h>
131 * or <limits.h> defines the symbol DBL_DIG, which is the number
132 * of significant digits in a double precision number. If this
133 * symbol is not defined, a guess of 15 is usually pretty good.
135 #define HAS_DBL_DIG /**/
138 * This symbol, if defined, indicates that the difftime routine is
141 #define HAS_DIFFTIME /**/
144 * This symbol, if defined, indicates that the dlerror routine is
145 * available to return a string describing the last error that
146 * occurred from a call to dlopen(), dlclose() or dlsym().
148 #define HAS_DLERROR /**/
150 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
151 * This symbol, if defined, indicates that the bug that prevents
152 * setuid scripts from being secure is not present in this kernel.
155 * This symbol, if defined, indicates that the C program should
156 * check the script that it is executing for setuid/setgid bits, and
157 * attempt to emulate setuid/setgid on systems that have disabled
158 * setuid #! scripts because the kernel can't do it securely.
159 * It is up to the package designer to make sure that this emulation
160 * is done securely. Among other things, it should do an fstat on
161 * the script it just opened to make sure it really is a setuid/setgid
162 * script, it should make sure the arguments passed correspond exactly
163 * to the argument on the #! line, and it should not trust any
164 * subprocesses to which it must pass the filename rather than the
165 * file descriptor of the script to be executed.
167 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
168 /*#define DOSUID /**/
171 * This symbol, if defined, indicates that the dup2 routine is
172 * available to duplicate file descriptors.
174 #define HAS_DUP2 /**/
177 * This symbol, if defined, indicates that the fchmod routine is available
178 * to change mode of opened files. If unavailable, use chmod().
180 /*#define HAS_FCHMOD /**/
183 * This symbol, if defined, indicates that the fchown routine is available
184 * to change ownership of opened files. If unavailable, use chown().
186 /*#define HAS_FCHOWN /**/
189 * This symbol, if defined, indicates to the C program that
190 * the fcntl() function exists.
192 /*#define HAS_FCNTL /**/
195 * This symbol, if defined, indicates that the fgetpos routine is
196 * available to get the file position indicator, similar to ftell().
198 #define HAS_FGETPOS /**/
201 * This symbol, if defined, indicates that the system supports filenames
202 * longer than 14 characters.
204 #define FLEXFILENAMES /**/
207 * This symbol, if defined, indicates that the flock routine is
208 * available to do file locking.
210 #define HAS_FLOCK /**/
213 * This symbol, if defined, indicates that the fork routine is
216 /*#define HAS_FORK /**/
219 * This symbol, if defined, indicates that the fsetpos routine is
220 * available to set the file position indicator, similar to fseek().
222 #define HAS_FSETPOS /**/
225 * This symbol, if defined, indicates that the gettimeofday() system
226 * call is available for a sub-second accuracy clock. Usually, the file
227 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
228 * The type "Timeval" should be used to refer to "struct timeval".
230 /*#define HAS_GETTIMEOFDAY /**/
231 #ifdef HAS_GETTIMEOFDAY
232 #define Timeval struct timeval /* Structure used by gettimeofday() */
236 * This symbol, if defined, indicates that the getgroups() routine is
237 * available to get the list of process groups. If unavailable, multiple
238 * groups are probably not supported.
240 /*#define HAS_GETGROUPS /**/
243 * This symbol, if defined, indicates that the C program may use the
244 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
247 /*#define HAS_UNAME /**/
250 * This symbol, if defined, indicates that the getlogin routine is
251 * available to get the login name.
253 #define HAS_GETLOGIN /**/
256 * This symbol, if defined, indicates to the C program that
257 * the getpgid(pid) function is available to get the
260 /*#define HAS_GETPGID /**/
263 * This symbol, if defined, indicates that the getpgrp routine is
264 * available to get the current process group.
267 * This symbol, if defined, indicates that getpgrp needs one
268 * arguments whereas USG one needs none.
270 /*#define HAS_GETPGRP /**/
271 /*#define USE_BSD_GETPGRP /**/
274 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
275 * routine is available to get the current process group.
277 /*#define HAS_GETPGRP2 /**/
280 * This symbol, if defined, indicates that the getppid routine is
281 * available to get the parent process ID.
283 /*#define HAS_GETPPID /**/
286 * This symbol, if defined, indicates that the getpriority routine is
287 * available to get a process's priority.
289 /*#define HAS_GETPRIORITY /**/
292 * This symbol, if defined, indicates that the htonl() routine (and
293 * friends htons() ntohl() ntohs()) are available to do network
294 * order byte swapping.
297 * This symbol, if defined, indicates that the htons() routine (and
298 * friends htonl() ntohl() ntohs()) are available to do network
299 * order byte swapping.
302 * This symbol, if defined, indicates that the ntohl() routine (and
303 * friends htonl() htons() ntohs()) are available to do network
304 * order byte swapping.
307 * This symbol, if defined, indicates that the ntohs() routine (and
308 * friends htonl() htons() ntohl()) are available to do network
309 * order byte swapping.
311 #define HAS_HTONL /**/
312 #define HAS_HTONS /**/
313 #define HAS_NTOHL /**/
314 #define HAS_NTOHS /**/
317 * This symbol, if defined, indicates to the C program that the
318 * inet_aton() function is available to parse IP address "dotted-quad"
321 /*#define HAS_INET_ATON /**/
324 * This symbol, if defined, indicates that the killpg routine is available
325 * to kill process groups. If unavailable, you probably should use kill
326 * with a negative process number.
328 /*#define HAS_KILLPG /**/
331 * This symbol, if defined, indicates that the link routine is
332 * available to create hard links.
334 /*#define HAS_LINK /**/
337 * This symbol, if defined, indicates that the localeconv routine is
338 * available for numeric and monetary formatting conventions.
340 #define HAS_LOCALECONV /**/
343 * This symbol, if defined, indicates that the lockf routine is
344 * available to do file locking.
346 /*#define HAS_LOCKF /**/
349 * This symbol, if defined, indicates that the lstat routine is
350 * available to do file stats on symbolic links.
352 /*#define HAS_LSTAT /**/
355 * This symbol, if defined, indicates that the mblen routine is available
356 * to find the number of bytes in a multibye character.
358 #define HAS_MBLEN /**/
361 * This symbol, if defined, indicates that the mbstowcs routine is
362 * available to covert a multibyte string into a wide character string.
364 #define HAS_MBSTOWCS /**/
367 * This symbol, if defined, indicates that the mbtowc routine is available
368 * to covert a multibyte to a wide character.
370 #define HAS_MBTOWC /**/
373 * This symbol, if defined, indicates that the memcmp routine is available
374 * to compare blocks of memory.
376 #define HAS_MEMCMP /**/
379 * This symbol, if defined, indicates that the memcpy routine is available
380 * to copy blocks of memory.
382 #define HAS_MEMCPY /**/
385 * This symbol, if defined, indicates that the memmove routine is available
386 * to copy potentially overlapping blocks of memory. This should be used
387 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
390 #define HAS_MEMMOVE /**/
393 * This symbol, if defined, indicates that the memset routine is available
394 * to set blocks of memory.
396 #define HAS_MEMSET /**/
399 * This symbol, if defined, indicates that the mkdir routine is available
400 * to create directories. Otherwise you should fork off a new process to
403 #define HAS_MKDIR /**/
406 * This symbol, if defined, indicates that the mkfifo routine is
407 * available to create FIFOs. Otherwise, mknod should be able to
408 * do it for you. However, if mkfifo is there, mknod might require
409 * super-user privileges which mkfifo will not.
411 /*#define HAS_MKFIFO /**/
414 * This symbol, if defined, indicates that the mktime routine is
417 #define HAS_MKTIME /**/
420 * This symbol, if defined, indicates that the entire msg*(2) library is
421 * supported (IPC mechanism based on message queues).
423 /*#define HAS_MSG /**/
426 * This symbol, if defined, indicates that the nice routine is
429 /*#define HAS_NICE /**/
432 * This symbol, if defined, indicates that pathconf() is available
433 * to determine file-system related limits and options associated
434 * with a given filename.
437 * This symbol, if defined, indicates that pathconf() is available
438 * to determine file-system related limits and options associated
439 * with a given open file descriptor.
441 /*#define HAS_PATHCONF /**/
442 /*#define HAS_FPATHCONF /**/
445 * This symbol, if defined, indicates that the pause routine is
446 * available to suspend a process until a signal is received.
448 #define HAS_PAUSE /**/
451 * This symbol, if defined, indicates that the pipe routine is
452 * available to create an inter-process channel.
454 #define HAS_PIPE /**/
457 * This symbol, if defined, indicates that the poll routine is
458 * available to poll active file descriptors. You may safely
459 * include <poll.h> when this symbol is defined.
461 /*#define HAS_POLL /**/
464 * This symbol, if defined, indicates that the readdir routine is
465 * available to read directory entries. You may have to include
466 * <dirent.h>. See I_DIRENT.
468 #define HAS_READDIR /**/
471 * This symbol, if defined, indicates that the seekdir routine is
472 * available. You may have to include <dirent.h>. See I_DIRENT.
474 #define HAS_SEEKDIR /**/
477 * This symbol, if defined, indicates that the telldir routine is
478 * available. You may have to include <dirent.h>. See I_DIRENT.
480 #define HAS_TELLDIR /**/
483 * This symbol, if defined, indicates that the rewinddir routine is
484 * available. You may have to include <dirent.h>. See I_DIRENT.
486 #define HAS_REWINDDIR /**/
489 * This symbol, if defined, indicates that the readlink routine is
490 * available to read the value of a symbolic link.
492 /*#define HAS_READLINK /**/
495 * This symbol, if defined, indicates that the rename routine is available
496 * to rename files. Otherwise you should do the unlink(), link(), unlink()
499 #define HAS_RENAME /**/
502 * This symbol, if defined, indicates that the rmdir routine is
503 * available to remove directories. Otherwise you should fork off a
504 * new process to exec /bin/rmdir.
506 #define HAS_RMDIR /**/
509 * This symbol, if defined, indicates that the select routine is
510 * available to select active file descriptors. If the timeout field
511 * is used, <sys/time.h> may need to be included.
513 #define HAS_SELECT /**/
516 * This symbol, if defined, indicates that the entire sem*(2) library is
519 /*#define HAS_SEM /**/
522 * This symbol, if defined, indicates that the setegid routine is available
523 * to change the effective gid of the current program.
525 /*#define HAS_SETEGID /**/
528 * This symbol, if defined, indicates that the seteuid routine is available
529 * to change the effective uid of the current program.
531 /*#define HAS_SETEUID /**/
534 * This symbol, if defined, indicates that the setlinebuf routine is
535 * available to change stderr or stdout from block-buffered or unbuffered
536 * to a line-buffered mode.
538 /*#define HAS_SETLINEBUF /**/
541 * This symbol, if defined, indicates that the setlocale routine is
542 * available to handle locale-specific ctype implementations.
544 #define HAS_SETLOCALE /**/
547 * This symbol, if defined, indicates that the setpgid(pid, gpid)
548 * routine is available to set process group ID.
550 /*#define HAS_SETPGID /**/
553 * This symbol, if defined, indicates that the setpgrp routine is
554 * available to set the current process group.
557 * This symbol, if defined, indicates that setpgrp needs two
558 * arguments whereas USG one needs none. See also HAS_SETPGID
559 * for a POSIX interface.
561 /*#define HAS_SETPGRP /**/
562 /*#define USE_BSD_SETPGRP /**/
565 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
566 * routine is available to set the current process group.
568 /*#define HAS_SETPGRP2 /**/
571 * This symbol, if defined, indicates that the setpriority routine is
572 * available to set a process's priority.
574 /*#define HAS_SETPRIORITY /**/
577 * This symbol, if defined, indicates that the setregid routine is
578 * available to change the real and effective gid of the current
582 * This symbol, if defined, indicates that the setresgid routine is
583 * available to change the real, effective and saved gid of the current
586 /*#define HAS_SETREGID /**/
587 /*#define HAS_SETRESGID /**/
590 * This symbol, if defined, indicates that the setreuid routine is
591 * available to change the real and effective uid of the current
595 * This symbol, if defined, indicates that the setresuid routine is
596 * available to change the real, effective and saved uid of the current
599 /*#define HAS_SETREUID /**/
600 /*#define HAS_SETRESUID /**/
603 * This symbol, if defined, indicates that the setrgid routine is available
604 * to change the real gid of the current program.
606 /*#define HAS_SETRGID /**/
609 * This symbol, if defined, indicates that the setruid routine is available
610 * to change the real uid of the current program.
612 /*#define HAS_SETRUID /**/
615 * This symbol, if defined, indicates that the setsid routine is
616 * available to set the process group ID.
618 /*#define HAS_SETSID /**/
621 * This symbol, if defined, indicates that the entire shm*(2) library is
624 /*#define HAS_SHM /**/
627 * This symbol holds the return type of the shmat() system call.
628 * Usually set to 'void *' or 'char *'.
630 /* HAS_SHMAT_PROTOTYPE:
631 * This symbol, if defined, indicates that the sys/shm.h includes
632 * a prototype for shmat(). Otherwise, it is up to the program to
633 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
634 * but not always right so it should be emitted by the program only
635 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
637 #define Shmat_t void * /**/
638 /*#define HAS_SHMAT_PROTOTYPE /**/
641 * This symbol is defined if this system has a stat structure declaring
642 * st_blksize and st_blocks.
644 /*#define USE_STAT_BLOCKS /**/
647 * This symbol is defined to indicate that the strchr()/strrchr()
648 * functions are available for string searching. If not, try the
649 * index()/rindex() pair.
652 * This symbol is defined to indicate that the index()/rindex()
653 * functions are available for string searching.
655 #define HAS_STRCHR /**/
656 /*#define HAS_INDEX /**/
659 * This symbol, if defined, indicates that the strcoll routine is
660 * available to compare strings using collating information.
662 #define HAS_STRCOLL /**/
665 * This symbol, if defined, indicates that this C compiler knows how
666 * to copy structures. If undefined, you'll need to use a block copy
667 * routine of some sort instead.
669 #define USE_STRUCT_COPY /**/
672 * This symbol, if defined, indicates that the strerror routine is
673 * available to translate error numbers to strings. See the writeup
674 * of Strerror() in this file before you try to define your own.
677 * This symbol, if defined, indicates that the sys_errlist array is
678 * available to translate error numbers to strings. The extern int
679 * sys_nerr gives the size of that table.
682 * This preprocessor symbol is defined as a macro if strerror() is
683 * not available to translate error numbers to strings but sys_errlist[]
686 #define HAS_STRERROR /**/
687 #define HAS_SYS_ERRLIST /**/
688 #define Strerror(e) strerror(e)
691 * This symbol, if defined, indicates that the strtod routine is
692 * available to provide better numeric string conversion than atof().
694 #define HAS_STRTOD /**/
697 * This symbol, if defined, indicates that the strtol routine is available
698 * to provide better numeric string conversion than atoi() and friends.
700 #define HAS_STRTOL /**/
703 * This symbol, if defined, indicates that the strtoul routine is
704 * available to provide conversion of strings to unsigned long.
706 #define HAS_STRTOUL /**/
709 * This symbol, if defined, indicates that the strxfrm() routine is
710 * available to transform strings.
712 #define HAS_STRXFRM /**/
715 * This symbol, if defined, indicates that the symlink routine is available
716 * to create symbolic links.
718 /*#define HAS_SYMLINK /**/
721 * This symbol, if defined, indicates that the syscall routine is
722 * available to call arbitrary system calls. If undefined, that's tough.
724 /*#define HAS_SYSCALL /**/
727 * This symbol, if defined, indicates that sysconf() is available
728 * to determine system related limits and options.
730 /*#define HAS_SYSCONF /**/
733 * This symbol, if defined, indicates that the system routine is
734 * available to issue a shell command.
736 #define HAS_SYSTEM /**/
739 * This symbol, if defined, indicates that the tcgetpgrp routine is
740 * available to get foreground process group ID.
742 /*#define HAS_TCGETPGRP /**/
745 * This symbol, if defined, indicates that the tcsetpgrp routine is
746 * available to set foreground process group ID.
748 /*#define HAS_TCSETPGRP /**/
751 * This symbol, if defined, indicates that the truncate routine is
752 * available to truncate files.
754 /*#define HAS_TRUNCATE /**/
757 * This symbol, if defined, indicates that the tzname[] array is
758 * available to access timezone names.
760 #define HAS_TZNAME /**/
763 * This symbol, if defined, indicates that the umask routine is
764 * available to set and get the value of the file creation mask.
766 #define HAS_UMASK /**/
769 * This symbol, if defined, indicates that vfork() exists.
771 /*#define HAS_VFORK /**/
774 * This symbol, if defined, indicates that this C compiler knows about
775 * the volatile declaration.
777 #define HASVOLATILE /**/
783 * This symbol, if defined, indicates that wait4() exists.
785 /*#define HAS_WAIT4 /**/
788 * This symbol, if defined, indicates that the waitpid routine is
789 * available to wait for child process.
791 /*#define HAS_WAITPID /**/
794 * This symbol, if defined, indicates that the wcstombs routine is
795 * available to convert wide character strings to multibyte strings.
797 #define HAS_WCSTOMBS /**/
800 * This symbol, if defined, indicates that the wctomb routine is available
801 * to covert a wide character to a multibyte.
803 #define HAS_WCTOMB /**/
806 * This symbol, if defined, indicates that <dbm.h> exists and should
810 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
811 * should be included.
814 #define I_RPCSVC_DBM /**/
817 * This symbol, if defined, indicates to the C program that it should
818 * include <dirent.h>. Using this symbol also triggers the definition
819 * of the Direntry_t define which ends up being 'struct dirent' or
820 * 'struct direct' depending on the availability of <dirent.h>.
823 * This symbol, if defined, indicates to the C program that the length
824 * of directory entry names is provided by a d_namlen field. Otherwise
825 * you need to do strlen() on the d_name field.
828 * This symbol is set to 'struct direct' or 'struct dirent' depending on
829 * whether dirent is available or not. You should use this pseudo type to
830 * portably declare your directory entries.
832 #define I_DIRENT /**/
833 #define DIRNAMLEN /**/
834 #define Direntry_t struct direct
837 * This symbol, if defined, indicates that <dlfcn.h> exists and should
843 * This manifest constant tells the C program to include <fcntl.h>.
848 * This symbol, if defined, indicates to the C program that it should
849 * include <float.h> to get definition of symbols like DBL_MAX or
850 * DBL_MIN, i.e. machine dependent floating point values.
855 * This symbol, if defined, indicates to the C program that it should
861 * This symbol, if defined, indicates to the C program that it should
862 * include <limits.h> to get definition of symbols like WORD_BIT or
863 * LONG_MAX, i.e. machine dependant limitations.
865 #define I_LIMITS /**/
868 * This symbol, if defined, indicates to the C program that it should
869 * include <locale.h>.
871 #define I_LOCALE /**/
874 * This symbol, if defined, indicates to the C program that it should
880 * This symbol, if defined, indicates to the C program that it should
881 * include <memory.h>.
883 /*#define I_MEMORY /**/
886 * This symbol, if defined, indicates that <ndbm.h> exists and should
889 /*#define I_NDBM /**/
892 * This symbol, if defined, indicates that <net/errno.h> exists and
893 * should be included.
895 /*#define I_NET_ERRNO /**/
898 * This symbol, if defined, indicates to the C program that it should
899 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
901 /*#define I_NETINET_IN /**/
904 * This symbol, if defined, indicates to the C program that it should
908 * This symbol, if defined, indicates to the C program that struct passwd
912 * This symbol, if defined, indicates to the C program that struct passwd
916 * This symbol, if defined, indicates to the C program that struct passwd
917 * contains pw_change.
920 * This symbol, if defined, indicates to the C program that struct passwd
924 * This symbol, if defined, indicates to the C program that struct passwd
925 * contains pw_expire.
928 * This symbol, if defined, indicates to the C program that struct passwd
932 * This symbol, if defined, indicates to the C program that struct passwd
933 * contains pw_comment.
936 /*#define PWQUOTA /**/
938 /*#define PWCHANGE /**/
939 /*#define PWCLASS /**/
940 /*#define PWEXPIRE /**/
941 /*#define PWGECOS /**/
942 /*#define PWCOMMENT /**/
945 * This symbol, if defined, indicates to the C program that it should
948 /*#define I_SFIO /**/
951 * This symbol, if defined, indicates that <stddef.h> exists and should
954 #define I_STDDEF /**/
957 * This symbol, if defined, indicates that <stdlib.h> exists and should
960 #define I_STDLIB /**/
963 * This symbol, if defined, indicates to the C program that it should
964 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
966 #define I_STRING /**/
969 * This symbol, if defined, indicates to the C program that it should
970 * include <sys/dir.h>.
972 /*#define I_SYS_DIR /**/
975 * This symbol, if defined, indicates to the C program that it should
976 * include <sys/file.h> to get definition of R_OK and friends.
978 /*#define I_SYS_FILE /**/
981 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
982 * be included. Otherwise, include <sgtty.h> or <termio.h>.
984 /*#define I_SYS_IOCTL /**/
987 * This symbol, if defined, indicates to the C program that it should
988 * include <sys/ndir.h>.
990 /*#define I_SYS_NDIR /**/
993 * This symbol, if defined, indicates to the C program that it should
994 * include <sys/param.h>.
996 /*#define I_SYS_PARAM /**/
999 * This symbol, if defined, indicates to the C program that it should
1000 * include <sys/resource.h>.
1002 /*#define I_SYS_RESOURCE /**/
1005 * This symbol, if defined, indicates to the C program that it should
1006 * include <sys/select.h> in order to get definition of struct timeval.
1008 /*#define I_SYS_SELECT /**/
1011 * This symbol, if defined, indicates to the C program that it should
1012 * include <sys/stat.h>.
1014 #define I_SYS_STAT /**/
1017 * This symbol, if defined, indicates to the C program that it should
1018 * include <sys/times.h>.
1020 /*#define I_SYS_TIMES /**/
1023 * This symbol, if defined, indicates to the C program that it should
1024 * include <sys/un.h> to get UNIX domain socket definitions.
1026 /*#define I_SYS_UN /**/
1029 * This symbol, if defined, indicates to the C program that it should
1030 * include <sys/wait.h>.
1032 /*#define I_SYS_WAIT /**/
1035 * This symbol, if defined, indicates that the program should include
1036 * <termio.h> rather than <sgtty.h>. There are also differences in
1037 * the ioctl() calls that depend on the value of this symbol.
1040 * This symbol, if defined, indicates that the program should include
1041 * the POSIX termios.h rather than sgtty.h or termio.h.
1042 * There are also differences in the ioctl() calls that depend on the
1043 * value of this symbol.
1046 * This symbol, if defined, indicates that the program should include
1047 * <sgtty.h> rather than <termio.h>. There are also differences in
1048 * the ioctl() calls that depend on the value of this symbol.
1050 /*#define I_TERMIO /**/
1051 /*#define I_TERMIOS /**/
1052 /*#define I_SGTTY /**/
1055 * This symbol, if defined, indicates to the C program that it should
1056 * include <unistd.h>.
1058 /*#define I_UNISTD /**/
1061 * This symbol, if defined, indicates to the C program that it should
1062 * include <utime.h>.
1064 #define I_UTIME /**/
1067 * This symbol, if defined, indicates to the C program that it should
1068 * include <values.h> to get definition of symbols like MINFLOAT or
1069 * MAXLONG, i.e. machine dependant limitations. Probably, you
1070 * should use <limits.h> instead, if it is available.
1072 /*#define I_VALUES /**/
1075 * This symbol, if defined, indicates that <stdarg.h> exists and should
1079 * This symbol, if defined, indicates to the C program that it should
1080 * include <varargs.h>.
1082 #define I_STDARG /**/
1083 /*#define I_VARARGS /**/
1086 * This symbol, if defined, indicates to the C program that it should
1089 /*#define I_VFORK /**/
1092 * This variable contains the return type of free(). It is usually
1093 * void, but occasionally int.
1096 * This symbol is the type of pointer returned by malloc and realloc.
1098 #define Malloc_t void * /**/
1099 #define Free_t void /**/
1102 * This symbol, if defined, indicates that we're using our own malloc.
1104 #define MYMALLOC /**/
1107 * If defined, this macro indicates that the C compiler can handle
1108 * function prototypes.
1111 * This macro is used to declare function parameters for folks who want
1112 * to make declarations with prototypes using a different style than
1113 * the above macros. Use double parentheses. For example:
1115 * int main _((int argc, char *argv[]));
1117 #define CAN_PROTOTYPE /**/
1118 #ifdef CAN_PROTOTYPE
1119 #define _(args) args
1125 * This symbol contains the full pathname to the shell used on this
1126 * on this system to execute Bourne shell scripts. Usually, this will be
1127 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1128 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
1131 #define SH_PATH "cmd /x /c" /**/
1134 * This symbol is defined to be the type of char used in stdio.h.
1135 * It has the values "unsigned char" or "char".
1137 #define STDCHAR unsigned char /**/
1140 * This symbol indicates how much support of the void type is given by this
1141 * compiler. What various bits mean:
1143 * 1 = supports declaration of void
1144 * 2 = supports arrays of pointers to functions returning void
1145 * 4 = supports comparisons between pointers to void functions and
1146 * addresses of void functions
1147 * 8 = suports declaration of generic void pointers
1149 * The package designer should define VOIDUSED to indicate the requirements
1150 * of the package. This can be done either by #defining VOIDUSED before
1151 * including config.h, or by defining defvoidused in Myinit.U. If the
1152 * latter approach is taken, only those flags will be tested. If the
1153 * level of void support necessary is not present, defines void to int.
1158 #define VOIDFLAGS 15
1159 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1160 #define void int /* is void to be avoided? */
1161 #define M_VOID /* Xenix strikes again */
1165 * This symbol contains the number of bytes required to align a
1166 * double. Usual values are 2, 4 and 8.
1167 * On NeXT starting with 3.2, you can build "Fat" Multiple Architecture
1168 * Binaries (MAB) for targets with varying alignment. This only matters
1169 * for perl, where the config.h can be generated and installed on one
1170 * system, and used by a different architecture to build an extension.
1171 * The default is eight, for safety.
1173 #define MEM_ALIGNBYTES 8 /**/
1176 * This symbol holds the hexadecimal constant defined in byteorder,
1177 * i.e. 0x1234 or 0x4321, etc...
1178 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1179 * Binaries (MAB) on either big endian or little endian machines.
1180 * The endian-ness is available at compile-time. This only matters
1181 * for perl, where the config.h can be generated and installed on
1182 * one system, and used by a different architecture to build an
1183 * extension. Older versions of NeXT that might not have
1184 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1185 * so the default case (for NeXT) is big endian to catch them.
1186 * This might matter for NeXT 3.0.
1189 #define BYTEORDER 0x1234 /* large digits for MSB */
1191 #ifdef __LITTLE_ENDIAN__
1192 #define BYTEORDER 0x1234
1193 #else /* __BIG_ENDIAN__ */
1194 #define BYTEORDER 0x4321
1195 #endif /* ENDIAN CHECK */
1199 * This symbol is defined if the C compiler can cast negative
1200 * or large floating point numbers to 32-bit ints.
1202 #define CASTI32 /**/
1205 * This symbol is defined if the C compiler can cast negative
1206 * numbers to unsigned longs, ints and shorts.
1209 * This symbol contains flags that say what difficulties the compiler
1210 * has casting odd floating values to unsigned long:
1212 * 1 = couldn't cast < 0
1213 * 2 = couldn't cast >= 0x80000000
1214 * 4 = couldn't cast in argument expression list
1216 #define CASTNEGFLOAT /**/
1217 #define CASTFLAGS 0 /**/
1220 * This symbol, if defined, indicates that the closedir() routine
1221 * does not return a value.
1223 /*#define VOID_CLOSEDIR /**/
1226 * This preprocessor macro is defined to convert a floating point
1227 * number to a string without a trailing decimal point. This
1228 * emulates the behavior of sprintf("%g"), but is sometimes much more
1229 * efficient. If gconvert() is not available, but gcvt() drops the
1230 * trailing decimal point, then gcvt() is used. If all else fails,
1231 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1232 * macro are: value, number of digits, whether trailing zeros should
1233 * be retained, and the output buffer.
1234 * Possible values are:
1235 * d_Gconvert='gconvert((x),(n),(t),(b))'
1236 * d_Gconvert='gcvt((x),(n),(b))'
1237 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1238 * The last two assume trailing zeros should not be kept.
1240 #define Gconvert(x,n,t,b) gcvt((x),(n),(b))
1243 * This symbol, if defined, indicates to the C program that
1244 * the GNU C library is being used.
1246 /*#define HAS_GNULIBC /**/
1248 * This manifest constant lets the C program know that isascii
1251 #define HAS_ISASCII /**/
1254 * This manifest constant lets the C program know that the three
1255 * argument form of open(2) is available.
1257 /*#define HAS_OPEN3 /**/
1260 * This symbol, if defined, indicates that the bcopy routine is available
1261 * to copy potentially overlapping memory blocks. Otherwise you should
1262 * probably use memmove() or memcpy(). If neither is defined, roll your
1265 /*#define HAS_SAFE_BCOPY /**/
1268 * This symbol, if defined, indicates that the memcpy routine is available
1269 * to copy potentially overlapping memory blocks. Otherwise you should
1270 * probably use memmove() or memcpy(). If neither is defined, roll your
1273 /*#define HAS_SAFE_MEMCPY /**/
1276 * This symbol, if defined, indicates that the memcmp routine is available
1277 * and can be used to compare relative magnitudes of chars with their high
1278 * bits set. If it is not defined, roll your own version.
1280 #define HAS_SANE_MEMCMP /**/
1283 * This symbol, if defined, indicates that Vr4's sigaction() routine
1286 /*#define HAS_SIGACTION /**/
1289 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1292 * This macro is used in the same way as sigsetjmp(), but will invoke
1293 * traditional setjmp() if sigsetjmp isn't available.
1294 * See HAS_SIGSETJMP.
1297 * This macro is used in the same way as siglongjmp(), but will invoke
1298 * traditional longjmp() if siglongjmp isn't available.
1299 * See HAS_SIGSETJMP.
1301 /*#define HAS_SIGSETJMP /**/
1302 #ifdef HAS_SIGSETJMP
1303 #define Sigjmp_buf sigjmp_buf
1304 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1305 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1307 #define Sigjmp_buf jmp_buf
1308 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1309 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1313 * This symbol is defined if the _ptr and _cnt fields (or similar)
1314 * of the stdio FILE structure can be used to access the stdio buffer
1315 * for a file handle. If this is defined, then the FILE_ptr(fp)
1316 * and FILE_cnt(fp) macros will also be defined and should be used
1317 * to access these fields.
1320 * This macro is used to access the _ptr field (or equivalent) of the
1321 * FILE structure pointed to by its argument. This macro will always be
1322 * defined if USE_STDIO_PTR is defined.
1324 /* STDIO_PTR_LVALUE:
1325 * This symbol is defined if the FILE_ptr macro can be used as an
1329 * This macro is used to access the _cnt field (or equivalent) of the
1330 * FILE structure pointed to by its argument. This macro will always be
1331 * defined if USE_STDIO_PTR is defined.
1333 /* STDIO_CNT_LVALUE:
1334 * This symbol is defined if the FILE_cnt macro can be used as an
1337 #define USE_STDIO_PTR /**/
1338 #ifdef USE_STDIO_PTR
1339 #define FILE_ptr(fp) ((fp)->curp)
1340 #define STDIO_PTR_LVALUE /**/
1341 #define FILE_cnt(fp) ((fp)->level)
1342 #define STDIO_CNT_LVALUE /**/
1346 * This symbol is defined if the _base field (or similar) of the
1347 * stdio FILE structure can be used to access the stdio buffer for
1348 * a file handle. If this is defined, then the FILE_base(fp) macro
1349 * will also be defined and should be used to access this field.
1350 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1351 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1352 * will never be defined unless USE_STDIO_PTR is.
1355 * This macro is used to access the _base field (or equivalent) of the
1356 * FILE structure pointed to by its argument. This macro will always be
1357 * defined if USE_STDIO_BASE is defined.
1360 * This macro is used to determine the number of bytes in the I/O
1361 * buffer pointed to by _base field (or equivalent) of the FILE
1362 * structure pointed to its argument. This macro will always be defined
1363 * if USE_STDIO_BASE is defined.
1365 #define USE_STDIO_BASE /**/
1366 #ifdef USE_STDIO_BASE
1367 #define FILE_base(fp) ((fp)->buffer)
1368 #define FILE_bufsiz(fp) ((fp)->level + (fp)->curp - (fp)->buffer)
1372 * This symbol, if defined, indicates that the vprintf routine is available
1373 * to printf with a pointer to an argument list. If unavailable, you
1374 * may need to write your own, probably in terms of _doprnt().
1376 /* USE_CHAR_VSPRINTF:
1377 * This symbol is defined if this system has vsprintf() returning type
1378 * (char*). The trend seems to be to declare it as "int vsprintf()". It
1379 * is up to the package author to declare vsprintf correctly based on the
1382 #define HAS_VPRINTF /**/
1383 /*#define USE_CHAR_VSPRINTF /**/
1386 * This symbol contains the size of a double, so that the C preprocessor
1387 * can make decisions based on it.
1389 #define DOUBLESIZE 8 /**/
1392 * This symbol, if defined, indicates to the C program that it should
1396 * This symbol, if defined, indicates to the C program that it should
1397 * include <sys/time.h>.
1399 /* I_SYS_TIME_KERNEL:
1400 * This symbol, if defined, indicates to the C program that it should
1401 * include <sys/time.h> with KERNEL defined.
1404 /*#define I_SYS_TIME /**/
1405 /*#define I_SYS_TIME_KERNEL /**/
1408 * This symbol contains the value of sizeof(int) so that the C
1409 * preprocessor can make decisions based on it.
1412 * This symbol contains the value of sizeof(long) so that the C
1413 * preprocessor can make decisions based on it.
1416 * This symbol contains the value of sizeof(short) so that the C
1417 * preprocessor can make decisions based on it.
1419 #define INTSIZE 4 /**/
1420 #define LONGSIZE 4 /**/
1421 #define SHORTSIZE 2 /**/
1424 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1425 * non-blocking I/O for the file descriptor. Note that there is no way
1426 * back, i.e. you cannot turn it blocking again this way. If you wish to
1427 * alternatively switch between blocking and non-blocking, use the
1428 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1431 * This symbol holds the errno error code set by read() when no data was
1432 * present on the non-blocking file descriptor.
1435 * This symbol holds the return code from read() when no data is present
1436 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1437 * not defined, then you can't distinguish between no data and EOF by
1438 * issuing a read(). You'll have to find another way to tell for sure!
1441 * This symbol, if defined, indicates to the C program that a read() on
1442 * a non-blocking file descriptor will return 0 on EOF, and not the value
1443 * held in RD_NODATA (-1 usually, in that case!).
1445 #define VAL_O_NONBLOCK O_NONBLOCK
1446 #define VAL_EAGAIN EAGAIN
1447 #define RD_NODATA -1
1448 #define EOF_NONBLOCK
1451 * This symbol contains the size of a pointer, so that the C preprocessor
1452 * can make decisions based on it. It will be sizeof(void *) if
1453 * the compiler supports (void *); otherwise it will be
1456 #define PTRSIZE 4 /**/
1459 * This symbol contains the number of bits of random number the rand()
1460 * function produces. Usual values are 15, 16, and 31.
1462 #define RANDBITS 15 /**/
1465 * This symbol holds the type used by functions that return
1466 * a count of bytes or an error condition. It must be a signed type.
1467 * It is usually ssize_t, but may be long or int, etc.
1468 * It may be necessary to include <sys/types.h> or <unistd.h>
1469 * to get any typedef'ed information.
1470 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1472 #define SSize_t int /* signed count of bytes */
1475 * This symbol contains the name of the operating system, as determined
1476 * by Configure. You shouldn't rely on it too much; the specific
1477 * feature tests from Configure are generally more reliable.
1479 #define OSNAME "MSWin32" /**/
1482 * This variable, if defined, holds the name of the directory in
1483 * which the user wants to put architecture-dependent public
1484 * library files for perl5. It is most often a local directory
1485 * such as /usr/local/lib. Programs using this variable must be
1486 * prepared to deal with filename expansion. If ARCHLIB is the
1487 * same as PRIVLIB, it is not defined, since presumably the
1488 * program already searches PRIVLIB.
1491 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1492 * in programs that are not prepared to deal with ~ expansion at run-time.
1494 #define ARCHLIB "c:\\perl5004.5x\\lib\\MSWin32-x86" /**/
1495 #define ARCHLIB_EXP (win32_perllib_path(ARCHNAME,NULL)) /**/
1498 * This macro catenates 2 tokens together.
1501 * This macro surrounds its token with double quotes.
1504 #define CAT2(a,b)a/**/b
1505 #define STRINGIFY(a)"a"
1506 /* If you can get stringification with catify, tell me how! */
1509 #define CAT2(a,b)a ## b
1510 #define StGiFy(a)# a
1511 #define STRINGIFY(a)StGiFy(a)
1513 #if 42 != 1 && 42 != 42
1514 #include "Bletch: How does this C preprocessor catenate tokens?"
1518 * This symbol, if defined, contains the full pathname of csh.
1520 /*#define HAS_CSH /**/
1526 * This symbol, if defined, indicates that the endhostent() routine is
1527 * available to close whatever was being used for host queries.
1529 /*#define HAS_ENDHOSTENT /**/
1532 * This symbol, if defined, indicates that the endnetent() routine is
1533 * available to close whatever was being used for network queries.
1535 /*#define HAS_ENDNETENT /**/
1538 * This symbol, if defined, indicates that the endprotoent() routine is
1539 * available to close whatever was being used for protocol queries.
1541 /*#define HAS_ENDPROTOENT /**/
1544 * This symbol, if defined, indicates that the endservent() routine is
1545 * available to close whatever was being used for service queries.
1547 /*#define HAS_ENDSERVENT /**/
1549 /* HAS_GETHOSTBYADDR:
1550 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1551 * available to look up hosts by their IP addresses.
1553 #define HAS_GETHOSTBYADDR /**/
1555 /* HAS_GETHOSTBYNAME:
1556 * This symbol, if defined, indicates that the gethostbyname() routine is
1557 * available to look up host names in some data base or other.
1559 #define HAS_GETHOSTBYNAME /**/
1562 * This symbol, if defined, indicates that the gethostent() routine is
1563 * available to look up host names in some data base or another.
1565 /*#define HAS_GETHOSTENT /**/
1567 /* HAS_GETNETBYADDR:
1568 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1569 * available to look up networks by their IP addresses.
1571 /*#define HAS_GETNETBYADDR /**/
1573 /* HAS_GETNETBYNAME:
1574 * This symbol, if defined, indicates that the getnetbyname() routine is
1575 * available to look up networks by their names.
1577 /*#define HAS_GETNETBYNAME /**/
1580 * This symbol, if defined, indicates that the getnetent() routine is
1581 * available to look up network names in some data base or another.
1583 /*#define HAS_GETNETENT /**/
1586 * This symbol, if defined, indicates that the getprotoent() routine is
1587 * available to look up protocols in some data base or another.
1589 /*#define HAS_GETPROTOENT /**/
1591 /* HAS_GETPROTOBYNAME:
1592 * This symbol, if defined, indicates that the getprotobyname()
1593 * routine is available to look up protocols by their name.
1595 /* HAS_GETPROTOBYNUMBER:
1596 * This symbol, if defined, indicates that the getprotobynumber()
1597 * routine is available to look up protocols by their number.
1599 #define HAS_GETPROTOBYNAME /**/
1600 #define HAS_GETPROTOBYNUMBER /**/
1603 * This symbol, if defined, indicates that the getservent() routine is
1604 * available to look up network services in some data base or another.
1606 /*#define HAS_GETSERVENT /**/
1608 /* HAS_GETSERVBYNAME:
1609 * This symbol, if defined, indicates that the getservbyname()
1610 * routine is available to look up services by their name.
1612 /* HAS_GETSERVBYPORT:
1613 * This symbol, if defined, indicates that the getservbyport()
1614 * routine is available to look up services by their port.
1616 #define HAS_GETSERVBYNAME /**/
1617 #define HAS_GETSERVBYPORT /**/
1620 * This symbol will be defined if the C compiler supports long
1624 * This symbol contains the size of a long double, so that the
1625 * C preprocessor can make decisions based on it. It is only
1626 * defined if the system supports long doubles.
1628 #define HAS_LONG_DOUBLE /**/
1629 #ifdef HAS_LONG_DOUBLE
1630 #define LONG_DOUBLESIZE 10 /**/
1634 * This symbol will be defined if the C compiler supports
1638 * This symbol contains the size of a long long, so that the
1639 * C preprocessor can make decisions based on it. It is only
1640 * defined if the system supports long long.
1642 /*#define HAS_LONG_LONG /**/
1643 #ifdef HAS_LONG_LONG
1644 #define LONGLONGSIZE 8 /**/
1648 * This symbol, if defined, indicates that the mkstemp routine is
1649 * available to create and open a unique temporary file.
1651 /*#define HAS_MKSTEMP /**/
1654 * This symbol, if defined, indicates that the setgroups() routine is
1655 * available to set the list of process groups. If unavailable, multiple
1656 * groups are probably not supported.
1658 /*#define HAS_SETGROUPS /**/
1661 * This symbol, if defined, indicates that the sethostent() routine is
1664 /*#define HAS_SETHOSTENT /**/
1667 * This symbol, if defined, indicates that the setnetent() routine is
1670 /*#define HAS_SETNETENT /**/
1673 * This symbol, if defined, indicates that the setprotoent() routine is
1676 /*#define HAS_SETPROTOENT /**/
1679 * This symbol, if defined, indicates that the setservent() routine is
1682 /*#define HAS_SETSERVENT /**/
1685 * This symbol, if defined, indicates that the setvbuf routine is
1686 * available to change buffering on an open stdio stream.
1687 * to a line-buffered mode.
1689 #define HAS_SETVBUF /**/
1692 * This symbol, if defined, indicates that the BSD socket interface is
1696 * This symbol, if defined, indicates that the BSD socketpair() call is
1699 #define HAS_SOCKET /**/
1700 /*#define HAS_SOCKETPAIR /**/
1703 * This symbol's value is either "void" or "int", corresponding to the
1704 * appropriate return type of a signal handler. Thus, you can declare
1705 * a signal handler using "Signal_t (*handler)()", and define the
1706 * handler using "Signal_t handler(sig)".
1708 #define Signal_t void /* Signal handler's return type */
1711 * This symbol holds the type used for the second argument to
1712 * getgroups() and setgropus(). Usually, this is the same as
1713 * gidtype (gid_t) , but sometimes it isn't.
1714 * It can be int, ushort, uid_t, etc...
1715 * It may be necessary to include <sys/types.h> to get any
1716 * typedef'ed information. This is only required if you have
1717 * getgroups() or setgropus()..
1719 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1720 #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
1724 * This symbol, if defined, indicates that <netdb.h> exists and
1725 * should be included.
1727 /*#define I_NETDB /**/
1730 * This symbol, if defined, indicates to the C program that it should
1731 * include <sys/types.h>.
1733 #define I_SYS_TYPES /**/
1736 * This symbol contains the name of the private library for this package.
1737 * The library is private in the sense that it needn't be in anyone's
1738 * execution path, but it should be accessible by the world. The program
1739 * should be prepared to do ~ expansion.
1742 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1743 * in programs that are not prepared to deal with ~ expansion at run-time.
1745 #define PRIVLIB "c:\\perl5004.5x\\lib" /**/
1746 #define PRIVLIB_EXP (win32_perllib_path(NULL)) /**/
1749 * This symbol contains the name of the private library for this package.
1750 * The library is private in the sense that it needn't be in anyone's
1751 * execution path, but it should be accessible by the world. The program
1752 * should be prepared to do ~ expansion.
1753 * The standard distribution will put nothing in this directory.
1754 * Individual sites may place their own extensions and modules in
1758 * This symbol contains the ~name expanded version of SITEARCH, to be used
1759 * in programs that are not prepared to deal with ~ expansion at run-time.
1761 #define SITEARCH "c:\\perl5004.5x\\lib\\site\\MSWin32-x86" /**/
1762 #define SITEARCH_EXP (win32_perllib_path("site",ARCHNAME,NULL)) /**/
1765 * This symbol contains the name of the private library for this package.
1766 * The library is private in the sense that it needn't be in anyone's
1767 * execution path, but it should be accessible by the world. The program
1768 * should be prepared to do ~ expansion.
1769 * The standard distribution will put nothing in this directory.
1770 * Individual sites may place their own extensions and modules in
1774 * This symbol contains the ~name expanded version of SITELIB, to be used
1775 * in programs that are not prepared to deal with ~ expansion at run-time.
1777 #define SITELIB "c:\\perl5004.5x\\lib\\site" /**/
1778 #define SITELIB_EXP (win32_perllib_path("site",NULL)) /**/
1780 /* DLSYM_NEEDS_UNDERSCORE:
1781 * This symbol, if defined, indicates that we need to prepend an
1782 * underscore to the symbol name before calling dlsym(). This only
1783 * makes sense if you *have* dlsym, which we will presume is the
1784 * case if you're using dl_dlopen.xs.
1786 /*#define DLSYM_NEEDS_UNDERSCORE /**/
1789 * This symbol, if defined, indicates that sfio should
1792 /*#define USE_SFIO /**/
1794 /* USE_DYNAMIC_LOADING:
1795 * This symbol, if defined, indicates that dynamic loading of
1796 * some sort is available.
1798 #define USE_DYNAMIC_LOADING /**/
1801 * This symbol contains the type of the prefix structure element
1802 * in the <db.h> header file. In older versions of DB, it was
1803 * int, while in newer ones it is u_int32_t.
1806 * This symbol contains the type of the prefix structure element
1807 * in the <db.h> header file. In older versions of DB, it was
1808 * int, while in newer ones it is size_t.
1810 #define DB_Hash_t int /**/
1811 #define DB_Prefix_t int /**/
1814 * This variable contains the string to put in front of a perl
1815 * script to make sure (one hopes) that it runs with perl and not
1818 #define STARTPERL "#!perl" /**/
1821 * This symbol, if defined, indicates that the PerlIO abstraction should
1822 * be used throughout. If not defined, stdio should be
1823 * used in a fully backward compatible manner.
1825 /*#define USE_PERLIO /**/
1827 /* HAS_GETHOST_PROTOS:
1828 * This symbol, if defined, indicates that <netdb.h> includes
1829 * prototypes for gethostent(), gethostbyname(), and
1830 * gethostbyaddr(). Otherwise, it is up to the program to guess
1831 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1833 #define HAS_GETHOST_PROTOS /**/
1835 /* HAS_GETNET_PROTOS:
1836 * This symbol, if defined, indicates that <netdb.h> includes
1837 * prototypes for getnetent(), getnetbyname(), and
1838 * getnetbyaddr(). Otherwise, it is up to the program to guess
1839 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1841 /*#define HAS_GETNET_PROTOS /**/
1843 /* HAS_GETPROTO_PROTOS:
1844 * This symbol, if defined, indicates that <netdb.h> includes
1845 * prototypes for getprotoent(), getprotobyname(), and
1846 * getprotobyaddr(). Otherwise, it is up to the program to guess
1847 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1849 #define HAS_GETPROTO_PROTOS /**/
1851 /* HAS_GETSERV_PROTOS:
1852 * This symbol, if defined, indicates that <netdb.h> includes
1853 * prototypes for getservent(), getservbyname(), and
1854 * getservbyaddr(). Otherwise, it is up to the program to guess
1855 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1857 #define HAS_GETSERV_PROTOS /**/
1860 * This symbol holds the type used for the 1st argument
1861 * to gethostbyaddr().
1864 * This symbol holds the type used for the 2nd argument
1865 * to gethostbyaddr().
1868 * This symbol holds the type used for the argument to
1872 * This symbol holds the type used for the 1st argument to
1875 #define Netdb_host_t char * /**/
1876 #define Netdb_hlen_t int /**/
1877 #define Netdb_name_t char * /**/
1878 #define Netdb_net_t long /**/
1881 * This symbol holds the type used for the 2nd, 3rd, and 4th
1882 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
1883 * is defined, and 'int *' otherwise. This is only useful if you
1884 * have select(), of course.
1886 #define Select_fd_set_t Perl_fd_set * /**/
1889 * This symbol contains a list of signal names in order of
1890 * signal number. This is intended
1891 * to be used as a static array initialization, like this:
1892 * char *sig_name[] = { SIG_NAME };
1893 * The signals in the list are separated with commas, and each signal
1894 * is surrounded by double quotes. There is no leading SIG in the signal
1895 * name, i.e. SIGQUIT is known as "QUIT".
1896 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1897 * etc., where nn is the actual signal number (e.g. NUM37).
1898 * The signal number for sig_name[i] is stored in sig_num[i].
1899 * The last element is 0 to terminate the list with a NULL. This
1900 * corresponds to the 0 at the end of the sig_num list.
1903 * This symbol contains a list of signal numbers, in the same order as the
1904 * SIG_NAME list. It is suitable for static array initialization, as in:
1905 * int sig_num[] = { SIG_NUM };
1906 * The signals in the list are separated with commas, and the indices
1907 * within that list and the SIG_NAME list match, so it's easy to compute
1908 * the signal name from a number or vice versa at the price of a small
1909 * dynamic linear lookup.
1910 * Duplicates are allowed, but are moved to the end of the list.
1911 * The signal number corresponding to sig_name[i] is sig_number[i].
1912 * if (i < NSIG) then sig_number[i] == i.
1913 * The last element is 0, corresponding to the 0 at the end of
1914 * the sig_name list.
1916 #define SIG_NAME "ZERO", "INT", "QUIT", "ILL", "FPE", "KILL", "SEGV", "PIPE", "ALRM", "TERM", "USR1", "USR2", "CHLD", "USR3", "BREAK", "ABRT", "STOP", "CONT", "CLD", 0 /**/
1917 #define SIG_NUM 0, 2, 3, 4, 8, 9, 11, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 25, 18, 0 /**/
1920 * This symbol holds a string representing the architecture name.
1921 * It may be used to construct an architecture-dependant pathname
1922 * where library files may be held under a private library, for
1925 #define ARCHNAME "MSWin32-x86" /**/
1927 /* HAS_PTHREAD_YIELD:
1928 * This symbol, if defined, indicates that the pthread_yield
1929 * routine is available to yield the execution of the current
1932 /*#define HAS_PTHREAD_YIELD /**/
1934 /* PTHREADS_CREATED_JOINABLE:
1935 * This symbol, if defined, indicates that pthreads are created
1936 * in the joinable (aka undetached) state.
1938 /*#define PTHREADS_CREATED_JOINABLE /**/
1941 * This symbol, if defined, indicates that Perl should
1942 * be built to use threads.
1944 /* OLD_PTHREADS_API:
1945 * This symbol, if defined, indicates that Perl should
1946 * be built to use the old draft POSIX threads API.
1948 /*#define USE_THREADS /**/
1949 /*#define OLD_PTHREADS_API /**/
1952 * This symbol holds the type returned by time(). It can be long,
1953 * or time_t on BSD sites (in which case <sys/types.h> should be
1956 #define Time_t time_t /* Time type */
1959 * This symbol, if defined, indicates that the times() routine exists.
1960 * Note that this became obsolete on some systems (SUNOS), which now
1961 * use getrusage(). It may be necessary to include <sys/times.h>.
1963 #define HAS_TIMES /**/
1966 * This symbol holds the type used to declare file positions in libc.
1967 * It can be fpos_t, long, uint, etc... It may be necessary to include
1968 * <sys/types.h> to get any typedef'ed information.
1970 #define Fpos_t fpos_t /* File position type */
1973 * This symbol holds the return type of getgid() and the type of
1974 * argument to setrgid() and related functions. Typically,
1975 * it is the type of group ids in the kernel. It can be int, ushort,
1976 * uid_t, etc... It may be necessary to include <sys/types.h> to get
1977 * any typedef'ed information.
1979 #define Gid_t gid_t /* Type for getgid(), etc... */
1982 * This symbol holds the type used to declare offsets in the kernel.
1983 * It can be int, long, off_t, etc... It may be necessary to include
1984 * <sys/types.h> to get any typedef'ed information.
1986 #define Off_t off_t /* <offset> type */
1989 * This symbol holds the type used to declare file modes
1990 * for systems calls. It is usually mode_t, but may be
1991 * int or unsigned short. It may be necessary to include <sys/types.h>
1992 * to get any typedef'ed information.
1994 #define Mode_t mode_t /* file mode parameter for system calls */
1997 * This symbol holds the type used to declare process ids in the kernel.
1998 * It can be int, uint, pid_t, etc... It may be necessary to include
1999 * <sys/types.h> to get any typedef'ed information.
2001 #define Pid_t int /* PID type */
2004 * This symbol holds the type used to declare length parameters
2005 * for string functions. It is usually size_t, but may be
2006 * unsigned long, int, etc. It may be necessary to include
2007 * <sys/types.h> to get any typedef'ed information.
2009 #define Size_t size_t /* length paramater for string functions */
2012 * This symbol holds the type used to declare user ids in the kernel.
2013 * It can be int, ushort, uid_t, etc... It may be necessary to include
2014 * <sys/types.h> to get any typedef'ed information.
2016 #define Uid_t uid_t /* UID type */