Rémi Bernon : opencl: Define CL_TARGET_OPENCL_VERSION 220 to fix a header warning.

Alexandre Julliard julliard at winehq.org
Wed Nov 13 16:01:13 CST 2019


Module: wine
Branch: master
Commit: 97e47fe0668add38dbcee327a4a0a26e20be4891
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=97e47fe0668add38dbcee327a4a0a26e20be4891

Author: Rémi Bernon <rbernon at codeweavers.com>
Date:   Wed Nov 13 14:51:24 2019 +0100

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 at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/opencl/opencl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/opencl/opencl.c b/dlls/opencl/opencl.c
index 2d145bf25c..7e680ba057 100644
--- a/dlls/opencl/opencl.c
+++ b/dlls/opencl/opencl.c
@@ -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>




More information about the wine-cvs mailing list