提交 7fee5f96 编写于 作者: R Rich Felker

fix socket.h on mips

why does mips have to be gratuitously incompatible in every possible
imaginable way?
上级 32e7bd78
......@@ -15,3 +15,6 @@ struct cmsghdr
int cmsg_level;
int cmsg_type;
};
#define SOCK_STREAM 2
#define SOCK_DGRAM 1
......@@ -34,8 +34,11 @@ struct linger
#define SHUT_WD 1
#define SHUT_RDWR 2
#ifndef SOCK_STREAM
#define SOCK_STREAM 1
#define SOCK_DGRAM 2
#endif
#define SOCK_RAW 3
#define SOCK_RDM 4
#define SOCK_SEQPACKET 5
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册