*** empty log message ***
[bpt/emacs.git] / src / s / osf1.h
1 #include "bsd4-3.h"
2
3 /* Identify OSF1 for the m- files. */
4
5 #define OSF1
6
7 #define C_SWITCH_SYSTEM -D_BSD
8 #define LIBS_SYSTEM -lbsd
9
10 #define GETPGRP_NO_ARG
11
12 #define SYSV_SYSTEM_DIR
13
14 /* If your system uses COFF (Common Object File Format) then define the
15 preprocessor symbol "COFF". */
16
17 #define COFF
18
19 /* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option
20 says where to find X windows at run time. We convert it to a -rpath option
21 which is what OSF1 uses. */
22 #define LD_SWITCH_SYSTEM `echo LD_SWITCH_X_SITE_AUX | sed -e 's/-R/-Wl,-rpath,/'`
23
24 #define HAVE_TERMIOS
25
26 #ifndef __GNUC__
27 /* Optimize, inaccurate debugging. */
28 #define C_DEBUG_SWITCH -g3
29 #endif
30
31 #ifndef NOT_C_CODE
32 #ifndef OSF5 /* fixed in 5.0 */
33 /* Hack alert! For reasons unknown to mankind the string.h file insists
34 on defining bcopy etc. as taking char pointers as arguments. With
35 Emacs this produces an endless amount of warning which are harmless,
36 but tends to flood the real errors. This hack works around this problem
37 by not prototyping. */
38 #define bcopy string_h_bcopy
39 #define bzero string_h_bzero
40 #define bcmp string_h_bcmp
41 #include <string.h>
42 #undef bcopy
43 #undef bzero
44 #undef bcmp
45 #endif
46 #endif