1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-19 14:50:07 +03:00

Avoid using no_sanitize attribute on EDG even if compiler shows as GCC

This commit is contained in:
makise-homura 2023-11-08 23:52:27 +03:00 committed by Igor Molchanov
parent f3c24112d3
commit f8394adf14

View File

@ -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)