vcpkg/ports/pixman/fix_clang-cl.patch

14 lines
441 B
Diff
Raw Normal View History

diff --git a/pixman/pixman-mmx.c b/pixman/pixman-mmx.c
index d7cf2659d..625a08ace 100644
--- a/pixman/pixman-mmx.c
+++ b/pixman/pixman-mmx.c
@@ -137,7 +137,7 @@ _mm_mulhi_pu16 (__m64 __A, __m64 __B)
* then define USE_M64_CASTS.
* If __m64 is a double datatype, then define USE_M64_DOUBLE.
*/
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && !defined(__clang__)
# define M64_MEMBER m64_u64
#elif defined(__ICC)
# define USE_CVT_INTRINSICS