mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-28 03:18:48 +08:00
mdbx: добавление проверки и использования __deprecated_enum
.
This commit is contained in:
parent
aa3b39d9ed
commit
652587b33f
4
mdbx.h
4
mdbx.h
@ -341,7 +341,9 @@ typedef mode_t mdbx_mode_t;
|
||||
#endif /* MDBX_DEPRECATED */
|
||||
|
||||
#ifndef MDBX_DEPRECATED_ENUM
|
||||
#if !defined(DOXYGEN) && \
|
||||
#ifdef __deprecated_enum
|
||||
#define MDBX_DEPRECATED_ENUM __deprecated_enum
|
||||
#elif defined(DOXYGEN) || \
|
||||
(!defined(_MSC_VER) || (defined(__cplusplus) && __cplusplus >= 201403L && \
|
||||
__has_cpp_attribute(deprecated) && \
|
||||
__has_cpp_attribute(deprecated) >= 201309L))
|
||||
|
Loading…
x
Reference in New Issue
Block a user