diff --git a/src/defs.h b/src/defs.h index 0dcfde66..7c3bc1d5 100644 --- a/src/defs.h +++ b/src/defs.h @@ -59,6 +59,14 @@ # define __has_builtin(x) (0) #endif +#ifndef __has_warning +# define __has_warning(x) (0) +#endif + +#ifndef __has_include +# define __has_include(x) (0) +#endif + #if __has_feature(thread_sanitizer) # define __SANITIZE_THREAD__ 1 #endif