1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03: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:
Manuel Pégourié-Gonnard
2015-05-29 09:47:57 +02:00
parent cb46fd8216
commit ba19432d2e
4 changed files with 16 additions and 0 deletions

View File

@ -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>