summaryrefslogtreecommitdiff
path: root/sc/source/core/opencl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-07-11 10:01:27 +0300
committerTor Lillqvist <tml@iki.fi>2013-07-11 10:01:27 +0300
commita69e8fc686c4e6ec996ba91e61e3021e8f9e0d60 (patch)
tree5975beb3449e744bdb89ec70a7007096d9183669 /sc/source/core/opencl
parentcf1de6b8ceb3eb5b4b25af6167df62468ecefb3f (diff)
Apple still has cl.h in a different path, fix conflict mis-resolution
Change-Id: I436e46d52659b28a3ecf5ad1a6366b0a79f062c4
Diffstat (limited to 'sc/source/core/opencl')
-rw-r--r--sc/source/core/opencl/openclwrapper.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/core/opencl/openclwrapper.hxx b/sc/source/core/opencl/openclwrapper.hxx
index 62ad3891d5cb..d83b7c8f535c 100644
--- a/sc/source/core/opencl/openclwrapper.hxx
+++ b/sc/source/core/opencl/openclwrapper.hxx
@@ -14,7 +14,11 @@
#include <formula/opcode.hxx>
#include <sal/detail/log.h>
#include <cassert>
+#ifdef __APPLE__
+#include <OpenCL/cl.h>
+#else
#include <CL/cl.h>
+#endif
#if defined(_MSC_VER)
#ifndef strcasecmp