diff --git a/libxml.h b/libxml.h index 2f72e0ac..8d6b43a3 100644 --- a/libxml.h +++ b/libxml.h @@ -53,7 +53,7 @@ #endif #if defined(__clang__) || \ - (defined(__GNUC__) && (__GNUC__ >= 8)) + (defined(__GNUC__) && (__GNUC__ >= 8) && !defined(__EDG__)) #define ATTRIBUTE_NO_SANITIZE(arg) __attribute__((no_sanitize(arg))) #else #define ATTRIBUTE_NO_SANITIZE(arg)