mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
Ifdef the rint function out for platforms other than Windows (temporary).
This commit is contained in:
parent
80719a03c9
commit
0924c6ea33
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user