home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / e20313sr.zip / emacs / 20.3.1 / src / s / osf1.h < prev    next >
C/C++ Source or Header  |  1999-06-27  |  1KB  |  40 lines

  1. #include "bsd4-3.h"
  2.  
  3. /* Identify OSF1 for the m- files. */
  4.  
  5. #define OSF1
  6.  
  7. /* Define _BSD to tell the include files we're running under
  8.    the BSD universe and not the SYSV universe.  */
  9.  
  10. #define C_SWITCH_SYSTEM    -D_BSD
  11. #define LIBS_SYSTEM    -lbsd
  12.  
  13. #define GETPGRP_NO_ARG
  14.  
  15. #define read sys_read
  16. #define write sys_write
  17. #define open sys_open
  18. #define close sys_close
  19.  
  20. #define INTERRUPTIBLE_OPEN
  21. #define INTERRUPTIBLE_CLOSE
  22. #define INTERRUPTIBLE_IO
  23.  
  24. #define SYSV_SYSTEM_DIR
  25.  
  26. /* If your system uses COFF (Common Object File Format) then define the
  27.    preprocessor symbol "COFF". */
  28.  
  29. #define COFF
  30.  
  31. /* Here is how to find X Windows.  LD_SWITCH_X_SITE_AUX gives an -R option
  32.    says where to find X windows at run time.  We convert it to a -rpath option
  33.    which is what OSF1 uses.  */
  34. #define LD_SWITCH_SYSTEM `echo LD_SWITCH_X_SITE_AUX | sed -e 's/-R/-Wl,-rpath,/'`
  35.  
  36. #define HAVE_TERMIOS
  37.  
  38. /* Specify the type that the 3rd arg of `accept' points to.  */
  39. #define SOCKLEN_TYPE int
  40.