зеркало из https://github.com/mozilla/gecko-dev.git
Ifdef the rint function out for platforms other than Windows (temporary).
This commit is contained in:
Родитель
34f5ce7fc9
Коммит
47c30fe2fd
|
@ -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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче