提交 2c241808 编写于 作者: S Szabolcs Nagy

fix SHUT_WR typo in sys/socket.h and duplicate definitions of SHUT_*

上级 ccbc3655
......@@ -33,7 +33,7 @@ struct linger
};
#define SHUT_RD 0
#define SHUT_WD 1
#define SHUT_WR 1
#define SHUT_RDWR 2
#ifndef SOCK_STREAM
......@@ -290,10 +290,6 @@ int setsockopt (int, int, int, const void *, socklen_t);
int sockatmark (int);
#define SHUT_RD 0
#define SHUT_WR 1
#define SHUT_RDWR 2
#ifdef __cplusplus
}
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册