]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35758: Fix building on ARM + MSVC (gh-11531)
authorMinmin Gong <gongminmin@msn.com>
Mon, 21 Jan 2019 20:49:40 +0000 (12:49 -0800)
committerAntoine Pitrou <pitrou@free.fr>
Mon, 21 Jan 2019 20:49:40 +0000 (21:49 +0100)
commit7a2368063f25746d4008a74aca0dc0b82f86ff7b
treea605504586d392744052d1b61307344b0c2ee291
parent2433a2ab705e93f9a44f01c260d351b205a73e9d
bpo-35758: Fix building on ARM + MSVC (gh-11531)

* Disable x87 control word for non-x86 targets

On msvc, x87 control word is only available on x86 target. Need to disable it for other targets to prevent compiling problems.

* Include immintrin.h on x86 and x64 only

Immintrin.h is only available on x86 and x64. Need to disable it for other targets to prevent compiling problems.
Include/internal/pycore_atomic.h
Include/pyport.h
Misc/NEWS.d/next/Windows/2019-01-21-05-18-14.bpo-35758.8LsY3l.rst [new file with mode: 0644]