diff options
Diffstat (limited to 'libs/libmdbx/src/config.h')
-rw-r--r-- | libs/libmdbx/src/config.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/libs/libmdbx/src/config.h b/libs/libmdbx/src/config.h new file mode 100644 index 0000000000..cc79caf8ed --- /dev/null +++ b/libs/libmdbx/src/config.h @@ -0,0 +1,52 @@ +/* This is CMake-template for libmdbx's config.h + ******************************************************************************/ + +/* *INDENT-OFF* */ +/* clang-format off */ + +#define LTO_ENABLED +/* #undef MDBX_USE_VALGRIND */ +/* #undef ENABLE_GPROF */ +/* #undef ENABLE_GCOV */ +/* #undef ENABLE_ASAN */ +/* #undef MDBX_FORCE_ASSERTIONS */ + +/* Common */ +#define MDBX_TXN_CHECKOWNER 1 +#define MDBX_TXN_CHECKPID_AUTO +#ifndef MDBX_TXN_CHECKPID_AUTO +#define MDBX_TXN_CHECKPID 0 +#endif +#define MDBX_LOCKING_AUTO +#ifndef MDBX_LOCKING_AUTO +/* #undef MDBX_LOCKING */ +#endif +#define MDBX_TRUST_RTC_AUTO +#ifndef MDBX_TRUST_RTC_AUTO +#define MDBX_TRUST_RTC 0 +#endif + +/* Windows */ +#define MDBX_CONFIG_MANUAL_TLS_CALLBACK 1 +#define MDBX_AVOID_CRT 1 + +/* MacOS & iOS */ +#define MDBX_OSX_SPEED_INSTEADOF_DURABILITY 0 + +/* POSIX */ +#define MDBX_DISABLE_GNU_SOURCE 0 +/* #undef MDBX_USE_OFDLOCKS_AUTO */ +#ifndef MDBX_USE_OFDLOCKS_AUTO +#define MDBX_USE_OFDLOCKS 0 +#endif + +/* Build Info */ +#define MDBX_BUILD_TIMESTAMP "2020-04-25T08:31:34Z" +#define MDBX_BUILD_TARGET "x86_64-Windows" +/* #undef MDBX_BUILD_TYPE */ +#define MDBX_BUILD_COMPILER "MSVC-19.25.28614.0" +#define MDBX_BUILD_FLAGS "/DWIN32 /D_WINDOWS /W3 /Gy /W4 /utf-8 /WX /GL MDBX_BUILD_SHARED_LIBRARY=0" +#define MDBX_BUILD_SOURCERY 51d296e8c57b5c01204315d0ea2160b23cf3eb40509644354cc038e3f67d61d4_v0_7_0_39_gca8fa31 + +/* *INDENT-ON* */ +/* clang-format on */ |