mdbx: ликвидация ошибочной зависимости от удаленной опции MDBX_ENABLE_PREFAULT.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2023-10-29 12:20:54 +03:00
parent 080875cd6d
commit ed8c7ead4e
2 changed files with 8 additions and 2 deletions

View File

@@ -96,8 +96,7 @@
/** Controls using Unix' mincore() to determine whether DB-pages
* are resident in memory. */
#ifndef MDBX_ENABLE_MINCORE
#if MDBX_ENABLE_PREFAULT && \
(defined(MINCORE_INCORE) || !(defined(_WIN32) || defined(_WIN64)))
#if defined(MINCORE_INCORE) || !(defined(_WIN32) || defined(_WIN64))
#define MDBX_ENABLE_MINCORE 1
#else
#define MDBX_ENABLE_MINCORE 0