mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user