Module: wine Branch: master Commit: 7a485dd1ea09a42eb3656ffe1207a8e87d6992d4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7a485dd1ea09a42eb3656ffe12...
Author: Sebastian Lackner sebastian@fds-team.de Date: Tue Sep 22 15:40:40 2015 +0200
opencl: Avoid deprecation warning for OpenCL 1.2 APIs.
Signed-off-by: Sebastian Lackner sebastian@fds-team.de
---
dlls/opencl/opencl.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/opencl/opencl.c b/dlls/opencl/opencl.c index f690733..2d145bf 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 <CL/cl.h> #elif defined(HAVE_OPENCL_OPENCL_H)