Skip to content

Disable ioctl signed overload for Bionic libc

Mark Collins requested to merge PixelyIon/drm:fix-ndk-build into main

Bionic libc ships with ioctl that has two signatures, one with an unsigned request parameter and one with a signed request parameter. This leads to compilation failing due to __typeof__(ioctl) being used by Nouveau's test code which fails to resolve which overload to use, this has been fixed by defining BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD on Android which only leaves the signed overload.

Fixes #77 (closed)

Merge request reports

Loading