On macosx i386, that code fails because even though __VEC__ is defined,
the compiler doesn't understand the 'vector' keyword (that macro is
irrelevent here). So there was no way to make evas compile for ppc if
altivec was not supported by the compiler.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66966
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
#endif
}
+#ifdef BUILD_ALTIVEC
void
evas_common_cpu_altivec_test(void)
{
#endif /* __VEC__ */
#endif /* __POWERPC__ */
}
+#endif /* BUILD_ALTIVEC */
void
evas_common_cpu_neon_test(void)
#endif /* BUILD_SSE3 */
#endif /* BUILD_SSE */
#endif /* BUILD_MMX */
+#ifdef BUILD_ALTIVEC
#ifdef __POWERPC__
#ifdef __VEC__
cpu_feature_mask |= CPU_FEATURE_ALTIVEC *
cpu_feature_mask &= ~CPU_FEATURE_ALTIVEC;
#endif /* __VEC__ */
#endif /* __POWERPC__ */
+#endif /* BUILD_ALTIVEC */
#ifdef __SPARC__
cpu_feature_mask |= CPU_FEATURE_VIS *
evas_common_cpu_feature_test(evas_common_cpu_vis_test);