home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / s / netbsd.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-04  |  1.6 KB  |  62 lines

  1. /* Synched up with: FSF 19.29. */
  2.  
  3. /* s/ file for netbsd system.  */
  4.  
  5. /* Get most of the stuff from bsd4.3 */
  6. #include "bsd4-3.h"
  7.  
  8. /* For mem-limits.h.  */
  9. #define BSD4_2
  10.  
  11. #undef KERNEL_FILE
  12. #undef LDAV_SYMBOL
  13. #define HAVE_GETLOADAVG
  14.  
  15. #define SIGNALS_VIA_CHARACTERS
  16.  
  17. #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
  18.  
  19. /* netbsd uses OXTABS instead of the expected TAB3.  */
  20. #define TABDLY OXTABS
  21. #define TAB3 OXTABS
  22.  
  23. #define A_TEXT_OFFSET(x) (sizeof (struct exec))
  24. #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr))
  25.  
  26. #define NO_TERMIO
  27.  
  28. #define LIBS_DEBUG
  29. /* -lutil is not needed for NetBSD >0.9.  */
  30. /* #define LIBS_SYSTEM -lutil */
  31. #define LIBS_TERMCAP -ltermcap
  32.  
  33. #define NEED_ERRNO
  34.  
  35. #define GETPGRP_NO_ARG
  36.  
  37. #ifndef NO_SHARED_LIBS
  38. /* These definitions should work for either dynamic or static linking,
  39.    whichever is the default for `cc -nostdlib'.  */
  40. /* but they probably don't, and life's too short - jrg@doc.ic.ac.uk 
  41.    ask for no shared libs if you have 0.9 */
  42. #define HAVE_TEXT_START        /* No need to define `start_of_text'.  */
  43. #define LD_SWITCH_SYSTEM -e start
  44. #define START_FILES pre-crt0.o /usr/lib/crt0.o
  45. #define UNEXEC unexfreebsd.o    /* ironic, considering history of unexfreebsd */
  46. #define RUN_TIME_REMAP
  47.  
  48. /* Try to make this work for both 0.9 and >0.9.  */
  49. #define N_PAGSIZ(x) __LDPGSZ
  50. #define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data))
  51. /* #define N_TRELOFF(x) N_RELOFF(x) */
  52. /* the 1.0 way.. */
  53. #define N_RELOFF(x) N_TRELOFF(x)
  54. #else
  55. #define START_FILES crt0.o
  56. #endif /* not NO_SHARED_LIBS */
  57.  
  58. /* Reread the time zone on startup.  */
  59. #define LOCALTIME_CACHE
  60.  
  61. #define NO_MATHERR
  62.