From a5e802d4f04ba8a55390fcaa695926ffa497d149 Mon Sep 17 00:00:00 2001 From: "reed%reedloden.com" Date: Mon, 7 Jan 2008 22:21:21 +0000 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] git-svn-id: svn://10.0.0.236/trunk@242602 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/xslt/public/txDouble.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mozilla/content/xslt/public/txDouble.h b/mozilla/content/xslt/public/txDouble.h index 14770ac0e13..2708ada97ab 100644 --- a/mozilla/content/xslt/public/txDouble.h +++ b/mozilla/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 /**