diff --git a/modules/ocl/src/mcwutil.cpp b/modules/ocl/src/mcwutil.cpp index e56e2f15d0..3bcb8700b7 100644 --- a/modules/ocl/src/mcwutil.cpp +++ b/modules/ocl/src/mcwutil.cpp @@ -43,6 +43,7 @@ // //M*/ +#define CL_USE_DEPRECATED_OPENCL_1_1_APIS #include "precomp.hpp" using namespace std;