diff options
Diffstat (limited to 'tests/stdatomic_test.cpp')
-rw-r--r-- | tests/stdatomic_test.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/stdatomic_test.cpp b/tests/stdatomic_test.cpp index a9665d18e..d122d2f39 100644 --- a/tests/stdatomic_test.cpp +++ b/tests/stdatomic_test.cpp @@ -15,14 +15,9 @@ */ #include <gtest/gtest.h> - -#if defined(__ANDROID__) -#include <bits/stdatomic.h> -#else -#undef _USING_LIBCXX //TODO(b/137876753): Remove this +// Fool stdatomic.h into not using <atomic>. +#undef _USING_LIBCXX #include <stdatomic.h> -#endif - #include <pthread.h> #include <stdint.h> |