diff options
Diffstat (limited to 'tests/mte_test.cpp')
-rw-r--r-- | tests/mte_test.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/mte_test.cpp b/tests/mte_test.cpp index 8928805e5..ff8cde6ff 100644 --- a/tests/mte_test.cpp +++ b/tests/mte_test.cpp @@ -14,6 +14,10 @@ * limitations under the License. */ +#include <sys/cdefs.h> + +#if defined(__BIONIC__) + #include <gtest/gtest.h> #include <android-base/macros.h> @@ -46,3 +50,5 @@ static void test_tag_mismatch() { TEST(mte_test, ScopedDisableMTE) { test_tag_mismatch(); } + +#endif // __BIONIC__ |