Commit 97e47fe0 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

opencl: Define CL_TARGET_OPENCL_VERSION 220 to fix a header warning.

This is going to be the value used anyway, as we didn't specify it. Signed-off-by: 's avatarRémi Bernon <rbernon@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent f3bccae1
......@@ -34,6 +34,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(opencl);
#define CL_USE_DEPRECATED_OPENCL_1_1_APIS
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS
#define CL_USE_DEPRECATED_OPENCL_2_0_APIS
#define CL_TARGET_OPENCL_VERSION 220
#include <CL/cl.h>
#elif defined(HAVE_OPENCL_OPENCL_H)
#include <OpenCL/opencl.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment