Sebastian Lackner : opencl: Define CL_USE_DEPRECATED_OPENCL_2_0_APIS to avoid warnings.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jul 31 17:25:55 CDT 2015


Module: wine
Branch: master
Commit: f652283368b856972b5b9794d3f4a1d1da221f9c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f652283368b856972b5b9794d3f4a1d1da221f9c

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Fri Jul 31 07:56:31 2015 +0200

opencl: Define CL_USE_DEPRECATED_OPENCL_2_0_APIS to avoid warnings.

---

 dlls/opencl/opencl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/opencl/opencl.c b/dlls/opencl/opencl.c
index c3d25b5..f690733 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_2_0_APIS
 #include <CL/cl.h>
 #elif defined(HAVE_OPENCL_OPENCL_H)
 #include <OpenCL/opencl.h>




More information about the wine-cvs mailing list