aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-12-11 11:59:52 +0000
committerGerd Moellmann2000-12-11 11:59:52 +0000
commitb7d95d4220021b84527bf9263cb0255ca057b367 (patch)
tree302bb013a63685b2fef70b475cba89282baa4d7e /src
parent3ab053bc2c2e02e6e88e3f2175baa4653b656f0a (diff)
downloademacs-b7d95d4220021b84527bf9263cb0255ca057b367.tar.gz
emacs-b7d95d4220021b84527bf9263cb0255ca057b367.zip
Update comment about _XOPEN_SOURCE.
Diffstat (limited to 'src')
-rw-r--r--src/s/isc3-0.h4
-rw-r--r--src/s/osf5-0.h5
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 @@
34/* We need either _XOPEN_SOURCE or _POSIX_SOURCE to import the posix 34/* We need either _XOPEN_SOURCE or _POSIX_SOURCE to import the posix
35 signal symbols; might as well use _XOPEN_SOURCE. Defining _SYSV3 35 signal symbols; might as well use _XOPEN_SOURCE. Defining _SYSV3
36 ensures that we don't lose the traditional symbols as a side effect 36 ensures that we don't lose the traditional symbols as a side effect
37 from this or __STDC__ being defined. Define _XOPEN_SOURCE=500 for 37 from this or __STDC__ being defined. It can't hurt to Define
38 compatibility with the autoconf test. */ 38 _XOPEN_SOURCE=500, the latest and greatest value as of this writing. */
39#define C_SWITCH_SYSTEM -D_XOPEN_SOURCE=500 -D_SYSV3 39#define C_SWITCH_SYSTEM -D_XOPEN_SOURCE=500 -D_SYSV3
40 40
41#ifdef __GNUC__ /* Currently we use -lcposix only with gcc */ 41#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 @@
1#define OSF5 1#define OSF5
2#include "osf1.h" 2#include "osf1.h"
3 3
4/* The -BSD loses when _XOPEN_SOURCE gets defined by configure in 4/* It's enough to define _OSF_SOURCE instead of _BSD. */
5 OSF 5. It's possible this will need to be reverted for earlier
6 versions (for which OSF5 isn't defined). */
7#undef C_SWITCH_SYSTEM 5#undef C_SWITCH_SYSTEM
8#define C_SWITCH_SYSTEM -D_OSF_SOURCE 6#define C_SWITCH_SYSTEM -D_OSF_SOURCE
7
9#define WAIT_USE_INT 8#define WAIT_USE_INT
10#define SYS_SIGLIST_DECLARED 9#define SYS_SIGLIST_DECLARED
11#define sys_siglist __sys_siglist 10#define sys_siglist __sys_siglist