commit | 3a5aeba4bda8b0977678021deed7aebeaa63ded1 | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Fri Sep 26 15:37:52 2014 -0700 |
committer | Dan Albert <danalbert@google.com> | Tue Sep 30 10:28:30 2014 -0700 |
tree | 631f9ac4e13ff3f71c2421b1ff92bc0dd3525990 | |
parent | d9898c5b8292b9eecc40a7819bfedb4e1a4fe041 [diff] [blame] |
Switch benchmarks and tests to libc++. Change-Id: I3b9c8f8c14a1e227e67ae1977cc29b0e8fccef5d
diff --git a/tests/stdatomic_test.cpp b/tests/stdatomic_test.cpp index b7fb19b..eb030bf 100644 --- a/tests/stdatomic_test.cpp +++ b/tests/stdatomic_test.cpp
@@ -14,8 +14,10 @@ * limitations under the License. */ -#include <stdatomic.h> #include <gtest/gtest.h> +// Fool stdatomic.h into not using <atomic>. +#undef _USING_LIBCXX +#include <stdatomic.h> #include <pthread.h> #include <stdint.h>