aboutsummaryrefslogtreecommitdiff
path: root/src/leveldb/util
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-12-13 02:23:05 +0100
committerGavin Andresen <gavinandresen@gmail.com>2013-01-23 10:41:44 -0500
commit8aef119f43ee3b4e75e0f3bd7ea28cf7b29bb582 (patch)
treeaf0e0dcf54dac2613d32708d25f899b3c78a5164 /src/leveldb/util
parent960797a0de24454ce0c8c15cbb26cb6fc7683e47 (diff)
Mingw support for Windows LevelDB port
Diffstat (limited to 'src/leveldb/util')
-rw-r--r--src/leveldb/util/env_posix.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leveldb/util/env_posix.cc b/src/leveldb/util/env_posix.cc
index 78e09c95c9..db81f56d11 100644
--- a/src/leveldb/util/env_posix.cc
+++ b/src/leveldb/util/env_posix.cc
@@ -1,6 +1,7 @@
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
+#if !defined(LEVELDB_PLATFORM_WINDOWS)
#include <deque>
#include <set>
@@ -696,3 +697,5 @@ Env* Env::Default() {
}
} // namespace leveldb
+
+#endif