summaryrefslogtreecommitdiff
path: root/lib/builtins/atomic_flag_test_and_set_explicit.c
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2015-09-22 22:19:21 +0000
committerChris Bieneman <beanz@apple.com>2015-09-22 22:19:21 +0000
commit6404e3b5265a755d5f86a5a5f88e23ee7525f32e (patch)
treef41a9abddf83897dbd332f1be3c94da2f8e56141 /lib/builtins/atomic_flag_test_and_set_explicit.c
parent3c4ed73234869aff99528036c672cb06b7ec070d (diff)
downloadcompiler-rt-6404e3b5265a755d5f86a5a5f88e23ee7525f32e.tar.gz
[builtins] One more stab at fixing the bots.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@248330 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/builtins/atomic_flag_test_and_set_explicit.c')
-rw-r--r--lib/builtins/atomic_flag_test_and_set_explicit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/builtins/atomic_flag_test_and_set_explicit.c b/lib/builtins/atomic_flag_test_and_set_explicit.c
index cfc28cbde..5c8c2df90 100644
--- a/lib/builtins/atomic_flag_test_and_set_explicit.c
+++ b/lib/builtins/atomic_flag_test_and_set_explicit.c
@@ -12,6 +12,10 @@
*===------------------------------------------------------------------------===
*/
+#ifndef __has_include
+#define __has_include(inc) 0
+#endif
+
#if __has_include(<stdatomic.h>)
#include <stdatomic.h>