mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
os: xtranssock: undefine before redefining EADDRINUSE
prevent warning on doubly defined preprocessor symbol. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -122,6 +122,7 @@ from the copyright holders.
|
||||
|
||||
#define socket_close closesocket
|
||||
|
||||
#undef EADDRINUSE
|
||||
#define EADDRINUSE WSAEADDRINUSE
|
||||
#undef EWOULDBLOCK
|
||||
#define EWOULDBLOCK WSAEWOULDBLOCK
|
||||
|
||||
Reference in New Issue
Block a user