mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 08:09:01 +08:00
14 lines
527 B
Diff
14 lines
527 B
Diff
|
diff --git a/src/lib/OpenEXRCore/internal_dwa_simd.h b/src/lib/OpenEXRCore/internal_dwa_simd.h
|
||
|
index 7b53501ac..ca69c9848 100644
|
||
|
--- a/src/lib/OpenEXRCore/internal_dwa_simd.h
|
||
|
+++ b/src/lib/OpenEXRCore/internal_dwa_simd.h
|
||
|
@@ -18,7 +18,7 @@
|
||
|
// aligned. Unaligned pointers may risk seg-faulting.
|
||
|
//
|
||
|
|
||
|
-#if defined __SSE2__ || (_MSC_VER >= 1300 && !_M_CEE_PURE)
|
||
|
+#if defined __SSE2__ || (_MSC_VER >= 1300 && (_M_IX86 || _M_X64) && !_M_CEE_PURE)
|
||
|
# define IMF_HAVE_SSE2 1
|
||
|
# include <emmintrin.h>
|
||
|
# include <mmintrin.h>
|