Bug 1785744 [wpt PR 35504] - Recalc style for elements where :toggle() pseudo-class...
[gecko.git] / gfx / cairo / clang-cl-popcount.patch
blob241e5e9336a8f3e95b885660cf2b5429777c7efe
1 diff --git a/gfx/cairo/cairo/src/cairoint.h b/gfx/cairo/cairo/src/cairoint.h
2 index d71ddca..c3c2b9b 100644
3 --- a/gfx/cairo/cairo/src/cairoint.h
4 +++ b/gfx/cairo/cairo/src/cairoint.h
5 @@ -178,7 +178,7 @@ do { \
6 static inline int cairo_const
7 _cairo_popcount (uint32_t mask)
9 -#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
10 +#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || __clang__
11 return __builtin_popcount (mask);
12 #else
13 register int y;