aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
authorDave Love2000-06-27 16:24:16 +0000
committerDave Love2000-06-27 16:24:16 +0000
commita61f217b5bcd700d557eb080c91f93c0e6dae845 (patch)
tree87ffc40326c27538a3cb4890f32ad059749b4ca6 /src/s
parent163ea954c8534bd29fad5c8fd1aaa3fbd35d2c3d (diff)
downloademacs-a61f217b5bcd700d557eb080c91f93c0e6dae845.tar.gz
emacs-a61f217b5bcd700d557eb080c91f93c0e6dae845.zip
(C_SWITCH_SYSTEM, LIBS_SYSTEM): Revert last change (moved to osf5-0.h).
[!NOT_C_CODE]: Protect string.h stuff.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/osf1.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/s/osf1.h b/src/s/osf1.h
index dd4fc372a64..38397e254e2 100644
--- a/src/s/osf1.h
+++ b/src/s/osf1.h
@@ -4,23 +4,9 @@
4 4
5#define OSF1 5#define OSF1
6 6
7/* The following used to be done, but -BSD loses when _XOPEN_SOURCE
8 gets defined by configure, at least on OSF5. It's possible this
9 will need to be reverted for earlier versions (for which OSF5 isn't
10 defined). */
11#if 0
12#define C_SWITCH_SYSTEM -D_BSD 7#define C_SWITCH_SYSTEM -D_BSD
13#define LIBS_SYSTEM -lbsd 8#define LIBS_SYSTEM -lbsd
14 9
15#else
16
17#define C_SWITCH_SYSTEM -D_OSF_SOURCE
18#define WAIT_USE_INT
19#define SYS_SIGLIST_DECLARED
20#define sys_siglist __sys_siglist
21#define NSIG __sys_nsig
22#endif /* 0 */
23
24#define GETPGRP_NO_ARG 10#define GETPGRP_NO_ARG
25 11
26#define SYSV_SYSTEM_DIR 12#define SYSV_SYSTEM_DIR
@@ -42,6 +28,7 @@
42#define C_DEBUG_SWITCH -g3 28#define C_DEBUG_SWITCH -g3
43#endif 29#endif
44 30
31#ifndef NOT_C_CODE
45#ifndef OSF5 /* fixed in 5.0 */ 32#ifndef OSF5 /* fixed in 5.0 */
46/* Hack alert! For reasons unknown to mankind the string.h file insists 33/* Hack alert! For reasons unknown to mankind the string.h file insists
47 on defining bcopy etc. as taking char pointers as arguments. With 34 on defining bcopy etc. as taking char pointers as arguments. With
@@ -56,3 +43,4 @@
56#undef bzero 43#undef bzero
57#undef bcmp 44#undef bcmp
58#endif 45#endif
46#endif