mdbx: add stubs for __has_warning and __has_include.

Change-Id: Ic037a38d254e6d986b84a5bfd48106e43cf80320
This commit is contained in:
Leo Yuriev 2018-03-07 13:07:17 +03:00
parent 62603aeadc
commit f76c5188fb

View File

@ -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