]> code.delx.au - gnu-emacs/blob - src/s/osf1.h
(LD_SWITCH_SYSTEM): New definition.
[gnu-emacs] / src / s / osf1.h
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,/'`