mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-30 22:47:16 +08:00
mdbx: minor cleanup version-info.
Change-Id: I1c208af0264ed6254d942b29b9e0fc25a745f4e0
This commit is contained in:
parent
c6fc062cfd
commit
0f37ae56d8
4
mdbx.h
4
mdbx.h
@ -183,8 +183,8 @@ typedef struct mdbx_build_info {
|
||||
const char *flags;
|
||||
} mdbx_build_info;
|
||||
|
||||
extern LIBMDBX_API const struct mdbx_version_info mdbx_version;
|
||||
extern LIBMDBX_API const struct mdbx_build_info mdbx_build;
|
||||
extern LIBMDBX_API const mdbx_version_info mdbx_version;
|
||||
extern LIBMDBX_API const mdbx_build_info mdbx_build;
|
||||
|
||||
/* The name of the lock file in the DB environment */
|
||||
#define MDBX_LOCKNAME "/mdbx.lck"
|
||||
|
@ -21,7 +21,7 @@
|
||||
#define MDBX_VERSION_RELEASE 0
|
||||
#define MDBX_VERSION_REVISION 0
|
||||
|
||||
const struct mdbx_version_info mdbx_version = {
|
||||
/*LIBMDBX_EXPORTS*/ const mdbx_version_info mdbx_version = {
|
||||
MDBX_VERSION_MAJOR,
|
||||
MDBX_VERSION_MINOR,
|
||||
MDBX_VERSION_RELEASE,
|
||||
@ -29,6 +29,6 @@ const struct mdbx_version_info mdbx_version = {
|
||||
{"@MDBX_GIT_TIMESTAMP@", "@MDBX_GIT_TREE@", "@MDBX_GIT_COMMIT@",
|
||||
"@MDBX_GIT_DESCRIBE@"}};
|
||||
|
||||
const struct mdbx_build_info mdbx_build = {
|
||||
/*LIBMDBX_EXPORTS*/ const mdbx_build_info mdbx_build = {
|
||||
"@MDBX_BUILD_TIMESTAMP@", "@MDBX_BUILD_TAGRET@", "@MDBX_BUILD_OPTIONS@",
|
||||
"@MDBX_BUILD_COMPILER@", "@MDBX_BUILD_FLAGS@"};
|
||||
|
Loading…
x
Reference in New Issue
Block a user