Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-11-21 15:32:41 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-11-21 15:32:41 +0300
commitaf7343ae22ee1f2f31a7e47a86e43dda4bbaa6d6 (patch)
tree46e8b716fa8ae4a18c6a1cbeb6d7c877294666a6 /intern
parent5eab3b079f939c4c0cc0c84f9bf8c5dcb0c0b77f (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.h4
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))