opencl: Define CL_USE_DEPRECATED_OPENCL_2_0_APIS to avoid warnings.
This commit is contained in:
parent
1d2331344f
commit
f652283368
|
@ -32,6 +32,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(opencl);
|
||||||
|
|
||||||
#if defined(HAVE_CL_CL_H)
|
#if defined(HAVE_CL_CL_H)
|
||||||
#define CL_USE_DEPRECATED_OPENCL_1_1_APIS
|
#define CL_USE_DEPRECATED_OPENCL_1_1_APIS
|
||||||
|
#define CL_USE_DEPRECATED_OPENCL_2_0_APIS
|
||||||
#include <CL/cl.h>
|
#include <CL/cl.h>
|
||||||
#elif defined(HAVE_OPENCL_OPENCL_H)
|
#elif defined(HAVE_OPENCL_OPENCL_H)
|
||||||
#include <OpenCL/opencl.h>
|
#include <OpenCL/opencl.h>
|
||||||
|
|
Loading…
Reference in New Issue