mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 11:49:05 +08:00
c6d3ab2735
* [openexr] Update to 3.1.8 * Fix arm64 build
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>
|