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/include/mbedtls/bn_mul.h b/include/mbedtls/bn_mul.h index 7b8019c..188d7f3 100644 --- a/include/mbedtls/bn_mul.h +++ b/include/mbedtls/bn_mul.h
@@ -42,6 +42,10 @@ #if defined(MBEDTLS_HAVE_ASM) +#ifndef asm +#define asm __asm +#endif + #if defined(__GNUC__) #if defined(__i386__)