mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-30 03:44:13 +08:00
mdbx: add stubs for __has_warning and __has_include.
Change-Id: Ic037a38d254e6d986b84a5bfd48106e43cf80320
This commit is contained in:
parent
62603aeadc
commit
f76c5188fb
@ -59,6 +59,14 @@
|
|||||||
# define __has_builtin(x) (0)
|
# define __has_builtin(x) (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __has_warning
|
||||||
|
# define __has_warning(x) (0)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef __has_include
|
||||||
|
# define __has_include(x) (0)
|
||||||
|
#endif
|
||||||
|
|
||||||
#if __has_feature(thread_sanitizer)
|
#if __has_feature(thread_sanitizer)
|
||||||
# define __SANITIZE_THREAD__ 1
|
# define __SANITIZE_THREAD__ 1
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user