mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Summary: Change namespace from leveldb to rocksdb. This allows a single application to link in open-source leveldb code as well as rocksdb code into the same process. Test Plan: compile rocksdb Reviewers: emayanke Reviewed By: emayanke CC: leveldb Differential Revision: https://reviews.facebook.net/D13287
18 lines
358 B
C++
18 lines
358 B
C++
#ifndef STORAGE_ROCKSDB_INCLUDE_TYPES_H_
|
|
#define STORAGE_ROCKSDB_INCLUDE_TYPES_H_
|
|
|
|
#include <stdint.h>
|
|
|
|
namespace rocksdb {
|
|
|
|
// Define all public custom types here.
|
|
|
|
// Represents a sequence number in a WAL file.
|
|
typedef uint64_t SequenceNumber;
|
|
|
|
} // namespace rocksdb
|
|
|
|
#include "rocksdb/rocksdb_to_leveldb.h"
|
|
|
|
#endif // STORAGE_ROCKSDB_INCLUDE_TYPES_H_
|