mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-26 07:30:54 +00:00
Fix travis-build error
Summary: Fix travis-build error
This commit is contained in:
parent
a486352e07
commit
beb74c14ca
|
@ -11,8 +11,12 @@ namespace rocksdb {
|
|||
|
||||
namespace {
|
||||
|
||||
double Log2(double n) {
|
||||
inline double Log2(double n) {
|
||||
#ifndef OS_ANDROID
|
||||
return log2(n);
|
||||
#else
|
||||
return log(n) / log(2);
|
||||
#endif
|
||||
}
|
||||
|
||||
// For now, always use 1-0 as level bytes multiplier.
|
||||
|
|
Loading…
Reference in a new issue