Bug 352822 - "apps since MOZILLA_1_8_BRANCH don't build anymore on FreeBSD" (make some floating point exceptions static in txDouble.h) [p=jay@imagine27.com (Justin Grant) r+sr=sicking a1.9=schrep]

git-svn-id: svn://10.0.0.236/trunk@242602 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
reed%reedloden.com
2008-01-07 22:21:21 +00:00
parent cf9c2a7620
commit a5e802d4f0

View File

@@ -44,11 +44,11 @@
#ifdef __FreeBSD__
#include <ieeefp.h>
#ifdef __alpha__
fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP;
static 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;
static 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);
static fp_except_t oldmask = fpsetmask(~allmask);
#endif
/**