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:\\perl\\5.00552\\bin\\MSWin32-x86" /**/
38 #define BIN_EXP "c:\\perl\\5.00552\\bin\\MSWin32-x86" /**/
41 * This symbol, if defined, indicates that the alarm routine is
44 /*#define HAS_ALARM /**/
47 * This symbol indicates the C compiler can check for function attributes,
48 * such as printf formats. This is normally only supported by GNU cc.
50 /*#define HASATTRIBUTE /**/
52 #define __attribute__(_arg_)
56 * This symbol is defined if the bcmp() routine is available to
57 * compare blocks of memory.
59 /*#define HAS_BCMP /**/
62 * This symbol is defined if the bcopy() routine is available to
63 * copy blocks of memory.
65 /*#define HAS_BCOPY /**/
68 * This symbol is defined if the bzero() routine is available to
69 * set a memory block to 0.
71 /*#define HAS_BZERO /**/
74 * This symbol, if defined, indicates that the chown routine is
77 /*#define HAS_CHOWN /**/
80 * This symbol, if defined, indicates that the chroot routine is
83 /*#define HAS_CHROOT /**/
86 * This symbol, if defined, indicates that the chsize routine is available
87 * to truncate files. You might need a -lx to get this routine.
89 #define HAS_CHSIZE /**/
92 * This symbol, if defined, indicates that this C compiler knows about
93 * the const type. There is no need to actually test for that symbol
94 * within your programs. The mere use of the "const" keyword will
95 * trigger the necessary tests.
103 * This symbol, if defined, indicates that the crypt routine is available
104 * to encrypt passwords and the like.
106 /*#define HAS_CRYPT /**/
109 * This symbol, if defined, indicates that the cuserid routine is
110 * available to get character login names.
112 /*#define HAS_CUSERID /**/
115 * This symbol, if defined, indicates that this system's <float.h>
116 * or <limits.h> defines the symbol DBL_DIG, which is the number
117 * of significant digits in a double precision number. If this
118 * symbol is not defined, a guess of 15 is usually pretty good.
120 #define HAS_DBL_DIG /**/
123 * This symbol, if defined, indicates that the difftime routine is
126 #define HAS_DIFFTIME /**/
129 * This symbol, if defined, indicates that the dlerror routine is
130 * available to return a string describing the last error that
131 * occurred from a call to dlopen(), dlclose() or dlsym().
133 #define HAS_DLERROR /**/
135 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
136 * This symbol, if defined, indicates that the bug that prevents
137 * setuid scripts from being secure is not present in this kernel.
140 * This symbol, if defined, indicates that the C program should
141 * check the script that it is executing for setuid/setgid bits, and
142 * attempt to emulate setuid/setgid on systems that have disabled
143 * setuid #! scripts because the kernel can't do it securely.
144 * It is up to the package designer to make sure that this emulation
145 * is done securely. Among other things, it should do an fstat on
146 * the script it just opened to make sure it really is a setuid/setgid
147 * script, it should make sure the arguments passed correspond exactly
148 * to the argument on the #! line, and it should not trust any
149 * subprocesses to which it must pass the filename rather than the
150 * file descriptor of the script to be executed.
152 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
153 /*#define DOSUID /**/
156 * This symbol, if defined, indicates that the dup2 routine is
157 * available to duplicate file descriptors.
159 #define HAS_DUP2 /**/
162 * This symbol, if defined, indicates that the fchmod routine is available
163 * to change mode of opened files. If unavailable, use chmod().
165 /*#define HAS_FCHMOD /**/
168 * This symbol, if defined, indicates that the fchown routine is available
169 * to change ownership of opened files. If unavailable, use chown().
171 /*#define HAS_FCHOWN /**/
174 * This symbol, if defined, indicates to the C program that
175 * the fcntl() function exists.
177 /*#define HAS_FCNTL /**/
180 * This symbol, if defined, indicates that the fgetpos routine is
181 * available to get the file position indicator, similar to ftell().
183 #define HAS_FGETPOS /**/
186 * This symbol, if defined, indicates that the system supports filenames
187 * longer than 14 characters.
189 #define FLEXFILENAMES /**/
192 * This symbol, if defined, indicates that the flock routine is
193 * available to do file locking.
195 #define HAS_FLOCK /**/
198 * This symbol, if defined, indicates that the fork routine is
201 /*#define HAS_FORK /**/
204 * This symbol, if defined, indicates that the fsetpos routine is
205 * available to set the file position indicator, similar to fseek().
207 #define HAS_FSETPOS /**/
210 * This symbol, if defined, indicates that the gettimeofday() system
211 * call is available for a sub-second accuracy clock. Usually, the file
212 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
213 * The type "Timeval" should be used to refer to "struct timeval".
215 /*#define HAS_GETTIMEOFDAY /**/
216 #ifdef HAS_GETTIMEOFDAY
217 #define Timeval struct timeval /* Structure used by gettimeofday() */
221 * This symbol, if defined, indicates that the getgroups() routine is
222 * available to get the list of process groups. If unavailable, multiple
223 * groups are probably not supported.
225 /*#define HAS_GETGROUPS /**/
228 * This symbol, if defined, indicates that the C program may use the
229 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
232 /*#define HAS_UNAME /**/
235 * This symbol, if defined, indicates that the getlogin routine is
236 * available to get the login name.
238 #define HAS_GETLOGIN /**/
241 * This symbol, if defined, indicates to the C program that
242 * the getpgid(pid) function is available to get the
245 /*#define HAS_GETPGID /**/
248 * This symbol, if defined, indicates that the getpgrp routine is
249 * available to get the current process group.
252 * This symbol, if defined, indicates that getpgrp needs one
253 * arguments whereas USG one needs none.
255 /*#define HAS_GETPGRP /**/
256 /*#define USE_BSD_GETPGRP /**/
259 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
260 * routine is available to get the current process group.
262 /*#define HAS_GETPGRP2 /**/
265 * This symbol, if defined, indicates that the getppid routine is
266 * available to get the parent process ID.
268 /*#define HAS_GETPPID /**/
271 * This symbol, if defined, indicates that the getpriority routine is
272 * available to get a process's priority.
274 /*#define HAS_GETPRIORITY /**/
277 * This symbol, if defined, indicates to the C program that the
278 * inet_aton() function is available to parse IP address "dotted-quad"
281 /*#define HAS_INET_ATON /**/
284 * This symbol, if defined, indicates that the killpg routine is available
285 * to kill process groups. If unavailable, you probably should use kill
286 * with a negative process number.
288 /*#define HAS_KILLPG /**/
291 * This symbol, if defined, indicates that the link routine is
292 * available to create hard links.
294 /*#define HAS_LINK /**/
297 * This symbol, if defined, indicates that the localeconv routine is
298 * available for numeric and monetary formatting conventions.
300 #define HAS_LOCALECONV /**/
303 * This symbol, if defined, indicates that the lockf routine is
304 * available to do file locking.
306 /*#define HAS_LOCKF /**/
309 * This symbol, if defined, indicates that the lstat routine is
310 * available to do file stats on symbolic links.
312 /*#define HAS_LSTAT /**/
315 * This symbol, if defined, indicates that the mblen routine is available
316 * to find the number of bytes in a multibye character.
318 #define HAS_MBLEN /**/
321 * This symbol, if defined, indicates that the mbstowcs routine is
322 * available to covert a multibyte string into a wide character string.
324 #define HAS_MBSTOWCS /**/
327 * This symbol, if defined, indicates that the mbtowc routine is available
328 * to covert a multibyte to a wide character.
330 #define HAS_MBTOWC /**/
333 * This symbol, if defined, indicates that the memcmp routine is available
334 * to compare blocks of memory.
336 #define HAS_MEMCMP /**/
339 * This symbol, if defined, indicates that the memcpy routine is available
340 * to copy blocks of memory.
342 #define HAS_MEMCPY /**/
345 * This symbol, if defined, indicates that the memmove routine is available
346 * to copy potentially overlapping blocks of memory. This should be used
347 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
350 #define HAS_MEMMOVE /**/
353 * This symbol, if defined, indicates that the memset routine is available
354 * to set blocks of memory.
356 #define HAS_MEMSET /**/
359 * This symbol, if defined, indicates that the mkdir routine is available
360 * to create directories. Otherwise you should fork off a new process to
363 #define HAS_MKDIR /**/
366 * This symbol, if defined, indicates that the mkfifo routine is
367 * available to create FIFOs. Otherwise, mknod should be able to
368 * do it for you. However, if mkfifo is there, mknod might require
369 * super-user privileges which mkfifo will not.
371 /*#define HAS_MKFIFO /**/
374 * This symbol, if defined, indicates that the mktime routine is
377 #define HAS_MKTIME /**/
380 * This symbol, if defined, indicates that the nice routine is
383 /*#define HAS_NICE /**/
386 * This symbol, if defined, indicates that pathconf() is available
387 * to determine file-system related limits and options associated
388 * with a given filename.
391 * This symbol, if defined, indicates that pathconf() is available
392 * to determine file-system related limits and options associated
393 * with a given open file descriptor.
395 /*#define HAS_PATHCONF /**/
396 /*#define HAS_FPATHCONF /**/
399 * This symbol, if defined, indicates that the pause routine is
400 * available to suspend a process until a signal is received.
402 #define HAS_PAUSE /**/
405 * This symbol, if defined, indicates that the pipe routine is
406 * available to create an inter-process channel.
408 #define HAS_PIPE /**/
411 * This symbol, if defined, indicates that the poll routine is
412 * available to poll active file descriptors. You may safely
413 * include <poll.h> when this symbol is defined.
415 /*#define HAS_POLL /**/
418 * This symbol, if defined, indicates that the readdir routine is
419 * available to read directory entries. You may have to include
420 * <dirent.h>. See I_DIRENT.
422 #define HAS_READDIR /**/
425 * This symbol, if defined, indicates that the seekdir routine is
426 * available. You may have to include <dirent.h>. See I_DIRENT.
428 #define HAS_SEEKDIR /**/
431 * This symbol, if defined, indicates that the telldir routine is
432 * available. You may have to include <dirent.h>. See I_DIRENT.
434 #define HAS_TELLDIR /**/
437 * This symbol, if defined, indicates that the rewinddir routine is
438 * available. You may have to include <dirent.h>. See I_DIRENT.
440 #define HAS_REWINDDIR /**/
443 * This symbol, if defined, indicates that the readlink routine is
444 * available to read the value of a symbolic link.
446 /*#define HAS_READLINK /**/
449 * This symbol, if defined, indicates that the rename routine is available
450 * to rename files. Otherwise you should do the unlink(), link(), unlink()
453 #define HAS_RENAME /**/
456 * This symbol, if defined, indicates that the rmdir routine is
457 * available to remove directories. Otherwise you should fork off a
458 * new process to exec /bin/rmdir.
460 #define HAS_RMDIR /**/
463 * This symbol, if defined, indicates that the select routine is
464 * available to select active file descriptors. If the timeout field
465 * is used, <sys/time.h> may need to be included.
467 #define HAS_SELECT /**/
470 * This symbol, if defined, indicates that the setegid routine is available
471 * to change the effective gid of the current program.
473 /*#define HAS_SETEGID /**/
476 * This symbol, if defined, indicates that the seteuid routine is available
477 * to change the effective uid of the current program.
479 /*#define HAS_SETEUID /**/
482 * This symbol, if defined, indicates that the setlinebuf routine is
483 * available to change stderr or stdout from block-buffered or unbuffered
484 * to a line-buffered mode.
486 /*#define HAS_SETLINEBUF /**/
489 * This symbol, if defined, indicates that the setlocale routine is
490 * available to handle locale-specific ctype implementations.
492 #define HAS_SETLOCALE /**/
495 * This symbol, if defined, indicates that the setpgid(pid, gpid)
496 * routine is available to set process group ID.
498 /*#define HAS_SETPGID /**/
501 * This symbol, if defined, indicates that the setpgrp routine is
502 * available to set the current process group.
505 * This symbol, if defined, indicates that setpgrp needs two
506 * arguments whereas USG one needs none. See also HAS_SETPGID
507 * for a POSIX interface.
509 /*#define HAS_SETPGRP /**/
510 /*#define USE_BSD_SETPGRP /**/
513 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
514 * routine is available to set the current process group.
516 /*#define HAS_SETPGRP2 /**/
519 * This symbol, if defined, indicates that the setpriority routine is
520 * available to set a process's priority.
522 /*#define HAS_SETPRIORITY /**/
525 * This symbol, if defined, indicates that the setregid routine is
526 * available to change the real and effective gid of the current
530 * This symbol, if defined, indicates that the setresgid routine is
531 * available to change the real, effective and saved gid of the current
534 /*#define HAS_SETREGID /**/
535 /*#define HAS_SETRESGID /**/
538 * This symbol, if defined, indicates that the setreuid routine is
539 * available to change the real and effective uid of the current
543 * This symbol, if defined, indicates that the setresuid routine is
544 * available to change the real, effective and saved uid of the current
547 /*#define HAS_SETREUID /**/
548 /*#define HAS_SETRESUID /**/
551 * This symbol, if defined, indicates that the setrgid routine is available
552 * to change the real gid of the current program.
554 /*#define HAS_SETRGID /**/
557 * This symbol, if defined, indicates that the setruid routine is available
558 * to change the real uid of the current program.
560 /*#define HAS_SETRUID /**/
563 * This symbol, if defined, indicates that the setsid routine is
564 * available to set the process group ID.
566 /*#define HAS_SETSID /**/
569 * This symbol holds the return type of the shmat() system call.
570 * Usually set to 'void *' or 'char *'.
572 /* HAS_SHMAT_PROTOTYPE:
573 * This symbol, if defined, indicates that the sys/shm.h includes
574 * a prototype for shmat(). Otherwise, it is up to the program to
575 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
576 * but not always right so it should be emitted by the program only
577 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
579 #define Shmat_t void * /**/
580 /*#define HAS_SHMAT_PROTOTYPE /**/
583 * This symbol is defined to indicate that the strchr()/strrchr()
584 * functions are available for string searching. If not, try the
585 * index()/rindex() pair.
588 * This symbol is defined to indicate that the index()/rindex()
589 * functions are available for string searching.
591 #define HAS_STRCHR /**/
592 /*#define HAS_INDEX /**/
595 * This symbol, if defined, indicates that the strcoll routine is
596 * available to compare strings using collating information.
598 #define HAS_STRCOLL /**/
601 * This symbol, if defined, indicates that this C compiler knows how
602 * to copy structures. If undefined, you'll need to use a block copy
603 * routine of some sort instead.
605 #define USE_STRUCT_COPY /**/
608 * This symbol, if defined, indicates that the strtod routine is
609 * available to provide better numeric string conversion than atof().
611 #define HAS_STRTOD /**/
614 * This symbol, if defined, indicates that the strtol routine is available
615 * to provide better numeric string conversion than atoi() and friends.
617 #define HAS_STRTOL /**/
620 * This symbol, if defined, indicates that the strtoul routine is
621 * available to provide conversion of strings to unsigned long.
623 #define HAS_STRTOUL /**/
626 * This symbol, if defined, indicates that the strxfrm() routine is
627 * available to transform strings.
629 #define HAS_STRXFRM /**/
632 * This symbol, if defined, indicates that the symlink routine is available
633 * to create symbolic links.
635 /*#define HAS_SYMLINK /**/
638 * This symbol, if defined, indicates that the syscall routine is
639 * available to call arbitrary system calls. If undefined, that's tough.
641 /*#define HAS_SYSCALL /**/
644 * This symbol, if defined, indicates that sysconf() is available
645 * to determine system related limits and options.
647 /*#define HAS_SYSCONF /**/
650 * This symbol, if defined, indicates that the system routine is
651 * available to issue a shell command.
653 #define HAS_SYSTEM /**/
656 * This symbol, if defined, indicates that the tcgetpgrp routine is
657 * available to get foreground process group ID.
659 /*#define HAS_TCGETPGRP /**/
662 * This symbol, if defined, indicates that the tcsetpgrp routine is
663 * available to set foreground process group ID.
665 /*#define HAS_TCSETPGRP /**/
668 * This symbol, if defined, indicates that the truncate routine is
669 * available to truncate files.
671 /*#define HAS_TRUNCATE /**/
674 * This symbol, if defined, indicates that the tzname[] array is
675 * available to access timezone names.
677 #define HAS_TZNAME /**/
680 * This symbol, if defined, indicates that the umask routine is
681 * available to set and get the value of the file creation mask.
683 #define HAS_UMASK /**/
686 * This symbol, if defined, indicates that vfork() exists.
688 /*#define HAS_VFORK /**/
691 * This symbol, if defined, indicates that this C compiler knows about
692 * the volatile declaration.
694 #define HASVOLATILE /**/
700 * This symbol, if defined, indicates that wait4() exists.
702 /*#define HAS_WAIT4 /**/
705 * This symbol, if defined, indicates that the waitpid routine is
706 * available to wait for child process.
708 #define HAS_WAITPID /**/
711 * This symbol, if defined, indicates that the wcstombs routine is
712 * available to convert wide character strings to multibyte strings.
714 #define HAS_WCSTOMBS /**/
717 * This symbol, if defined, indicates that the wctomb routine is available
718 * to covert a wide character to a multibyte.
720 #define HAS_WCTOMB /**/
723 * This symbol, if defined, indicates to the C program that it should
724 * include <arpa/inet.h> to get inet_addr and friends declarations.
726 #define I_ARPA_INET /**/
729 * This symbol, if defined, indicates that <dbm.h> exists and should
733 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
734 * should be included.
737 #define I_RPCSVC_DBM /**/
740 * This symbol, if defined, indicates to the C program that it should
741 * include <dirent.h>. Using this symbol also triggers the definition
742 * of the Direntry_t define which ends up being 'struct dirent' or
743 * 'struct direct' depending on the availability of <dirent.h>.
746 * This symbol, if defined, indicates to the C program that the length
747 * of directory entry names is provided by a d_namlen field. Otherwise
748 * you need to do strlen() on the d_name field.
751 * This symbol is set to 'struct direct' or 'struct dirent' depending on
752 * whether dirent is available or not. You should use this pseudo type to
753 * portably declare your directory entries.
755 #define I_DIRENT /**/
756 #define DIRNAMLEN /**/
757 #define Direntry_t struct direct
760 * This symbol, if defined, indicates that <dlfcn.h> exists and should
766 * This manifest constant tells the C program to include <fcntl.h>.
771 * This symbol, if defined, indicates to the C program that it should
772 * include <float.h> to get definition of symbols like DBL_MAX or
773 * DBL_MIN, i.e. machine dependent floating point values.
778 * This symbol, if defined, indicates to the C program that it should
779 * include <limits.h> to get definition of symbols like WORD_BIT or
780 * LONG_MAX, i.e. machine dependant limitations.
782 #define I_LIMITS /**/
785 * This symbol, if defined, indicates to the C program that it should
786 * include <locale.h>.
788 #define I_LOCALE /**/
791 * This symbol, if defined, indicates to the C program that it should
797 * This symbol, if defined, indicates to the C program that it should
798 * include <memory.h>.
800 /*#define I_MEMORY /**/
803 * This symbol, if defined, indicates that <ndbm.h> exists and should
806 /*#define I_NDBM /**/
809 * This symbol, if defined, indicates that <net/errno.h> exists and
810 * should be included.
812 /*#define I_NET_ERRNO /**/
815 * This symbol, if defined, indicates to the C program that it should
816 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
818 /*#define I_NETINET_IN /**/
821 * This symbol, if defined, indicates to the C program that it should
824 /*#define I_SFIO /**/
827 * This symbol, if defined, indicates that <stddef.h> exists and should
830 #define I_STDDEF /**/
833 * This symbol, if defined, indicates that <stdlib.h> exists and should
836 #define I_STDLIB /**/
839 * This symbol, if defined, indicates to the C program that it should
840 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
842 #define I_STRING /**/
845 * This symbol, if defined, indicates to the C program that it should
846 * include <sys/dir.h>.
848 /*#define I_SYS_DIR /**/
851 * This symbol, if defined, indicates to the C program that it should
852 * include <sys/file.h> to get definition of R_OK and friends.
854 /*#define I_SYS_FILE /**/
857 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
858 * be included. Otherwise, include <sgtty.h> or <termio.h>.
860 /*#define I_SYS_IOCTL /**/
863 * This symbol, if defined, indicates to the C program that it should
864 * include <sys/ndir.h>.
866 /*#define I_SYS_NDIR /**/
869 * This symbol, if defined, indicates to the C program that it should
870 * include <sys/param.h>.
872 /*#define I_SYS_PARAM /**/
875 * This symbol, if defined, indicates to the C program that it should
876 * include <sys/resource.h>.
878 /*#define I_SYS_RESOURCE /**/
881 * This symbol, if defined, indicates to the C program that it should
882 * include <sys/select.h> in order to get definition of struct timeval.
884 /*#define I_SYS_SELECT /**/
887 * This symbol, if defined, indicates to the C program that it should
888 * include <sys/stat.h>.
890 #define I_SYS_STAT /**/
893 * This symbol, if defined, indicates to the C program that it should
894 * include <sys/times.h>.
896 /*#define I_SYS_TIMES /**/
899 * This symbol, if defined, indicates to the C program that it should
900 * include <sys/types.h>.
902 #define I_SYS_TYPES /**/
905 * This symbol, if defined, indicates to the C program that it should
906 * include <sys/un.h> to get UNIX domain socket definitions.
908 /*#define I_SYS_UN /**/
911 * This symbol, if defined, indicates to the C program that it should
912 * include <sys/wait.h>.
914 /*#define I_SYS_WAIT /**/
917 * This symbol, if defined, indicates that the program should include
918 * <termio.h> rather than <sgtty.h>. There are also differences in
919 * the ioctl() calls that depend on the value of this symbol.
922 * This symbol, if defined, indicates that the program should include
923 * the POSIX termios.h rather than sgtty.h or termio.h.
924 * There are also differences in the ioctl() calls that depend on the
925 * value of this symbol.
928 * This symbol, if defined, indicates that the program should include
929 * <sgtty.h> rather than <termio.h>. There are also differences in
930 * the ioctl() calls that depend on the value of this symbol.
932 /*#define I_TERMIO /**/
933 /*#define I_TERMIOS /**/
934 /*#define I_SGTTY /**/
937 * This symbol, if defined, indicates to the C program that it should
938 * include <unistd.h>.
940 /*#define I_UNISTD /**/
943 * This symbol, if defined, indicates to the C program that it should
949 * This symbol, if defined, indicates to the C program that it should
950 * include <values.h> to get definition of symbols like MINFLOAT or
951 * MAXLONG, i.e. machine dependant limitations. Probably, you
952 * should use <limits.h> instead, if it is available.
954 /*#define I_VALUES /**/
957 * This symbol, if defined, indicates that <stdarg.h> exists and should
961 * This symbol, if defined, indicates to the C program that it should
962 * include <varargs.h>.
964 #define I_STDARG /**/
965 /*#define I_VARARGS /**/
968 * This symbol, if defined, indicates to the C program that it should
971 /*#define I_VFORK /**/
974 * If defined, this macro indicates that the C compiler can handle
975 * function prototypes.
978 * This macro is used to declare function parameters for folks who want
979 * to make declarations with prototypes using a different style than
980 * the above macros. Use double parentheses. For example:
982 * int main _((int argc, char *argv[]));
984 #define CAN_PROTOTYPE /**/
992 * This symbol contains the full pathname to the shell used on this
993 * on this system to execute Bourne shell scripts. Usually, this will be
994 * /bin/sh, though it's possible that some systems will have /bin/ksh,
995 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
998 #define SH_PATH "cmd /x /c" /**/
1001 * This symbol is defined to be the type of char used in stdio.h.
1002 * It has the values "unsigned char" or "char".
1004 #define STDCHAR char /**/
1007 * This symbol, if defined, indicates that the accessx routine is
1008 * available to do extended access checks.
1010 /*#define HAS_ACCESSX /**/
1013 * This symbol, if defined, indicates that the eaccess routine is
1014 * available to do extended access checks.
1016 /*#define HAS_EACCESS /**/
1019 * This symbol, if defined, indicates to the C program that it should
1020 * include <sys/access.h>.
1022 /*#define I_SYS_ACCESS /**/
1025 * This symbol, if defined, indicates to the C program that it should
1026 * include <sys/security.h>.
1028 /*#define I_SYS_SECURITY /**/
1031 * This symbol contains the number of bytes required to align a
1032 * double. Usual values are 2, 4 and 8.
1033 * On NeXT starting with 3.2, you can build "Fat" Multiple Architecture
1034 * Binaries (MAB) for targets with varying alignment. This only matters
1035 * for perl, where the config.h can be generated and installed on one
1036 * system, and used by a different architecture to build an extension.
1037 * The default is eight, for safety.
1039 #define MEM_ALIGNBYTES 8 /**/
1042 * This symbol holds the hexadecimal constant defined in byteorder,
1043 * i.e. 0x1234 or 0x4321, etc...
1044 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1045 * Binaries (MAB) on either big endian or little endian machines.
1046 * The endian-ness is available at compile-time. This only matters
1047 * for perl, where the config.h can be generated and installed on
1048 * one system, and used by a different architecture to build an
1049 * extension. Older versions of NeXT that might not have
1050 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1051 * so the default case (for NeXT) is big endian to catch them.
1052 * This might matter for NeXT 3.0.
1055 #define BYTEORDER 0x1234 /* large digits for MSB */
1057 #ifdef __LITTLE_ENDIAN__
1058 #define BYTEORDER 0x1234
1059 #else /* __BIG_ENDIAN__ */
1060 #define BYTEORDER 0x4321
1061 #endif /* ENDIAN CHECK */
1065 * This symbol is defined if the C compiler can cast negative
1066 * or large floating point numbers to 32-bit ints.
1068 #define CASTI32 /**/
1071 * This symbol is defined if the C compiler can cast negative
1072 * numbers to unsigned longs, ints and shorts.
1075 * This symbol contains flags that say what difficulties the compiler
1076 * has casting odd floating values to unsigned long:
1078 * 1 = couldn't cast < 0
1079 * 2 = couldn't cast >= 0x80000000
1080 * 4 = couldn't cast in argument expression list
1082 #define CASTNEGFLOAT /**/
1083 #define CASTFLAGS 0 /**/
1086 * This symbol, if defined, indicates that the closedir() routine
1087 * does not return a value.
1089 /*#define VOID_CLOSEDIR /**/
1092 * This preprocessor macro is defined to convert a floating point
1093 * number to a string without a trailing decimal point. This
1094 * emulates the behavior of sprintf("%g"), but is sometimes much more
1095 * efficient. If gconvert() is not available, but gcvt() drops the
1096 * trailing decimal point, then gcvt() is used. If all else fails,
1097 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1098 * macro are: value, number of digits, whether trailing zeros should
1099 * be retained, and the output buffer.
1100 * Possible values are:
1101 * d_Gconvert='gconvert((x),(n),(t),(b))'
1102 * d_Gconvert='gcvt((x),(n),(b))'
1103 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1104 * The last two assume trailing zeros should not be kept.
1106 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1109 * This symbol, if defined, indicates to the C program that
1110 * the GNU C library is being used.
1112 /*#define HAS_GNULIBC /**/
1114 * This manifest constant lets the C program know that isascii
1117 #define HAS_ISASCII /**/
1120 * This symbol, if defined, indicates that the lchown routine is
1121 * available to operate on a symbolic link (instead of following the
1124 /*#define HAS_LCHOWN /**/
1127 * This manifest constant lets the C program know that the three
1128 * argument form of open(2) is available.
1130 /*#define HAS_OPEN3 /**/
1133 * This symbol, if defined, indicates that the bcopy routine is available
1134 * to copy potentially overlapping memory blocks. Otherwise you should
1135 * probably use memmove() or memcpy(). If neither is defined, roll your
1138 /*#define HAS_SAFE_BCOPY /**/
1141 * This symbol, if defined, indicates that the memcpy routine is available
1142 * to copy potentially overlapping memory blocks. Otherwise you should
1143 * probably use memmove() or memcpy(). If neither is defined, roll your
1146 /*#define HAS_SAFE_MEMCPY /**/
1149 * This symbol, if defined, indicates that the memcmp routine is available
1150 * and can be used to compare relative magnitudes of chars with their high
1151 * bits set. If it is not defined, roll your own version.
1153 #define HAS_SANE_MEMCMP /**/
1156 * This symbol, if defined, indicates that Vr4's sigaction() routine
1159 /*#define HAS_SIGACTION /**/
1162 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1165 * This macro is used in the same way as sigsetjmp(), but will invoke
1166 * traditional setjmp() if sigsetjmp isn't available.
1167 * See HAS_SIGSETJMP.
1170 * This macro is used in the same way as siglongjmp(), but will invoke
1171 * traditional longjmp() if siglongjmp isn't available.
1172 * See HAS_SIGSETJMP.
1174 /*#define HAS_SIGSETJMP /**/
1175 #ifdef HAS_SIGSETJMP
1176 #define Sigjmp_buf sigjmp_buf
1177 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1178 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1180 #define Sigjmp_buf jmp_buf
1181 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1182 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1186 * This symbol is defined if the _ptr and _cnt fields (or similar)
1187 * of the stdio FILE structure can be used to access the stdio buffer
1188 * for a file handle. If this is defined, then the FILE_ptr(fp)
1189 * and FILE_cnt(fp) macros will also be defined and should be used
1190 * to access these fields.
1193 * This macro is used to access the _ptr field (or equivalent) of the
1194 * FILE structure pointed to by its argument. This macro will always be
1195 * defined if USE_STDIO_PTR is defined.
1197 /* STDIO_PTR_LVALUE:
1198 * This symbol is defined if the FILE_ptr macro can be used as an
1202 * This macro is used to access the _cnt field (or equivalent) of the
1203 * FILE structure pointed to by its argument. This macro will always be
1204 * defined if USE_STDIO_PTR is defined.
1206 /* STDIO_CNT_LVALUE:
1207 * This symbol is defined if the FILE_cnt macro can be used as an
1210 #define USE_STDIO_PTR /**/
1211 #ifdef USE_STDIO_PTR
1212 #define FILE_ptr(fp) ((fp)->_ptr)
1213 #define STDIO_PTR_LVALUE /**/
1214 #define FILE_cnt(fp) ((fp)->_cnt)
1215 #define STDIO_CNT_LVALUE /**/
1219 * This symbol is defined if the _base field (or similar) of the
1220 * stdio FILE structure can be used to access the stdio buffer for
1221 * a file handle. If this is defined, then the FILE_base(fp) macro
1222 * will also be defined and should be used to access this field.
1223 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1224 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1225 * will never be defined unless USE_STDIO_PTR is.
1228 * This macro is used to access the _base field (or equivalent) of the
1229 * FILE structure pointed to by its argument. This macro will always be
1230 * defined if USE_STDIO_BASE is defined.
1233 * This macro is used to determine the number of bytes in the I/O
1234 * buffer pointed to by _base field (or equivalent) of the FILE
1235 * structure pointed to its argument. This macro will always be defined
1236 * if USE_STDIO_BASE is defined.
1238 #define USE_STDIO_BASE /**/
1239 #ifdef USE_STDIO_BASE
1240 #define FILE_base(fp) ((fp)->_base)
1241 #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
1245 * This symbol, if defined, indicates that the vprintf routine is available
1246 * to printf with a pointer to an argument list. If unavailable, you
1247 * may need to write your own, probably in terms of _doprnt().
1249 /* USE_CHAR_VSPRINTF:
1250 * This symbol is defined if this system has vsprintf() returning type
1251 * (char*). The trend seems to be to declare it as "int vsprintf()". It
1252 * is up to the package author to declare vsprintf correctly based on the
1255 #define HAS_VPRINTF /**/
1256 /*#define USE_CHAR_VSPRINTF /**/
1259 * This symbol contains the size of a double, so that the C preprocessor
1260 * can make decisions based on it.
1262 #define DOUBLESIZE 8 /**/
1265 * This symbol, if defined, indicates to the C program that it should
1269 * This symbol, if defined, indicates to the C program that it should
1270 * include <sys/time.h>.
1272 /* I_SYS_TIME_KERNEL:
1273 * This symbol, if defined, indicates to the C program that it should
1274 * include <sys/time.h> with KERNEL defined.
1277 /*#define I_SYS_TIME /**/
1278 /*#define I_SYS_TIME_KERNEL /**/
1281 * This symbol contains the value of sizeof(int) so that the C
1282 * preprocessor can make decisions based on it.
1285 * This symbol contains the value of sizeof(long) so that the C
1286 * preprocessor can make decisions based on it.
1289 * This symbol contains the value of sizeof(short) so that the C
1290 * preprocessor can make decisions based on it.
1292 #define INTSIZE 4 /**/
1293 #define LONGSIZE 4 /**/
1294 #define SHORTSIZE 2 /**/
1297 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1298 * non-blocking I/O for the file descriptor. Note that there is no way
1299 * back, i.e. you cannot turn it blocking again this way. If you wish to
1300 * alternatively switch between blocking and non-blocking, use the
1301 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1304 * This symbol holds the errno error code set by read() when no data was
1305 * present on the non-blocking file descriptor.
1308 * This symbol holds the return code from read() when no data is present
1309 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1310 * not defined, then you can't distinguish between no data and EOF by
1311 * issuing a read(). You'll have to find another way to tell for sure!
1314 * This symbol, if defined, indicates to the C program that a read() on
1315 * a non-blocking file descriptor will return 0 on EOF, and not the value
1316 * held in RD_NODATA (-1 usually, in that case!).
1318 #define VAL_O_NONBLOCK O_NONBLOCK
1319 #define VAL_EAGAIN EAGAIN
1320 #define RD_NODATA -1
1321 #define EOF_NONBLOCK
1324 * This symbol contains the size of a pointer, so that the C preprocessor
1325 * can make decisions based on it. It will be sizeof(void *) if
1326 * the compiler supports (void *); otherwise it will be
1329 #define PTRSIZE 4 /**/
1332 * This macro is to be used to generate uniformly distributed
1333 * random numbers over the range [0., 1.[. You may have to supply
1334 * an 'extern double drand48();' in your program since SunOS 4.1.3
1335 * doesn't provide you with anything relevant in it's headers.
1336 * See HAS_DRAND48_PROTO.
1339 * This symbol defines the type of the argument of the
1340 * random seed function.
1343 * This symbol defines the macro to be used in seeding the
1344 * random number generator (see Drand01).
1347 * This symbol indicates how many bits are produced by the
1348 * function used to generate normalized random numbers.
1349 * Values include 15, 16, 31, and 48.
1351 #define Drand01() (rand()/(double)((unsigned)1<<RANDBITS)) /**/
1352 #define Rand_seed_t unsigned /**/
1353 #define seedDrand01(x) srand((Rand_seed_t)x) /**/
1354 #define RANDBITS 15 /**/
1357 * This symbol holds the type used by functions that return
1358 * a count of bytes or an error condition. It must be a signed type.
1359 * It is usually ssize_t, but may be long or int, etc.
1360 * It may be necessary to include <sys/types.h> or <unistd.h>
1361 * to get any typedef'ed information.
1362 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1364 #define SSize_t int /* signed count of bytes */
1367 * This symbol, if defined, indicates that this system uses
1370 /*#define EBCDIC /**/
1373 * This symbol contains the name of the operating system, as determined
1374 * by Configure. You shouldn't rely on it too much; the specific
1375 * feature tests from Configure are generally more reliable.
1377 #define OSNAME "MSWin32" /**/
1380 * This macro catenates 2 tokens together.
1383 * This macro surrounds its token with double quotes.
1386 #define CAT2(a,b)a/**/b
1387 #define STRINGIFY(a)"a"
1388 /* If you can get stringification with catify, tell me how! */
1391 #define CAT2(a,b)a ## b
1392 #define StGiFy(a)# a
1393 #define STRINGIFY(a)StGiFy(a)
1395 #if 42 != 1 && 42 != 42
1396 #include "Bletch: How does this C preprocessor catenate tokens?"
1400 * This symbol contains the first part of the string which will invoke
1401 * the C preprocessor on the standard input and produce to standard
1402 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1403 * call a wrapper. See CPPRUN.
1406 * This symbol contains the second part of the string which will invoke
1407 * the C preprocessor on the standard input and produce to standard
1408 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1409 * to specify standard input, otherwise the value is "".
1411 #define CPPSTDIN "cl -nologo -E"
1415 * This manifest constant lets the C program know that the access()
1416 * system call is available to check for accessibility using real UID/GID.
1417 * (always present on UNIX.)
1419 #define HAS_ACCESS /**/
1422 * This symbol, if defined, contains the full pathname of csh.
1424 /*#define HAS_CSH /**/
1430 * This symbol, if defined, indicates that the getgrent routine is
1431 * available for finalizing sequential access of the group database.
1433 /*#define HAS_ENDGRENT /**/
1436 * This symbol, if defined, indicates that the endhostent() routine is
1437 * available to close whatever was being used for host queries.
1439 /*#define HAS_ENDHOSTENT /**/
1442 * This symbol, if defined, indicates that the endnetent() routine is
1443 * available to close whatever was being used for network queries.
1445 /*#define HAS_ENDNETENT /**/
1448 * This symbol, if defined, indicates that the endprotoent() routine is
1449 * available to close whatever was being used for protocol queries.
1451 /*#define HAS_ENDPROTOENT /**/
1454 * This symbol, if defined, indicates that the getgrent routine is
1455 * available for finalizing sequential access of the passwd database.
1457 /*#define HAS_ENDPWENT /**/
1460 * This symbol, if defined, indicates that the endservent() routine is
1461 * available to close whatever was being used for service queries.
1463 /*#define HAS_ENDSERVENT /**/
1466 * This symbol, if defined, indicates that the getgrent routine is
1467 * available for sequential access of the group database.
1469 /*#define HAS_GETGRENT /**/
1471 /* HAS_GETHOSTBYADDR:
1472 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1473 * available to look up hosts by their IP addresses.
1475 #define HAS_GETHOSTBYADDR /**/
1477 /* HAS_GETHOSTBYNAME:
1478 * This symbol, if defined, indicates that the gethostbyname() routine is
1479 * available to look up host names in some data base or other.
1481 #define HAS_GETHOSTBYNAME /**/
1484 * This symbol, if defined, indicates that the gethostent() routine is
1485 * available to look up host names in some data base or another.
1487 /*#define HAS_GETHOSTENT /**/
1489 /* HAS_GETNETBYADDR:
1490 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1491 * available to look up networks by their IP addresses.
1493 /*#define HAS_GETNETBYADDR /**/
1495 /* HAS_GETNETBYNAME:
1496 * This symbol, if defined, indicates that the getnetbyname() routine is
1497 * available to look up networks by their names.
1499 /*#define HAS_GETNETBYNAME /**/
1502 * This symbol, if defined, indicates that the getnetent() routine is
1503 * available to look up network names in some data base or another.
1505 /*#define HAS_GETNETENT /**/
1508 * This symbol, if defined, indicates that the getprotoent() routine is
1509 * available to look up protocols in some data base or another.
1511 /*#define HAS_GETPROTOENT /**/
1513 /* HAS_GETPROTOBYNAME:
1514 * This symbol, if defined, indicates that the getprotobyname()
1515 * routine is available to look up protocols by their name.
1517 /* HAS_GETPROTOBYNUMBER:
1518 * This symbol, if defined, indicates that the getprotobynumber()
1519 * routine is available to look up protocols by their number.
1521 #define HAS_GETPROTOBYNAME /**/
1522 #define HAS_GETPROTOBYNUMBER /**/
1525 * This symbol, if defined, indicates that the getpwent routine is
1526 * available for sequential access of the passwd database.
1527 * If this is not available, the older getpw() function may be available.
1529 /*#define HAS_GETPWENT /**/
1532 * This symbol, if defined, indicates that the getservent() routine is
1533 * available to look up network services in some data base or another.
1535 /*#define HAS_GETSERVENT /**/
1537 /* HAS_GETSERVBYNAME:
1538 * This symbol, if defined, indicates that the getservbyname()
1539 * routine is available to look up services by their name.
1541 /* HAS_GETSERVBYPORT:
1542 * This symbol, if defined, indicates that the getservbyport()
1543 * routine is available to look up services by their port.
1545 #define HAS_GETSERVBYNAME /**/
1546 #define HAS_GETSERVBYPORT /**/
1549 * This symbol, if defined, indicates that the htonl() routine (and
1550 * friends htons() ntohl() ntohs()) are available to do network
1551 * order byte swapping.
1554 * This symbol, if defined, indicates that the htons() routine (and
1555 * friends htonl() ntohl() ntohs()) are available to do network
1556 * order byte swapping.
1559 * This symbol, if defined, indicates that the ntohl() routine (and
1560 * friends htonl() htons() ntohs()) are available to do network
1561 * order byte swapping.
1564 * This symbol, if defined, indicates that the ntohs() routine (and
1565 * friends htonl() htons() ntohl()) are available to do network
1566 * order byte swapping.
1568 #define HAS_HTONL /**/
1569 #define HAS_HTONS /**/
1570 #define HAS_NTOHL /**/
1571 #define HAS_NTOHS /**/
1574 * This symbol will be defined if the C compiler supports long
1578 * This symbol contains the size of a long double, so that the
1579 * C preprocessor can make decisions based on it. It is only
1580 * defined if the system supports long doubles.
1582 #define HAS_LONG_DOUBLE /**/
1583 #ifdef HAS_LONG_DOUBLE
1584 #define LONG_DOUBLESIZE 10 /**/
1588 * This symbol will be defined if the C compiler supports long long.
1591 * This symbol contains the size of a long long, so that the
1592 * C preprocessor can make decisions based on it. It is only
1593 * defined if the system supports long long.
1595 /*#define HAS_LONG_LONG /**/
1596 #ifdef HAS_LONG_LONG
1597 #define LONGLONGSIZE 8 /**/
1601 * This symbol, if defined, indicates that the entire msg*(2) library is
1602 * supported (IPC mechanism based on message queues).
1604 /*#define HAS_MSG /**/
1607 * This symbol, if defined, indicates that the entire sem*(2) library is
1610 /*#define HAS_SEM /**/
1613 * This symbol, if defined, indicates that the setgrent routine is
1614 * available for initializing sequential access of the group database.
1616 /*#define HAS_SETGRENT /**/
1619 * This symbol, if defined, indicates that the setgroups() routine is
1620 * available to set the list of process groups. If unavailable, multiple
1621 * groups are probably not supported.
1623 /*#define HAS_SETGROUPS /**/
1626 * This symbol, if defined, indicates that the sethostent() routine is
1629 /*#define HAS_SETHOSTENT /**/
1632 * This symbol, if defined, indicates that the setnetent() routine is
1635 /*#define HAS_SETNETENT /**/
1638 * This symbol, if defined, indicates that the setprotoent() routine is
1641 /*#define HAS_SETPROTOENT /**/
1644 * This symbol, if defined, indicates that the setpwent routine is
1645 * available for initializing sequential access of the passwd database.
1647 /*#define HAS_SETPWENT /**/
1650 * This symbol, if defined, indicates that the setservent() routine is
1653 /*#define HAS_SETSERVENT /**/
1656 * This symbol, if defined, indicates that the setvbuf routine is
1657 * available to change buffering on an open stdio stream.
1658 * to a line-buffered mode.
1660 #define HAS_SETVBUF /**/
1663 * This symbol, if defined, indicates that the entire shm*(2) library is
1666 /*#define HAS_SHM /**/
1669 * This symbol, if defined, indicates that the BSD socket interface is
1673 * This symbol, if defined, indicates that the BSD socketpair() call is
1676 #define HAS_SOCKET /**/
1677 /*#define HAS_SOCKETPAIR /**/
1680 * This symbol is defined if this system has a stat structure declaring
1681 * st_blksize and st_blocks.
1683 /*#define USE_STAT_BLOCKS /**/
1686 * This symbol, if defined, indicates that the strerror routine is
1687 * available to translate error numbers to strings. See the writeup
1688 * of Strerror() in this file before you try to define your own.
1691 * This symbol, if defined, indicates that the sys_errlist array is
1692 * available to translate error numbers to strings. The extern int
1693 * sys_nerr gives the size of that table.
1696 * This preprocessor symbol is defined as a macro if strerror() is
1697 * not available to translate error numbers to strings but sys_errlist[]
1700 #define HAS_STRERROR /**/
1701 #define HAS_SYS_ERRLIST /**/
1702 #define Strerror(e) strerror(e)
1705 * This symbol, if defined, indicates that the union semun is
1706 * defined by including <sys/sem.h>. If not, the user code
1707 * probably needs to define it as:
1710 * struct semid_ds *buf;
1711 * unsigned short *array;
1714 /* USE_SEMCTL_SEMUN:
1715 * This symbol, if defined, indicates that union semun is
1716 * used for semctl IPC_STAT.
1718 /* USE_SEMCTL_SEMID_DS:
1719 * This symbol, if defined, indicates that struct semid_ds * is
1720 * used for semctl IPC_STAT.
1722 #define HAS_UNION_SEMUN /**/
1723 /*#define USE_SEMCTL_SEMUN /**/
1724 /*#define USE_SEMCTL_SEMID_DS /**/
1727 * This symbol's value is either "void" or "int", corresponding to the
1728 * appropriate return type of a signal handler. Thus, you can declare
1729 * a signal handler using "Signal_t (*handler)()", and define the
1730 * handler using "Signal_t handler(sig)".
1732 #define Signal_t void /* Signal handler's return type */
1735 * This symbol holds the type used for the second argument to
1736 * getgroups() and setgropus(). Usually, this is the same as
1737 * gidtype (gid_t) , but sometimes it isn't.
1738 * It can be int, ushort, uid_t, etc...
1739 * It may be necessary to include <sys/types.h> to get any
1740 * typedef'ed information. This is only required if you have
1741 * getgroups() or setgropus()..
1743 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1744 #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
1748 * This symbol, if defined, indicates to the C program that it should
1752 * This symbol, if defined, indicates to the C program that struct group
1753 * in <grp.h> contains gr_passwd.
1755 /*#define I_GRP /**/
1756 /*#define GRPASSWD /**/
1759 * This symbol, if defined, indicates that <netdb.h> exists and
1760 * should be included.
1762 /*#define I_NETDB /**/
1765 * This symbol, if defined, indicates to the C program that it should
1769 * This symbol, if defined, indicates to the C program that struct passwd
1770 * contains pw_quota.
1773 * This symbol, if defined, indicates to the C program that struct passwd
1777 * This symbol, if defined, indicates to the C program that struct passwd
1778 * contains pw_change.
1781 * This symbol, if defined, indicates to the C program that struct passwd
1782 * contains pw_class.
1785 * This symbol, if defined, indicates to the C program that struct passwd
1786 * contains pw_expire.
1789 * This symbol, if defined, indicates to the C program that struct passwd
1790 * contains pw_comment.
1793 * This symbol, if defined, indicates to the C program that struct passwd
1794 * contains pw_gecos.
1797 * This symbol, if defined, indicates to the C program that struct passwd
1798 * contains pw_passwd.
1800 /*#define I_PWD /**/
1801 /*#define PWQUOTA /**/
1802 /*#define PWAGE /**/
1803 /*#define PWCHANGE /**/
1804 /*#define PWCLASS /**/
1805 /*#define PWEXPIRE /**/
1806 /*#define PWCOMMENT /**/
1807 /*#define PWGECOS /**/
1808 /*#define PWPASSWD /**/
1811 * This variable contains the return type of free(). It is usually
1812 * void, but occasionally int.
1815 * This symbol is the type of pointer returned by malloc and realloc.
1817 #define Malloc_t void * /**/
1818 #define Free_t void /**/
1821 * This symbol, if defined, indicates that we're using our own malloc.
1823 /*#define MYMALLOC /**/
1826 * This symbol contains a list of signal names in order of
1827 * signal number. This is intended
1828 * to be used as a static array initialization, like this:
1829 * char *sig_name[] = { SIG_NAME };
1830 * The signals in the list are separated with commas, and each signal
1831 * is surrounded by double quotes. There is no leading SIG in the signal
1832 * name, i.e. SIGQUIT is known as "QUIT".
1833 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1834 * etc., where nn is the actual signal number (e.g. NUM37).
1835 * The signal number for sig_name[i] is stored in sig_num[i].
1836 * The last element is 0 to terminate the list with a NULL. This
1837 * corresponds to the 0 at the end of the sig_num list.
1840 * This symbol contains a list of signal numbers, in the same order as the
1841 * SIG_NAME list. It is suitable for static array initialization, as in:
1842 * int sig_num[] = { SIG_NUM };
1843 * The signals in the list are separated with commas, and the indices
1844 * within that list and the SIG_NAME list match, so it's easy to compute
1845 * the signal name from a number or vice versa at the price of a small
1846 * dynamic linear lookup.
1847 * Duplicates are allowed, but are moved to the end of the list.
1848 * The signal number corresponding to sig_name[i] is sig_number[i].
1849 * if (i < NSIG) then sig_number[i] == i.
1850 * The last element is 0, corresponding to the 0 at the end of
1851 * the sig_name list.
1853 #define SIG_NAME "ZERO", "NUM01", "INT", "QUIT", "ILL", "NUM05", "NUM06", "NUM07", "FPE", "KILL", "NUM10", "SEGV", "NUM12", "PIPE", "ALRM", "TERM", "NUM16", "NUM17", "NUM18", "NUM19", "CHLD", "BREAK", "ABRT", "STOP", "NUM24", "CONT", "CLD", 0 /**/
1854 #define SIG_NUM 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 20, 0 /**/
1857 * This symbol indicates how much support of the void type is given by this
1858 * compiler. What various bits mean:
1860 * 1 = supports declaration of void
1861 * 2 = supports arrays of pointers to functions returning void
1862 * 4 = supports comparisons between pointers to void functions and
1863 * addresses of void functions
1864 * 8 = suports declaration of generic void pointers
1866 * The package designer should define VOIDUSED to indicate the requirements
1867 * of the package. This can be done either by #defining VOIDUSED before
1868 * including config.h, or by defining defvoidused in Myinit.U. If the
1869 * latter approach is taken, only those flags will be tested. If the
1870 * level of void support necessary is not present, defines void to int.
1875 #define VOIDFLAGS 15
1876 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1877 #define void int /* is void to be avoided? */
1878 #define M_VOID /* Xenix strikes again */
1882 * This variable, if defined, holds the name of the directory in
1883 * which the user wants to put architecture-dependent public
1884 * library files for perl5. It is most often a local directory
1885 * such as /usr/local/lib. Programs using this variable must be
1886 * prepared to deal with filename expansion. If ARCHLIB is the
1887 * same as PRIVLIB, it is not defined, since presumably the
1888 * program already searches PRIVLIB.
1891 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1892 * in programs that are not prepared to deal with ~ expansion at run-time.
1894 #define ARCHLIB "c:\\perl\\5.00552\\lib\\MSWin32-x86" /**/
1895 /*#define ARCHLIB_EXP "" /**/
1897 /* DLSYM_NEEDS_UNDERSCORE:
1898 * This symbol, if defined, indicates that we need to prepend an
1899 * underscore to the symbol name before calling dlsym(). This only
1900 * makes sense if you *have* dlsym, which we will presume is the
1901 * case if you're using dl_dlopen.xs.
1903 /*#define DLSYM_NEEDS_UNDERSCORE /**/
1906 * This symbol, if defined, indicates that the fseeko routine is
1907 * available to fseek beyond 32 bits (useful for ILP32 hosts).
1909 /*#define HAS_FSEEKO /**/
1912 * This symbol, if defined, indicates that the ftello routine is
1913 * available to ftell from beyond 32 bits (useful for ILP32 hosts).
1915 /*#define HAS_FTELLO /**/
1918 * This symbol, if defined, indicates that sfio should
1921 /*#define USE_SFIO /**/
1924 * This symbol, if defined, indicates that the dbminit64 routine is
1925 * available to open dbm files larger than 2 gigabytes.
1928 * This symbol, if defined, indicates that the dbmclose64 routine is
1929 * available to close dbm files larger than 2 gigabytes.
1932 * This symbol, if defined, indicates that the fetch64 routine is
1933 * available to fetch from dbm files larger than 2 gigabytes.
1936 * This symbol, if defined, indicates that the store64 routine is
1937 * available to store to dbm files larger than 2 gigabytes.
1940 * This symbol, if defined, indicates that the delete64 routine is
1941 * available to delete from dbm files larger than 2 gigabytes.
1944 * This symbol, if defined, indicates that the firstkey64 routine is
1945 * available to firstkey in dbm files larger than 2 gigabytes.
1948 * This symbol, if defined, indicates that the nextkey64 routine is
1949 * available to nextkey in dbm files larger than 2 gigabytes.
1951 /*#define HAS_DBMINIT64 /**/
1952 /*#define HAS_DBMCLOSE64 /**/
1953 /*#define HAS_FETCH64 /**/
1954 /*#define HAS_STORE64 /**/
1955 /*#define HAS_DELETE64 /**/
1956 /*#define HAS_FIRSTKEY64 /**/
1957 /*#define HAS_NEXTKEY64 /**/
1959 /* USE_DYNAMIC_LOADING:
1960 * This symbol, if defined, indicates that dynamic loading of
1961 * some sort is available.
1963 #define USE_DYNAMIC_LOADING /**/
1966 * This symbol contains the type of the prefix structure element
1967 * in the <db.h> header file. In older versions of DB, it was
1968 * int, while in newer ones it is u_int32_t.
1971 * This symbol contains the type of the prefix structure element
1972 * in the <db.h> header file. In older versions of DB, it was
1973 * int, while in newer ones it is size_t.
1975 #define DB_Hash_t int /**/
1976 #define DB_Prefix_t int /**/
1979 * This symbol, if defined, indicates to the C program that it should
1980 * include <inttypes.h>.
1983 * This symbol will defined if the C compiler supports int64_t.
1984 * Usually the <inttypes.h> needs to be included, but sometimes
1985 * <sys/types.h> is enough.
1987 /*#define I_INTTYPES /**/
1988 /*#define HAS_INT64_T /**/
1991 * This symbol, if defined, indicates that the fstat64 routine is
1992 * available to stat files (fds) larger than 2 gigabytes.
1995 * This symbol, if defined, indicates that the ftruncate64 routine is
1996 * available to tell files larger than 2 gigabytes.
1999 * This symbol, if defined, indicates that the lseek64 routine is
2000 * available to seek files larger than 2 gigabytes.
2003 * This symbol, if defined, indicates that the lstat64 routine is
2004 * available to stat files (symlinks) larger than 2 gigabytes.
2007 * This symbol, if defined, indicates that the open64 routine is
2008 * available to open files larger than 2 gigabytes.
2011 * This symbol, if defined, indicates that the opendir64 routine is
2012 * available to opendir files larger than 2 gigabytes.
2015 * This symbol, if defined, indicates that the readdir64 routine is
2016 * available to readdir files larger than 2 gigabytes.
2019 * This symbol, if defined, indicates that the seekdir64 routine is
2020 * available to seekdir files larger than 2 gigabytes.
2023 * This symbol, if defined, indicates that the stat64 routine is
2024 * available to stat files larger than 2 gigabytes.
2027 * This symbol, if defined, indicates that the telldir64 routine is
2028 * available to telldir files larger than 2 gigabytes.
2031 * This symbol, if defined, indicates that the truncate64 routine is
2032 * available to truncate files larger than 2 gigabytes.
2035 * This symbol will be defined if the C compiler supports off64_t.
2037 /* HAS_STRUCT_DIRENT64:
2038 * This symbol will be defined if the C compiler supports struct dirent64.
2040 /*#define HAS_FSTAT64 /**/
2041 /*#define HAS_FTRUNCATE64 /**/
2042 /*#define HAS_LSEEK64 /**/
2043 /*#define HAS_LSTAT64 /**/
2044 /*#define HAS_OPEN64 /**/
2045 /*#define HAS_OPENDIR64 /**/
2046 /*#define HAS_READDIR64 /**/
2047 /*#define HAS_SEEKDIR64 /**/
2048 /*#define HAS_STAT64 /**/
2049 /*#define HAS_TELLDIR64 /**/
2050 /*#define HAS_TRUNCATE64 /**/
2051 /*#define HAS_OFF64_T /**/
2052 /*#define HAS_STRUCT_DIRENT64 /**/
2055 * This symbol contains the name of the private library for this package.
2056 * The library is private in the sense that it needn't be in anyone's
2057 * execution path, but it should be accessible by the world. The program
2058 * should be prepared to do ~ expansion.
2061 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2062 * in programs that are not prepared to deal with ~ expansion at run-time.
2064 #define PRIVLIB "c:\\perl\\5.00552\\lib" /**/
2065 #define PRIVLIB_EXP (win32_get_privlib("5.00552")) /**/
2068 * This symbol holds the minimum number of bits operated by select.
2069 * That is, if you do select(n, ...), how many bits at least will be
2070 * cleared in the masks if some activity is detected. Usually this
2071 * is either n or 32*ceil(n/32), especially many little-endians do
2072 * the latter. This is only useful if you have select(), naturally.
2074 #define SELECT_MIN_BITS 32 /**/
2077 * This symbol contains the name of the private library for this package.
2078 * The library is private in the sense that it needn't be in anyone's
2079 * execution path, but it should be accessible by the world. The program
2080 * should be prepared to do ~ expansion.
2081 * The standard distribution will put nothing in this directory.
2082 * Individual sites may place their own extensions and modules in
2086 * This symbol contains the ~name expanded version of SITEARCH, to be used
2087 * in programs that are not prepared to deal with ~ expansion at run-time.
2089 #define SITEARCH "c:\\perl\\site\\5.00552\\lib\\MSWin32-x86" /**/
2090 /*#define SITEARCH_EXP "" /**/
2093 * This symbol contains the name of the private library for this package.
2094 * The library is private in the sense that it needn't be in anyone's
2095 * execution path, but it should be accessible by the world. The program
2096 * should be prepared to do ~ expansion.
2097 * The standard distribution will put nothing in this directory.
2098 * Individual sites may place their own extensions and modules in
2102 * This symbol contains the ~name expanded version of SITELIB, to be used
2103 * in programs that are not prepared to deal with ~ expansion at run-time.
2105 #define SITELIB "c:\\perl\\site\\5.00552\\lib" /**/
2106 #define SITELIB_EXP (win32_get_sitelib("5.00552")) /**/
2109 * This variable contains the string to put in front of a perl
2110 * script to make sure (one hopes) that it runs with perl and not
2113 #define STARTPERL "#!perl" /**/
2116 * This symbol, if defined, indicates that the fgetpos64 routine is
2117 * available to getpos files larger than 2 gigabytes.
2120 * This symbol, if defined, indicates that the fopen64 routine is
2121 * available to open files larger than 2 gigabytes.
2124 * This symbol, if defined, indicates that the freopen64 routine is
2125 * available to reopen files larger than 2 gigabytes.
2128 * This symbol, if defined, indicates that the fseek64 routine is
2129 * available to seek files larger than 2 gigabytes.
2132 * This symbol, if defined, indicates that the fseeko64 routine is
2133 * available to seek files larger than 2 gigabytes.
2136 * This symbol, if defined, indicates that the fsetpos64 routine is
2137 * available to setpos files larger than 2 gigabytes.
2140 * This symbol, if defined, indicates that the ftell64 routine is
2141 * available to tell files larger than 2 gigabytes.
2144 * This symbol, if defined, indicates that the ftello64 routine is
2145 * available to tell files larger than 2 gigabytes.
2148 * This symbol, if defined, indicates that the tmpfile64 routine is
2149 * available to tmpfile files larger than 2 gigabytes.
2151 /*#define HAS_FGETPOS64 /**/
2152 /*#define HAS_FOPEN64 /**/
2153 /*#define HAS_FREOPEN64 /**/
2154 /*#define HAS_FSEEK64 /**/
2155 /*#define HAS_FSEEKO64 /**/
2156 /*#define HAS_FSETPOS64 /**/
2157 /*#define HAS_FTELL64 /**/
2158 /*#define HAS_FTELLO64 /**/
2159 /*#define HAS_TMPFILE64 /**/
2162 * This symbol, if defined, indicates that 64-bit interfaces should
2163 * be used when available. If not defined, the native default interfaces
2164 * will be used (be they 32 or 64 bits).
2166 /*#define USE_64_BITS /**/
2169 * This symbol, if defined, indicates that the PerlIO abstraction should
2170 * be used throughout. If not defined, stdio should be
2171 * used in a fully backward compatible manner.
2173 /*#define USE_PERLIO /**/
2175 /* HAS_DRAND48_PROTO:
2176 * This symbol, if defined, indicates that the system provides
2177 * a prototype for the drand48() function. Otherwise, it is up
2178 * to the program to supply one. A good guess is
2179 * extern double drand48 _((void));
2181 /*#define HAS_DRAND48_PROTO /**/
2183 /* HAS_GETHOST_PROTOS:
2184 * This symbol, if defined, indicates that <netdb.h> includes
2185 * prototypes for gethostent(), gethostbyname(), and
2186 * gethostbyaddr(). Otherwise, it is up to the program to guess
2187 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2189 #define HAS_GETHOST_PROTOS /**/
2191 /* HAS_GETNET_PROTOS:
2192 * This symbol, if defined, indicates that <netdb.h> includes
2193 * prototypes for getnetent(), getnetbyname(), and
2194 * getnetbyaddr(). Otherwise, it is up to the program to guess
2195 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2197 /*#define HAS_GETNET_PROTOS /**/
2199 /* HAS_GETPROTO_PROTOS:
2200 * This symbol, if defined, indicates that <netdb.h> includes
2201 * prototypes for getprotoent(), getprotobyname(), and
2202 * getprotobyaddr(). Otherwise, it is up to the program to guess
2203 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2205 #define HAS_GETPROTO_PROTOS /**/
2207 /* HAS_GETSERV_PROTOS:
2208 * This symbol, if defined, indicates that <netdb.h> includes
2209 * prototypes for getservent(), getservbyname(), and
2210 * getservbyaddr(). Otherwise, it is up to the program to guess
2211 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2213 #define HAS_GETSERV_PROTOS /**/
2216 * This symbol holds the type used for the 1st argument
2217 * to gethostbyaddr().
2220 * This symbol holds the type used for the 2nd argument
2221 * to gethostbyaddr().
2224 * This symbol holds the type used for the argument to
2228 * This symbol holds the type used for the 1st argument to
2231 #define Netdb_host_t char * /**/
2232 #define Netdb_hlen_t int /**/
2233 #define Netdb_name_t char * /**/
2234 #define Netdb_net_t long /**/
2237 * This symbol holds the type used for the 2nd, 3rd, and 4th
2238 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2239 * is defined, and 'int *' otherwise. This is only useful if you
2240 * have select(), of course.
2242 #define Select_fd_set_t Perl_fd_set * /**/
2245 * This symbol holds a string representing the architecture name.
2246 * It may be used to construct an architecture-dependant pathname
2247 * where library files may be held under a private library, for
2250 #define ARCHNAME "MSWin32-x86" /**/
2252 /* HAS_PTHREAD_YIELD:
2253 * This symbol, if defined, indicates that the pthread_yield
2254 * routine is available to yield the execution of the current
2255 * thread. sched_yield is preferable to pthread_yield.
2258 * This symbol defines the way to yield the execution of
2259 * the current thread. Known ways are sched_yield,
2260 * pthread_yield, and pthread_yield with NULL.
2263 * This symbol, if defined, indicates that the sched_yield
2264 * routine is available to yield the execution of the current
2265 * thread. sched_yield is preferable to pthread_yield.
2267 /*#define HAS_PTHREAD_YIELD /**/
2268 #define SCHED_YIELD /**/
2269 /*#define HAS_SCHED_YIELD /**/
2271 /* PTHREADS_CREATED_JOINABLE:
2272 * This symbol, if defined, indicates that pthreads are created
2273 * in the joinable (aka undetached) state.
2275 /*#define PTHREADS_CREATED_JOINABLE /**/
2278 * This symbol, if defined, indicates that Perl should
2279 * be built to use multiplicity.
2281 /*#define MULTIPLICITY /**/
2284 * This symbol, if defined, indicates that Perl should
2285 * be built to use threads.
2287 /* OLD_PTHREADS_API:
2288 * This symbol, if defined, indicates that Perl should
2289 * be built to use the old draft POSIX threads API.
2291 /*#define USE_THREADS /**/
2292 /*#define OLD_PTHREADS_API /**/
2295 * This symbol holds the type returned by time(). It can be long,
2296 * or time_t on BSD sites (in which case <sys/types.h> should be
2299 #define Time_t time_t /* Time type */
2302 * This symbol, if defined, indicates that the times() routine exists.
2303 * Note that this became obsolete on some systems (SUNOS), which now
2304 * use getrusage(). It may be necessary to include <sys/times.h>.
2306 #define HAS_TIMES /**/
2309 * This symbol holds the type used to declare file positions in libc.
2310 * It can be fpos_t, long, uint, etc... It may be necessary to include
2311 * <sys/types.h> to get any typedef'ed information.
2313 #define Fpos_t fpos_t /* File position type */
2316 * This symbol holds the return type of getgid() and the type of
2317 * argument to setrgid() and related functions. Typically,
2318 * it is the type of group ids in the kernel. It can be int, ushort,
2319 * uid_t, etc... It may be necessary to include <sys/types.h> to get
2320 * any typedef'ed information.
2322 #define Gid_t gid_t /* Type for getgid(), etc... */
2325 * This symbol holds the type used to declare offsets in the kernel.
2326 * It can be int, long, off_t, etc... It may be necessary to include
2327 * <sys/types.h> to get any typedef'ed information.
2330 * This symbol holds the number of bytes used by the Off_t.
2332 #define Off_t off_t /* <offset> type */
2333 #define LSEEKSIZE 4 /* <offset> size */
2336 * This symbol holds the type used to declare file modes
2337 * for systems calls. It is usually mode_t, but may be
2338 * int or unsigned short. It may be necessary to include <sys/types.h>
2339 * to get any typedef'ed information.
2341 #define Mode_t mode_t /* file mode parameter for system calls */
2344 * This symbol holds the type used to declare process ids in the kernel.
2345 * It can be int, uint, pid_t, etc... It may be necessary to include
2346 * <sys/types.h> to get any typedef'ed information.
2348 #define Pid_t int /* PID type */
2351 * This symbol holds the type used to declare length parameters
2352 * for string functions. It is usually size_t, but may be
2353 * unsigned long, int, etc. It may be necessary to include
2354 * <sys/types.h> to get any typedef'ed information.
2356 #define Size_t size_t /* length paramater for string functions */
2359 * This symbol holds the type used to declare user ids in the kernel.
2360 * It can be int, ushort, uid_t, etc... It may be necessary to include
2361 * <sys/types.h> to get any typedef'ed information.
2363 #define Uid_t uid_t /* UID type */