Fix -Wundef warning for __SANITIZE_ADDRESS__

BUG=webm:1069

Change-Id: Iad8811939a910a8f31cf5788220712a255ddf36a
This commit is contained in:
Johann 2016-08-26 17:52:47 -07:00
parent a19b9b6185
commit 42ccd79b27

View File

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