Fix overflow-checking additions and multiplication on MinGW
Intrinsics headers are associated with compilers, not OS's. This
change fixes a broken MinGW build triggered by
29bc68cf16
.
Change-Id: Ib9e4ea3e25bf49d38a754a246b9433bc078bbb18
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
8d7d481772
commit
db06745fe2
@ -50,7 +50,7 @@
|
||||
|
||||
#include <limits>
|
||||
|
||||
#if defined(Q_OS_WIN) && !defined(Q_OS_WINCE)
|
||||
#if defined(Q_CC_MSVC) && !defined(Q_OS_WINCE)
|
||||
# include <intrin.h>
|
||||
#elif defined(Q_CC_INTEL)
|
||||
# include <immintrin.h> // for _addcarry_u<nn>
|
||||
|
Loading…
Reference in New Issue
Block a user