mdbx++: fix using std::filesystem::path for iOS <= 13.0

Change-Id: I8f75e0698acfb9e0da325f5a3c1e2a513cb43e2e
This commit is contained in:
Leonid Yuriev 2021-05-08 00:21:12 +03:00
parent db4e2cec9c
commit 8e078fb708

View File

@ -208,7 +208,9 @@ using filehandle = ::mdbx_filehandle_t;
#if defined(DOXYGEN) || \
(defined(__cpp_lib_filesystem) && __cpp_lib_filesystem >= 201703L && \
(!defined(__MAC_OS_X_VERSION_MIN_REQUIRED) || \
__MAC_OS_X_VERSION_MIN_REQUIRED >= 101500))
__MAC_OS_X_VERSION_MIN_REQUIRED >= 101500) && \
(!defined(__IPHONE_OS_VERSION_MIN_REQUIRED) || \
__IPHONE_OS_VERSION_MIN_REQUIRED >= 130100))
#define MDBX_STD_FILESYSTEM_PATH
using path = ::std::filesystem::path;
#elif defined(_WIN32) || defined(_WIN64)