blob: 241e5e9336a8f3e95b885660cf2b5429777c7efe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/gfx/cairo/cairo/src/cairoint.h b/gfx/cairo/cairo/src/cairoint.h
index d71ddca..c3c2b9b 100644
--- a/gfx/cairo/cairo/src/cairoint.h
+++ b/gfx/cairo/cairo/src/cairoint.h
@@ -178,7 +178,7 @@ do { \
static inline int cairo_const
_cairo_popcount (uint32_t mask)
{
-#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
+#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || __clang__
return __builtin_popcount (mask);
#else
register int y;
|