未验证 提交 78a9e1c0 编写于 作者: O openharmony_ci 提交者: Gitee

!92 use lwip close

Merge pull request !92 from maosiping/master
......@@ -111,6 +111,12 @@ static int wsa_init_done = 0;
#include <stdint.h>
#ifdef LITEOS_VERSION
#include "lwip/sockets.h"
#define close(fd) lwip_close(fd)
#define shutdown(fd, how) lwip_shutdown(fd, how)
#endif
/*
* Prepare for using the sockets interface
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册