summaryrefslogtreecommitdiff
path: root/vpx_ports
diff options
context:
space:
mode:
authorJohann <johannkoenig@google.com>2016-08-26 17:52:47 -0700
committerJohann <johannkoenig@google.com>2016-08-31 22:59:53 -0700
commit42ccd79b27fbeda4e246a326e6fe19af2815ad12 (patch)
tree8a9b48f81c5ae5d660db6848813660dc3fa1fca4 /vpx_ports
parenta19b9b618522fd02a3dfe99a72f3daddcae1ec03 (diff)
downloadlibvpx-42ccd79b27fbeda4e246a326e6fe19af2815ad12.tar
libvpx-42ccd79b27fbeda4e246a326e6fe19af2815ad12.tar.gz
libvpx-42ccd79b27fbeda4e246a326e6fe19af2815ad12.tar.bz2
libvpx-42ccd79b27fbeda4e246a326e6fe19af2815ad12.zip
Fix -Wundef warning for __SANITIZE_ADDRESS__
BUG=webm:1069 Change-Id: Iad8811939a910a8f31cf5788220712a255ddf36a
Diffstat (limited to 'vpx_ports')
-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_