diff options
author | dgrogan@chromium.org <dgrogan@chromium.org@62dab493-f737-651d-591e-8d6aee1b9529> | 2011-05-28 00:53:58 +0000 |
---|---|---|
committer | dgrogan@chromium.org <dgrogan@chromium.org@62dab493-f737-651d-591e-8d6aee1b9529> | 2011-05-28 00:53:58 +0000 |
commit | 740d8b3d009462eed28a94ea516d667e735b0dfc (patch) | |
tree | 83959c625c77d893b34d4306e478a5ba38804dc5 /util/cache.cc | |
parent | da7990950787257cb312ca562ce5977749afc3e9 (diff) | |
download | leveldb-740d8b3d009462eed28a94ea516d667e735b0dfc.tar.gz |
Update from upstream @21551990
* Patch LevelDB to build for OSX and iOS
* Fix race condition in memtable iterator deletion.
* Other small fixes.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@29 62dab493-f737-651d-591e-8d6aee1b9529
Diffstat (limited to 'util/cache.cc')
-rw-r--r-- | util/cache.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/cache.cc b/util/cache.cc index d8a4426..968e6a0 100644 --- a/util/cache.cc +++ b/util/cache.cc @@ -4,6 +4,8 @@ #if defined(LEVELDB_PLATFORM_POSIX) || defined(LEVELDB_PLATFORM_ANDROID) #include <unordered_set> +#elif defined(LEVELDB_PLATFORM_OSX) +#include <ext/hash_set> #elif defined(LEVELDB_PLATFORM_CHROMIUM) #include "base/hash_tables.h" #else |