提交 c9e327d9 编写于 作者: G goprife@gmail.com

fix the compile error(htos redefinition) in application.c when enable LWIP

disable LWIP by default

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2427 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 20a57ea7
......@@ -16,7 +16,11 @@
#include <stdio.h>
#include <board.h>
/* fix the compile errors for redefiniton of lwip_htonl in win socket */
#ifdef _WIN32
#undef RT_USING_LWIP
#include <components.h>
#endif
void rt_init_thread_entry(void* parameter)
{
......
......@@ -109,7 +109,7 @@
#define DFS_FD_MAX 4
/* SECTION: lwip, a lighwight TCP/IP protocol stack */
#define RT_USING_LWIP
//#define RT_USING_LWIP
/* LwIP uses RT-Thread Memory Management */
#define RT_LWIP_USING_RT_MEM
/* Enable ICMP protocol*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册