diff --git a/vpx_ports/mem.h b/vpx_ports/mem.h index 23e015191..2d49b7a06 100644 --- a/vpx_ports/mem.h +++ b/vpx_ports/mem.h @@ -53,10 +53,10 @@ #define __has_feature(x) 0 #endif // !defined(__has_feature) -#if __has_feature(address_sanitizer) || __SANITIZE_ADDRESS__ +#if __has_feature(address_sanitizer) || defined(__SANITIZE_ADDRESS__) #define VPX_WITH_ASAN 1 #else #define VPX_WITH_ASAN 0 -#endif // __has_feature(address_sanitizer) || __SANITIZE_ADDRESS +#endif // __has_feature(address_sanitizer) || defined(__SANITIZE_ADDRESS__) #endif // VPX_PORTS_MEM_H_