diff options
| author | Gerd Moellmann | 2001-10-10 12:21:58 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-10-10 12:21:58 +0000 |
| commit | beb2e97599764bc52d982a7e2122e64bc419028f (patch) | |
| tree | 0acbc82de6b20434073c4a5517db2c0ebaf9fc28 /src/s | |
| parent | 919f28126bbc0b115f093bfedfb7e4f8ef30bbbc (diff) | |
| download | emacs-beb2e97599764bc52d982a7e2122e64bc419028f.tar.gz emacs-beb2e97599764bc52d982a7e2122e64bc419028f.zip | |
(C_SWITCH_SYSTEM) [!__GNUC__]: Add `-nointrinsics'
options. From Dave Love <d.love@dl.ac.uk>.
Diffstat (limited to 'src/s')
| -rw-r--r-- | src/s/osf5-0.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/s/osf5-0.h b/src/s/osf5-0.h index b084ab8c887..54cfb16823f 100644 --- a/src/s/osf5-0.h +++ b/src/s/osf5-0.h | |||
| @@ -2,8 +2,17 @@ | |||
| 2 | #include "osf1.h" | 2 | #include "osf1.h" |
| 3 | 3 | ||
| 4 | /* It's enough to define _OSF_SOURCE instead of _BSD. */ | 4 | /* It's enough to define _OSF_SOURCE instead of _BSD. */ |
| 5 | |||
| 6 | /* -nointrinsics is required to avoid losing with definitions of POSIX | ||
| 7 | stuff in regex.c, for instance, where regex_t isn't consistent | ||
| 8 | with the system defintion. This may be necessary also on OSF 4 | ||
| 9 | systems with dtk 6.4 installed. */ | ||
| 5 | #undef C_SWITCH_SYSTEM | 10 | #undef C_SWITCH_SYSTEM |
| 11 | #ifdef __GNUC__ | ||
| 6 | #define C_SWITCH_SYSTEM -D_OSF_SOURCE | 12 | #define C_SWITCH_SYSTEM -D_OSF_SOURCE |
| 13 | #else | ||
| 14 | #define C_SWITCH_SYSTEM -D_OSF_SOURCE -nointrinsics | ||
| 15 | #endif | ||
| 7 | 16 | ||
| 8 | #define WAIT_USE_INT | 17 | #define WAIT_USE_INT |
| 9 | #define SYS_SIGLIST_DECLARED | 18 | #define SYS_SIGLIST_DECLARED |