mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Make kMajorVersion and kMinorVersion take version from version macros
This commit is contained in:
@@ -41,9 +41,8 @@ struct ColumnFamilyDescriptor {
|
||||
: name(_name), options(_options) {}
|
||||
};
|
||||
|
||||
// Update Makefile if you change these
|
||||
static const int kMajorVersion = 3;
|
||||
static const int kMinorVersion = 0;
|
||||
static const int kMajorVersion = __ROCKSDB_MAJOR__;
|
||||
static const int kMinorVersion = __ROCKSDB_MINOR__;
|
||||
|
||||
struct Options;
|
||||
struct ReadOptions;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
// Also update Makefile if you change these
|
||||
#define __ROCKSDB_MAJOR__ 3
|
||||
#define __ROCKSDB_MINOR__ 0
|
||||
#define __ROCKSDB_PATCH__ 0
|
||||
|
||||
Reference in New Issue
Block a user