summaryrefslogtreecommitdiff
path: root/components/net
diff options
context:
space:
mode:
authorbernard.xiong <[email protected]>2010-06-29 09:09:13 +0000
committerbernard.xiong <[email protected]>2010-06-29 09:09:13 +0000
commita3e2556360dc0eae8e31a549b24e2f67f731573b (patch)
tree7681ba10e7af25f66083abb16ed39ecf12cb841a /components/net
parent4902e69f1e279ea38d6ca474af4abcc81440b8b3 (diff)
change the ALIGN definition for IAR compiler.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@782 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/net')
-rw-r--r--components/net/lwip/src/arch/include/arch/cc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/net/lwip/src/arch/include/arch/cc.h b/components/net/lwip/src/arch/include/arch/cc.h
index 82704f644a..9571dbff4e 100644
--- a/components/net/lwip/src/arch/include/arch/cc.h
+++ b/components/net/lwip/src/arch/include/arch/cc.h
@@ -71,7 +71,7 @@ typedef rt_uint32_t mem_ptr_t;
#define PACK_STRUCT_STRUCT __attribute__ ((__packed__))
#define PACK_STRUCT_BEGIN
#define PACK_STRUCT_END
-#elif defined(__ICCARM__) /* IAR Compiler */
+#elif defined(__IAR_SYSTEMS_ICC__) /* IAR Compiler */
#define PACK_STRUCT_BEGIN
#define PACK_STRUCT_STRUCT
#define PACK_STRUCT_END