[libc] Use more consistent if defined syntax
authorGuillaume Chatelet <gchatelet@google.com>
Wed, 17 Nov 2021 15:14:06 +0000 (15:14 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Wed, 17 Nov 2021 15:16:28 +0000 (15:16 +0000)
libc/test/src/string/memory_utils/elements_test.cpp

index 0f5f460..b081a28 100644 (file)
@@ -14,10 +14,10 @@ namespace __llvm_libc {
 
 // Registering Types
 using FixedSizeTypes = testing::TypeList<
-#ifdef __SSE2__
+#if defined(__SSE2__)
     x86::Vector128, //
 #endif              // __SSE2__
-#ifdef __AVX2__
+#if defined(__AVX2__)
     x86::Vector256, //
 #endif              // __AVX2__
 #if defined(__AVX512F__) and defined(__AVX512BW__)