mirror of
https://github.com/Z3Prover/z3
synced 2025-06-24 23:03:41 +00:00
Merge pull request #446 from msullivan/arm-build
Fix gcc build failure on ARM caused by including <emmintrin.h>
This commit is contained in:
commit
3356f36b8f
1 changed files with 5 additions and 2 deletions
|
@ -29,7 +29,8 @@ Revision History:
|
||||||
#include<fenv.h>
|
#include<fenv.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _M_IA64
|
#if defined(__x86_64__) || defined(_M_X64) || \
|
||||||
|
defined(__i386) || defined(_M_IX86)
|
||||||
#define USE_INTRINSICS
|
#define USE_INTRINSICS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -47,7 +48,9 @@ Revision History:
|
||||||
// Luckily, these are kind of standardized, at least for Windows/Linux/OSX.
|
// Luckily, these are kind of standardized, at least for Windows/Linux/OSX.
|
||||||
#ifdef __clang__
|
#ifdef __clang__
|
||||||
#undef USE_INTRINSICS
|
#undef USE_INTRINSICS
|
||||||
#else
|
#endif
|
||||||
|
|
||||||
|
#ifdef USE_INTRINSICS
|
||||||
#include <emmintrin.h>
|
#include <emmintrin.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue