mdbx: по-умолчанию MDBX_ENABLE_BIGFOOT=1 вне зависимости от разрядности платформы.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2024-09-09 00:09:17 +03:00
parent fcc4748f23
commit c69f23ed70

View File

@ -123,11 +123,7 @@
/** Enables chunking long list of retired pages during huge transactions commit /** Enables chunking long list of retired pages during huge transactions commit
* to avoid use sequences of pages. */ * to avoid use sequences of pages. */
#ifndef MDBX_ENABLE_BIGFOOT #ifndef MDBX_ENABLE_BIGFOOT
#if MDBX_WORDBITS >= 64 || defined(DOXYGEN)
#define MDBX_ENABLE_BIGFOOT 1 #define MDBX_ENABLE_BIGFOOT 1
#else
#define MDBX_ENABLE_BIGFOOT 0
#endif
#elif !(MDBX_ENABLE_BIGFOOT == 0 || MDBX_ENABLE_BIGFOOT == 1) #elif !(MDBX_ENABLE_BIGFOOT == 0 || MDBX_ENABLE_BIGFOOT == 1)
#error MDBX_ENABLE_BIGFOOT must be defined as 0 or 1 #error MDBX_ENABLE_BIGFOOT must be defined as 0 or 1
#endif /* MDBX_ENABLE_BIGFOOT */ #endif /* MDBX_ENABLE_BIGFOOT */