diff options
Diffstat (limited to 'www/mozilla-devel/files/patch-Double.cpp')
-rw-r--r-- | www/mozilla-devel/files/patch-Double.cpp | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/www/mozilla-devel/files/patch-Double.cpp b/www/mozilla-devel/files/patch-Double.cpp index 3dabc0260c14..ea09affc26e4 100644 --- a/www/mozilla-devel/files/patch-Double.cpp +++ b/www/mozilla-devel/files/patch-Double.cpp @@ -1,11 +1,16 @@ ---- extensions/transformiix/source/base/Double.cpp.orig Wed May 21 04:42:05 2003 -+++ extensions/transformiix/source/base/Double.cpp Wed May 21 04:42:24 2003 -@@ -51,7 +51,7 @@ +--- extensions/transformiix/source/base/Double.cpp.orig Thu Jan 30 00:26:46 2003 ++++ extensions/transformiix/source/base/Double.cpp Tue Jun 24 23:30:10 2003 +@@ -51,10 +51,10 @@ //A trick to handle IEEE floating point exceptions on FreeBSD - E.D. #ifdef __FreeBSD__ #include <ieeefp.h> -#ifdef __alpha__ -+#if defined(__alpha__) || defined(__sparc64__) - fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP; - #else +-fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP; +-#else ++#if defined(__i386__) fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP|FP_X_DNML; ++#else ++fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP; + #endif + fp_except_t oldmask = fpsetmask(~allmask); + #endif |