Fix travis-build error

Summary:
Fix travis-build error
This commit is contained in:
Yueh-Hsuan Chiang 2014-11-26 09:39:11 -08:00
parent a486352e07
commit beb74c14ca
1 changed files with 5 additions and 1 deletions

View File

@ -11,8 +11,12 @@ namespace rocksdb {
namespace { namespace {
double Log2(double n) { inline double Log2(double n) {
#ifndef OS_ANDROID
return log2(n);
#else
return log(n) / log(2); return log(n) / log(2);
#endif
} }
// For now, always use 1-0 as level bytes multiplier. // For now, always use 1-0 as level bytes multiplier.