__SANITIZE_ADDRESS__ needs to be defined to 1

This commit is contained in:
Ondřej Surý
2018-12-19 22:02:37 +01:00
parent 1a93e5bd3e
commit ff7c868f25

View File

@@ -208,7 +208,7 @@
/* GCC defines __SANITIZE_ADDRESS__, so reuse the macro for clang */
#if __has_feature(address_sanitizer)
#define __SANITIZE_ADDRESS__
#define __SANITIZE_ADDRESS__ 1
#endif
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR >= 6)