home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Source / GNU / emacs / src / s-386bsd.h < prev    next >
C/C++ Source or Header  |  1992-09-05  |  1KB  |  49 lines

  1. /* Definitions file for GNU emacs running on 386BSD.  */
  2.  
  3. #include "s-bsd4-3.h"
  4.  
  5. /*
  6.  *     Define symbols to identify the version of Unix this is.
  7.  *     BSD and BSD4_3 are defined in s-bsd4-3.h.  There are some
  8.  *     differences between 386BSD and BSD 4.3 so we need an extra
  9.  *     symbol to identify it (the J stands for Jolitz).
  10.  */
  11.  
  12. #ifndef J386BSD
  13. #define J386BSD
  14. #endif /* J386BSD */
  15.  
  16. /* Under 386BSD the file containing the kernel's symbol 
  17.    table is named /386bsd.  */
  18.  
  19. #undef KERNEL_FILE
  20. #define KERNEL_FILE "/386bsd"
  21.  
  22. /* The symbol in the kernel where the load average is found
  23.    is named _averunnable.  */
  24.  
  25. #undef LDAV_SYMBOL
  26. #define LDAV_SYMBOL "_averunnable"
  27.  
  28. /* This macro determines the number of bytes waiting to be written
  29.    in a FILE buffer.  */
  30.  
  31. #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
  32.  
  33. /* 386BSD uses GNU C.  */
  34.  
  35. #define C_COMPILER gcc -traditional
  36.  
  37. /* 386BSD stores the termcap database in /usr/share/misc rather than
  38.    /etc. We use the system termcap library to avoid putting a #ifdef
  39.    in termcap.c or forcing the user to use the TERMCAP environment
  40.    variable.  */
  41.  
  42. #define LIBS_TERMCAP -ltermcap
  43.  
  44. /* 386BSD is nominally a POSIX.1 OS and has setsid.  */
  45.  
  46. #ifndef HAVE_SETSID
  47. #define HAVE_SETSID
  48. #endif /* HAVE_SETSID */
  49.