Bug 1853320 [wpt PR 41940] - [FLEDGE] Split up runs of /trusted-scoring-signals.https...
[gecko.git] / gfx / cairo / pixman-mingw32.patch
blobf2093904c3a7a4b308c991578e5766f7d68b9da7
1 # HG changeset patch
2 # User Ryan VanderMeulen <ryanvm@gmail.com>
3 # Parent 6d9741f4bafc0e3ff3fc50009960966f03386af5
5 diff --git a/gfx/cairo/libpixman/src/pixman-mmx.c b/gfx/cairo/libpixman/src/pixman-mmx.c
6 --- a/gfx/cairo/libpixman/src/pixman-mmx.c
7 +++ b/gfx/cairo/libpixman/src/pixman-mmx.c
8 @@ -55,17 +55,17 @@
9 extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
10 _mm_empty (void)
14 #endif
16 #ifdef USE_X86_MMX
17 -# if (defined(__SUNPRO_C) || defined(_MSC_VER) || defined(_WIN64))
18 +# if (defined(__SUNPRO_C) || defined(_MSC_VER) || defined(_WIN64)) || defined(__MINGW32__)
19 # include <xmmintrin.h>
20 # else
21 /* We have to compile with -msse to use xmmintrin.h, but that causes SSE
22 * instructions to be generated that we don't want. Just duplicate the
23 * functions we want to use. */
24 extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__))
25 _mm_movemask_pi8 (__m64 __A)