mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-01-01 12:15:48 +01:00
Move from asm to __asm by default
- GCC with -std=c99 warns about asm but likes __asm _ armcc5 has __asm but not asm
This commit is contained in:
parent
cb46fd8216
commit
ba19432d2e
4 changed files with 16 additions and 0 deletions
|
|
@ -42,6 +42,10 @@
|
|||
|
||||
#if defined(MBEDTLS_HAVE_ASM)
|
||||
|
||||
#ifndef asm
|
||||
#define asm __asm
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#if defined(__i386__)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue