From 7a485dd1ea09a42eb3656ffe1207a8e87d6992d4 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Tue, 22 Sep 2015 15:40:40 +0200 Subject: [PATCH] opencl: Avoid deprecation warning for OpenCL 1.2 APIs. Signed-off-by: Sebastian Lackner --- dlls/opencl/opencl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/opencl/opencl.c b/dlls/opencl/opencl.c index f690733e5d5..2d145bf25c8 100644 --- a/dlls/opencl/opencl.c +++ b/dlls/opencl/opencl.c @@ -32,6 +32,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(opencl); #if defined(HAVE_CL_CL_H) #define CL_USE_DEPRECATED_OPENCL_1_1_APIS +#define CL_USE_DEPRECATED_OPENCL_1_2_APIS #define CL_USE_DEPRECATED_OPENCL_2_0_APIS #include #elif defined(HAVE_OPENCL_OPENCL_H)