mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
w32/slirp: Undefine error constants before their redefinition
Less warnings for your console. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
1c5970a8b8
commit
5668896163
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue