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:
Enrico Weigelt, metux IT consult
2025-07-25 10:30:50 +02:00
parent 21e9cd9acc
commit bcf898c4b9

View File

@@ -122,6 +122,7 @@ from the copyright holders.
#define socket_close closesocket
#undef EADDRINUSE
#define EADDRINUSE WSAEADDRINUSE
#undef EWOULDBLOCK
#define EWOULDBLOCK WSAEWOULDBLOCK