vcpkg/ports/pixman/missing_intrin_include.patch

16 lines
387 B
Diff
Raw Normal View History

diff --git a/pixman/pixman-x86.c b/pixman/pixman-x86.c
index 0130b7bfa..d3d0fe1d9 100644
--- a/pixman/pixman-x86.c
+++ b/pixman/pixman-x86.c
@@ -24,7 +24,10 @@
#endif
#include "pixman-private.h"
+#ifdef _MSC_VER
+#include <intrin.h>
+#endif
#if defined(USE_X86_MMX) || defined (USE_SSE2) || defined (USE_SSSE3)
/* The CPU detection code needs to be in a file not compiled with