diff --git a/src/wrap_cl_part_2.cpp b/src/wrap_cl_part_2.cpp index 35734a24ceee2eb5edc924a956ccfe4b751559cd..e68c785128dda3da644a9dbd76c5feb06d7dd591 100644 --- a/src/wrap_cl_part_2.cpp +++ b/src/wrap_cl_part_2.cpp @@ -462,7 +462,7 @@ void pyopencl_expose_part_2(py::module &m) .def(py::init()) .DEF_SIMPLE_METHOD(get_info) .DEF_SIMPLE_METHOD(get_work_group_info) -#if PYOPENCL_CL_VERSION >= 0x2000 +#if PYOPENCL_CL_VERSION >= 0x2010 .DEF_SIMPLE_METHOD(clone) #endif .def("_set_arg_null", &cls::set_arg_null)