We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 047ba47 commit 9a0d391Copy full SHA for 9a0d391
newlib/libc/include/stdatomic.h
@@ -43,7 +43,8 @@
43
#include <stdint.h>
44
#endif
45
46
-#if __has_extension(c_atomic) || __has_extension(cxx_atomic)
+#if (__has_extension(c_atomic) || __has_extension(cxx_atomic)) && \
47
+ defined(__clang__)
48
#define __CLANG_ATOMICS
49
#elif __GNUC_PREREQ__(4, 7)
50
#define __GNUC_ATOMICS
0 commit comments