Bug 781474 - Don't try to use FP_X_DNML on FreeBSD non-x86. r=bz

This commit is contained in:
Jan Beich 2012-08-09 17:35:53 -04:00
parent ea3a96d35f
commit d7e6d77bb9

View File

@ -21,7 +21,7 @@
//A trick to handle IEEE floating point exceptions on FreeBSD - E.D.
#ifdef __FreeBSD__
#include <ieeefp.h>
#ifdef __alpha__
#if !defined(__i386__) && !defined(__x86_64__)
static fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP;
#else
static fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP|FP_X_DNML;