commit | e819a1d489e50ee0e70e859a88d77c3994530dc2 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Tue Oct 29 23:08:22 2024 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Oct 29 23:08:22 2024 +0000 |
tree | 6c44cbc41bc7af04266e52306c999108ad05e50a | |
parent | e7e85d9e0e31e54f1eab4d7a7aa2e91f91aec3c4 [diff] | |
parent | 5a7331a4d2913fb84e5667b964b6ea0be60482e7 [diff] |
Merge "Add more __BIONIC_AVAILABILITY_GUARD()." into main
diff --git a/tests/complex_test.cpp b/tests/complex_test.cpp index 8fdb2b2..ed0109a 100644 --- a/tests/complex_test.cpp +++ b/tests/complex_test.cpp
@@ -20,6 +20,9 @@ #if !defined(__INTRODUCED_IN) #define __INTRODUCED_IN(x) #endif +#if !defined(__BIONIC_AVAILABILITY_GUARD) +#define __BIONIC_AVAILABILITY_GUARD(x) 1 +#endif // libc++ actively gets in the way of including <complex.h> from C++, so we // have to be naughty.