summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsof <unknown>1997-05-27 05:57:01 +0000
committersof <unknown>1997-05-27 05:57:01 +0000
commitd3cb51ef154835dd6be1bce03ef55101dc9afa14 (patch)
tree79e18b16a0987e1802ed0d9a8d14c07879511948
parent2a3a552c0aa2302deaf6fadd5badbbb0d193b3b1 (diff)
downloadhaskell-d3cb51ef154835dd6be1bce03ef55101dc9afa14.tar.gz
[project @ 1997-05-27 05:57:01 by sof]
Fix to make it compile under irix-6.x
-rw-r--r--ghc/runtime/main/Signals.lc6
1 files changed, 4 insertions, 2 deletions
diff --git a/ghc/runtime/main/Signals.lc b/ghc/runtime/main/Signals.lc
index fea62a7aa2..a86c6d7575 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)