mirror of https://github.com/facebook/rocksdb.git
oops - missed a spot
This commit is contained in:
parent
43c386b72e
commit
c28dd2a891
|
@ -1297,7 +1297,7 @@ class PosixEnv : public Env {
|
|||
}
|
||||
|
||||
bool SupportsFastAllocate(const std::string& path) {
|
||||
#ifdef OS_LINUX
|
||||
#ifdef ROCKSDB_FALLOCATE_PRESENT
|
||||
struct statfs s;
|
||||
if (statfs(path.c_str(), &s)){
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue