@@ -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*/