home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / Share / Editores / Perl5 / perl / lib / CORE / config.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-08-10  |  57.3 KB  |  1,800 lines

  1. /*
  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
  4.  * running Configure.
  5.  *
  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.
  9.  *
  10.  * $Id: Config_h.U,v 3.0.1.4 1995/09/25 09:10:49 ram Exp $
  11.  */
  12.  
  13. /* Configuration time: Thu Apr 11 06:20:49 PDT 1996
  14.  * Configured by: gsar
  15.  * Target system: 
  16.  */
  17.  
  18. #ifndef _config_h_
  19. #define _config_h_
  20.  
  21. /* MEM_ALIGNBYTES:
  22.  *    This symbol contains the number of bytes required to align a
  23.  *    double. Usual values are 2, 4 and 8.
  24.  *    On NeXT starting with 3.2, you can build "Fat" Multiple Architecture
  25.  *    Binaries (MAB) for targets with varying alignment.  This only matters
  26.  *    for perl, where the config.h can be generated and installed on one
  27.  *    system, and used by a different architecture to build an extension.
  28.  *    The default is eight, for safety.
  29.  */
  30. #ifndef NeXT
  31. #define MEM_ALIGNBYTES 8    /**/
  32. #else  /* NeXT */
  33. #ifdef __m68k__
  34. #define MEM_ALIGNBYTES 2
  35. #else
  36. #ifdef __i386__
  37. #define MEM_ALIGNBYTES 4
  38. #else /* __hppa__, __sparc__ and default for unknown architectures */
  39. #define MEM_ALIGNBYTES 8
  40. #endif /* __i386__ */
  41. #endif /* __m68k__ */
  42. #endif /* NeXT */
  43.  
  44. /* ARCHNAME:
  45.  *    This symbol holds a string representing the architecture name.
  46.  *    It may be used to construct an architecture-dependant pathname
  47.  *    where library files may be held under a private library, for
  48.  *    instance.
  49.  */
  50. #define ARCHNAME "MSWin32"        /**/
  51.  
  52. /* BIN:
  53.  *    This symbol holds the path of the bin directory where the package will
  54.  *    be installed. Program must be prepared to deal with ~name substitution.
  55.  */
  56. /* BIN_EXP:
  57.  *    This symbol is the filename expanded version of the BIN symbol, for
  58.  *    programs that do not want to deal with that at run-time.
  59.  */
  60. #define BIN "c:\\perl\\bin"    /**/
  61. #define BIN_EXP "c:\\perl\\bin"    /**/
  62.  
  63. /* CAT2:
  64.  *    This macro catenates 2 tokens together.
  65.  */
  66. /* STRINGIFY:
  67.  *    This macro surrounds its token with double quotes.
  68.  */
  69. #if 42 == 1
  70. #define CAT2(a,b)a/**/b
  71. #define CAT3(a,b,c)a/**/b/**/c
  72. #define CAT4(a,b,c,d)a/**/b/**/c/**/d
  73. #define CAT5(a,b,c,d,e)a/**/b/**/c/**/d/**/e
  74. #define STRINGIFY(a)"a"
  75.         /* If you can get stringification with catify, tell me how! */
  76. #endif
  77. #if 42 == 42
  78. #define CAT2(a,b)a ## b
  79. #define CAT3(a,b,c)a ## b ## c
  80. #define CAT4(a,b,c,d)a ## b ## c ## d
  81. #define CAT5(a,b,c,d,e)a ## b ## c ## d ## e
  82. #define StGiFy(a)# a
  83. #define STRINGIFY(a)StGiFy(a)
  84. #define SCAT2(a,b)StGiFy(a) StGiFy(b)
  85. #define SCAT3(a,b,c)StGiFy(a) StGiFy(b) StGiFy(c)
  86. #define SCAT4(a,b,c,d)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d)
  87. #define SCAT5(a,b,c,d,e)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) StGiFy(e)
  88. #endif
  89. #ifndef CAT2
  90. #include "Bletch: How does this C preprocessor catenate tokens?"
  91. #endif
  92.  
  93. /* CPPSTDIN:
  94.  *    This symbol contains the first part of the string which will invoke
  95.  *    the C preprocessor on the standard input and produce to standard
  96.  *    output.     Typical value of "cc -E" or "/lib/cpp", but it can also
  97.  *    call a wrapper. See CPPRUN.
  98.  */
  99. /* CPPMINUS:
  100.  *    This symbol contains the second part of the string which will invoke
  101.  *    the C preprocessor on the standard input and produce to standard
  102.  *    output.  This symbol will have the value "-" if CPPSTDIN needs a minus
  103.  *    to specify standard input, otherwise the value is "".
  104.  */
  105. #define CPPSTDIN ""
  106. #define CPPMINUS ""
  107.  
  108. /* HAS_ALARM:
  109.  *    This symbol, if defined, indicates that the alarm routine is
  110.  *    available.
  111.  */
  112. /*#define HAS_ALARM        /**/
  113.  
  114. /* HASATTRIBUTE:
  115.  *    This symbol indicates the C compiler can check for function attributes,
  116.  *    such as printf formats. This is normally only supported by GNU cc.
  117.  */
  118. /*#define HASATTRIBUTE     /**/
  119. #ifndef HASATTRIBUTE
  120. #define __attribute__(_arg_)
  121. #endif
  122.  
  123. /* HAS_BCMP:
  124.  *    This symbol is defined if the bcmp() routine is available to
  125.  *    compare blocks of memory.
  126.  */
  127. /*#define HAS_BCMP    /**/
  128.  
  129. /* HAS_BCOPY:
  130.  *    This symbol is defined if the bcopy() routine is available to
  131.  *    copy blocks of memory.
  132.  */
  133. /*#define HAS_BCOPY    /**/
  134.  
  135. /* HAS_BZERO:
  136.  *    This symbol is defined if the bzero() routine is available to
  137.  *    set a memory block to 0.
  138.  */
  139. /*#define HAS_BZERO    /**/
  140.  
  141. /* CASTI32:
  142.  *    This symbol is defined if the C compiler can cast negative
  143.  *    or large floating point numbers to 32-bit ints.
  144.  */
  145. #define    CASTI32        /**/
  146.  
  147. /* CASTNEGFLOAT:
  148.  *    This symbol is defined if the C compiler can cast negative
  149.  *    numbers to unsigned longs, ints and shorts.
  150.  */
  151. /* CASTFLAGS:
  152.  *    This symbol contains flags that say what difficulties the compiler
  153.  *    has casting odd floating values to unsigned long:
  154.  *        0 = ok
  155.  *        1 = couldn't cast < 0
  156.  *        2 = couldn't cast >= 0x80000000
  157.  *        4 = couldn't cast in argument expression list
  158.  */
  159. #define    CASTNEGFLOAT        /**/
  160. #define CASTFLAGS 0        /**/
  161.  
  162. /* HAS_CHOWN:
  163.  *    This symbol, if defined, indicates that the chown routine is
  164.  *    available.
  165.  */
  166. /*#define HAS_CHOWN        /**/
  167.  
  168. /* HAS_CHROOT:
  169.  *    This symbol, if defined, indicates that the chroot routine is
  170.  *    available.
  171.  */
  172. /*#define HAS_CHROOT        /**/
  173.  
  174. /* HAS_CHSIZE:
  175.  *    This symbol, if defined, indicates that the chsize routine is available
  176.  *    to truncate files.  You might need a -lx to get this routine.
  177.  */
  178. #define    HAS_CHSIZE        /**/
  179.  
  180. /* VOID_CLOSEDIR:
  181.  *    This symbol, if defined, indicates that the closedir() routine
  182.  *    does not return a value.
  183.  */
  184. /*#define VOID_CLOSEDIR        /**/
  185.  
  186. /* HASCONST:
  187.  *    This symbol, if defined, indicates that this C compiler knows about
  188.  *    the const type. There is no need to actually test for that symbol
  189.  *    within your programs. The mere use of the "const" keyword will
  190.  *    trigger the necessary tests.
  191.  */
  192. #define HASCONST    /**/
  193. #ifndef HASCONST
  194. #define const
  195. #endif
  196.  
  197. /* HAS_CRYPT:
  198.  *    This symbol, if defined, indicates that the crypt routine is available
  199.  *    to encrypt passwords and the like.
  200.  */
  201. /*#define HAS_CRYPT        /**/
  202.  
  203. /* HAS_CUSERID:
  204.  *    This symbol, if defined, indicates that the cuserid routine is
  205.  *    available to get character login names.
  206.  */
  207. /*#define HAS_CUSERID        /**/
  208.  
  209. /* HAS_DBL_DIG:
  210.  *    This symbol, if defined, indicates that this system's <float.h>
  211.  *    or <limits.h> defines the symbol DBL_DIG, which is the number
  212.  *    of significant digits in a double precision number.  If this
  213.  *    symbol is not defined, a guess of 15 is usually pretty good.
  214.  */
  215. #define HAS_DBL_DIG     /**/
  216.  
  217. /* HAS_DIFFTIME:
  218.  *    This symbol, if defined, indicates that the difftime routine is
  219.  *    available.
  220.  */
  221. #define HAS_DIFFTIME        /**/
  222.  
  223. /* HAS_DLERROR:
  224.  *    This symbol, if defined, indicates that the dlerror routine is
  225.  *    available to return a string describing the last error that
  226.  *    occurred from a call to dlopen(), dlclose() or dlsym().
  227.  */
  228. #define HAS_DLERROR    /**/
  229.  
  230. /* HAS_DUP2:
  231.  *    This symbol, if defined, indicates that the dup2 routine is
  232.  *    available to duplicate file descriptors.
  233.  */
  234. #define HAS_DUP2    /**/
  235.  
  236. /* HAS_FCHMOD:
  237.  *    This symbol, if defined, indicates that the fchmod routine is available
  238.  *    to change mode of opened files.  If unavailable, use chmod().
  239.  */
  240. /*#define HAS_FCHMOD        /**/
  241.  
  242. /* HAS_FCHOWN:
  243.  *    This symbol, if defined, indicates that the fchown routine is available
  244.  *    to change ownership of opened files.  If unavailable, use chown().
  245.  */
  246. /*#define HAS_FCHOWN        /**/
  247.  
  248. /* HAS_FCNTL:
  249.  *    This symbol, if defined, indicates to the C program that
  250.  *    the fcntl() function exists.
  251.  */
  252. /*#define HAS_FCNTL        /**/
  253.  
  254. /* HAS_FGETPOS:
  255.  *    This symbol, if defined, indicates that the fgetpos routine is
  256.  *    available to get the file position indicator, similar to ftell().
  257.  */
  258. #define HAS_FGETPOS    /**/
  259.  
  260. /* FLEXFILENAMES:
  261.  *    This symbol, if defined, indicates that the system supports filenames
  262.  *    longer than 14 characters.
  263.  */
  264. #define    FLEXFILENAMES        /**/
  265.  
  266. /* HAS_FLOCK:
  267.  *    This symbol, if defined, indicates that the flock routine is
  268.  *    available to do file locking.
  269.  */
  270. #define HAS_FLOCK        /**/
  271.  
  272. /* HAS_FORK:
  273.  *    This symbol, if defined, indicates that the fork routine is
  274.  *    available.
  275.  */
  276. /*#define HAS_FORK        /**/
  277.  
  278. /* HAS_FSETPOS:
  279.  *    This symbol, if defined, indicates that the fsetpos routine is
  280.  *    available to set the file position indicator, similar to fseek().
  281.  */
  282. #define HAS_FSETPOS    /**/
  283.  
  284. /* HAS_GETTIMEOFDAY:
  285.  *    This symbol, if defined, indicates that the gettimeofday() system
  286.  *    call is available for a sub-second accuracy clock. Usually, the file
  287.  *    <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
  288.  *    The type "Timeval" should be used to refer to "struct timeval".
  289.  */
  290. /*#define HAS_GETTIMEOFDAY    /**/
  291. #ifdef HAS_GETTIMEOFDAY
  292. #define Timeval struct timeval    /* Structure used by gettimeofday() */
  293. #endif
  294.  
  295. /* HAS_GETGROUPS:
  296.  *    This symbol, if defined, indicates that the getgroups() routine is
  297.  *    available to get the list of process groups.  If unavailable, multiple
  298.  *    groups are probably not supported.
  299.  */
  300. /* HAS_SETGROUPS:
  301.  *    This symbol, if defined, indicates that the setgroups() routine is
  302.  *    available to set the list of process groups.  If unavailable, multiple
  303.  *    groups are probably not supported.
  304.  */
  305. /*#define HAS_GETGROUPS        /**/
  306. /*#define HAS_SETGROUPS        /**/
  307.  
  308. /* HAS_GETHOSTENT:
  309.  *    This symbol, if defined, indicates that the gethostent routine is
  310.  *    available to lookup host names in some data base or other.
  311.  */
  312. /*#define HAS_GETHOSTENT        /**/
  313.  
  314. /* HAS_UNAME:
  315.  *    This symbol, if defined, indicates that the C program may use the
  316.  *    uname() routine to derive the host name.  See also HAS_GETHOSTNAME
  317.  *    and PHOSTNAME.
  318.  */
  319. /*#define HAS_UNAME        /**/
  320.  
  321. /* HAS_GETLOGIN:
  322.  *    This symbol, if defined, indicates that the getlogin routine is
  323.  *    available to get the login name.
  324.  */
  325. /*#define HAS_GETLOGIN        /**/
  326.  
  327. /* HAS_GETPGRP2:
  328.  *    This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
  329.  *    routine is available to get the current process group.
  330.  */
  331. /*#define HAS_GETPGRP2        /**/
  332.  
  333. /* HAS_GETPPID:
  334.  *    This symbol, if defined, indicates that the getppid routine is
  335.  *    available to get the parent process ID.
  336.  */
  337. /*#define HAS_GETPPID        /**/
  338.  
  339. /* HAS_GETPRIORITY:
  340.  *    This symbol, if defined, indicates that the getpriority routine is
  341.  *    available to get a process's priority.
  342.  */
  343. /*#define HAS_GETPRIORITY        /**/
  344.  
  345. /* HAS_HTONL:
  346.  *    This symbol, if defined, indicates that the htonl() routine (and
  347.  *    friends htons() ntohl() ntohs()) are available to do network
  348.  *    order byte swapping.
  349.  */
  350. /* HAS_HTONS:
  351.  *    This symbol, if defined, indicates that the htons() routine (and
  352.  *    friends htonl() ntohl() ntohs()) are available to do network
  353.  *    order byte swapping.
  354.  */
  355. /* HAS_NTOHL:
  356.  *    This symbol, if defined, indicates that the ntohl() routine (and
  357.  *    friends htonl() htons() ntohs()) are available to do network
  358.  *    order byte swapping.
  359.  */
  360. /* HAS_NTOHS:
  361.  *    This symbol, if defined, indicates that the ntohs() routine (and
  362.  *    friends htonl() htons() ntohl()) are available to do network
  363.  *    order byte swapping.
  364.  */
  365. #define HAS_HTONL        /**/
  366. #define HAS_HTONS        /**/
  367. #define HAS_NTOHL        /**/
  368. #define HAS_NTOHS        /**/
  369.  
  370. /* HAS_ISASCII:
  371.  *    This manifest constant lets the C program know that isascii 
  372.  *    is available.
  373.  */
  374. #define HAS_ISASCII        /**/
  375.  
  376. /* HAS_KILLPG:
  377.  *    This symbol, if defined, indicates that the killpg routine is available
  378.  *    to kill process groups.  If unavailable, you probably should use kill
  379.  *    with a negative process number.
  380.  */
  381. /*#define HAS_KILLPG    /**/
  382.  
  383. /* HAS_LINK:
  384.  *    This symbol, if defined, indicates that the link routine is
  385.  *    available to create hard links.
  386.  */
  387. /*#define HAS_LINK    /**/
  388.  
  389. /* HAS_LOCALECONV:
  390.  *    This symbol, if defined, indicates that the localeconv routine is
  391.  *    available for numeric and monetary formatting conventions.
  392.  */
  393. #define HAS_LOCALECONV    /**/
  394.  
  395. /* HAS_LOCKF:
  396.  *    This symbol, if defined, indicates that the lockf routine is
  397.  *    available to do file locking.
  398.  */
  399. /*#define HAS_LOCKF        /**/
  400.  
  401. /* HAS_LSTAT:
  402.  *    This symbol, if defined, indicates that the lstat routine is
  403.  *    available to do file stats on symbolic links.
  404.  */
  405. /*#define HAS_LSTAT        /**/
  406.  
  407. /* HAS_MBLEN:
  408.  *    This symbol, if defined, indicates that the mblen routine is available
  409.  *    to find the number of bytes in a multibye character.
  410.  */
  411. #define HAS_MBLEN        /**/
  412.  
  413. /* HAS_MBSTOWCS:
  414.  *    This symbol, if defined, indicates that the mbstowcs routine is
  415.  *    available to covert a multibyte string into a wide character string.
  416.  */
  417. #define    HAS_MBSTOWCS        /**/
  418.  
  419. /* HAS_MBTOWC:
  420.  *    This symbol, if defined, indicates that the mbtowc routine is available
  421.  *    to covert a multibyte to a wide character.
  422.  */
  423. #define HAS_MBTOWC        /**/
  424.  
  425. /* HAS_MEMCMP:
  426.  *    This symbol, if defined, indicates that the memcmp routine is available
  427.  *    to compare blocks of memory.
  428.  */
  429. #define HAS_MEMCMP    /**/
  430.  
  431. /* HAS_MEMCPY:
  432.  *    This symbol, if defined, indicates that the memcpy routine is available
  433.  *    to copy blocks of memory.
  434.  */
  435. #define HAS_MEMCPY    /**/
  436.  
  437. /* HAS_MEMMOVE:
  438.  *    This symbol, if defined, indicates that the memmove routine is available
  439.  *    to copy potentially overlapping blocks of memory. This should be used
  440.  *    only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
  441.  *    own version.
  442.  */
  443. #define HAS_MEMMOVE    /**/
  444.  
  445. /* HAS_MEMSET:
  446.  *    This symbol, if defined, indicates that the memset routine is available
  447.  *    to set blocks of memory.
  448.  */
  449. #define HAS_MEMSET    /**/
  450.  
  451. /* HAS_MKDIR:
  452.  *    This symbol, if defined, indicates that the mkdir routine is available
  453.  *    to create directories.  Otherwise you should fork off a new process to
  454.  *    exec /bin/mkdir.
  455.  */
  456. #define HAS_MKDIR        /**/
  457.  
  458. /* HAS_MKFIFO:
  459.  *    This symbol, if defined, indicates that the mkfifo routine is
  460.  *    available to create FIFOs. Otherwise, mknod should be able to
  461.  *    do it for you. However, if mkfifo is there, mknod might require
  462.  *    super-user privileges which mkfifo will not.
  463.  */
  464. /*#define HAS_MKFIFO        /**/
  465.  
  466. /* HAS_MKTIME:
  467.  *    This symbol, if defined, indicates that the mktime routine is
  468.  *    available.
  469.  */
  470. #define HAS_MKTIME        /**/
  471.  
  472. /* HAS_MSG:
  473.  *    This symbol, if defined, indicates that the entire msg*(2) library is
  474.  *    supported (IPC mechanism based on message queues).
  475.  */
  476. /*#define HAS_MSG        /**/
  477.  
  478. /* HAS_NICE:
  479.  *    This symbol, if defined, indicates that the nice routine is
  480.  *    available.
  481.  */
  482. /*#define HAS_NICE        /**/
  483.  
  484. /* HAS_OPEN3:
  485.  *    This manifest constant lets the C program know that the three
  486.  *    argument form of open(2) is available.
  487.  */
  488. /*#define HAS_OPEN3        /**/
  489.  
  490. /* HAS_PATHCONF:
  491.  *    This symbol, if defined, indicates that pathconf() is available
  492.  *    to determine file-system related limits and options associated
  493.  *    with a given filename.
  494.  */
  495. /* HAS_FPATHCONF:
  496.  *    This symbol, if defined, indicates that pathconf() is available
  497.  *    to determine file-system related limits and options associated
  498.  *    with a given open file descriptor.
  499.  */
  500. /*#define HAS_PATHCONF        /**/
  501. /*#define HAS_FPATHCONF        /**/
  502.  
  503. /* HAS_PAUSE:
  504.  *    This symbol, if defined, indicates that the pause routine is
  505.  *    available to suspend a process until a signal is received.
  506.  */
  507. #define HAS_PAUSE        /**/
  508.  
  509. /* HAS_PIPE:
  510.  *    This symbol, if defined, indicates that the pipe routine is
  511.  *    available to create an inter-process channel.
  512.  */
  513. #define HAS_PIPE        /**/
  514.  
  515. /* HAS_POLL:
  516.  *    This symbol, if defined, indicates that the poll routine is
  517.  *    available to poll active file descriptors.
  518.  */
  519. /*#define HAS_POLL        /**/
  520.  
  521. /* HAS_READDIR:
  522.  *    This symbol, if defined, indicates that the readdir routine is
  523.  *    available to read directory entries. You may have to include
  524.  *    <dirent.h>. See I_DIRENT.
  525.  */
  526. #define HAS_READDIR        /**/
  527.  
  528. /* HAS_SEEKDIR:
  529.  *    This symbol, if defined, indicates that the seekdir routine is
  530.  *    available. You may have to include <dirent.h>. See I_DIRENT.
  531.  */
  532. #define HAS_SEEKDIR        /**/
  533.  
  534. /* HAS_TELLDIR:
  535.  *    This symbol, if defined, indicates that the telldir routine is
  536.  *    available. You may have to include <dirent.h>. See I_DIRENT.
  537.  */
  538. #define HAS_TELLDIR        /**/
  539.  
  540. /* HAS_REWINDDIR:
  541.  *    This symbol, if defined, indicates that the rewinddir routine is
  542.  *    available. You may have to include <dirent.h>. See I_DIRENT.
  543.  */
  544. #define HAS_REWINDDIR        /**/
  545.  
  546. /* HAS_READLINK:
  547.  *    This symbol, if defined, indicates that the readlink routine is
  548.  *    available to read the value of a symbolic link.
  549.  */
  550. /*#define HAS_READLINK        /**/
  551.  
  552. /* HAS_RENAME:
  553.  *    This symbol, if defined, indicates that the rename routine is available
  554.  *    to rename files.  Otherwise you should do the unlink(), link(), unlink()
  555.  *    trick.
  556.  */
  557. #define HAS_RENAME    /**/
  558.  
  559. /* HAS_RMDIR:
  560.  *    This symbol, if defined, indicates that the rmdir routine is
  561.  *    available to remove directories. Otherwise you should fork off a
  562.  *    new process to exec /bin/rmdir.
  563.  */
  564. #define HAS_RMDIR        /**/
  565.  
  566. /* HAS_SAFE_BCOPY:
  567.  *    This symbol, if defined, indicates that the bcopy routine is available
  568.  *    to copy potentially overlapping memory blocks. Otherwise you should
  569.  *    probably use memmove() or memcpy(). If neither is defined, roll your
  570.  *    own version.
  571.  */
  572. /*#define HAS_SAFE_BCOPY    /**/
  573.  
  574. /* HAS_SAFE_MEMCPY:
  575.  *    This symbol, if defined, indicates that the memcpy routine is available
  576.  *    to copy potentially overlapping memory blocks. Otherwise you should
  577.  *    probably use memmove() or memcpy(). If neither is defined, roll your
  578.  *    own version.
  579.  */
  580. /*#define HAS_SAFE_MEMCPY    /**/
  581.  
  582. /* HAS_SANE_MEMCMP:
  583.  *    This symbol, if defined, indicates that the memcmp routine is available
  584.  *    and can be used to compare relative magnitudes of chars with their high
  585.  *    bits set.  If it is not defined, roll your own version.
  586.  */
  587. #define HAS_SANE_MEMCMP    /**/
  588.  
  589. /* HAS_SELECT:
  590.  *    This symbol, if defined, indicates that the select routine is
  591.  *    available to select active file descriptors. If the timeout field
  592.  *    is used, <sys/time.h> may need to be included.
  593.  */
  594. #define HAS_SELECT    /**/
  595.  
  596. /* HAS_SEM:
  597.  *    This symbol, if defined, indicates that the entire sem*(2) library is
  598.  *    supported.
  599.  */
  600. /*#define HAS_SEM        /**/
  601.  
  602. /* HAS_SETEGID:
  603.  *    This symbol, if defined, indicates that the setegid routine is available
  604.  *    to change the effective gid of the current program.
  605.  */
  606. /*#define HAS_SETEGID        /**/
  607.  
  608. /* HAS_SETEUID:
  609.  *    This symbol, if defined, indicates that the seteuid routine is available
  610.  *    to change the effective uid of the current program.
  611.  */
  612. /*#define HAS_SETEUID        /**/
  613.  
  614. /* HAS_SETLINEBUF:
  615.  *    This symbol, if defined, indicates that the setlinebuf routine is
  616.  *    available to change stderr or stdout from block-buffered or unbuffered
  617.  *    to a line-buffered mode.
  618.  */
  619. /*#define HAS_SETLINEBUF        /**/
  620.  
  621. /* HAS_SETLOCALE:
  622.  *    This symbol, if defined, indicates that the setlocale routine is
  623.  *    available to handle locale-specific ctype implementations.
  624.  */
  625. #define HAS_SETLOCALE    /**/
  626.  
  627. /* HAS_SETPGRP2:
  628.  *    This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
  629.  *    routine is available to set the current process group.
  630.  */
  631. /*#define HAS_SETPGRP2        /**/
  632.  
  633. /* HAS_SETPRIORITY:
  634.  *    This symbol, if defined, indicates that the setpriority routine is
  635.  *    available to set a process's priority.
  636.  */
  637. /*#define HAS_SETPRIORITY        /**/
  638.  
  639. /* HAS_SETREGID:
  640.  *    This symbol, if defined, indicates that the setregid routine is
  641.  *    available to change the real and effective gid of the current
  642.  *    process.
  643.  */
  644. /* HAS_SETRESGID:
  645.  *    This symbol, if defined, indicates that the setresgid routine is
  646.  *    available to change the real, effective and saved gid of the current
  647.  *    process.
  648.  */
  649. /*#define HAS_SETREGID        /**/
  650. /*#define HAS_SETRESGID        /**/
  651.  
  652. /* HAS_SETREUID:
  653.  *    This symbol, if defined, indicates that the setreuid routine is
  654.  *    available to change the real and effective uid of the current
  655.  *    process.
  656.  */
  657. /* HAS_SETRESUID:
  658.  *    This symbol, if defined, indicates that the setresuid routine is
  659.  *    available to change the real, effective and saved uid of the current
  660.  *    process.
  661.  */
  662. /*#define HAS_SETREUID        /**/
  663. /*#define HAS_SETRESUID        /**/
  664.  
  665. /* HAS_SETRGID:
  666.  *    This symbol, if defined, indicates that the setrgid routine is available
  667.  *    to change the real gid of the current program.
  668.  */
  669. /*#define HAS_SETRGID        /**/
  670.  
  671. /* HAS_SETRUID:
  672.  *    This symbol, if defined, indicates that the setruid routine is available
  673.  *    to change the real uid of the current program.
  674.  */
  675. /*#define HAS_SETRUID        /**/
  676.  
  677. /* HAS_SETSID:
  678.  *    This symbol, if defined, indicates that the setsid routine is
  679.  *    available to set the process group ID.
  680.  */
  681. /*#define HAS_SETSID    /**/
  682.  
  683. /* HAS_SHM:
  684.  *    This symbol, if defined, indicates that the entire shm*(2) library is
  685.  *    supported.
  686.  */
  687. /*#define HAS_SHM        /**/
  688.  
  689. /* Shmat_t:
  690.  *    This symbol holds the return type of the shmat() system call.
  691.  *    Usually set to 'void *' or 'char *'.
  692.  */
  693. /* HAS_SHMAT_PROTOTYPE:
  694.  *    This symbol, if defined, indicates that the sys/shm.h includes
  695.  *    a prototype for shmat().  Otherwise, it is up to the program to
  696.  *    guess one.  Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
  697.  *    but not always right so it should be emitted by the program only
  698.  *    when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
  699.  */
  700. #define Shmat_t void *    /**/
  701. /*#define HAS_SHMAT_PROTOTYPE    /**/
  702.  
  703. /* HAS_SIGACTION:
  704.  *    This symbol, if defined, indicates that Vr4's sigaction() routine
  705.  *    is available.
  706.  */
  707. /*#define HAS_SIGACTION    /**/
  708.  
  709. /* HAS_SOCKET:
  710.  *    This symbol, if defined, indicates that the BSD socket interface is
  711.  *    supported.
  712.  */
  713. /* HAS_SOCKETPAIR:
  714.  *    This symbol, if defined, indicates that the BSD socketpair() call is
  715.  *    supported.
  716.  */
  717. #define HAS_SOCKET        /**/
  718. /*#define HAS_SOCKETPAIR    /**/
  719.  
  720. /* USE_STAT_BLOCKS:
  721.  *    This symbol is defined if this system has a stat structure declaring
  722.  *    st_blksize and st_blocks.
  723.  */
  724. /*#define USE_STAT_BLOCKS     /**/
  725.  
  726. /* USE_STDIO_PTR:
  727.  *    This symbol is defined if the _ptr and _cnt fields (or similar)
  728.  *    of the stdio FILE structure can be used to access the stdio buffer
  729.  *    for a file handle.  If this is defined, then the FILE_ptr(fp)
  730.  *    and FILE_cnt(fp) macros will also be defined and should be used
  731.  *    to access these fields.
  732.  */
  733. /* FILE_ptr:
  734.  *    This macro is used to access the _ptr field (or equivalent) of the
  735.  *    FILE structure pointed to by its argument. This macro will always be
  736.  *    defined if USE_STDIO_PTR is defined.
  737.  */
  738. /* STDIO_PTR_LVALUE:
  739.  *    This symbol is defined if the FILE_ptr macro can be used as an
  740.  *    lvalue.
  741.  */
  742. /* FILE_cnt:
  743.  *    This macro is used to access the _cnt field (or equivalent) of the
  744.  *    FILE structure pointed to by its argument. This macro will always be
  745.  *    defined if USE_STDIO_PTR is defined.
  746.  */
  747. /* STDIO_CNT_LVALUE:
  748.  *    This symbol is defined if the FILE_cnt macro can be used as an
  749.  *    lvalue.
  750.  */
  751. #define USE_STDIO_PTR     /**/
  752. #ifdef USE_STDIO_PTR
  753. #define FILE_ptr(fp)    ((fp)->curp)
  754. #define STDIO_PTR_LVALUE         /**/
  755. #define FILE_cnt(fp)    ((fp)->level)
  756. #define STDIO_CNT_LVALUE         /**/
  757. #endif
  758.  
  759. /* USE_STDIO_BASE:
  760.  *    This symbol is defined if the _base field (or similar) of the
  761.  *    stdio FILE structure can be used to access the stdio buffer for
  762.  *    a file handle.  If this is defined, then the FILE_base(fp) macro
  763.  *    will also be defined and should be used to access this field.
  764.  *    Also, the FILE_bufsiz(fp) macro will be defined and should be used
  765.  *    to determine the number of bytes in the buffer.  USE_STDIO_BASE
  766.  *    will never be defined unless USE_STDIO_PTR is.
  767.  */
  768. /* FILE_base:
  769.  *    This macro is used to access the _base field (or equivalent) of the
  770.  *    FILE structure pointed to by its argument. This macro will always be
  771.  *    defined if USE_STDIO_BASE is defined.
  772.  */
  773. /* FILE_bufsiz:
  774.  *    This macro is used to determine the number of bytes in the I/O
  775.  *    buffer pointed to by _base field (or equivalent) of the FILE
  776.  *    structure pointed to its argument. This macro will always be defined
  777.  *    if USE_STDIO_BASE is defined.
  778.  */
  779. #define USE_STDIO_BASE     /**/
  780. #ifdef USE_STDIO_BASE
  781. #define FILE_base(fp)    ((fp)->buffer)
  782. #define FILE_bufsiz(fp)    ((fp)->level + (fp)->curp - (fp)->buffer)
  783. #endif
  784.  
  785. /* HAS_STRCHR:
  786.  *    This symbol is defined to indicate that the strchr()/strrchr()
  787.  *    functions are available for string searching. If not, try the
  788.  *    index()/rindex() pair.
  789.  */
  790. /* HAS_INDEX:
  791.  *    This symbol is defined to indicate that the index()/rindex()
  792.  *    functions are available for string searching.
  793.  */
  794. #define HAS_STRCHR    /**/
  795. /*#define HAS_INDEX    /**/
  796.  
  797. /* HAS_STRCOLL:
  798.  *    This symbol, if defined, indicates that the strcoll routine is
  799.  *    available to compare strings using collating information.
  800.  */
  801. #define HAS_STRCOLL    /**/
  802.  
  803. /* USE_STRUCT_COPY:
  804.  *    This symbol, if defined, indicates that this C compiler knows how
  805.  *    to copy structures.  If undefined, you'll need to use a block copy
  806.  *    routine of some sort instead.
  807.  */
  808. #define    USE_STRUCT_COPY    /**/
  809.  
  810. /* HAS_STRERROR:
  811.  *    This symbol, if defined, indicates that the strerror routine is
  812.  *    available to translate error numbers to strings. See the writeup
  813.  *    of Strerror() in this file before you try to define your own.
  814.  */
  815. /* HAS_SYS_ERRLIST:
  816.  *    This symbol, if defined, indicates that the sys_errlist array is
  817.  *    available to translate error numbers to strings. The extern int
  818.  *    sys_nerr gives the size of that table.
  819.  */
  820. /* Strerror:
  821.  *    This preprocessor symbol is defined as a macro if strerror() is
  822.  *    not available to translate error numbers to strings but sys_errlist[]
  823.  *    array is there.
  824.  */
  825. #define HAS_STRERROR        /**/
  826. #define HAS_SYS_ERRLIST    /**/
  827. #define Strerror(e) strerror(e)
  828.  
  829. /* HAS_STRTOD:
  830.  *    This symbol, if defined, indicates that the strtod routine is
  831.  *    available to provide better numeric string conversion than atof().
  832.  */
  833. #define HAS_STRTOD    /**/
  834.  
  835. /* HAS_STRTOL:
  836.  *    This symbol, if defined, indicates that the strtol routine is available
  837.  *    to provide better numeric string conversion than atoi() and friends.
  838.  */
  839. #define HAS_STRTOL    /**/
  840.  
  841. /* HAS_STRTOUL:
  842.  *    This symbol, if defined, indicates that the strtoul routine is
  843.  *    available to provide conversion of strings to unsigned long.
  844.  */
  845. #define HAS_STRTOUL    /**/
  846.  
  847. /* HAS_STRXFRM:
  848.  *    This symbol, if defined, indicates that the strxfrm() routine is
  849.  *    available to transform strings.
  850.  */
  851. #define HAS_STRXFRM    /**/
  852.  
  853. /* HAS_SYMLINK:
  854.  *    This symbol, if defined, indicates that the symlink routine is available
  855.  *    to create symbolic links.
  856.  */
  857. /*#define HAS_SYMLINK    /**/
  858.  
  859. /* HAS_SYSCALL:
  860.  *    This symbol, if defined, indicates that the syscall routine is
  861.  *    available to call arbitrary system calls. If undefined, that's tough.
  862.  */
  863. /*#define HAS_SYSCALL    /**/
  864.  
  865. /* HAS_SYSCONF:
  866.  *    This symbol, if defined, indicates that sysconf() is available
  867.  *    to determine system related limits and options.
  868.  */
  869. /*#define HAS_SYSCONF    /**/
  870.  
  871. /* HAS_SYSTEM:
  872.  *    This symbol, if defined, indicates that the system routine is
  873.  *    available to issue a shell command.
  874.  */
  875. #define HAS_SYSTEM    /**/
  876.  
  877. /* HAS_TCGETPGRP:
  878.  *    This symbol, if defined, indicates that the tcgetpgrp routine is
  879.  *    available to get foreground process group ID.
  880.  */
  881. /*#define HAS_TCGETPGRP        /**/
  882.  
  883. /* HAS_TCSETPGRP:
  884.  *    This symbol, if defined, indicates that the tcsetpgrp routine is
  885.  *    available to set foreground process group ID.
  886.  */
  887. /*#define HAS_TCSETPGRP        /**/
  888.  
  889. /* Time_t:
  890.  *    This symbol holds the type returned by time(). It can be long,
  891.  *    or time_t on BSD sites (in which case <sys/types.h> should be
  892.  *    included).
  893.  */
  894. #define Time_t time_t        /* Time type */
  895.  
  896. /* HAS_TIMES:
  897.  *    This symbol, if defined, indicates that the times() routine exists.
  898.  *    Note that this became obsolete on some systems (SUNOS), which now
  899.  * use getrusage(). It may be necessary to include <sys/times.h>.
  900.  */
  901. #define HAS_TIMES        /**/
  902.  
  903. /* HAS_TRUNCATE:
  904.  *    This symbol, if defined, indicates that the truncate routine is
  905.  *    available to truncate files.
  906.  */
  907. /*#define HAS_TRUNCATE    /**/
  908.  
  909. /* HAS_TZNAME:
  910.  *    This symbol, if defined, indicates that the tzname[] array is
  911.  *    available to access timezone names.
  912.  */
  913. #define HAS_TZNAME        /**/
  914.  
  915. /* HAS_UMASK:
  916.  *    This symbol, if defined, indicates that the umask routine is
  917.  *    available to set and get the value of the file creation mask.
  918.  */
  919. #define HAS_UMASK        /**/
  920.  
  921. /* HAS_VFORK:
  922.  *    This symbol, if defined, indicates that vfork() exists.
  923.  */
  924. /*#define HAS_VFORK    /**/
  925.  
  926. /* Signal_t:
  927.  *    This symbol's value is either "void" or "int", corresponding to the
  928.  *    appropriate return type of a signal handler.  Thus, you can declare
  929.  *    a signal handler using "Signal_t (*handler)()", and define the
  930.  *    handler using "Signal_t handler(sig)".
  931.  */
  932. #define Signal_t void    /* Signal handler's return type */
  933.  
  934. /* HASVOLATILE:
  935.  *    This symbol, if defined, indicates that this C compiler knows about
  936.  *    the volatile declaration.
  937.  */
  938. #define    HASVOLATILE    /**/
  939. #ifndef HASVOLATILE
  940. #define volatile
  941. #endif
  942.  
  943. /* HAS_VPRINTF:
  944.  *    This symbol, if defined, indicates that the vprintf routine is available
  945.  *    to printf with a pointer to an argument list.  If unavailable, you
  946.  *    may need to write your own, probably in terms of _doprnt().
  947.  */
  948. /* USE_CHAR_VSPRINTF:
  949.  *    This symbol is defined if this system has vsprintf() returning type
  950.  *    (char*).  The trend seems to be to declare it as "int vsprintf()".  It
  951.  *    is up to the package author to declare vsprintf correctly based on the
  952.  *    symbol.
  953.  */
  954. #define HAS_VPRINTF    /**/
  955. /*#define USE_CHAR_VSPRINTF     /**/
  956.  
  957. /* HAS_WAIT4:
  958.  *    This symbol, if defined, indicates that wait4() exists.
  959.  */
  960. /*#define HAS_WAIT4    /**/
  961.  
  962. /* HAS_WAITPID:
  963.  *    This symbol, if defined, indicates that the waitpid routine is
  964.  *    available to wait for child process.
  965.  */
  966. /*#define HAS_WAITPID    /**/
  967.  
  968. /* HAS_WCSTOMBS:
  969.  *    This symbol, if defined, indicates that the wcstombs routine is
  970.  *    available to convert wide character strings to multibyte strings.
  971.  */
  972. #define HAS_WCSTOMBS    /**/
  973.  
  974. /* HAS_WCTOMB:
  975.  *    This symbol, if defined, indicates that the wctomb routine is available
  976.  *    to covert a wide character to a multibyte.
  977.  */
  978. #define HAS_WCTOMB        /**/
  979.  
  980. /* Fpos_t:
  981.  *    This symbol holds the type used to declare file positions in libc.
  982.  *    It can be fpos_t, long, uint, etc... It may be necessary to include
  983.  *    <sys/types.h> to get any typedef'ed information.
  984.  */
  985. #define Fpos_t fpos_t        /* File position type */
  986.  
  987. /* Gid_t:
  988.  *    This symbol holds the return type of getgid() and the type of
  989.  *    argument to setrgid() and related functions.  Typically,
  990.  *    it is the type of group ids in the kernel. It can be int, ushort,
  991.  *    uid_t, etc... It may be necessary to include <sys/types.h> to get
  992.  *    any typedef'ed information.
  993.  */
  994. #define Gid_t gid_t        /* Type for getgid(), etc... */
  995.  
  996. /* Groups_t:
  997.  *    This symbol holds the type used for the second argument to
  998.  *    [gs]etgroups().  Usually, this is the same of gidtype, but
  999.  *    sometimes it isn't.  It can be int, ushort, uid_t, etc... 
  1000.  *    It may be necessary to include <sys/types.h> to get any 
  1001.  *    typedef'ed information.  This is only required if you have
  1002.  *    getgroups() or setgroups().
  1003.  */
  1004. #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
  1005. #define Groups_t gid_t    /* Type for 2nd arg to [gs]etgroups() */
  1006. #endif
  1007.  
  1008. /* DB_Prefix_t:
  1009.  *    This symbol contains the type of the prefix structure element
  1010.  *    in the <db.h> header file.  In older versions of DB, it was
  1011.  *    int, while in newer ones it is u_int32_t.
  1012.  */
  1013. /* DB_Hash_t:
  1014.  *    This symbol contains the type of the prefix structure element
  1015.  *    in the <db.h> header file.  In older versions of DB, it was
  1016.  *    int, while in newer ones it is size_t.
  1017.  */
  1018. #define DB_Hash_t    int        /**/
  1019. #define DB_Prefix_t    int      /**/
  1020.  
  1021. /* I_DIRENT:
  1022.  *    This symbol, if defined, indicates to the C program that it should
  1023.  *    include <dirent.h>. Using this symbol also triggers the definition
  1024.  *    of the Direntry_t define which ends up being 'struct dirent' or
  1025.  *    'struct direct' depending on the availability of <dirent.h>.
  1026.  */
  1027. /* DIRNAMLEN:
  1028.  *    This symbol, if defined, indicates to the C program that the length
  1029.  *    of directory entry names is provided by a d_namlen field.  Otherwise
  1030.  *    you need to do strlen() on the d_name field.
  1031.  */
  1032. /* Direntry_t:
  1033.  *    This symbol is set to 'struct direct' or 'struct dirent' depending on
  1034.  *    whether dirent is available or not. You should use this pseudo type to
  1035.  *    portably declare your directory entries.
  1036.  */
  1037. #define I_DIRENT        /**/
  1038. #define DIRNAMLEN    /**/
  1039. #define Direntry_t struct direct
  1040.  
  1041. /* I_DLFCN:
  1042.  *    This symbol, if defined, indicates that <dlfcn.h> exists and should
  1043.  *    be included.
  1044.  */
  1045. #define I_DLFCN        /**/
  1046.  
  1047. /* I_FCNTL:
  1048.  *    This manifest constant tells the C program to include <fcntl.h>.
  1049.  */
  1050. #define I_FCNTL    /**/
  1051.  
  1052. /* I_FLOAT:
  1053.  *    This symbol, if defined, indicates to the C program that it should
  1054.  *    include <float.h> to get definition of symbols like DBL_MAX or
  1055.  *    DBL_MIN, i.e. machine dependent floating point values.
  1056.  */
  1057. #define I_FLOAT        /**/
  1058.  
  1059. /* I_GRP:
  1060.  *    This symbol, if defined, indicates to the C program that it should
  1061.  *    include <grp.h>.
  1062.  */
  1063. #define I_GRP        /**/
  1064.  
  1065. /* I_LIMITS:
  1066.  *    This symbol, if defined, indicates to the C program that it should
  1067.  *    include <limits.h> to get definition of symbols like WORD_BIT or
  1068.  *    LONG_MAX, i.e. machine dependant limitations.
  1069.  */
  1070. #define I_LIMITS        /**/
  1071.  
  1072. /* I_MATH:
  1073.  *    This symbol, if defined, indicates to the C program that it should
  1074.  *    include <math.h>.
  1075.  */
  1076. #define I_MATH        /**/
  1077.  
  1078. /* I_MEMORY:
  1079.  *    This symbol, if defined, indicates to the C program that it should
  1080.  *    include <memory.h>.
  1081.  */
  1082. /*#define I_MEMORY        /**/
  1083.  
  1084. /* I_NDBM:
  1085.  *    This symbol, if defined, indicates that <ndbm.h> exists and should
  1086.  *    be included.
  1087.  */
  1088. /*#define I_NDBM    /**/
  1089.  
  1090. /* I_NET_ERRNO:
  1091.  *    This symbol, if defined, indicates that <net/errno.h> exists and 
  1092.  *    should be included.
  1093.  */
  1094. /*#define I_NET_ERRNO        /**/
  1095.  
  1096. /* I_NETINET_IN:
  1097.  *    This symbol, if defined, indicates to the C program that it should
  1098.  *    include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
  1099.  */
  1100. /*#define I_NETINET_IN    /**/
  1101.  
  1102. /* I_PWD:
  1103.  *    This symbol, if defined, indicates to the C program that it should
  1104.  *    include <pwd.h>.
  1105.  */
  1106. /* PWQUOTA:
  1107.  *    This symbol, if defined, indicates to the C program that struct passwd
  1108.  *    contains pw_quota.
  1109.  */
  1110. /* PWAGE:
  1111.  *    This symbol, if defined, indicates to the C program that struct passwd
  1112.  *    contains pw_age.
  1113.  */
  1114. /* PWCHANGE:
  1115.  *    This symbol, if defined, indicates to the C program that struct passwd
  1116.  *    contains pw_change.
  1117.  */
  1118. /* PWCLASS:
  1119.  *    This symbol, if defined, indicates to the C program that struct passwd
  1120.  *    contains pw_class.
  1121.  */
  1122. /* PWEXPIRE:
  1123.  *    This symbol, if defined, indicates to the C program that struct passwd
  1124.  *    contains pw_expire.
  1125.  */
  1126. /* PWCOMMENT:
  1127.  *    This symbol, if defined, indicates to the C program that struct passwd
  1128.  *    contains pw_comment.
  1129.  */
  1130. /*#define I_PWD        /**/
  1131. /*#define PWQUOTA    /**/
  1132. /*#define PWAGE    /**/
  1133. /*#define PWCHANGE    /**/
  1134. /*#define PWCLASS    /**/
  1135. /*#define PWEXPIRE    /**/
  1136. /*#define PWCOMMENT    /**/
  1137.  
  1138. /* I_STDDEF:
  1139.  *    This symbol, if defined, indicates that <stddef.h> exists and should
  1140.  *    be included.
  1141.  */
  1142. #define I_STDDEF    /**/
  1143.  
  1144. /* I_STDLIB:
  1145.  *    This symbol, if defined, indicates that <stdlib.h> exists and should
  1146.  *    be included.
  1147.  */
  1148. #define I_STDLIB        /**/
  1149.  
  1150. /* I_STRING:
  1151.  *    This symbol, if defined, indicates to the C program that it should
  1152.  *    include <string.h> (USG systems) instead of <strings.h> (BSD systems).
  1153.  */
  1154. #define I_STRING        /**/
  1155.  
  1156. /* I_SYS_DIR:
  1157.  *    This symbol, if defined, indicates to the C program that it should
  1158.  *    include <sys/dir.h>.
  1159.  */
  1160. /*#define I_SYS_DIR        /**/
  1161.  
  1162. /* I_SYS_FILE:
  1163.  *    This symbol, if defined, indicates to the C program that it should
  1164.  *    include <sys/file.h> to get definition of R_OK and friends.
  1165.  */
  1166. /*#define I_SYS_FILE        /**/
  1167.  
  1168. /* I_SYS_IOCTL:
  1169.  *    This symbol, if defined, indicates that <sys/ioctl.h> exists and should
  1170.  *    be included. Otherwise, include <sgtty.h> or <termio.h>.
  1171.  */
  1172. /*#define    I_SYS_IOCTL        /**/
  1173.  
  1174. /* I_SYS_NDIR:
  1175.  *    This symbol, if defined, indicates to the C program that it should
  1176.  *    include <sys/ndir.h>.
  1177.  */
  1178. /*#define I_SYS_NDIR    /**/
  1179.  
  1180. /* I_SYS_PARAM:
  1181.  *    This symbol, if defined, indicates to the C program that it should
  1182.  *    include <sys/param.h>.
  1183.  */
  1184. /*#define I_SYS_PARAM        /**/
  1185.  
  1186. /* I_SYS_RESOURCE:
  1187.  *    This symbol, if defined, indicates to the C program that it should
  1188.  *    include <sys/resource.h>.
  1189.  */
  1190. /*#define I_SYS_RESOURCE        /**/
  1191.  
  1192. /* I_SYS_SELECT:
  1193.  *    This symbol, if defined, indicates to the C program that it should
  1194.  *    include <sys/select.h> in order to get definition of struct timeval.
  1195.  */
  1196. /*#define I_SYS_SELECT    /**/
  1197.  
  1198. /* I_SYS_TIMES:
  1199.  *    This symbol, if defined, indicates to the C program that it should
  1200.  *    include <sys/times.h>.
  1201.  */
  1202. /*#define    I_SYS_TIMES        /**/
  1203.  
  1204. /* I_SYS_TYPES:
  1205.  *    This symbol, if defined, indicates to the C program that it should
  1206.  *    include <sys/types.h>.
  1207.  */
  1208. #define    I_SYS_TYPES        /**/
  1209.  
  1210. /* I_SYS_UN:
  1211.  *    This symbol, if defined, indicates to the C program that it should
  1212.  *    include <sys/un.h> to get UNIX domain socket definitions.
  1213.  */
  1214. /*#define I_SYS_UN        /**/
  1215.  
  1216. /* I_SYS_WAIT:
  1217.  *    This symbol, if defined, indicates to the C program that it should
  1218.  *    include <sys/wait.h>.
  1219.  */
  1220. /*#define I_SYS_WAIT    /**/
  1221.  
  1222. /* I_TERMIO:
  1223.  *    This symbol, if defined, indicates that the program should include
  1224.  *    <termio.h> rather than <sgtty.h>.  There are also differences in
  1225.  *    the ioctl() calls that depend on the value of this symbol.
  1226.  */
  1227. /* I_TERMIOS:
  1228.  *    This symbol, if defined, indicates that the program should include
  1229.  *    the POSIX termios.h rather than sgtty.h or termio.h.
  1230.  *    There are also differences in the ioctl() calls that depend on the
  1231.  *    value of this symbol.
  1232.  */
  1233. /* I_SGTTY:
  1234.  *    This symbol, if defined, indicates that the program should include
  1235.  *    <sgtty.h> rather than <termio.h>.  There are also differences in
  1236.  *    the ioctl() calls that depend on the value of this symbol.
  1237.  */
  1238. /*#define I_TERMIO        /**/
  1239. /*#define I_TERMIOS        /**/
  1240. /*#define I_SGTTY        /**/
  1241.  
  1242. /* I_TIME:
  1243.  *    This symbol, if defined, indicates to the C program that it should
  1244.  *    include <time.h>.
  1245.  */
  1246. /* I_SYS_TIME:
  1247.  *    This symbol, if defined, indicates to the C program that it should
  1248.  *    include <sys/time.h>.
  1249.  */
  1250. /* I_SYS_TIME_KERNEL:
  1251.  *    This symbol, if defined, indicates to the C program that it should
  1252.  *    include <sys/time.h> with KERNEL defined.
  1253.  */
  1254. #define I_TIME        /**/
  1255. /*#define I_SYS_TIME        /**/
  1256. /*#define I_SYS_TIME_KERNEL        /**/
  1257.  
  1258. /* I_UNISTD:
  1259.  *    This symbol, if defined, indicates to the C program that it should
  1260.  *    include <unistd.h>.
  1261.  */
  1262. /*#define I_UNISTD        /**/
  1263.  
  1264. /* I_UTIME:
  1265.  *    This symbol, if defined, indicates to the C program that it should
  1266.  *    include <utime.h>.
  1267.  */
  1268. #define I_UTIME        /**/
  1269.  
  1270. /* I_STDARG:
  1271.  *    This symbol, if defined, indicates that <stdarg.h> exists and should
  1272.  *    be included.
  1273.  */
  1274. /* I_VARARGS:
  1275.  *    This symbol, if defined, indicates to the C program that it should
  1276.  *    include <varargs.h>.
  1277.  */
  1278. #define I_STDARG        /**/
  1279. /*#define I_VARARGS    /**/
  1280.  
  1281. /* I_VFORK:
  1282.  *    This symbol, if defined, indicates to the C program that it should
  1283.  *    include vfork.h.
  1284.  */
  1285. /*#define I_VFORK    /**/
  1286.  
  1287. /* INTSIZE:
  1288.  *    This symbol contains the value of sizeof(int) so that the C
  1289.  *    preprocessor can make decisions based on it.
  1290.  */
  1291. /* LONGSIZE:
  1292.  *    This symbol contains the value of sizeof(long) so that the C
  1293.  *    preprocessor can make decisions based on it.
  1294.  */
  1295. /* SHORTSIZE:
  1296.  *    This symbol contains the value of sizeof(short) so that the C
  1297.  *    preprocessor can make decisions based on it.
  1298.  */
  1299. #define INTSIZE 4        /**/
  1300. #define LONGSIZE 4        /**/
  1301. #define SHORTSIZE 2        /**/
  1302.  
  1303. /* Off_t:
  1304.  *    This symbol holds the type used to declare offsets in the kernel.
  1305.  *    It can be int, long, off_t, etc... It may be necessary to include
  1306.  *    <sys/types.h> to get any typedef'ed information.
  1307.  */
  1308. #define Off_t off_t        /* <offset> type */
  1309.  
  1310. /* Mode_t:
  1311.  *    This symbol holds the type used to declare file modes 
  1312.  *    for systems calls.  It is usually mode_t, but may be
  1313.  *    int or unsigned short.  It may be necessary to include <sys/types.h>
  1314.  *    to get any typedef'ed information.
  1315.  */
  1316. #define Mode_t mode_t     /* file mode parameter for system calls */
  1317.  
  1318. /* VAL_O_NONBLOCK:
  1319.  *    This symbol is to be used during open() or fcntl(F_SETFL) to turn on
  1320.  *    non-blocking I/O for the file descriptor. Note that there is no way
  1321.  *    back, i.e. you cannot turn it blocking again this way. If you wish to
  1322.  *    alternatively switch between blocking and non-blocking, use the
  1323.  *    ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
  1324.  */
  1325. /* VAL_EAGAIN:
  1326.  *    This symbol holds the errno error code set by read() when no data was
  1327.  *    present on the non-blocking file descriptor.
  1328.  */
  1329. /* RD_NODATA:
  1330.  *    This symbol holds the return code from read() when no data is present
  1331.  *    on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
  1332.  *    not defined, then you can't distinguish between no data and EOF by
  1333.  *    issuing a read(). You'll have to find another way to tell for sure!
  1334.  */
  1335. /* EOF_NONBLOCK:
  1336.  *    This symbol, if defined, indicates to the C program that a read() on
  1337.  *    a non-blocking file descriptor will return 0 on EOF, and not the value
  1338.  *    held in RD_NODATA (-1 usually, in that case!).
  1339.  */
  1340. #define VAL_O_NONBLOCK O_NONBLOCK
  1341. #define VAL_EAGAIN EAGAIN
  1342. #define RD_NODATA -1
  1343. #define EOF_NONBLOCK
  1344.  
  1345. /* CAN_PROTOTYPE:
  1346.  *    If defined, this macro indicates that the C compiler can handle
  1347.  *    function prototypes.
  1348.  */
  1349. /* _:
  1350.  *    This macro is used to declare function parameters for folks who want
  1351.  *    to make declarations with prototypes using a different style than
  1352.  *    the above macros.  Use double parentheses.  For example:
  1353.  *
  1354.  *        int main _((int argc, char *argv[]));
  1355.  */
  1356. #define    CAN_PROTOTYPE    /**/
  1357. #ifdef CAN_PROTOTYPE
  1358. #define    _(args) args
  1359. #else
  1360. #define    _(args) ()
  1361. #endif
  1362.  
  1363. /* RANDBITS:
  1364.  *    This symbol contains the number of bits of random number the rand()
  1365.  *    function produces.  Usual values are 15, 16, and 31.
  1366.  */
  1367. #define RANDBITS 15        /**/
  1368.  
  1369. /* Select_fd_set_t:
  1370.  *    This symbol holds the type used for the 2nd, 3rd, and 4th
  1371.  *    arguments to select.  Usually, this is 'fd_set *', if HAS_FD_SET
  1372.  *    is defined, and 'int *' otherwise.  This is only useful if you 
  1373.  *    have select(), of course.
  1374.  */
  1375. #define Select_fd_set_t     int *    /**/
  1376.  
  1377. /* Size_t:
  1378.  *    This symbol holds the type used to declare length parameters
  1379.  *    for string functions.  It is usually size_t, but may be
  1380.  *    unsigned long, int, etc.  It may be necessary to include
  1381.  *    <sys/types.h> to get any typedef'ed information.
  1382.  */
  1383. #define Size_t size_t     /* length paramater for string functions */
  1384.  
  1385. /* SSize_t:
  1386.  *    This symbol holds the type used by functions that return
  1387.  *    a count of bytes or an error condition.  It must be a signed type.
  1388.  *    It is usually ssize_t, but may be long or int, etc.
  1389.  *    It may be necessary to include <sys/types.h> or <unistd.h>
  1390.  *    to get any typedef'ed information.
  1391.  *    We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
  1392.  */
  1393. #define SSize_t int     /* signed count of bytes */
  1394.  
  1395. /* STDCHAR:
  1396.  *    This symbol is defined to be the type of char used in stdio.h.
  1397.  *    It has the values "unsigned char" or "char".
  1398.  */
  1399. #define STDCHAR unsigned char    /**/
  1400.  
  1401. /* Uid_t:
  1402.  *    This symbol holds the type used to declare user ids in the kernel.
  1403.  *    It can be int, ushort, uid_t, etc... It may be necessary to include
  1404.  *    <sys/types.h> to get any typedef'ed information.
  1405.  */
  1406. #define Uid_t uid_t        /* UID type */
  1407.  
  1408. /* LOC_SED:
  1409.  *    This symbol holds the complete pathname to the sed program.
  1410.  */
  1411. #define LOC_SED     ""    /**/
  1412.  
  1413. /* OSNAME:
  1414.  *    This symbol contains the name of the operating system, as determined
  1415.  *    by Configure.  You shouldn't rely on it too much; the specific
  1416.  *    feature tests from Configure are generally more reliable.
  1417.  */
  1418. #define OSNAME "MSWin32"        /**/
  1419.  
  1420. /* ARCHLIB:
  1421.  *    This variable, if defined, holds the name of the directory in
  1422.  *    which the user wants to put architecture-dependent public
  1423.  *    library files for perl5.  It is most often a local directory
  1424.  *    such as /usr/local/lib.  Programs using this variable must be
  1425.  *    prepared to deal with filename expansion.  If ARCHLIB is the
  1426.  *    same as PRIVLIB, it is not defined, since presumably the
  1427.  *    program already searches PRIVLIB.
  1428.  */
  1429. /* ARCHLIB_EXP:
  1430.  *    This symbol contains the ~name expanded version of ARCHLIB, to be used
  1431.  *    in programs that are not prepared to deal with ~ expansion at run-time.
  1432.  */
  1433. #define ARCHLIB "c:\\perl\\lib"        /**/
  1434. #define ARCHLIB_EXP (win32PerlLibPath())    /**/
  1435. #define APPLLIB_EXP (win32SiteLibPath())    /**/
  1436.  
  1437. /* BINCOMPAT3:
  1438.  *    This symbol, if defined, indicates that Perl 5.004 should be
  1439.  *    binary-compatible with Perl 5.003.
  1440.  */
  1441. /*#define BINCOMPAT3            /**/
  1442.  
  1443. /* BYTEORDER:
  1444.  *    This symbol holds the hexadecimal constant defined in byteorder,
  1445.  *    i.e. 0x1234 or 0x4321, etc...
  1446.  *    On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
  1447.  *    Binaries (MAB) on either big endian or little endian machines.
  1448.  *    The endian-ness is available at compile-time.  This only matters
  1449.  *    for perl, where the config.h can be generated and installed on 
  1450.  *    one system, and used by a different architecture to build an
  1451.  *    extension.  Older versions of NeXT that might not have
  1452.  *    defined either *_ENDIAN__ were all on Motorola 680x0 series,
  1453.  *    so the default case (for NeXT) is big endian to catch them. 
  1454.  *    This might matter for NeXT 3.0.
  1455.  */
  1456. #ifndef NeXT
  1457. #define BYTEORDER 0x1234    /* large digits for MSB */
  1458. #else  /* NeXT */
  1459. #ifdef __LITTLE_ENDIAN__
  1460. #define BYTEORDER 0x1234
  1461. #else /* __BIG_ENDIAN__ */
  1462. #define BYTEORDER 0x4321
  1463. #endif /* ENDIAN CHECK */
  1464. #endif /* NeXT */
  1465.  
  1466. /* CSH:
  1467.  *    This symbol, if defined, indicates that the C-shell exists.
  1468.  *    If defined, contains the full pathname of csh.
  1469.  */
  1470. /*#define CSH ""        /**/
  1471.  
  1472. /* DLSYM_NEEDS_UNDERSCORE:
  1473.  *    This symbol, if defined, indicates that we need to prepend an
  1474.  *    underscore to the symbol name before calling dlsym().  This only
  1475.  *    makes sense if you *have* dlsym, which we will presume is the
  1476.  *    case if you're using dl_dlopen.xs.
  1477.  */
  1478. /*#define     DLSYM_NEEDS_UNDERSCORE     /**/
  1479.  
  1480. /* SETUID_SCRIPTS_ARE_SECURE_NOW:
  1481.  *    This symbol, if defined, indicates that the bug that prevents
  1482.  *    setuid scripts from being secure is not present in this kernel.
  1483.  */
  1484. /* DOSUID:
  1485.  *    This symbol, if defined, indicates that the C program should
  1486.  *    check the script that it is executing for setuid/setgid bits, and
  1487.  *    attempt to emulate setuid/setgid on systems that have disabled
  1488.  *    setuid #! scripts because the kernel can't do it securely.
  1489.  *    It is up to the package designer to make sure that this emulation
  1490.  *    is done securely.  Among other things, it should do an fstat on
  1491.  *    the script it just opened to make sure it really is a setuid/setgid
  1492.  *    script, it should make sure the arguments passed correspond exactly
  1493.  *    to the argument on the #! line, and it should not trust any
  1494.  *    subprocesses to which it must pass the filename rather than the
  1495.  *    file descriptor of the script to be executed.
  1496.  */
  1497. /*#define SETUID_SCRIPTS_ARE_SECURE_NOW    /**/
  1498. /*#define DOSUID        /**/
  1499.  
  1500. /* Gconvert:
  1501.  *    This preprocessor macro is defined to convert a floating point
  1502.  *    number to a string without a trailing decimal point.  This
  1503.  *    emulates the behavior of sprintf("%g"), but is sometimes much more
  1504.  *    efficient.  If gconvert() is not available, but gcvt() drops the
  1505.  *    trailing decimal point, then gcvt() is used.  If all else fails,
  1506.  *    a macro using sprintf("%g") is used. Arguments for the Gconvert
  1507.  *    macro are: value, number of digits, whether trailing zeros should
  1508.  *    be retained, and the output buffer.
  1509.  *    Possible values are:
  1510.  *        d_Gconvert='gconvert((x),(n),(t),(b))'
  1511.  *        d_Gconvert='gcvt((x),(n),(b))'
  1512.  *        d_Gconvert='sprintf((b),"%.*g",(n),(x))'
  1513.  *    The last two assume trailing zeros should not be kept.
  1514.  */
  1515. #define Gconvert(x,n,t,b) gcvt((x),(n),(b))
  1516.  
  1517. /* HAS_GETPGID:
  1518.  *    This symbol, if defined, indicates to the C program that 
  1519.  *    the getpgid(pid) function is available to get the
  1520.  *    process group id.
  1521.  */
  1522. /*#define HAS_GETPGID        /**/
  1523.  
  1524. /* HAS_GETPGRP:
  1525.  *    This symbol, if defined, indicates that the getpgrp routine is
  1526.  *    available to get the current process group.
  1527.  */
  1528. /* USE_BSD_GETPGRP:
  1529.  *    This symbol, if defined, indicates that getpgrp needs one
  1530.  *    arguments whereas USG one needs none.
  1531.  */
  1532. /*#define HAS_GETPGRP        /**/
  1533. /*#define USE_BSD_GETPGRP    /**/
  1534.  
  1535. /* HAS_INET_ATON:
  1536.  *    This symbol, if defined, indicates to the C program that the
  1537.  *    inet_aton() function is available to parse IP address "dotted-quad"
  1538.  *    strings.
  1539.  */
  1540. /*#define HAS_INET_ATON        /**/
  1541.  
  1542. /* HAS_SETPGID:
  1543.  *    This symbol, if defined, indicates to the C program that 
  1544.  *    the setpgid(pid, gpid) function is available to set the
  1545.  *    process group id.
  1546.  */
  1547. /*#define HAS_SETPGID        /**/
  1548.  
  1549. /* HAS_SETPGRP:
  1550.  *    This symbol, if defined, indicates that the setpgrp routine is
  1551.  *    available to set the current process group.
  1552.  */
  1553. /* USE_BSD_SETPGRP:
  1554.  *    This symbol, if defined, indicates that setpgrp needs two
  1555.  *    arguments whereas USG one needs none.  See also HAS_SETPGID
  1556.  *    for a POSIX interface.
  1557.  */
  1558. /* USE_BSDPGRP:
  1559.  *    This symbol, if defined, indicates that the BSD notion of process
  1560.  *    group is to be used. For instance, you have to say setpgrp(pid, pgrp)
  1561.  *    instead of the USG setpgrp().  This should be obsolete since
  1562.  *    there are systems which have BSD-ish setpgrp but USG-ish getpgrp.
  1563.  */
  1564. /*#define HAS_SETPGRP        /**/
  1565. /*#define USE_BSD_SETPGRP    /**/
  1566. /*#define USE_BSDPGRP        /**/
  1567.  
  1568. /* USE_SFIO:
  1569.  *    This symbol, if defined, indicates that sfio should
  1570.  *    be used.
  1571.  */
  1572. /*#define    USE_SFIO        /**/
  1573.  
  1574. /* Sigjmp_buf:
  1575.  *    This is the buffer type to be used with Sigsetjmp and Siglongjmp.
  1576.  */
  1577. /* Sigsetjmp:
  1578.  *    This macro is used in the same way as sigsetjmp(), but will invoke
  1579.  *    traditional setjmp() if sigsetjmp isn't available.
  1580.  *    See HAS_SIGSETJMP.
  1581.  */
  1582. /* Siglongjmp:
  1583.  *    This macro is used in the same way as siglongjmp(), but will invoke
  1584.  *    traditional longjmp() if siglongjmp isn't available.
  1585.  *    See HAS_SIGSETJMP.
  1586.  */
  1587. /*#define HAS_SIGSETJMP    /**/
  1588. #ifdef HAS_SIGSETJMP
  1589. #define Sigjmp_buf sigjmp_buf
  1590. #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
  1591. #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
  1592. #else
  1593. #define Sigjmp_buf jmp_buf
  1594. #define Sigsetjmp(buf,save_mask) setjmp((buf))
  1595. #define Siglongjmp(buf,retval) longjmp((buf),(retval))
  1596. #endif
  1597.  
  1598. /* USE_DYNAMIC_LOADING:
  1599.  *    This symbol, if defined, indicates that dynamic loading of
  1600.  *    some sort is available.
  1601.  */
  1602. #define USE_DYNAMIC_LOADING        /**/
  1603.  
  1604. /* I_DBM:
  1605.  *    This symbol, if defined, indicates that <dbm.h> exists and should
  1606.  *    be included.
  1607.  */
  1608. /* I_RPCSVC_DBM:
  1609.  *    This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
  1610.  *    should be included.
  1611.  */
  1612. /*#define I_DBM    /**/
  1613. #define I_RPCSVC_DBM    /**/
  1614.  
  1615. /* I_LOCALE:
  1616.  *    This symbol, if defined, indicates to the C program that it should
  1617.  *    include <locale.h>.
  1618.  */
  1619. #define    I_LOCALE        /**/
  1620.  
  1621. /* I_SFIO:
  1622.  *    This symbol, if defined, indicates to the C program that it should
  1623.  *    include <sfio.h>.
  1624.  */
  1625. /*#define    I_SFIO        /**/
  1626.  
  1627. /* I_SYS_STAT:
  1628.  *    This symbol, if defined, indicates to the C program that it should
  1629.  *    include <sys/stat.h>.
  1630.  */
  1631. #define    I_SYS_STAT        /**/
  1632.  
  1633. /* I_VALUES:
  1634.  *    This symbol, if defined, indicates to the C program that it should
  1635.  *    include <values.h> to get definition of symbols like MINFLOAT or
  1636.  *    MAXLONG, i.e. machine dependant limitations.  Probably, you
  1637.  *    should use <limits.h> instead, if it is available.
  1638.  */
  1639. /*#define I_VALUES        /**/
  1640.  
  1641. /* Free_t:
  1642.  *    This variable contains the return type of free().  It is usually
  1643.  * void, but occasionally int.
  1644.  */
  1645. /* Malloc_t:
  1646.  *    This symbol is the type of pointer returned by malloc and realloc.
  1647.  */
  1648. #define Malloc_t void *            /**/
  1649. #define Free_t void            /**/
  1650.  
  1651. /* MYMALLOC:
  1652.  *    This symbol, if defined, indicates that we're using our own malloc.
  1653.  */
  1654. /*#define MYMALLOC            /**/
  1655.  
  1656. /* OLDARCHLIB:
  1657.  *    This variable, if defined, holds the name of the directory in
  1658.  *    which the user has perl5.000 or perl5.001 architecture-dependent
  1659.  *    public library files for perl5.  For the most part, these
  1660.  *    files will work with 5.002 (and later), but that is not
  1661.  *    guaranteed.
  1662.  */
  1663. /* OLDARCHLIB_EXP:
  1664.  *    This symbol contains the ~name expanded version of OLDARCHLIB, to be
  1665.  *    used in programs that are not prepared to deal with ~ expansion at 
  1666.  *    run-time.
  1667.  */
  1668. /*#define OLDARCHLIB ""        /**/
  1669. /*#define OLDARCHLIB_EXP ""        /**/
  1670.  
  1671. /* PRIVLIB:
  1672.  *    This symbol contains the name of the private library for this package.
  1673.  *    The library is private in the sense that it needn't be in anyone's
  1674.  *    execution path, but it should be accessible by the world.  The program
  1675.  *    should be prepared to do ~ expansion.
  1676.  */
  1677. /* PRIVLIB_EXP:
  1678.  *    This symbol contains the ~name expanded version of PRIVLIB, to be used
  1679.  *    in programs that are not prepared to deal with ~ expansion at run-time.
  1680.  */
  1681. #define PRIVLIB "c:\\perl\\lib"        /**/
  1682. #define PRIVLIB_EXP "c:\\perl\\lib"        /**/
  1683.  
  1684. /* SH_PATH:
  1685.  *    This symbol contains the full pathname to the shell used on this
  1686.  *    on this system to execute Bourne shell scripts.  Usually, this will be
  1687.  *    /bin/sh, though it's possible that some systems will have /bin/ksh,
  1688.  *    /bin/pdksh, /bin/ash, /bin/bash, or even something such as
  1689.  *    D:/bin/sh.exe.
  1690.  */
  1691. #define SH_PATH "cmd /x /c"  /**/
  1692.  
  1693. /* SIG_NAME:
  1694.  *    This symbol contains a list of signal names in order of
  1695.  *    signal number. This is intended
  1696.  *    to be used as a static array initialization, like this:
  1697.  *        char *sig_name[] = { SIG_NAME };
  1698.  *    The signals in the list are separated with commas, and each signal
  1699.  *    is surrounded by double quotes. There is no leading SIG in the signal
  1700.  *    name, i.e. SIGQUIT is known as "QUIT".
  1701.  *    Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
  1702.  *    etc., where nn is the actual signal number (e.g. NUM37).
  1703.  *    The signal number for sig_name[i] is stored in sig_num[i].
  1704.  *    The last element is 0 to terminate the list with a NULL.  This
  1705.  *    corresponds to the 0 at the end of the sig_num list.
  1706.  */
  1707. /* SIG_NUM:
  1708.  *    This symbol contains a list of signal numbers, in the same order as the
  1709.  *    SIG_NAME list. It is suitable for static array initialization, as in:
  1710.  *        int sig_num[] = { SIG_NUM };
  1711.  *    The signals in the list are separated with commas, and the indices
  1712.  *    within that list and the SIG_NAME list match, so it's easy to compute
  1713.  *    the signal name from a number or vice versa at the price of a small
  1714.  *    dynamic linear lookup. 
  1715.  *    Duplicates are allowed, but are moved to the end of the list.
  1716.  *    The signal number corresponding to sig_name[i] is sig_number[i].
  1717.  *    if (i < NSIG) then sig_number[i] == i.  
  1718.  *    The last element is 0, corresponding to the 0 at the end of
  1719.  *    the sig_name list.
  1720.  */
  1721. #define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","ABRT","EMT","FPE","KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM","USR1","USR2","CHLD","PWR","WINCH","URG","IO","STOP","TSTP","CONT","TTIN","TTOU","VTALRM","PROF","XCPU","XFSZ","WAITING","LWP","FREEZE","THAW","RTMIN","NUM37","NUM38","NUM39","NUM40","NUM41","NUM42","RTMAX","IOT","CLD","POLL",0    /**/
  1722. #define SIG_NUM 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,6,18,22,0    /**/
  1723.  
  1724. /* SITEARCH:
  1725.  *    This symbol contains the name of the private library for this package.
  1726.  *    The library is private in the sense that it needn't be in anyone's
  1727.  *    execution path, but it should be accessible by the world.  The program
  1728.  *    should be prepared to do ~ expansion.
  1729.  *    The standard distribution will put nothing in this directory.
  1730.  *    Individual sites may place their own extensions and modules in
  1731.  *    this directory.
  1732.  */
  1733. /* SITEARCH_EXP:
  1734.  *    This symbol contains the ~name expanded version of SITEARCH, to be used
  1735.  *    in programs that are not prepared to deal with ~ expansion at run-time.
  1736.  */
  1737. #define SITEARCH "c:\\perl\\lib\\site"        /**/
  1738. #define SITEARCH_EXP "c:\\perl\\lib\\site"        /**/
  1739.  
  1740. /* SITELIB:
  1741.  *    This symbol contains the name of the private library for this package.
  1742.  *    The library is private in the sense that it needn't be in anyone's
  1743.  *    execution path, but it should be accessible by the world.  The program
  1744.  *    should be prepared to do ~ expansion.
  1745.  *    The standard distribution will put nothing in this directory.
  1746.  *    Individual sites may place their own extensions and modules in
  1747.  *    this directory.
  1748.  */
  1749. /* SITELIB_EXP:
  1750.  *    This symbol contains the ~name expanded version of SITELIB, to be used
  1751.  *    in programs that are not prepared to deal with ~ expansion at run-time.
  1752.  */
  1753. #define SITELIB "c:\\perl\\lib\\site"        /**/
  1754. #define SITELIB_EXP "c:\\perl\\lib\\site"        /**/
  1755.  
  1756. /* STARTPERL:
  1757.  *    This variable contains the string to put in front of a perl
  1758.  *    script to make sure (one hopes) that it runs with perl and not
  1759.  *    some shell.
  1760.  */
  1761. #define STARTPERL "#perl"        /**/
  1762.  
  1763. /* USE_PERLIO:
  1764.  *    This symbol, if defined, indicates that the PerlIO abstraction should
  1765.  *    be used throughout.  If not defined, stdio should be
  1766.  *    used in a fully backward compatible manner.
  1767.  */
  1768. /*#define    USE_PERLIO        /**/
  1769.  
  1770. /* VOIDFLAGS:
  1771.  *    This symbol indicates how much support of the void type is given by this
  1772.  *    compiler.  What various bits mean:
  1773.  *
  1774.  *        1 = supports declaration of void
  1775.  *        2 = supports arrays of pointers to functions returning void
  1776.  *        4 = supports comparisons between pointers to void functions and
  1777.  *            addresses of void functions
  1778.  *        8 = suports declaration of generic void pointers
  1779.  *
  1780.  *    The package designer should define VOIDUSED to indicate the requirements
  1781.  *    of the package.  This can be done either by #defining VOIDUSED before
  1782.  *    including config.h, or by defining defvoidused in Myinit.U.  If the
  1783.  *    latter approach is taken, only those flags will be tested.  If the
  1784.  *    level of void support necessary is not present, defines void to int.
  1785.  */
  1786. #ifndef VOIDUSED
  1787. #define VOIDUSED 15
  1788. #endif
  1789. #define VOIDFLAGS 15
  1790. #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
  1791. #define void int        /* is void to be avoided? */
  1792. #define M_VOID            /* Xenix strikes again */
  1793. #endif
  1794.  
  1795. #endif
  1796. #include <win32.h>
  1797. #ifndef DEBUGGING
  1798. #define DEBUGGING
  1799. #endif
  1800.