shithub: libvpx

Download patch

ref: 42ccd79b27fbeda4e246a326e6fe19af2815ad12
parent: a19b9b618522fd02a3dfe99a72f3daddcae1ec03
author: Johann <[email protected]>
date: Fri Aug 26 13:52:47 EDT 2016

Fix -Wundef warning for __SANITIZE_ADDRESS__

BUG=webm:1069

Change-Id: Iad8811939a910a8f31cf5788220712a255ddf36a

--- 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_