]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
__SANITIZE_ADDRESS__ needs to be defined to 1
authorOndřej Surý <ondrej@sury.org>
Wed, 19 Dec 2018 21:02:37 +0000 (22:02 +0100)
committerOndřej Surý <ondrej@sury.org>
Wed, 19 Dec 2018 23:15:59 +0000 (00:15 +0100)
(cherry picked from commit ff7c868f25f109ddfcef254cc0d6803ce40097b1)

lib/isc/include/isc/util.h

index df32569d560dbf34209af447a594f9781da4e16d..7cb9687342668a3c9121cf5e09a763e4a3fc1ed5 100644 (file)
 
 /* GCC defines __SANITIZE_ADDRESS__, so reuse the macro for clang */
 #if __has_feature(address_sanitizer)
-#define __SANITIZE_ADDRESS__
+#define __SANITIZE_ADDRESS__ 1
 #endif
 
 #ifdef UNIT_TESTING