summaryrefslogtreecommitdiff
path: root/util/env_posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'util/env_posix.cc')
-rw-r--r--util/env_posix.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/env_posix.cc b/util/env_posix.cc
index a913329a8..712a8eca9 100644
--- a/util/env_posix.cc
+++ b/util/env_posix.cc
@@ -269,7 +269,7 @@ class PosixEnv : public Env {
// More info here: https://linux.die.net/man/2/pwrite
#ifdef ROCKSDB_LITE
return Status::IOError(fname, "Direct I/O not supported in RocksDB lite");
-#endif // !ROCKSDB_LITE
+#endif // ROCKSDB_LITE
flags |= O_WRONLY;
#ifndef OS_MACOSX
flags |= O_DIRECT;