Android bionic is derived from OpenBSD. So the logics of BSD almost apply to Android as well.
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] ^ 2 warnings generated. Actually it's the only affected file by the change. Signed-off-by: Chih-Wei Huang <cwhu...@linux.org.tw> --- src/gallium/include/pipe/p_config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/include/pipe/p_config.h b/src/gallium/include/pipe/p_config.h index 3fa43ed..0d8e9f7 100644 --- a/src/gallium/include/pipe/p_config.h +++ b/src/gallium/include/pipe/p_config.h @@ -158,6 +158,7 @@ */ #if defined(ANDROID) #define PIPE_OS_ANDROID +#define PIPE_OS_BSD #endif #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) -- 1.9.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev