clover: Fix types collision between c++ and altivec
authorFrédéric Bonnard <frediz@debian.org>
Mon, 11 May 2020 13:57:20 +0000 (15:57 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 30 Jun 2020 20:44:07 +0000 (20:44 +0000)
commitcd7acd09b9f8cc68cbe50f9b239029efe7f9cd18
treea118d1a4c390ccbeab9f6692ae49d2fe8d36abc7
parent54d7907c276f2e5ef428ead58721fd82e4b26f40
clover: Fix types collision between c++ and altivec

For that, we undefine bool, vector, pixel as advised by altivec.h in the
specific case that defines them.

Cc: mesa-stable
Signed-off-by: Frédéric Bonnard <frediz@debian.org>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4948>
src/gallium/frontends/clover/core/error.hpp