File tree 1 file changed +6
-9
lines changed 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -5,18 +5,15 @@ https://github.com/android/ndk/issues/1177
5
5
https://github.com/android/ndk/issues/1178
6
6
7
7
diff --git a/src/shims/atomic.h b/src/shims/atomic.h
8
- index c002e72..11fc485 100644
8
+ index bc232f1..d2e6921 100644
9
9
--- a/src/shims/atomic.h
10
10
+++ b/src/shims/atomic.h
11
- @@ -35,7 +35,11 @@
11
+ @@ -35,7 +35,7 @@
12
12
#if defined(__cplusplus)
13
13
#define _Bool bool
14
14
#endif
15
- + #if defined(ANDROID) && __has_include(<bits/stdatomic.h>)
16
- + #include <bits/stdatomic.h>
17
- + #else
15
+ - #if defined(__ANDROID__) && __NDK_MAJOR__ >= 23
16
+ + #if defined(__ANDROID__) && __has_include(<bits/stdatomic.h>)
17
+ #include <bits/stdatomic.h>
18
+ #else
18
19
#include <stdatomic.h>
19
- + #endif
20
-
21
- #define memory_order_ordered memory_order_seq_cst
22
- #define memory_order_dependency memory_order_acquire
You can’t perform that action at this time.
0 commit comments