summaryrefslogtreecommitdiff
path: root/src/s/isc3-0.h
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-06-22 12:52:06 +0000
committerDave Love <fx@gnu.org>2000-06-22 12:52:06 +0000
commitbb746ea696eceb06c11b4ceac1b9859e490c53b3 (patch)
tree574dae3cdb7b61faa7db4e6fb3f6fe2661b0aa59 /src/s/isc3-0.h
parentf83a1ae3d2f07ab620d093b1121b336f27fb6453 (diff)
downloademacs-bb746ea696eceb06c11b4ceac1b9859e490c53b3.tar.gz
(C_SWITCH_SYSTEM): Define _XOPEN_SOURCE=500.
Diffstat (limited to 'src/s/isc3-0.h')
-rw-r--r--src/s/isc3-0.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/s/isc3-0.h b/src/s/isc3-0.h
index 737ce3c3297..be1181ae5d1 100644
--- a/src/s/isc3-0.h
+++ b/src/s/isc3-0.h
@@ -34,8 +34,9 @@
/* 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 C_SWITCH_SYSTEM -D_XOPEN_SOURCE -D_SYSV3
+ from this or __STDC__ being defined. Define _XOPEN_SOURCE=500 for
+ compatibility with the autoconf test. */
+#define C_SWITCH_SYSTEM -D_XOPEN_SOURCE=500 -D_SYSV3
#ifdef __GNUC__ /* Currently we use -lcposix only with gcc */
/* This works around a bug in ISC 4.0 and 3.0; it fails