home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / futils / futils~1 / src / misc1s.zoo / misc1 / patch-2.0.12u4 / config.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-11-08  |  3.8 KB  |  117 lines

  1. /* config.h
  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.  
  11.  
  12. /* EUNICE:
  13.  *    This symbol, if defined, indicates that the program is being compiled
  14.  *    under the EUNICE package under VMS.  The program will need to handle
  15.  *    things like files that don't go away the first time you unlink them,
  16.  *    due to version numbering.  It will also need to compensate for lack
  17.  *    of a respectable link() command.
  18.  */
  19. /* VMS:
  20.  *    This symbol, if defined, indicates that the program is running under
  21.  *    VMS.  It is currently only set in conjunction with the EUNICE symbol.
  22.  */
  23.  
  24. /* CPPSTDIN:
  25.  *    This symbol contains the first part of the string which will invoke
  26.  *    the C preprocessor on the standard input and produce to standard
  27.  *    output.     Typical value of "cc -E" or "/lib/cpp".
  28.  */
  29. /* CPPMINUS:
  30.  *    This symbol contains the second part of the string which will invoke
  31.  *    the C preprocessor on the standard input and produce to standard
  32.  *    output.  This symbol will have the value "-" if CPPSTDIN needs a minus
  33.  *    to specify standard input, otherwise the value is "".
  34.  */
  35. #define CPPSTDIN "cpp"
  36. #define CPPMINUS ""
  37.  
  38. /* CHARSPRINTF:
  39.  *    This symbol is defined if this system declares "char *sprintf()" in
  40.  *    stdio.h.  The trend seems to be to declare it as "int sprintf()".  It
  41.  *    is up to the package author to declare sprintf correctly based on the
  42.  *    symbol.
  43.  */
  44.  
  45. /* FLEXFILENAMES:
  46.  *    This symbol, if defined, indicates that the system supports filenames
  47.  *    longer than 14 characters.
  48.  */
  49. #define    FLEXFILENAMES        /**/
  50.  
  51. /* index:
  52.  *    This preprocessor symbol is defined, along with rindex, if the system
  53.  *    uses the strchr and strrchr routines instead.
  54.  */
  55. /* rindex:
  56.  *    This preprocessor symbol is defined, along with index, if the system
  57.  *    uses the strchr and strrchr routines instead.
  58.  */
  59.  
  60. /* VOIDSIG:
  61.  *    This symbol is defined if this system declares "void (*signal())()" in
  62.  *    signal.h.  The old way was to declare it as "int (*signal())()".  It
  63.  *    is up to the package author to declare things correctly based on the
  64.  *    symbol.
  65.  */
  66. #define    VOIDSIG     /**/
  67.  
  68. /* Reg1:
  69.  *    This symbol, along with Reg2, Reg3, etc. is either the word "register"
  70.  *    or null, depending on whether the C compiler pays attention to this
  71.  *    many register declarations.  The intent is that you don't have to
  72.  *    order your register declarations in the order of importance, so you
  73.  *    can freely declare register variables in sub-blocks of code and as
  74.  *    function parameters.  Do not use Reg<n> more than once per routine.
  75.  */
  76.  
  77. #define Reg1 
  78. #define Reg2 
  79. #define Reg3 
  80. #define Reg4 
  81. #define Reg5 
  82. #define Reg6 
  83. #define Reg7 
  84. #define Reg8 
  85. #define Reg9 
  86. #define Reg10 
  87. #define Reg11 
  88. #define Reg12 
  89. #define Reg13 
  90. #define Reg14 
  91. #define Reg15 
  92. #define Reg16 
  93.  
  94. /* VOIDFLAGS:
  95.  *    This symbol indicates how much support of the void type is given by this
  96.  *    compiler.  What various bits mean:
  97.  *
  98.  *        1 = supports declaration of void
  99.  *        2 = supports arrays of pointers to functions returning void
  100.  *        4 = supports comparisons between pointers to void functions and
  101.  *            addresses of void functions
  102.  *
  103.  *    The package designer should define VOIDUSED to indicate the requirements
  104.  *    of the package.  This can be done either by #defining VOIDUSED before
  105.  *    including config.h, or by defining defvoidused in Myinit.U.  If the
  106.  *    level of void support necessary is not present, defines void to int.
  107.  */
  108. #ifndef VOIDUSED
  109. #define VOIDUSED 7
  110. #endif
  111. #define VOIDFLAGS 7
  112. #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
  113. #define void int        /* is void to be avoided? */
  114. #define M_VOID        /* Xenix strikes again */
  115. #endif
  116.  
  117.