From cb5f79bc8b2411bbef111c3c10e72d6edb52980b Mon Sep 17 00:00:00 2001 From: "reed@reedloden.com" Date: Mon, 7 Jan 2008 14:21:21 -0800 Subject: [PATCH] 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] --- content/xslt/public/txDouble.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/xslt/public/txDouble.h b/content/xslt/public/txDouble.h index 14770ac0e133..2708ada97ab6 100644 --- a/content/xslt/public/txDouble.h +++ b/content/xslt/public/txDouble.h @@ -44,11 +44,11 @@ #ifdef __FreeBSD__ #include #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 /**