Add MSC compiler in lwIP.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2383 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong@gmail.com 2012-11-01 07:20:41 +00:00
parent db58e3350b
commit 5d710e8862

View File

@ -86,6 +86,11 @@ typedef rt_uint32_t mem_ptr_t;
#define PACK_STRUCT_STRUCT __attribute__((packed))
#define PACK_STRUCT_BEGIN
#define PACK_STRUCT_END
#elif defined(_MSC_VER)
#define PACK_STRUCT_FIELD(x) x
#define PACK_STRUCT_STRUCT
#define PACK_STRUCT_BEGIN
#define PACK_STRUCT_END
#endif
void sys_arch_assert(const char* file, int line);