Descriptionwin: Fix another intrinsic include.
_mm_getcsr is declared in intrin.h, see
https://msdn.microsoft.com/en-us/library/hh977022.aspx
This worked because transitive includes ended up pulling in winnt.h,
which also declares this function (and tells the compiler to use a
built-in). The built-in mechanism doesn't work with clang-cl
(see http://llvm.org/PR19898 comment 10) and leads to a linker error.
Since the file tries to include the right header for _mm_getcsr, just
fix the include, which happens to make things link with clang-cl too.
This should have been part of https://codereview.chromium.org/1778653002/
BUG=https://crbug.com/592745
Committed: https://chromium.googlesource.com/native_client/src/native_client/+/06cacd6becc3f033d03fab97e6fa9ef99d9b41f2
Patch Set 1 #
Messages
Total messages: 11 (5 generated)
|