# HG changeset patch # User Gerd Moellmann # Date 1002716518 0 # Node ID 03cf4a9162483f15c1bdbad8e2e63397cca44d46 # Parent b6933b0f1ef2dd1e27ddf243bd0d9067474d9bb8 (C_SWITCH_SYSTEM) [!__GNUC__]: Add `-nointrinsics' options. From Dave Love . diff -r b6933b0f1ef2 -r 03cf4a916248 src/s/osf5-0.h --- a/src/s/osf5-0.h Wed Oct 10 11:55:39 2001 +0000 +++ b/src/s/osf5-0.h Wed Oct 10 12:21:58 2001 +0000 @@ -2,8 +2,17 @@ #include "osf1.h" /* It's enough to define _OSF_SOURCE instead of _BSD. */ + +/* -nointrinsics is required to avoid losing with definitions of POSIX + stuff in regex.c, for instance, where regex_t isn't consistent + with the system defintion. This may be necessary also on OSF 4 + systems with dtk 6.4 installed. */ #undef C_SWITCH_SYSTEM +#ifdef __GNUC__ #define C_SWITCH_SYSTEM -D_OSF_SOURCE +#else +#define C_SWITCH_SYSTEM -D_OSF_SOURCE -nointrinsics +#endif #define WAIT_USE_INT #define SYS_SIGLIST_DECLARED