3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 18:31:49 +00:00

Windows builds need immintrin.h

Fixes issue #2006.
This commit is contained in:
Bruce Mitchener 2018-12-03 22:15:14 +07:00
parent 8fc75f59b0
commit a0264c08a8

View file

@ -45,6 +45,11 @@ Revision History:
#define LEHMER_GCD
#endif
#ifdef _WINDOWS
// This is needed for _tzcnt_u32 and friends.
#include <immintrin.h>
#endif
#if defined(__GNUC__)
#define _trailing_zeros32(X) __builtin_ctz(X)
#else