aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlatmush <Flatmush@gmail.com>2011-03-14 20:57:36 +0000
committerFlatmush <Flatmush@gmail.com>2011-03-14 20:57:36 +0000
commitccf378f1e0d90506b6ebb2319daefe6691082d52 (patch)
treeb3bbba27bc9819ebebcf7f71daedeae85d36eec3
parente83267f7579cf083f55b4278f6017510db2cc4b8 (diff)
downloadlibfixmath-ccf378f1e0d90506b6ebb2319daefe6691082d52.tar.gz
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.
-rw-r--r--libfixmath/fix16.c2
1 files changed, 1 insertions, 1 deletions
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(