[project @ 1997-05-27 05:57:01 by sof]
authorsof <unknown>
Tue, 27 May 1997 05:57:01 +0000 (05:57 +0000)
committersof <unknown>
Tue, 27 May 1997 05:57:01 +0000 (05:57 +0000)
Fix to make it compile under irix-6.x

ghc/runtime/main/Signals.lc

index fea62a7..a86c6d7 100644 (file)
@@ -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)