Commit 19121201 authored by sof's avatar sof
Browse files

[project @ 1997-03-25 21:24:12 by sof]

m68k-*-nexstep3 updates
parent 0fb44a75
......@@ -1659,7 +1659,8 @@ IF_RTS(void blockVtAlrmSignal(STG_NO_ARGS);)
IF_RTS(void unblockVtAlrmSignal(STG_NO_ARGS);)
IF_RTS(void AwaitEvent(I_ delta);)
#ifdef _POSIX_SOURCE
#if defined(_POSIX_SOURCE) && !defined(nextstep3_TARGET_OS)
/* For nextstep3_TARGET_OS comment see stgdefs.h. CaS */
extern I_ sig_install PROTO((I_, I_, sigset_t *));
#define stg_sig_ignore(s,m) SAFESTGCALL3(I_,(void *, I_, I_),sig_install,s,STG_SIG_IGN,(sigset_t *)m)
#define stg_sig_default(s,m) SAFESTGCALL3(I_,(void *, I_, I_),sig_install,s,STG_SIG_DFL,(sigset_t *)m)
......
......@@ -33,6 +33,18 @@ void _stgAssert PROTO((char *, unsigned int));
#define NON_POSIX_SOURCE
#endif
/* If _NEXT_SOURCE is defined, certain header files make more
* constants visible to us.
* Perhaps it would have been wise, also to define NON_POSIX_SOURCE.
* Things seemed to work better without it however, so I have not
* done it. Nevertheless we do the signal stuff in a NON_POSIX way,
* see StgMacros.lh.
* CaS
*/
#ifdef nextstep3_TARGET_OS
#define _NEXT_SOURCE
#endif
#ifdef NON_POSIX_SOURCE
#undef _POSIX_SOURCE
#undef _POSIX_C_SOURCE
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment