提交 56688961 编写于 作者: J Jan Kiszka

w32/slirp: Undefine error constants before their redefinition

Less warnings for your console.
Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
上级 1c5970a8
......@@ -15,6 +15,12 @@ typedef char *caddr_t;
# include <sys/timeb.h>
# include <iphlpapi.h>
# undef EWOULDBLOCK
# undef EINPROGRESS
# undef ENOTCONN
# undef EHOSTUNREACH
# undef ENETUNREACH
# undef ECONNREFUSED
# define EWOULDBLOCK WSAEWOULDBLOCK
# define EINPROGRESS WSAEINPROGRESS
# define ENOTCONN WSAENOTCONN
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册