Fix for building on with GCC on ARM

The x86intrin.h intrinsics header is not available in that case.
This commit is contained in:
Mihai Parparita 2023-08-30 21:33:17 -07:00
parent cfb1999caf
commit 838ccdd7b4

View File

@ -26,7 +26,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
#include <cinttypes>
#if defined(__GNUG__) && !defined(__clang__) // GCC, mybe ICC but not Clang
#if defined(__GNUG__) && !defined(__clang__) && (defined(__x86_64__) || defined(__i386__)) // GCC, mybe ICC but not Clang
# include <x86intrin.h>