summaryrefslogtreecommitdiffstats
path: root/Tests/Module/WriteCompilerDetectionHeader
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2021-07-15 09:26:40 (GMT)
committerBrad King <brad.king@kitware.com>2021-07-15 14:59:07 (GMT)
commit1aba3a8367f8e9a6f12e409f170008d930f87855 (patch)
treecb1e5dcdf88724e57f06879205a89ad5fc50133f /Tests/Module/WriteCompilerDetectionHeader
parent7c6234dd21b7af95e7edea6b281d859dafb2ae81 (diff)
downloadCMake-1aba3a8367f8e9a6f12e409f170008d930f87855.zip
CMake-1aba3a8367f8e9a6f12e409f170008d930f87855.tar.gz
CMake-1aba3a8367f8e9a6f12e409f170008d930f87855.tar.bz2
libuv: Fix building with mingw toolchains for ARM/AArch64
This is a backport of f9ad802fa5dd5afe6730f8e00cfdbf98f1d7a969 from the v1.x branch from upstream libuv: mingw: fix building for ARM/AArch64 Don't use x86 inline assembly in these cases, but fall back to __sync_fetch_and_or, similar to _InterlockedOr8 in the MSVC case. This corresponds to what is done in src/unix/atomic-ops.h, where ARM/AArch64 cases end up implementing cmpxchgi with __sync_val_compare_and_swap. PR-URL: https://github.com/libuv/libuv/pull/3236 Reviewed-By: Jameson Nash <vtjnash@gmail.com>
Diffstat (limited to 'Tests/Module/WriteCompilerDetectionHeader')
0 files changed, 0 insertions, 0 deletions