Add check for clang to cairo attribute handling code

This commit is contained in:
Ryan VanderMeulen 2025-02-25 11:13:44 -05:00
parent 0bf0265009
commit ef42ed0ec8

View file

@ -148,7 +148,7 @@
#define unlikely(expr) (expr)
#endif
#if !defined(__GNUC__)
#if !defined(__GNUC__) && !defined (__clang__)
#undef __attribute__
#define __attribute__(x)
#endif