mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
gcc defines __SANITIZE_ADDRESS__ and not __ADDRESS_SANITIZER__, use the correct #define
This commit is contained in:
@@ -206,9 +206,9 @@
|
||||
#define __has_feature(x) 0
|
||||
#endif
|
||||
|
||||
/* GCC defines __ADDRESS_SANITIZER__, so reuse the macro for clang */
|
||||
/* GCC defines __SANITIZE_ADDRESS__, so reuse the macro for clang */
|
||||
#if __has_feature(address_sanitizer)
|
||||
#define __ADDRESS_SANITIZER__
|
||||
#define __SANITIZE_ADDRESS__
|
||||
#endif
|
||||
|
||||
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR >= 6)
|
||||
|
Reference in New Issue
Block a user