diff --git a/include/toolchain/common.h b/include/toolchain/common.h index 4de5ea41260..df781ddff78 100644 --- a/include/toolchain/common.h +++ b/include/toolchain/common.h @@ -97,7 +97,9 @@ /* Indicate that an array will be used for stack space. */ -#define __stack __aligned(STACK_ALIGN) +#if !defined(_ASMLANGUAGE) + #define __stack __aligned(STACK_ALIGN) +#endif /* concatenate the values of the arguments into one */ #define _DO_CONCAT(x, y) x ## y