[compiler-rt] r248330 - [builtins] One more stab at fixing the bots.
Chris Bieneman via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 22 15:19:22 PDT 2015
Author: cbieneman
Date: Tue Sep 22 17:19:21 2015
New Revision: 248330
URL: http://llvm.org/viewvc/llvm-project?rev=248330&view=rev
Log:
[builtins] One more stab at fixing the bots.
Modified:
compiler-rt/trunk/lib/builtins/atomic_flag_clear.c
compiler-rt/trunk/lib/builtins/atomic_flag_clear_explicit.c
compiler-rt/trunk/lib/builtins/atomic_flag_test_and_set.c
compiler-rt/trunk/lib/builtins/atomic_flag_test_and_set_explicit.c
compiler-rt/trunk/lib/builtins/atomic_signal_fence.c
compiler-rt/trunk/lib/builtins/atomic_thread_fence.c
Modified: compiler-rt/trunk/lib/builtins/atomic_flag_clear.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/atomic_flag_clear.c?rev=248330&r1=248329&r2=248330&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/atomic_flag_clear.c (original)
+++ compiler-rt/trunk/lib/builtins/atomic_flag_clear.c Tue Sep 22 17:19:21 2015
@@ -12,6 +12,10 @@
*===------------------------------------------------------------------------===
*/
+#ifndef __has_include
+#define __has_include(inc) 0
+#endif
+
#if __has_include(<stdatomic.h>)
#include <stdatomic.h>
Modified: compiler-rt/trunk/lib/builtins/atomic_flag_clear_explicit.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/atomic_flag_clear_explicit.c?rev=248330&r1=248329&r2=248330&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/atomic_flag_clear_explicit.c (original)
+++ compiler-rt/trunk/lib/builtins/atomic_flag_clear_explicit.c Tue Sep 22 17:19:21 2015
@@ -12,6 +12,10 @@
*===------------------------------------------------------------------------===
*/
+#ifndef __has_include
+#define __has_include(inc) 0
+#endif
+
#if __has_include(<stdatomic.h>)
#include <stdatomic.h>
Modified: compiler-rt/trunk/lib/builtins/atomic_flag_test_and_set.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/atomic_flag_test_and_set.c?rev=248330&r1=248329&r2=248330&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/atomic_flag_test_and_set.c (original)
+++ compiler-rt/trunk/lib/builtins/atomic_flag_test_and_set.c Tue Sep 22 17:19:21 2015
@@ -12,6 +12,10 @@
*===------------------------------------------------------------------------===
*/
+#ifndef __has_include
+#define __has_include(inc) 0
+#endif
+
#if __has_include(<stdatomic.h>)
#include <stdatomic.h>
Modified: compiler-rt/trunk/lib/builtins/atomic_flag_test_and_set_explicit.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/atomic_flag_test_and_set_explicit.c?rev=248330&r1=248329&r2=248330&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/atomic_flag_test_and_set_explicit.c (original)
+++ compiler-rt/trunk/lib/builtins/atomic_flag_test_and_set_explicit.c Tue Sep 22 17:19:21 2015
@@ -12,6 +12,10 @@
*===------------------------------------------------------------------------===
*/
+#ifndef __has_include
+#define __has_include(inc) 0
+#endif
+
#if __has_include(<stdatomic.h>)
#include <stdatomic.h>
Modified: compiler-rt/trunk/lib/builtins/atomic_signal_fence.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/atomic_signal_fence.c?rev=248330&r1=248329&r2=248330&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/atomic_signal_fence.c (original)
+++ compiler-rt/trunk/lib/builtins/atomic_signal_fence.c Tue Sep 22 17:19:21 2015
@@ -12,6 +12,10 @@
*===------------------------------------------------------------------------===
*/
+#ifndef __has_include
+#define __has_include(inc) 0
+#endif
+
#if __has_include(<stdatomic.h>)
#include <stdatomic.h>
Modified: compiler-rt/trunk/lib/builtins/atomic_thread_fence.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/atomic_thread_fence.c?rev=248330&r1=248329&r2=248330&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/atomic_thread_fence.c (original)
+++ compiler-rt/trunk/lib/builtins/atomic_thread_fence.c Tue Sep 22 17:19:21 2015
@@ -12,6 +12,10 @@
*===------------------------------------------------------------------------===
*/
+#ifndef __has_include
+#define __has_include(inc) 0
+#endif
+
#if __has_include(<stdatomic.h>)
#include <stdatomic.h>
More information about the llvm-commits
mailing list