Ifdef the rint function out for platforms other than Windows (temporary).

This commit is contained in:
Peter.VanderBeken%pandora.be 2005-11-02 07:34:40 +00:00
Родитель 34f5ce7fc9
Коммит 47c30fe2fd
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -60,6 +60,7 @@ NumberFunctionCall::NumberFunctionCall(short type) : FunctionCall() {
} }
} //-- NumberFunctionCall } //-- NumberFunctionCall
#ifdef WINDOWS
static double rint(double r) static double rint(double r)
{ {
double integerPart = 0; double integerPart = 0;
@ -70,6 +71,7 @@ static double rint(double r)
return integerPart; return integerPart;
} }
#endif
/** /**
* Evaluates this Expr based on the given context node and processor state * Evaluates this Expr based on the given context node and processor state