]> granicus.if.org Git - libvpx/commitdiff
Fix -Wundef warning for __SANITIZE_ADDRESS__
authorJohann <johannkoenig@google.com>
Sat, 27 Aug 2016 00:52:47 +0000 (17:52 -0700)
committerJohann <johannkoenig@google.com>
Thu, 1 Sep 2016 05:59:53 +0000 (22:59 -0700)
BUG=webm:1069

Change-Id: Iad8811939a910a8f31cf5788220712a255ddf36a

vpx_ports/mem.h

index 23e01519148e9f83e9c425eb755ef7f5e691c162..2d49b7a06d5b1245dcc7729c100e721e1f2c7db1 100644 (file)
 #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_