diff --git a/src/gallium/frontends/clover/core/error.hpp b/src/gallium/frontends/clover/core/error.hpp index 0490c19a276..e46c05b865b 100644 --- a/src/gallium/frontends/clover/core/error.hpp +++ b/src/gallium/frontends/clover/core/error.hpp @@ -24,6 +24,11 @@ #define CLOVER_CORE_ERROR_HPP #include "CL/cl.h" +#if defined(__ALTIVEC__) && !defined(__APPLE_ALTIVEC__) + #undef vector + #undef pixel + #undef bool +#endif #include #include