opencl: Avoid deprecation warning for OpenCL 1.2 APIs.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
This commit is contained in:
Sebastian Lackner 2015-09-22 15:40:40 +02:00 committed by Alexandre Julliard
parent bc26431e94
commit 7a485dd1ea

View file

@ -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_1_2_APIS
#define CL_USE_DEPRECATED_OPENCL_2_0_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)