# HG changeset patch # User Gerd Moellmann # Date 976535992 0 # Node ID 7a1ddacf06834b7c60fecd676959ffc73ec737e4 # Parent c6b1de8696e73b90e5c7dd33a9bd2924be4be4f8 Update comment about _XOPEN_SOURCE. diff -r c6b1de8696e7 -r 7a1ddacf0683 src/s/isc3-0.h --- a/src/s/isc3-0.h Mon Dec 11 11:57:42 2000 +0000 +++ b/src/s/isc3-0.h Mon Dec 11 11:59:52 2000 +0000 @@ -34,8 +34,8 @@ /* We need either _XOPEN_SOURCE or _POSIX_SOURCE to import the posix signal symbols; might as well use _XOPEN_SOURCE. Defining _SYSV3 ensures that we don't lose the traditional symbols as a side effect - from this or __STDC__ being defined. Define _XOPEN_SOURCE=500 for - compatibility with the autoconf test. */ + from this or __STDC__ being defined. It can't hurt to Define + _XOPEN_SOURCE=500, the latest and greatest value as of this writing. */ #define C_SWITCH_SYSTEM -D_XOPEN_SOURCE=500 -D_SYSV3 #ifdef __GNUC__ /* Currently we use -lcposix only with gcc */ diff -r c6b1de8696e7 -r 7a1ddacf0683 src/s/osf5-0.h --- a/src/s/osf5-0.h Mon Dec 11 11:57:42 2000 +0000 +++ b/src/s/osf5-0.h Mon Dec 11 11:59:52 2000 +0000 @@ -1,11 +1,10 @@ #define OSF5 #include "osf1.h" -/* The -BSD loses when _XOPEN_SOURCE gets defined by configure in - OSF 5. It's possible this will need to be reverted for earlier - versions (for which OSF5 isn't defined). */ +/* It's enough to define _OSF_SOURCE instead of _BSD. */ #undef C_SWITCH_SYSTEM #define C_SWITCH_SYSTEM -D_OSF_SOURCE + #define WAIT_USE_INT #define SYS_SIGLIST_DECLARED #define sys_siglist __sys_siglist