diff --git a/targets/TARGET_NUVOTON/nu_bitutil.h b/targets/TARGET_NUVOTON/nu_bitutil.h index 42708232a8..ff4745aabe 100644 --- a/targets/TARGET_NUVOTON/nu_bitutil.h +++ b/targets/TARGET_NUVOTON/nu_bitutil.h @@ -17,7 +17,7 @@ #ifndef NU_BIT_UTIL_H #define NU_BIT_UTIL_H -#if defined(TOOLCHAIN_IAR) && defined(TARGET_M0) +#if defined(__ICCARM__) && defined(TARGET_M0) #include #endif #include "cmsis.h"