From d3cb51ef154835dd6be1bce03ef55101dc9afa14 Mon Sep 17 00:00:00 2001 From: sof Date: Tue, 27 May 1997 05:57:01 +0000 Subject: [PATCH] [project @ 1997-05-27 05:57:01 by sof] Fix to make it compile under irix-6.x --- ghc/runtime/main/Signals.lc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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) -- 1.7.10.4