commit | 9e8104cdd9a6807bfbc50f3a7c7ab5d8a393037c | [log] [tgz] |
---|---|---|
author | Dave Rodgman <dave.rodgman@arm.com> | Wed Jul 19 10:03:30 2023 +0100 |
committer | GitHub <noreply@github.com> | Wed Jul 19 10:03:30 2023 +0100 |
tree | 049647866d5f718ad5bd419e7369c6fe95d8ff34 | |
parent | 131a22ef27a3eaa4d435edcf914cbe125d19bd62 [diff] | |
parent | 789e50e5a01b6fec0635fe87e86b8d97445886be [diff] |
Merge pull request #7949 from AgathiyanB/IAR-asm-keyword Use correct asm keyword for IAR compilers
diff --git a/library/common.h b/library/common.h index 839b7d1..48c2756 100644 --- a/library/common.h +++ b/library/common.h
@@ -242,8 +242,12 @@ /* Define `asm` for compilers which don't define it. */ /* *INDENT-OFF* */ #ifndef asm +#if defined(__IAR_SYSTEMS_ICC__) +#define asm __asm +#else #define asm __asm__ #endif +#endif /* *INDENT-ON* */ /*