diff --git a/src/gallium/state_trackers/clover/api/dispatch.hpp b/src/gallium/state_trackers/clover/api/dispatch.hpp index 7f62282..f5627e3 100644 --- a/src/gallium/state_trackers/clover/api/dispatch.hpp +++ b/src/gallium/state_trackers/clover/api/dispatch.hpp @@ -24,6 +24,7 @@ #define API_DISPATCH_HPP #define CL_USE_DEPRECATED_OPENCL_1_1_APIS +#undef __VEC__ #include "CL/cl.h" #include "CL/cl_ext.h" diff --git a/src/gallium/state_trackers/clover/core/error.hpp b/src/gallium/state_trackers/clover/core/error.hpp index 59a5af4..ea6535b 100644 --- a/src/gallium/state_trackers/clover/core/error.hpp +++ b/src/gallium/state_trackers/clover/core/error.hpp @@ -23,6 +23,7 @@ #ifndef CLOVER_CORE_ERROR_HPP #define CLOVER_CORE_ERROR_HPP +#undef __VEC__ #include "CL/cl.h" #include diff --git a/src/gallium/state_trackers/clover/core/object.hpp b/src/gallium/state_trackers/clover/core/object.hpp index e3a5ab7..f6e3c8e 100644 --- a/src/gallium/state_trackers/clover/core/object.hpp +++ b/src/gallium/state_trackers/clover/core/object.hpp @@ -27,6 +27,7 @@ #include #include +#undef __VEC__ #include "CL/cl.h" #include "core/error.hpp"