From: sof Date: Tue, 25 Mar 1997 21:20:38 +0000 (+0000) Subject: [project @ 1997-03-25 21:20:38 by sof] X-Git-Tag: Approximately_1000_patches_recorded~711 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=b25c2620f3f53f6f2a42428c83fefdf0beab5d62;p=ghc-hetmet.git [project @ 1997-03-25 21:20:38 by sof] m68k-*-nextstep3 updates --- diff --git a/ghc/runtime/main/Signals.lc b/ghc/runtime/main/Signals.lc index 24220d4..1b1af46 100644 --- a/ghc/runtime/main/Signals.lc +++ b/ghc/runtime/main/Signals.lc @@ -21,6 +21,11 @@ much pain. \begin{code} #include "config.h" +/* Treat nexttep3 and sunos4 alike. CaS */ +#if defined(nextstep3_TARGET_OS) +# define NON_POSIX_SOURCE +#endif + #if defined(sunos4_TARGET_OS) /* The sigaction in SunOS 4.1.X does not grok SA_SIGINFO */ # define NON_POSIX_SOURCE @@ -47,6 +52,13 @@ much pain. # include #endif + /* This is useful with the particular set of header files on my NeXT. + * CaS + */ +#if defined(HAVE_SYS_SIGNAL_H) +# include +#endif + #if defined(HAVE_SIGNAL_H) # include #endif @@ -97,6 +109,7 @@ fault. \begin{code} #if STACK_CHECK_BY_PAGE_FAULT + /* NB: At the moment, this is always false on nextstep3. CaS. */ extern P_ stks_space; /* Where the stacks live, from SMstacks.lc */ \end{code}