summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2025-07-05 09:02:29 +0000
committerUli Schlachter <psychon@znc.in>2025-07-05 09:02:29 +0000
commit55cb75c4dfb0dca0c55e238b2cab514c49ab3472 (patch)
tree0f94659956c8e325c67bacfbeb1f1da96611d5c2
parent217501df9c1d2aaaaad1d4ab01941e9364e34b28 (diff)
parentef42ed0ec8567f5b353f99cd03ea2275305ed06a (diff)
Merge branch 'winsdk_26100_fix' into 'master'HEADmaster
Add check for clang to cairo attribute handling code See merge request cairo/cairo!612
-rw-r--r--src/cairo-compiler-private.h2
1 files changed, 1 insertions, 1 deletions
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