From: sof Date: Tue, 27 May 1997 05:57:01 +0000 (+0000) Subject: [project @ 1997-05-27 05:57:01 by sof] X-Git-Tag: Approximately_1000_patches_recorded~450 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=d3cb51ef154835dd6be1bce03ef55101dc9afa14;hp=2a3a552c0aa2302deaf6fadd5badbbb0d193b3b1;p=ghc-hetmet.git [project @ 1997-05-27 05:57:01 by sof] Fix to make it compile under irix-6.x --- diff --git a/ghc/runtime/main/Signals.lc b/ghc/runtime/main/Signals.lc index fea62a7..a86c6d7 100644 --- a/ghc/runtime/main/Signals.lc +++ b/ghc/runtime/main/Signals.lc @@ -175,8 +175,10 @@ install_segv_handler(void) # else /* Not SunOS 4, FreeBSD, or Linux(a.out) */ # if defined(irix_TARGET_OS) - /* certainly BOGUS (WDP 94/05) -- copied from /usr/include/sys/siginfo.h */ -# define si_addr _data._fault._addr +# ifndef irix6_TARGET_OS /* will this do for irix-6.x ? ToDo: check. (SOF 5/97) */ + /* certainly BOGUS (WDP 94/05) -- copied from /usr/include/sys/siginfo.h */ +# define si_addr _data._fault._addr +# endif # endif #if defined(cygwin32_TARGET_OS)