diff options
Diffstat (limited to 'src')
| -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 |