Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SSE is not guaranteed to be present on x86 hosts, so i386..i686 compilers default to -mno-sse. That however makes the build fail because vmaf unconditionally uses emmintrin functions which are not available under no-sse. ppc64le builds however are just fine, so... Change the macro guarding emmintrin to not match on x86-like architectures, but to match on the enablement of SSE2. The macro "__SSE2__" is the gcc name and is true whenever -msse2 is enabled (explicitly or implicitly); clang should behave the same. I have not tested this under other compilers such as Microsoft, though. Fixes: #374
- Loading branch information