From b9d8e6261601519ebd1748683d1f3ec195e8f061 Mon Sep 17 00:00:00 2001 From: "axel%pike.org" Date: Tue, 11 Jul 2000 09:47:37 +0000 Subject: [PATCH] Use own impl of rint for windows and platforms without one, not on mac not part of build git-svn-id: svn://10.0.0.236/trunk@74003 18797224-902f-48f8-a5cc-f745e15eee43 --- .../transformiix/source/xpath/NumberFunctionCall.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/extensions/transformiix/source/xpath/NumberFunctionCall.cpp b/mozilla/extensions/transformiix/source/xpath/NumberFunctionCall.cpp index 1a0116fb89d..3337e201191 100644 --- a/mozilla/extensions/transformiix/source/xpath/NumberFunctionCall.cpp +++ b/mozilla/extensions/transformiix/source/xpath/NumberFunctionCall.cpp @@ -25,7 +25,7 @@ * Nisheeth Ranjan, nisheeth@netscape.com * -- implemented rint function, which was not available on Windows. * - * $Id: NumberFunctionCall.cpp,v 1.6 2000-06-11 12:23:08 Peter.VanderBeken%pandora.be Exp $ + * $Id: NumberFunctionCall.cpp,v 1.7 2000-07-11 09:47:37 axel%pike.org Exp $ */ /* @@ -65,7 +65,7 @@ NumberFunctionCall::NumberFunctionCall(short type) : FunctionCall() { } } //-- NumberFunctionCall -#ifdef WINDOWS +#if !defined(HAVE_RINT) && !defined(XP_MAC) static double rint(double r) { double integerPart = 0;