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…
x
Reference in New Issue
Block a user