mirror of
https://github.com/isar/libmdbx.git
synced 2025-08-26 10:04:28 +08:00
mdbx: добавление MDBX_VERSION_UNSTABLE
и маркировка master
-ветки для предотвращения ошибок сборки.
This commit is contained in:
@@ -3,11 +3,16 @@
|
||||
|
||||
#include "internals.h"
|
||||
|
||||
#if MDBX_VERSION_MAJOR != ${MDBX_VERSION_MAJOR} || MDBX_VERSION_MINOR != ${MDBX_VERSION_MINOR}
|
||||
#if !defined(MDBX_VERSION_UNSTABLE) && \
|
||||
(MDBX_VERSION_MAJOR != ${MDBX_VERSION_MAJOR} || MDBX_VERSION_MINOR != ${MDBX_VERSION_MINOR})
|
||||
#error "API version mismatch! Had `git fetch --tags` done?"
|
||||
#endif
|
||||
|
||||
static const char sourcery[] = MDBX_STRINGIFY(MDBX_BUILD_SOURCERY);
|
||||
static const char sourcery[] =
|
||||
#ifdef MDBX_VERSION_UNSTABLE
|
||||
"UNSTABLE@"
|
||||
#endif
|
||||
MDBX_STRINGIFY(MDBX_BUILD_SOURCERY);
|
||||
|
||||
__dll_export
|
||||
#ifdef __attribute_used__
|
||||
|
Reference in New Issue
Block a user