From 913413890443fac3b6863e7292829b4d9daa6bc6 Mon Sep 17 00:00:00 2001 From: Chip Davis Date: Mon, 6 Apr 2020 17:04:24 -0500 Subject: [PATCH] opencl: Build with CL_SILENCE_DEPRECATION. Signed-off-by: Chip Davis Signed-off-by: Alexandre Julliard --- dlls/opencl/opencl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/opencl/opencl.c b/dlls/opencl/opencl.c index 7e680ba057f..06b8d78a407 100644 --- a/dlls/opencl/opencl.c +++ b/dlls/opencl/opencl.c @@ -30,6 +30,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(opencl); +#define CL_SILENCE_DEPRECATION #if defined(HAVE_CL_CL_H) #define CL_USE_DEPRECATED_OPENCL_1_1_APIS #define CL_USE_DEPRECATED_OPENCL_1_2_APIS