home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume28 / cproto / part02 / config.h next >
Encoding:
C/C++ Source or Header  |  1992-03-15  |  773 b   |  50 lines

  1. /* $Id: config.h 3.2 92/03/14 11:57:03 cthuang Exp $
  2.  *
  3.  * cproto configuration and system dependencies
  4.  */
  5.  
  6. /* maximum include file nesting */
  7. #define MAX_INC_DEPTH 15
  8.  
  9. /* maximum number of include directories */
  10. #define MAX_INC_DIR 15
  11.  
  12. /* maximum text buffer size */
  13. #define MAX_TEXT_SIZE 256
  14.  
  15. /* Borland C predefines __MSDOS__ */
  16. #ifdef __MSDOS__
  17. #ifndef MSDOS
  18. #define MSDOS
  19. #endif
  20. #endif
  21.  
  22. #ifdef MSDOS
  23. #include <malloc.h>
  24. #include <stdlib.h>
  25. #else
  26. extern char *malloc();
  27. extern char *getenv();
  28. #endif
  29.  
  30. #ifdef BSD
  31. #include <strings.h>
  32. #define strchr index
  33. #define strrchr rindex
  34. #else
  35. #include <string.h>
  36. #endif
  37.  
  38. #ifndef MSDOS
  39. extern char *strstr();
  40. #endif
  41.  
  42. /* C preprocessor */
  43. #ifdef TURBO_CPP
  44. #define CPP "cpp -P-"
  45. #endif
  46.  
  47. #ifndef MSDOS
  48. #define CPP "/lib/cpp"
  49. #endif
  50.