Skip to content

Commit

Permalink
Fix macOS arm64 build (#1434)
Browse files Browse the repository at this point in the history
Signed-off-by: Julian Amann <julian.amann@tum.de>
  • Loading branch information
Vertexwahn authored May 26, 2023
1 parent af51723 commit 4d49374
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/OpenEXRCore/internal_dwa_simd.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@
#define _SSE_ALIGNMENT_MASK 0x0F
#define _AVX_ALIGNMENT_MASK 0x1F

#ifdef __ARM_NEON // Needed to support macOS with arm64 processor (e.g. M1)
#include <arm_neon.h>
#endif

//
// Color space conversion, Inverse 709 CSC, Y'CbCr -> R'G'B'
//
Expand Down

0 comments on commit 4d49374

Please sign in to comment.