[Mesa-dev] [PATCH] Android: define PIPE_OS_BSD

Emil Velikov emil.l.velikov at gmail.com
Mon Jun 5 13:04:54 UTC 2017


On 4 June 2017 at 04:31, Chih-Wei Huang <cwhuang at android-x86.org> wrote:
> Android bionic is derived from OpenBSD. So the logics of BSD
> almost apply to Android as well.
>
Having platform FOO define both PIPE_OS_BSD and PIPE_OS_LINUX does not
seem so obvious bth.

> It fixes the warnings
>
> external/mesa/src/gallium/auxiliary/os/os_process.c:43:2: warning: unexpected platform in os_process.c [-W#warnings]
>  ^
> external/mesa/src/gallium/auxiliary/os/os_process.c:97:2: warning: unexpected platform in os_process.c [-W#warnings]

These are are due to program_invocation_short_name/getprogname. How
about updating the file alike xmlconfig.c?

-Emil


More information about the mesa-dev mailing list