forked from Mirrors/wine-wine
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: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 97e47fe066
)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
oldstable
parent
9d42b179a9
commit
55d1a591ef
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue