From 229ff632b600c32689b98a4285edb35f5b9ca04d Mon Sep 17 00:00:00 2001 From: Malcolm Reynolds Date: Mon, 3 Jun 2013 18:06:25 +0200 Subject: [PATCH 1/2] update util.hpp to fix OpenCL import on case sensitive mac FS On a Mac with a case sensitive filesystem does not exist but does. I presume (!), but have no way to test, that on a Mac with case insensitive FS this change will make no difference. --- modules/ocl/include/opencv2/ocl/private/util.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ocl/include/opencv2/ocl/private/util.hpp b/modules/ocl/include/opencv2/ocl/private/util.hpp index 355e3b50a6..3f8883af87 100644 --- a/modules/ocl/include/opencv2/ocl/private/util.hpp +++ b/modules/ocl/include/opencv2/ocl/private/util.hpp @@ -47,7 +47,7 @@ #define __OPENCV_OCL_PRIVATE_UTIL__ #if defined __APPLE__ -#include +#include #else #include #endif From a9c9210bf9c222570fec4a549cad45f5ebc485f2 Mon Sep 17 00:00:00 2001 From: Malcolm Reynolds Date: Mon, 3 Jun 2013 18:07:05 +0200 Subject: [PATCH 2/2] update safe_call.hpp to fix OpenCL import on case sensitive mac FS On a Mac with a case sensitive filesystem does not exist but does. I presume (!), but have no way to test, that on a Mac with case insensitive FS this change will make no difference. --- modules/ocl/src/safe_call.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ocl/src/safe_call.hpp b/modules/ocl/src/safe_call.hpp index e187272e5c..4cf39b85e8 100644 --- a/modules/ocl/src/safe_call.hpp +++ b/modules/ocl/src/safe_call.hpp @@ -47,7 +47,7 @@ #define __OPENCV_OPENCL_SAFE_CALL_HPP__ #if defined __APPLE__ -#include +#include #else #include #endif