From 440dd74edb3cdfed72342448a48aac4188445e04 Mon Sep 17 00:00:00 2001 From: "Peter.VanderBeken%pandora.be" Date: Tue, 2 May 2000 21:53:37 +0000 Subject: [PATCH] Ifdef the rint function out for platforms other than Windows (temporary). Not part of build yet. a=leaf git-svn-id: svn://10.0.0.236/trunk@67916 18797224-902f-48f8-a5cc-f745e15eee43 --- .../extensions/transformiix/source/xpath/NumberFunctionCall.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mozilla/extensions/transformiix/source/xpath/NumberFunctionCall.cpp b/mozilla/extensions/transformiix/source/xpath/NumberFunctionCall.cpp index 847f9f1cd07..5c4cce68b50 100644 --- a/mozilla/extensions/transformiix/source/xpath/NumberFunctionCall.cpp +++ b/mozilla/extensions/transformiix/source/xpath/NumberFunctionCall.cpp @@ -60,6 +60,7 @@ NumberFunctionCall::NumberFunctionCall(short type) : FunctionCall() { } } //-- NumberFunctionCall +#ifdef WINDOWS static double rint(double r) { double integerPart = 0; @@ -70,6 +71,7 @@ static double rint(double r) return integerPart; } +#endif /** * Evaluates this Expr based on the given context node and processor state