mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-06-25 22:56:35 +08:00
Use correct asm keyword for IAR compilers
Signed-off-by: Agathiyan Bragadeesh <agathiyan.bragadeesh2@arm.com>
This commit is contained in:
parent
828b3acd6b
commit
789e50e5a0
@ -242,8 +242,12 @@ static inline void mbedtls_xor_no_simd(unsigned char *r,
|
|||||||
/* Define `asm` for compilers which don't define it. */
|
/* Define `asm` for compilers which don't define it. */
|
||||||
/* *INDENT-OFF* */
|
/* *INDENT-OFF* */
|
||||||
#ifndef asm
|
#ifndef asm
|
||||||
|
#if defined(__IAR_SYSTEMS_ICC__)
|
||||||
|
#define asm __asm
|
||||||
|
#else
|
||||||
#define asm __asm__
|
#define asm __asm__
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
/* *INDENT-ON* */
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user