[Bf-blender-cvs] [5ea4f5b] blender-v2.76a-release: Fix T46447: fix build on non-x86 platforms.

Brecht Van Lommel noreply at git.blender.org
Thu Oct 29 11:39:06 CET 2015


Commit: 5ea4f5b4a3e06c0cd6f49c7de73a58854a89b557
Author: Brecht Van Lommel
Date:   Mon Oct 12 02:56:57 2015 +0200
Branches: blender-v2.76a-release
https://developer.blender.org/rB5ea4f5b4a3e06c0cd6f49c7de73a58854a89b557

Fix T46447: fix build on non-x86 platforms.

===================================================================

M	intern/cycles/util/util_optimization.h

===================================================================

diff --git a/intern/cycles/util/util_optimization.h b/intern/cycles/util/util_optimization.h
index c951c35..42d3ca6 100644
--- a/intern/cycles/util/util_optimization.h
+++ b/intern/cycles/util/util_optimization.h
@@ -101,7 +101,7 @@
 
 #ifdef _MSC_VER
 #include <intrin.h>
-#else
+#elif (defined(__x86_64__) || defined(__i386__))
 #include <x86intrin.h>
 #endif




More information about the Bf-blender-cvs mailing list