!637 Fix : 开启lwip后编译失败

Merge pull request !637 from yinjiaming/fix
This commit is contained in:
openharmony_ci 2022-03-23 08:49:19 +00:00 committed by Gitee
commit b51e7f93d4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 5 additions and 0 deletions

View File

@ -178,6 +178,11 @@
#define NO_SYS 0 #define NO_SYS 0
#define TCP_QUEUE_OOSEQ LWIP_TCP #define TCP_QUEUE_OOSEQ LWIP_TCP
#if defined LWIP_STATS_DISPLAY && !LWIP_STATS
#undef LWIP_STATS_DISPLAY
#define LWIP_STATS_DISPLAY 0
#endif
// Change some options for lwIP 2.1.2 // Change some options for lwIP 2.1.2
#undef TCP_MAXRTX #undef TCP_MAXRTX
#define TCP_MAXRTX 12 #define TCP_MAXRTX 12