Restrict MSAN fixes to old clang versions

Bug: 448420960
Change-Id: Ia9cb762bc9f5d9415a28ddebaf39855c46a51768
This commit is contained in:
Vincent Rabaud
2025-10-09 10:19:04 +02:00
parent 64dce5d826
commit 9636d8e04f

View File

@@ -184,7 +184,8 @@
#endif
#if defined(__has_feature)
#if __has_feature(memory_sanitizer)
// Clang 21 should have all the MSAN fixes needed for WebP.
#if __has_feature(memory_sanitizer) && !LOCAL_CLANG_PREREQ(21, 0)
#define WEBP_MSAN
#endif
#endif