mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 18:31:49 +00:00
Fix hwf.cpp for MinGW-w64 32-bit clang (#6529)
Fix src/util/hwf.cpp for building with MinGW-w64 clang targetting Windows 32-bit. Without this fix there is an arror about `__control87_2` not being defined.
This commit is contained in:
parent
c3e31149a5
commit
2bd933d87f
|
@ -48,7 +48,7 @@ Revision History:
|
|||
// clear to the compiler what instructions should be used. E.g., for sqrt(), the Windows compiler selects
|
||||
// the x87 FPU, even when /arch:SSE2 is on.
|
||||
// Luckily, these are kind of standardized, at least for Windows/Linux/macOS.
|
||||
#if defined(__clang__) || defined(_M_ARM) && defined(_M_ARM64)
|
||||
#if (defined(__clang__) && !defined(__MINGW32__)) || defined(_M_ARM) && defined(_M_ARM64)
|
||||
#undef USE_INTRINSICS
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue