mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-28 03:38:50 +08:00
mdbx: исправление потенциального повторного определения __has_exceptions_disabled
.
This commit is contained in:
parent
b6a851b3d6
commit
aa3b39d9ed
2
mdbx.h
2
mdbx.h
@ -222,7 +222,7 @@ typedef mode_t mdbx_mode_t;
|
||||
#ifndef __has_feature
|
||||
#define __has_feature(x) (0)
|
||||
#define __has_exceptions_disabled (0)
|
||||
#else
|
||||
#elif !defined(__has_exceptions_disabled)
|
||||
#define __has_exceptions_disabled \
|
||||
(__has_feature(cxx_noexcept) && !__has_feature(cxx_exceptions))
|
||||
#endif /* __has_feature */
|
||||
|
Loading…
x
Reference in New Issue
Block a user