mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-02 02:10:46 -08:00
(C_SWITCH_SYSTEM) [!__GNUC__]: Add `-nointrinsics'
options. From Dave Love <d.love@dl.ac.uk>.
This commit is contained in:
parent
919f28126b
commit
beb2e97599
1 changed files with 9 additions and 0 deletions
|
|
@ -2,8 +2,17 @@
|
|||
#include "osf1.h"
|
||||
|
||||
/* It's enough to define _OSF_SOURCE instead of _BSD. */
|
||||
|
||||
/* -nointrinsics is required to avoid losing with definitions of POSIX
|
||||
stuff in regex.c, for instance, where regex_t isn't consistent
|
||||
with the system defintion. This may be necessary also on OSF 4
|
||||
systems with dtk 6.4 installed. */
|
||||
#undef C_SWITCH_SYSTEM
|
||||
#ifdef __GNUC__
|
||||
#define C_SWITCH_SYSTEM -D_OSF_SOURCE
|
||||
#else
|
||||
#define C_SWITCH_SYSTEM -D_OSF_SOURCE -nointrinsics
|
||||
#endif
|
||||
|
||||
#define WAIT_USE_INT
|
||||
#define SYS_SIGLIST_DECLARED
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue