[rt][nfc] Rewrite #ifndef as #if defined().
authorAlexander Belyaev <pifon@google.com>
Mon, 19 Jul 2021 12:17:13 +0000 (14:17 +0200)
committerAlexander Belyaev <pifon@google.com>
Mon, 19 Jul 2021 12:17:13 +0000 (14:17 +0200)
compiler-rt/lib/gwp_asan/tests/backtrace.cpp

index 7a3427ed85d2325e6f2b041f18020a0f5a4f0cc9..a4eb8eb9b214d28323c79efd777c5106dcecfcdb 100644 (file)
@@ -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