home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume17 / cproto / part02 / config.h next >
Encoding:
C/C++ Source or Header  |  1991-03-25  |  640 b   |  38 lines

  1. /* $Id: config.h 2.1 91/02/28 11:16:12 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 number of characters in a text buffer */
  13. #define MAX_TEXT_LENGTH    256
  14.  
  15. #ifdef __TURBOC__
  16. #include <alloc.h>
  17. #endif
  18.  
  19. #ifdef M_I86
  20. #include <malloc.h>
  21. #endif
  22.  
  23. #ifndef MSDOS
  24. extern char *malloc();
  25. #endif
  26.  
  27. #if defined(SYSV) || defined(MSDOS)
  28. #include <string.h>
  29. #define index strchr
  30. #define rindex strrchr
  31. #else
  32. #include <strings.h>
  33. #endif
  34.  
  35. #ifndef MSDOS
  36. extern char *strdup(), *strstr();
  37. #endif
  38.