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

View file

@ -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.