osf1.h 857 Bytes
Newer Older
Jim Blandy's avatar
Jim Blandy committed
1
#include "bsd4-3.h"
Jim Blandy's avatar
Jim Blandy committed
2 3 4 5 6

/* Identify OSF1 for the m- files. */

#define OSF1

7
/* Define _BSD to tell the include files we're running under
Jim Blandy's avatar
Jim Blandy committed
8 9 10 11
   the BSD universe and not the SYSV universe.  */

#define C_SWITCH_SYSTEM	-D_BSD
#define LIBS_SYSTEM	-lbsd
12

13 14
#define GETPGRP_NO_ARG

15 16 17 18 19 20 21 22
#define read sys_read
#define write sys_write
#define open sys_open
#define close sys_close

#define INTERRUPTIBLE_OPEN
#define INTERRUPTIBLE_CLOSE
#define INTERRUPTIBLE_IO
Jim Blandy's avatar
Jim Blandy committed
23 24

#define SYSV_SYSTEM_DIR
Karl Heuer's avatar
Karl Heuer committed
25 26 27 28 29

/* If your system uses COFF (Common Object File Format) then define the
   preprocessor symbol "COFF". */

#define COFF
30 31 32 33 34

/* Here is how to find X Windows.  LD_SWITCH_X_SITE_AUX gives an -R option
   says where to find X windows at run time.  We convert it to a -rpath option
   which is what OSF1 uses.  */
#define LD_SWITCH_SYSTEM `echo LD_SWITCH_X_SITE_AUX | sed -e 's/-R/-Wl,-rpath,/'`