2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Merge branch '787-set-the-clang-define-to-1' into 'master'

__SANITIZE_ADDRESS__ needs to be defined to 1

See merge request isc-projects/bind9!1262
This commit is contained in:
Ondřej Surý
2018-12-19 18:14:00 -05:00

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)