[PATCH 7/7] opencl: Define CL_TARGET_OPENCL_VERSION 220 to fix a header warning.
Rémi Bernon
rbernon at codeweavers.com
Wed Nov 13 07:51:24 CST 2019
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>
---
dlls/opencl/opencl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/opencl/opencl.c b/dlls/opencl/opencl.c
index 2d145bf25c8..7e680ba057f 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>
--
2.24.0.rc2
More information about the wine-devel
mailing list