diff options
author | John Baldwin <jhb@FreeBSD.org> | 2018-03-19 17:33:03 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2018-03-19 17:33:03 +0000 |
commit | 6201dd904ee33fc49adc75d2011070d2d682ba9f (patch) | |
tree | 4aed63152276e9cca2b392727c73323844aec10e /lang | |
parent | 316915c65dd4104786ed317969c28ed665af5983 (diff) | |
download | ports-6201dd904ee33fc49adc75d2011070d2d682ba9f.tar.gz ports-6201dd904ee33fc49adc75d2011070d2d682ba9f.zip |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/smlnj/files/do-patch-base_runtime_mach-dep_signal-sysdep.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/smlnj/files/do-patch-base_runtime_mach-dep_signal-sysdep.h b/lang/smlnj/files/do-patch-base_runtime_mach-dep_signal-sysdep.h new file mode 100644 index 000000000000..eccc401ca20a --- /dev/null +++ b/lang/smlnj/files/do-patch-base_runtime_mach-dep_signal-sysdep.h @@ -0,0 +1,13 @@ +--- base/runtime/mach-dep/signal-sysdep.h.orig 2018-03-16 11:21:38.240870000 -0700 ++++ base/runtime/mach-dep/signal-sysdep.h 2018-03-16 11:22:06.398280000 -0700 +@@ -447,8 +447,8 @@ extern void SetFSR(); + # elif defined(OPSYS_FREEBSD) + /** x86, FreeBSD **/ + # define SIG_FAULT1 SIGFPE +-# define INT_DIVZERO(s, c) (((s) == SIGFPE) && ((c) == FPE_INTDIV_TRAP)) +-# define INT_OVFLW(s, c) (((s) == SIGFPE) && ((c) == FPE_INTOVF_TRAP)) ++# define INT_DIVZERO(s, c) (((s) == SIGFPE) && ((c) == FPE_INTDIV)) ++# define INT_OVFLW(s, c) (((s) == SIGFPE) && ((c) == FPE_INTOVF)) + + # define SIG_GetCode(info, scp) (info) + # define SIG_GetPC(scp) ((scp)->sc_pc) |