From f58a1f65e74686b7a59ae2fa849ce4c70d520e89 Mon Sep 17 00:00:00 2001 From: Alexander Belyaev Date: Mon, 19 Jul 2021 14:17:13 +0200 Subject: [PATCH] [rt][nfc] Rewrite #ifndef as #if defined(). --- compiler-rt/lib/gwp_asan/tests/backtrace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/gwp_asan/tests/backtrace.cpp b/compiler-rt/lib/gwp_asan/tests/backtrace.cpp index 7a3427e..a4eb8eb 100644 --- a/compiler-rt/lib/gwp_asan/tests/backtrace.cpp +++ b/compiler-rt/lib/gwp_asan/tests/backtrace.cpp @@ -46,7 +46,7 @@ TEST_F(BacktraceGuardedPoolAllocatorDeathTest, DoubleFree) { } TEST_F(BacktraceGuardedPoolAllocatorDeathTest, UseAfterFree) { -#ifdef __linux__ && __ARM_ARCH == 7 +#if defined(__linux__) && __ARM_ARCH == 7 // Incomplete backtrace on Armv7 Linux GTEST_SKIP(); #endif -- 2.7.4