summaryrefslogtreecommitdiff
path: root/vpx_ports/mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'vpx_ports/mem.h')
-rw-r--r--vpx_ports/mem.h4
1 files changed, 2 insertions, 2 deletions
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_