mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-30 03:44:13 +08:00
mdbx++: declare mdbx::filesystem
if available.
This commit is contained in:
parent
68ac48235e
commit
39a4a89650
6
mdbx.h++
6
mdbx.h++
@ -325,10 +325,12 @@ using filehandle = ::mdbx_filehandle_t;
|
|||||||
__MAC_OS_X_VERSION_MIN_REQUIRED >= 101500) && \
|
__MAC_OS_X_VERSION_MIN_REQUIRED >= 101500) && \
|
||||||
(!defined(__IPHONE_OS_VERSION_MIN_REQUIRED) || \
|
(!defined(__IPHONE_OS_VERSION_MIN_REQUIRED) || \
|
||||||
__IPHONE_OS_VERSION_MIN_REQUIRED >= 130100))
|
__IPHONE_OS_VERSION_MIN_REQUIRED >= 130100))
|
||||||
#define MDBX_STD_FILESYSTEM_PATH ::std::filesystem::path
|
namespace filesystem = ::std::filesystem;
|
||||||
|
#define MDBX_STD_FILESYSTEM_PATH ::mdbx::filesystem::path
|
||||||
#elif defined(__cpp_lib_experimental_filesystem) && \
|
#elif defined(__cpp_lib_experimental_filesystem) && \
|
||||||
__cpp_lib_experimental_filesystem >= 201406L
|
__cpp_lib_experimental_filesystem >= 201406L
|
||||||
#define MDBX_STD_FILESYSTEM_PATH ::std::experimental::filesystem::path
|
namespace filesystem = ::std::experimental::filesystem;
|
||||||
|
#define MDBX_STD_FILESYSTEM_PATH ::mdbx::filesystem::path
|
||||||
#endif /* MDBX_STD_FILESYSTEM_PATH */
|
#endif /* MDBX_STD_FILESYSTEM_PATH */
|
||||||
|
|
||||||
#ifdef MDBX_STD_FILESYSTEM_PATH
|
#ifdef MDBX_STD_FILESYSTEM_PATH
|
||||||
|
Loading…
x
Reference in New Issue
Block a user