From ef42ed0ec8567f5b353f99cd03ea2275305ed06a Mon Sep 17 00:00:00 2001 From: Ryan VanderMeulen Date: Tue, 25 Feb 2025 11:13:44 -0500 Subject: [PATCH] Add check for clang to cairo attribute handling code --- src/cairo-compiler-private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cairo-compiler-private.h b/src/cairo-compiler-private.h index a6ce2a8b8..6c3fea81c 100644 --- a/src/cairo-compiler-private.h +++ b/src/cairo-compiler-private.h @@ -148,7 +148,7 @@ #define unlikely(expr) (expr) #endif -#if !defined(__GNUC__) +#if !defined(__GNUC__) && !defined (__clang__) #undef __attribute__ #define __attribute__(x) #endif