July 1, 2026
11:54 p.m.
On Wed Jul 1 21:00:13 2026 +0000, Alexandre Julliard wrote:
Maybe we could just use HWCAP_ARM_NEON without any fallback define, since bits/hwcap.h from glibc and musl both define it and we're not supporting any toolchains old enough to need it defined. That breaks the Android build, it only has `asm/hwcap.h` with `HWCAP_NEON` etc. Ugh, I forgot about Android. With that in mind I think it's best to use `HWCAP_NEON`, and include `asm/hwcap.h` to get the define on glibc systems. `asm/hwcap.h` comes from the kernel uapi headers (typically installed by the `linux-headers` package), they should be as acceptable to use as headers from the C library.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/11267#note_144662