mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +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
|
|
@ -39,6 +39,10 @@
|
|||
|
||||
#if !defined(MBEDTLS_TIMING_ALT)
|
||||
|
||||
#ifndef asm
|
||||
#define asm __asm
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32) && !defined(EFIX64) && !defined(EFI32)
|
||||
|
||||
#include <windows.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue