2 commits - src/cairo-compiler-private.h
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Jul 5 09:02:32 UTC 2025
src/cairo-compiler-private.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 55cb75c4dfb0dca0c55e238b2cab514c49ab3472
Merge: 217501df9 ef42ed0ec
Author: Uli Schlachter <psychon at znc.in>
Date: Sat Jul 5 09:02:29 2025 +0000
Merge branch 'winsdk_26100_fix' into 'master'
Add check for clang to cairo attribute handling code
See merge request cairo/cairo!612
commit ef42ed0ec8567f5b353f99cd03ea2275305ed06a
Author: Ryan VanderMeulen <rvandermeulen at mozilla.com>
Date: Tue Feb 25 11:13:44 2025 -0500
Add check for clang to cairo attribute handling code
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
More information about the cairo-commit
mailing list