This patch add mechanism which allows optimizations to be run only on 32-bit platforms. --- pixman/pixman-mips.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/pixman/pixman-mips.c b/pixman/pixman-mips.c index 221da24..8825621 100644 --- a/pixman/pixman-mips.c +++ b/pixman/pixman-mips.c @@ -140,6 +140,10 @@ _pixman_mips_get_implementations (pixman_implementation_t *imp) imp = _pixman_implementation_create_mmx (imp); #endif + /* disable runtime detection for non 32-bit platforms */ + if (sizeof (uintptr_t) != 4) + return imp; + #ifdef USE_MIPS32R2 if (!_pixman_disabled ("mips32r2")) { -- 1.7.3 _______________________________________________ Pixman mailing list Pixman@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pixman