Block plain_table_index.cc in ROCKSDB_LITE

Summary: Block plain_table_index.cc in ROCKSDB_LITE

Test Plan:
make clean
make OPT=-DROCKSDB_LITE shared_lib -j32
make clean
make shared_lib -j32

Reviewers: ljin, igor

Reviewed By: igor

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D29535
This commit is contained in:
Yueh-Hsuan Chiang 2014-11-24 20:47:27 -08:00
parent 13de000f07
commit 7e608e2fe3
2 changed files with 8 additions and 0 deletions

View File

@ -3,6 +3,8 @@
// LICENSE file in the root directory of this source tree. An additional grant // LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory. // of patent rights can be found in the PATENTS file in the same directory.
#ifndef ROCKSDB_LITE
#ifndef __STDC_FORMAT_MACROS #ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS #define __STDC_FORMAT_MACROS
#endif #endif
@ -209,3 +211,5 @@ Slice PlainTableIndexBuilder::FillIndexes(
const std::string PlainTableIndexBuilder::kPlainTableIndexBlock = const std::string PlainTableIndexBuilder::kPlainTableIndexBlock =
"PlainTableIndexBlock"; "PlainTableIndexBlock";
}; // namespace rocksdb }; // namespace rocksdb
#endif // ROCKSDB_LITE

View File

@ -5,6 +5,8 @@
#pragma once #pragma once
#ifndef ROCKSDB_LITE
#include <string> #include <string>
#include <vector> #include <vector>
@ -219,3 +221,5 @@ class PlainTableIndexBuilder {
}; };
}; // namespace rocksdb }; // namespace rocksdb
#endif // ROCKSDB_LITE