Merge pull request #7949 from AgathiyanB/IAR-asm-keyword

Use correct asm keyword for IAR compilers
This commit is contained in:
Dave Rodgman 2023-07-19 10:03:30 +01:00 committed by GitHub
commit 9e8104cdd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -242,8 +242,12 @@ static inline void mbedtls_xor_no_simd(unsigned char *r,
/* 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* */
/*