diff --git a/components/net/at/src/at_server.c b/components/net/at/src/at_server.c index 9e5d9174b16093bd34503942b664dadaab067ecf..fe150d83f70c53eed3004dd409259d27e8413c85 100644 --- a/components/net/at/src/at_server.c +++ b/components/net/at/src/at_server.c @@ -538,7 +538,7 @@ int at_server_init(void) } /* initialize the AT commands table.*/ -#if defined(__CC_ARM) /* ARM C Compiler */ +#if defined(__ARMCC_VERSION) /* ARM C Compiler */ extern const int RtAtCmdTab$$Base; extern const int RtAtCmdTab$$Limit; cmd_table = (at_cmd_t)&RtAtCmdTab$$Base;