提交 f31235c8 编写于 作者: M MurphyZhao

[components/dfs] Fix inconsistent structure of lwip_sock structure, adaptation lwip202 version

Signed-off-by: NMurphyZhao <d2014zjt@163.com>
上级 35a0e8e8
......@@ -76,7 +76,11 @@ struct lwip_sock {
/** error happened for this socket, set by event_callback(), tested by select */
u16_t errevent;
/** last error that occurred on this socket */
#if LWIP_VERSION < 0x2000000
int err;
#else
u8_t err;
#endif
/** counter of how many threads are waiting for this socket using select */
SELWAIT_T select_waiting;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册