summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorcostan <costan@google.com>2018-03-16 19:10:13 -0700
committerVictor Costan <pwnall@chromium.org>2018-03-16 19:17:27 -0700
commit739c25100e46576cdcdfff2d6f43f9f7008103c7 (patch)
tree92fc9ecdd918383f73983cfb3e81dbc5bce8a901 /helpers
parent0fa5a4f7b1ad9dc16b705bcad1f3ca913f187325 (diff)
downloadleveldb-739c25100e46576cdcdfff2d6f43f9f7008103c7.tar.gz
Add CMake build support.
Fixes https://github.com/google/leveldb/issues/466 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189425354
Diffstat (limited to 'helpers')
-rw-r--r--helpers/memenv/memenv.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/helpers/memenv/memenv.h b/helpers/memenv/memenv.h
index 03b88de..3d929e4 100644
--- a/helpers/memenv/memenv.h
+++ b/helpers/memenv/memenv.h
@@ -5,6 +5,8 @@
#ifndef STORAGE_LEVELDB_HELPERS_MEMENV_MEMENV_H_
#define STORAGE_LEVELDB_HELPERS_MEMENV_MEMENV_H_
+#include "leveldb/export.h"
+
namespace leveldb {
class Env;
@@ -13,7 +15,7 @@ class Env;
// all non-file-storage tasks to base_env. The caller must delete the result
// when it is no longer needed.
// *base_env must remain live while the result is in use.
-Env* NewMemEnv(Env* base_env);
+LEVELDB_EXPORT Env* NewMemEnv(Env* base_env);
} // namespace leveldb