auto merge of #11299 : brson/rust/exp10, r=pcwalton

LLVM appears to generate calls to exp10 on ARM and bionic does not define it.

This makes code that links to libextra (which I guess does some exponentiation on the stat module) link correctly.
This commit is contained in:
bors 2014-01-04 09:02:05 -08:00
commit d86cb6a39f
1 changed files with 5 additions and 0 deletions

View File

@ -28,6 +28,11 @@ double log2( double n )
return log( n ) / log( 2 );
}
double exp10( double x )
{
return pow( 10, x );
}
void telldir()
{
}