mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-29 11:02:01 +00:00
(C_SWITCH_SYSTEM, LIBS_SYSTEM): Revert last change (moved to osf5-0.h).
[!NOT_C_CODE]: Protect string.h stuff.
This commit is contained in:
parent
163ea954c8
commit
a61f217b5b
16
src/s/osf1.h
16
src/s/osf1.h
@ -4,23 +4,9 @@
|
||||
|
||||
#define OSF1
|
||||
|
||||
/* The following used to be done, but -BSD loses when _XOPEN_SOURCE
|
||||
gets defined by configure, at least on OSF5. It's possible this
|
||||
will need to be reverted for earlier versions (for which OSF5 isn't
|
||||
defined). */
|
||||
#if 0
|
||||
#define C_SWITCH_SYSTEM -D_BSD
|
||||
#define LIBS_SYSTEM -lbsd
|
||||
|
||||
#else
|
||||
|
||||
#define C_SWITCH_SYSTEM -D_OSF_SOURCE
|
||||
#define WAIT_USE_INT
|
||||
#define SYS_SIGLIST_DECLARED
|
||||
#define sys_siglist __sys_siglist
|
||||
#define NSIG __sys_nsig
|
||||
#endif /* 0 */
|
||||
|
||||
#define GETPGRP_NO_ARG
|
||||
|
||||
#define SYSV_SYSTEM_DIR
|
||||
@ -42,6 +28,7 @@
|
||||
#define C_DEBUG_SWITCH -g3
|
||||
#endif
|
||||
|
||||
#ifndef NOT_C_CODE
|
||||
#ifndef OSF5 /* fixed in 5.0 */
|
||||
/* Hack alert! For reasons unknown to mankind the string.h file insists
|
||||
on defining bcopy etc. as taking char pointers as arguments. With
|
||||
@ -56,3 +43,4 @@
|
||||
#undef bzero
|
||||
#undef bcmp
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user