From 823f254190abebdc2268e6e005b1f94c65a49ea2 Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Wed, 3 Jul 2013 17:13:23 +0100 Subject: [PATCH] Fix the check for whether to use inline ARM assembler Commit 839cf49763cfe28 changed the inline ARM assembler so that it won't be used when targetting the Thumb instruction set. I manually applied the patch but I messed up the #if so it was generating a warning. Reviewed-by: Robert Bragg --- cogl/cogl-fixed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogl/cogl-fixed.c b/cogl/cogl-fixed.c index 5dc74f8e1..a144d8404 100644 --- a/cogl/cogl-fixed.c +++ b/cogl/cogl-fixed.c @@ -807,7 +807,7 @@ CoglFixed cogl_fixed_mul (CoglFixed a, CoglFixed b) { -#ifdef __arm__ && !defined(__thumb__) +#if defined(__arm__) && !defined(__thumb__) /* This provides about 12% speedeup on the gcc -O2 optimised * C version *