From ccf378f1e0d90506b6ebb2319daefe6691082d52 Mon Sep 17 00:00:00 2001 From: Flatmush Date: Mon, 14 Mar 2011 20:57:36 +0000 Subject: Fixed a dumb mistake in compilation macros which meant that fix16_mul didn't correctly compile for a certain mix of ARM and Thumb macros. --- libfixmath/fix16.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfixmath/fix16.c b/libfixmath/fix16.c index 309b913..cca8253 100644 --- a/libfixmath/fix16.c +++ b/libfixmath/fix16.c @@ -14,7 +14,7 @@ fix16_t fix16_sadd(fix16_t inArg0, fix16_t inArg1) { -#if defined(__arm__) || defined(_ARM) && !defined(__thumb__) +#if (defined(__arm__) || defined(_ARM)) && !defined(__thumb__) fix16_t fix16_mul(int32_t inArg0, int32_t inArg1) { fix16_t res; asm( -- cgit v1.2.3