opencl: Define CL_USE_DEPRECATED_OPENCL_2_0_APIS to avoid warnings.

This commit is contained in:
Sebastian Lackner 2015-07-31 07:56:31 +02:00 committed by Alexandre Julliard
parent 1d2331344f
commit f652283368
1 changed files with 1 additions and 0 deletions

View File

@ -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>