diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-12-26 10:21:22 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-12-26 10:21:22 +0000 |
commit | 122e6d5ec5d0bbf74b5ca4e506a0a3597331a2fd (patch) | |
tree | 559c221e64634b3eae07bea4147428ca9a3a42a7 /www/seamonkey/files/patch-extensions::transformiix::source::base::Double.cpp | |
parent | Update to 1.1.1. (diff) |
Update to 0.9.7.
Notes
Notes:
svn path=/head/; revision=52192
Diffstat (limited to 'www/seamonkey/files/patch-extensions::transformiix::source::base::Double.cpp')
-rw-r--r-- | www/seamonkey/files/patch-extensions::transformiix::source::base::Double.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/www/seamonkey/files/patch-extensions::transformiix::source::base::Double.cpp b/www/seamonkey/files/patch-extensions::transformiix::source::base::Double.cpp new file mode 100644 index 000000000000..24608f0b4c99 --- /dev/null +++ b/www/seamonkey/files/patch-extensions::transformiix::source::base::Double.cpp @@ -0,0 +1,26 @@ + +$FreeBSD$ + +--- extensions/transformiix/source/base/Double.cpp.orig Sat Nov 24 00:36:13 2001 ++++ extensions/transformiix/source/base/Double.cpp Tue Dec 25 15:19:42 2001 +@@ -41,7 +41,7 @@ + #endif + //A trick to handle IEEE floating point exceptions on FreeBSD - E.D. + #ifdef __FreeBSD__ +-#include <floatingpoint.h> ++#include <ieeefp.h> + #endif + #ifndef TX_EXE + #include "prdtoa.h" +@@ -56,7 +56,11 @@ + + //A trick to handle IEEE floating point exceptions on FreeBSD - E.D. + #ifdef __FreeBSD__ ++#ifdef __alpha__ ++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|FP_X_DNML; ++#endif + fp_except_t oldmask = fpsetmask(~allmask); + #endif + |