commit | ba19432d2eaadfebad883c6377e2febab4394c15 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Fri May 29 09:47:57 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Fri May 29 10:18:09 2015 +0200 |
tree | ccb41636b1c9a89f25e372712b3dabbcca7552e6 | |
parent | cb46fd821693a6d54a4950f4ebcaa28bd93982ca [diff] [blame] |
Move from asm to __asm by default - GCC with -std=c99 warns about asm but likes __asm _ armcc5 has __asm but not asm
diff --git a/library/timing.c b/library/timing.c index 4ff11e7..bdbdcce 100644 --- a/library/timing.c +++ b/library/timing.c
@@ -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>