Module: wine Branch: master Commit: 913413890443fac3b6863e7292829b4d9daa6bc6 URL: https://source.winehq.org/git/wine.git/?a=commit;h=913413890443fac3b6863e729...
Author: Chip Davis cdavis@codeweavers.com Date: Mon Apr 6 17:04:24 2020 -0500
opencl: Build with CL_SILENCE_DEPRECATION.
Signed-off-by: Chip Davis cdavis@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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 7e680ba057..06b8d78a40 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