mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
ircd::db: Sort feature defines.
This commit is contained in:
parent
c32e5c92ab
commit
1e788c09f3
1 changed files with 14 additions and 14 deletions
|
@ -8,37 +8,37 @@
|
||||||
// copyright notice and this permission notice is present in all copies. The
|
// copyright notice and this permission notice is present in all copies. The
|
||||||
// full license for this software is available in the LICENSE file.
|
// full license for this software is available in the LICENSE file.
|
||||||
|
|
||||||
|
#if ROCKSDB_MAJOR > 5 \
|
||||||
|
|| (ROCKSDB_MAJOR == 5 && ROCKSDB_MINOR >= 18)
|
||||||
|
#define IRCD_DB_HAS_ALLOCATOR
|
||||||
|
#endif
|
||||||
|
|
||||||
#if ROCKSDB_MAJOR > 6 \
|
#if ROCKSDB_MAJOR > 6 \
|
||||||
|| (ROCKSDB_MAJOR == 6 && ROCKSDB_MINOR > 1) \
|
|| (ROCKSDB_MAJOR == 6 && ROCKSDB_MINOR > 1) \
|
||||||
|| (ROCKSDB_MAJOR == 6 && ROCKSDB_MINOR == 1 && ROCKSDB_PATCH >= 1)
|
|| (ROCKSDB_MAJOR == 6 && ROCKSDB_MINOR == 1 && ROCKSDB_PATCH >= 1)
|
||||||
#define IRCD_DB_HAS_ENV_PRIO_USER
|
#define IRCD_DB_HAS_ENV_PRIO_USER
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if ROCKSDB_MAJOR > 6 \
|
||||||
|
|| (ROCKSDB_MAJOR == 6 && ROCKSDB_MINOR > 2) \
|
||||||
|
|| (ROCKSDB_MAJOR == 6 && ROCKSDB_MINOR == 2 && ROCKSDB_PATCH >= 2)
|
||||||
|
#define IRCD_DB_HAS_PERIODIC_COMPACTIONS
|
||||||
|
#endif
|
||||||
|
|
||||||
#if ROCKSDB_MAJOR > 6 \
|
#if ROCKSDB_MAJOR > 6 \
|
||||||
|| (ROCKSDB_MAJOR == 6 && ROCKSDB_MINOR > 3) \
|
|| (ROCKSDB_MAJOR == 6 && ROCKSDB_MINOR > 3) \
|
||||||
|| (ROCKSDB_MAJOR == 6 && ROCKSDB_MINOR == 3 && ROCKSDB_PATCH >= 6)
|
|| (ROCKSDB_MAJOR == 6 && ROCKSDB_MINOR == 3 && ROCKSDB_PATCH >= 6)
|
||||||
#define IRCD_DB_HAS_ENV_MULTIREAD
|
#define IRCD_DB_HAS_ENV_MULTIREAD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ROCKSDB_MAJOR > 6 \
|
|
||||||
|| (ROCKSDB_MAJOR == 6 && ROCKSDB_MINOR > 7) \
|
|
||||||
|| (ROCKSDB_MAJOR == 6 && ROCKSDB_MINOR == 7 && ROCKSDB_PATCH >= 3)
|
|
||||||
#define IRCD_DB_HAS_ENV_FILESYSTEM
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if ROCKSDB_MAJOR > 6 \
|
#if ROCKSDB_MAJOR > 6 \
|
||||||
|| (ROCKSDB_MAJOR == 6 && ROCKSDB_MINOR > 4) \
|
|| (ROCKSDB_MAJOR == 6 && ROCKSDB_MINOR > 4) \
|
||||||
|| (ROCKSDB_MAJOR == 6 && ROCKSDB_MINOR == 4 && ROCKSDB_PATCH >= 6)
|
|| (ROCKSDB_MAJOR == 6 && ROCKSDB_MINOR == 4 && ROCKSDB_PATCH >= 6)
|
||||||
#define IRCD_DB_HAS_CACHE_GETCHARGE
|
#define IRCD_DB_HAS_CACHE_GETCHARGE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ROCKSDB_MAJOR > 5 \
|
|
||||||
|| (ROCKSDB_MAJOR == 5 && ROCKSDB_MINOR >= 18)
|
|
||||||
#define IRCD_DB_HAS_ALLOCATOR
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if ROCKSDB_MAJOR > 6 \
|
#if ROCKSDB_MAJOR > 6 \
|
||||||
|| (ROCKSDB_MAJOR == 6 && ROCKSDB_MINOR > 2) \
|
|| (ROCKSDB_MAJOR == 6 && ROCKSDB_MINOR > 7) \
|
||||||
|| (ROCKSDB_MAJOR == 6 && ROCKSDB_MINOR == 2 && ROCKSDB_PATCH >= 2)
|
|| (ROCKSDB_MAJOR == 6 && ROCKSDB_MINOR == 7 && ROCKSDB_PATCH >= 3)
|
||||||
#define IRCD_DB_HAS_PERIODIC_COMPACTIONS
|
#define IRCD_DB_HAS_ENV_FILESYSTEM
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue