home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / tex / texsrc1 / Src / lib / old-h / config < prev    next >
Encoding:
Text File  |  1993-01-03  |  2.0 KB  |  73 lines

  1. /* config.h: Master configuration file.  This is included by common.h,
  2.    which everyone includes.  */
  3.  
  4. #ifndef CONFIG_H
  5. #define CONFIG_H
  6.  
  7. /* System dependencies that are figured out by `configure'.  */
  8. #include "c-auto.h"
  9.  
  10. /* ``Standard'' headers.  */
  11. #include "c-std.h"
  12.  
  13. /* Everybody uses PATH_MAX.  */
  14. #include "c-pathmx.h"
  15.  
  16. /* How to open files with fopen.  */
  17. #include "c-fopen.h"
  18.  
  19. /* Macros to discard or keep prototypes.  */
  20. #include "c-proto.h"
  21.  
  22.  
  23. /* The smallest signed type: use `signed char' if ANSI C, `short' if
  24.    char is unsigned, otherwise `char'.  */
  25. #ifndef SCHAR_TYPE
  26. #ifdef __STDC__
  27. #define SCHAR_TYPE signed char
  28. #else /* not __STDC */
  29. #ifdef __CHAR_UNSIGNED__
  30. #define SCHAR_TYPE short
  31. #else
  32. #define SCHAR_TYPE char
  33. #endif
  34. #endif /* not __STDC__ */
  35. #endif /* not SCHAR_TYPE */
  36. typedef SCHAR_TYPE schar;
  37.  
  38. /* The type `integer' must be a signed integer capable of holding at
  39.    least the range of numbers (-2^31)..(2^31-1).  If your compiler goes
  40.    to great lengths to make programs fail, you might have to change this
  41.    definition.  If this changes, you will probably have to modify
  42.    web2c/fixwrites.c, since it generates code to do integer output using
  43.    "%ld", and casts all integral values to be printed to `long'.  */
  44. #ifndef INTEGER_TYPE
  45. #define INTEGER_TYPE long
  46. #endif
  47. typedef INTEGER_TYPE integer;
  48.  
  49. /* `volatile' is only used in Metafont to avoid bugs in the MIPS C
  50.    compiler.  If this definition goes wrong somehow, just get rid of it
  51.    and the two corresponding substitutions in mf/convert.  */
  52. #ifndef __STDC__
  53. #define volatile
  54. #endif
  55.  
  56. /* System-dependent hacks.  */
  57.  
  58. /* Hack to get around High C on an IBM RT treating `char' differently
  59.    than normal compilers, etc.   */
  60. #if defined (__HIGHC__) && defined (ibm032)
  61. pragma    Off(Char_default_unsigned);
  62. pragma    On(Char_is_rep);
  63. pragma    On(Parm_warnings);
  64. pragma    On(Pointers_compatible);
  65. pragma    On(Pointers_compatible_with_ints);
  66. #endif    /* __HIGHC__ and ibm032 */
  67.  
  68.  
  69. /* Some definitions of our own.  */
  70. #include "common.h"
  71.  
  72. #endif /* not CONFIG_H */
  73.