[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [25043] trunk/blender/extern/Eigen2/Eigen/ src/Core/util/Macros.h: Eigen: fix 10.5 ppc compile error

Damien Plisson damien.plisson at yahoo.fr
Tue Dec 1 11:25:22 CET 2009


Revision: 25043
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25043
Author:   damien78
Date:     2009-12-01 11:25:21 +0100 (Tue, 01 Dec 2009)

Log Message:
-----------
Eigen: fix 10.5 ppc compile error

Modified Paths:
--------------
    trunk/blender/extern/Eigen2/Eigen/src/Core/util/Macros.h

Modified: trunk/blender/extern/Eigen2/Eigen/src/Core/util/Macros.h
===================================================================
--- trunk/blender/extern/Eigen2/Eigen/src/Core/util/Macros.h	2009-12-01 10:23:27 UTC (rev 25042)
+++ trunk/blender/extern/Eigen2/Eigen/src/Core/util/Macros.h	2009-12-01 10:25:21 UTC (rev 25043)
@@ -39,7 +39,7 @@
 // 16 byte alignment is only useful for vectorization. Since it affects the ABI, we need to enable 16 byte alignment on all
 // platforms where vectorization might be enabled. In theory we could always enable alignment, but it can be a cause of problems
 // on some platforms, so we just disable it in certain common platform (compiler+architecture combinations) to avoid these problems.
-#if defined(__GNUC__) && !(defined(__i386__) || defined(__x86_64__) || defined(__powerpc__) || defined(__ia64__))
+#if defined(__GNUC__) && !(defined(__i386__) || defined(__x86_64__) || defined(__powerpc__) || defined(__ia64__) || defined(__ppc__))
 #define EIGEN_GCC_AND_ARCH_DOESNT_WANT_ALIGNMENT 1
 #else
 #define EIGEN_GCC_AND_ARCH_DOESNT_WANT_ALIGNMENT 0





More information about the Bf-blender-cvs mailing list