diff options
Diffstat (limited to 'src/include/mhd_options.h')
-rw-r--r-- | src/include/mhd_options.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/include/mhd_options.h b/src/include/mhd_options.h index 85ad6555..5a5b7fee 100644 --- a/src/include/mhd_options.h +++ b/src/include/mhd_options.h | |||
@@ -156,9 +156,12 @@ | |||
156 | #endif /* MHD_ASAN_ACTIVE */ | 156 | #endif /* MHD_ASAN_ACTIVE */ |
157 | 157 | ||
158 | #if defined(MHD_ASAN_ACTIVE) && defined(HAVE_SANITIZER_ASAN_INTERFACE_H) && \ | 158 | #if defined(MHD_ASAN_ACTIVE) && defined(HAVE_SANITIZER_ASAN_INTERFACE_H) && \ |
159 | (defined(FUNC_ATTR_PTRCOMPARE_WORKS) || defined(FUNC_ATTR_NOSANITIZE_WORKS)) | 159 | (defined(FUNC_PTRCOMPARE_CAST_WORKAROUND_WORKS) || \ |
160 | (defined(FUNC_ATTR_PTRCOMPARE_WORKS) && \ | ||
161 | defined(FUNC_ATTR_PTRSUBTRACT_WORKS)) || \ | ||
162 | defined(FUNC_ATTR_NOSANITIZE_WORKS)) | ||
160 | #ifndef MHD_ASAN_POISON_ACTIVE | 163 | #ifndef MHD_ASAN_POISON_ACTIVE |
161 | /* Manual ASAN poisoning could be used */ | 164 | /* User ASAN poisoning could be used */ |
162 | #warning User memory poisoning is not active | 165 | #warning User memory poisoning is not active |
163 | #endif /* ! MHD_ASAN_POISON_ACTIVE */ | 166 | #endif /* ! MHD_ASAN_POISON_ACTIVE */ |
164 | #else /* ! (MHD_ASAN_ACTIVE && HAVE_SANITIZER_ASAN_INTERFACE_H && | 167 | #else /* ! (MHD_ASAN_ACTIVE && HAVE_SANITIZER_ASAN_INTERFACE_H && |