mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
rt: Define exp10 on Android
LLVM appears to generate calls to exp10 on ARM and bionic does not define it.
This commit is contained in:
parent
a1cb8dc30c
commit
bc78d86985
@ -28,6 +28,11 @@ double log2( double n )
|
||||
return log( n ) / log( 2 );
|
||||
}
|
||||
|
||||
double exp10( double x )
|
||||
{
|
||||
return pow( 10, x );
|
||||
}
|
||||
|
||||
void telldir()
|
||||
{
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user