diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-12-11 11:59:52 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-12-11 11:59:52 +0000 |
commit | b7d95d4220021b84527bf9263cb0255ca057b367 (patch) | |
tree | 302bb013a63685b2fef70b475cba89282baa4d7e | |
parent | 3ab053bc2c2e02e6e88e3f2175baa4653b656f0a (diff) | |
download | emacs-b7d95d4220021b84527bf9263cb0255ca057b367.tar.gz |
Update comment about _XOPEN_SOURCE.
-rw-r--r-- | src/s/isc3-0.h | 4 | ||||
-rw-r--r-- | src/s/osf5-0.h | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/s/isc3-0.h b/src/s/isc3-0.h index be1181ae5d1..327f605ff7e 100644 --- a/src/s/isc3-0.h +++ b/src/s/isc3-0.h @@ -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 --git a/src/s/osf5-0.h b/src/s/osf5-0.h index af0dd1f8a63..1e490c5a998 100644 --- a/src/s/osf5-0.h +++ b/src/s/osf5-0.h @@ -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 |