diff --git a/modules/core/src/ocl.cpp b/modules/core/src/ocl.cpp index 924b360851..8212030c8e 100644 --- a/modules/core/src/ocl.cpp +++ b/modules/core/src/ocl.cpp @@ -45,7 +45,9 @@ #include #include #include // std::cerr +#if !(defined _MSC_VER) || (defined _MSC_VER && _MSC_VER > 1700) #include +#endif #define CV_OPENCL_ALWAYS_SHOW_BUILD_LOG 0 #define CV_OPENCL_SHOW_RUN_ERRORS 0