mirror of
https://gitflic.ru/project/erthink/libmdbx.git
synced 2025-06-10 06:31:34 +00:00
mdbx++: проверка __cpp_concepts >= 202002
для использования концептов C++ (backport).
This commit is contained in:
parent
c457804fad
commit
5f37ea60d2
2
mdbx.h++
2
mdbx.h++
@ -243,7 +243,7 @@
|
||||
#endif /* MDBX_CXX20_UNLIKELY */
|
||||
|
||||
#ifndef MDBX_HAVE_CXX20_CONCEPTS
|
||||
#if defined(__cpp_lib_concepts) && __cpp_lib_concepts >= 202002L
|
||||
#if defined(__cpp_concepts) && __cpp_concepts >= 202002L && defined(__cpp_lib_concepts) && __cpp_lib_concepts >= 202002L
|
||||
#include <concepts>
|
||||
#define MDBX_HAVE_CXX20_CONCEPTS 1
|
||||
#elif defined(DOXYGEN)
|
||||
|
Loading…
Reference in New Issue
Block a user