Skip to content

Commit

Permalink
Limiting SSE2 includes to compiling for SSE2 architectures (fixes bui…
Browse files Browse the repository at this point in the history
…ld failure on ARM)
  • Loading branch information
sgretscher committed Jan 26, 2021
1 parent 9814959 commit 148e3c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Common.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
#include <cstdio>
#include <cstdlib>
#ifndef ICSTLIB_NO_SSEOPT
#if (defined(_M_IX86_FP) && (_M_IX86_FP >= 2)) || \
(defined(__SSE2__) && __SSE2__)
#include <emmintrin.h> // SSE2 intrinsics
#endif
#endif
#ifdef _WIN32
#ifndef NOMINMAX // no max/min macros are defined when
Expand Down

0 comments on commit 148e3c7

Please sign in to comment.