diff --git a/source/utilities/compiler/arm/type.h b/source/utilities/compiler/arm/type.h index f117712aa..763f725b2 100644 --- a/source/utilities/compiler/arm/type.h +++ b/source/utilities/compiler/arm/type.h @@ -104,6 +104,9 @@ typedef int_fast8_t intalu_t; #if __IS_COMPILER_IAR__ +// IAR has no _Static_assert, but has static_assert +#define _Static_assert static_assert + // iar has no such constants in math.h # define M_E 2.71828182845904523536 // e # define M_LOG2E 1.44269504088896340736 // log2(e)