commit | e96ce08a21f9da1bbd0cf63fad26e6cbb7b42fd8 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Jul 30 22:46:55 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Fri Jul 31 10:58:06 2015 +0200 |
tree | 5156f72f4d143666121fbaed49087648ae04a9cc | |
parent | 6fb81872793f31474960a3e593e0a111805871b0 [diff] |
Fix compile error with armcc5 --gnu
diff --git a/include/mbedtls/bn_mul.h b/include/mbedtls/bn_mul.h index d7a7ad1..e77103f 100644 --- a/include/mbedtls/bn_mul.h +++ b/include/mbedtls/bn_mul.h
@@ -46,7 +46,8 @@ #define asm __asm #endif -#if defined(__GNUC__) +/* armcc5 --gnu defined __GNUC__ but doesn't support GNU's extended asm */ +#if defined(__GNUC__) && !defined(__ARMCC_VERSION) #if defined(__i386__) #define MULADDC_INIT \