aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-06-22 12:52:06 +0000
committerDave Love2000-06-22 12:52:06 +0000
commitbb746ea696eceb06c11b4ceac1b9859e490c53b3 (patch)
tree574dae3cdb7b61faa7db4e6fb3f6fe2661b0aa59
parentf83a1ae3d2f07ab620d093b1121b336f27fb6453 (diff)
downloademacs-bb746ea696eceb06c11b4ceac1b9859e490c53b3.tar.gz
emacs-bb746ea696eceb06c11b4ceac1b9859e490c53b3.zip
(C_SWITCH_SYSTEM): Define _XOPEN_SOURCE=500.
-rw-r--r--src/ChangeLog6
-rw-r--r--src/s/isc3-0.h5
2 files changed, 9 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 56a678957c8..84224e57ad0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12000-06-22 Dave Love <fx@gnu.org>
2
3 * s/isc3-0.h (C_SWITCH_SYSTEM): Define _XOPEN_SOURCE=500.
4
5 * s/gnu-linux.h (C_SWITCH_SYSTEM): Don't define _XOPEN_SOURCE here.
6
12000-06-22 Kenichi Handa <handa@etl.go.jp> 72000-06-22 Kenichi Handa <handa@etl.go.jp>
2 8
3 * ccl.c (ccl_driver) <CCL_End>: Decrement stack_idx only when it 9 * ccl.c (ccl_driver) <CCL_End>: Decrement stack_idx only when it
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 @@
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. */ 37 from this or __STDC__ being defined. Define _XOPEN_SOURCE=500 for
38#define C_SWITCH_SYSTEM -D_XOPEN_SOURCE -D_SYSV3 38 compatibility with the autoconf test. */
39#define C_SWITCH_SYSTEM -D_XOPEN_SOURCE=500 -D_SYSV3
39 40
40#ifdef __GNUC__ /* Currently we use -lcposix only with gcc */ 41#ifdef __GNUC__ /* Currently we use -lcposix only with gcc */
41/* This works around a bug in ISC 4.0 and 3.0; it fails 42/* This works around a bug in ISC 4.0 and 3.0; it fails