From: Siarhei Siamashka <[email protected]> This method is linux-specific, but earlier it was tried for any platform that did not have _MSC_VER defined. --- pixman/pixman-cpu.c | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/pixman/pixman-cpu.c b/pixman/pixman-cpu.c index e4fb1e4..70253d1 100644 --- a/pixman/pixman-cpu.c +++ b/pixman/pixman-cpu.c @@ -244,7 +244,7 @@ pixman_have_arm_neon (void) #endif /* USE_ARM_NEON */ -#else /* linux ELF */ +#elif defined (__linux__) /* linux ELF */ #include <stdlib.h> #include <unistd.h> @@ -328,7 +328,12 @@ pixman_have_arm_neon (void) #endif /* USE_ARM_NEON */ -#endif /* linux */ +#else /* linux ELF */ + +#define pixman_have_arm_simd() FALSE +#define pixman_have_arm_neon() FALSE + +#endif #endif /* USE_ARM_SIMD || USE_ARM_NEON */ -- 1.7.2.2 _______________________________________________ Pixman mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pixman
