We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cd8590 commit 98dfe51Copy full SHA for 98dfe51
src/base/emu-i386/simx86/interval-tree.c
@@ -33,6 +33,9 @@
33
* On some architectures, qatomic_set_mb is more efficient than a store
34
* plus a fence.
35
*/
36
+#ifndef __has_feature
37
+#define __has_feature(x) 0 /* compatibility with non-clang compilers */
38
+#endif
39
#if defined(__SANITIZE_THREAD__) || __has_feature(thread_sanitizer)
40
# define SANITIZE_THREAD 1
41
#endif
0 commit comments