osf1.h 1.18 KB
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 7 8

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

#define OSF1

#define C_SWITCH_SYSTEM	-D_BSD
#define LIBS_SYSTEM	-lbsd
9

10 11
#define GETPGRP_NO_ARG

Jim Blandy's avatar
Jim Blandy committed
12
#define SYSV_SYSTEM_DIR
Karl Heuer's avatar
Karl Heuer committed
13 14 15 16 17

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

#define COFF
18 19 20 21 22

/* 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,/'`
Kenichi Handa's avatar
Kenichi Handa committed
23 24 25

#define HAVE_TERMIOS

Dave Love's avatar
Dave Love committed
26 27 28 29
#ifndef __GNUC__
/* Optimize, inaccurate debugging.  */
#define C_DEBUG_SWITCH -g3
#endif
30

31
#ifndef NOT_C_CODE
32 33 34 35 36 37 38 39 40 41 42 43 44 45
#ifndef OSF5			/* fixed in 5.0 */
/* Hack alert!  For reasons unknown to mankind the string.h file insists
   on defining bcopy etc. as taking char pointers as arguments.  With
   Emacs this produces an endless amount of warning which are harmless,
   but tends to flood the real errors.  This hack works around this problem
   by not prototyping.  */
#define bcopy string_h_bcopy
#define bzero string_h_bzero
#define bcmp  string_h_bcmp
#include <string.h>
#undef bcopy
#undef bzero
#undef bcmp
#endif
46
#endif