blob: 37e1c3e697d365ed8d7d680857bd9a3d5e3eade3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-af,v 1.1 2002/09/29 15:03:33 wiz Exp $
--- src/runtime/mach-dep/signal-sysdep.h.orig Fri Apr 20 09:26:45 2001
+++ src/runtime/mach-dep/signal-sysdep.h
@@ -151,7 +151,7 @@ extern void SetFSR(int);
/* disable all FP exceptions */
# define SIG_InitFPE() SetFSR(0)
-# if defined(OPSYS_SUNOS)
+# if defined(OPSYS_SUNOS) || defined(OPSYS_NETBSD)
/** SPARC, SUNOS **/
# define USE_ZERO_LIMIT_PTR_FN
# define SIG_FAULT1 SIGFPE
|