From c28dd2a891cd1fe032c943798f5809bc087070f6 Mon Sep 17 00:00:00 2001 From: James Golick Date: Wed, 11 Dec 2013 11:18:00 -0800 Subject: [PATCH] oops - missed a spot --- util/env_posix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/env_posix.cc b/util/env_posix.cc index e81c59dcc..2be524e95 100644 --- a/util/env_posix.cc +++ b/util/env_posix.cc @@ -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;