diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-11-21 15:32:41 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-11-21 15:32:41 +0300 |
commit | af7343ae22ee1f2f31a7e47a86e43dda4bbaa6d6 (patch) | |
tree | 46e8b716fa8ae4a18c6a1cbeb6d7c877294666a6 /intern | |
parent | 5eab3b079f939c4c0cc0c84f9bf8c5dcb0c0b77f (diff) |
Cycles: Attempt to fix compilation error on ppc64el
There is some define conflict between system headers and clew,
so delay include of clew.h as much as possible.]
This is something which needed to be done in the code before
the refactor, hopefully such change will still work.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/device/opencl/opencl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/device/opencl/opencl.h b/intern/cycles/device/opencl/opencl.h index 054ac9014f0..4023ba89a10 100644 --- a/intern/cycles/device/opencl/opencl.h +++ b/intern/cycles/device/opencl/opencl.h @@ -16,14 +16,14 @@ #ifdef WITH_OPENCL -#include "clew.h" - #include "device.h" #include "util_map.h" #include "util_param.h" #include "util_string.h" +#include "clew.h" + CCL_NAMESPACE_BEGIN #define CL_MEM_PTR(p) ((cl_mem)(uintptr_t)(p)) |