diff options
-rw-r--r-- | e_os.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -153,6 +153,9 @@ extern "C" { #define clear_socket_error() WSASetLastError(0) #define readsocket(s,b,n) recv((s),(b),(n),0) #define writesocket(s,b,n) send((s),(b),(n),0) +#ifdef EADDRINUSE +#undef EADDRINUSE +#endif #define EADDRINUSE WSAEADDRINUSE #elif defined(__DJGPP__) #define WATT32 |