diff --git a/code/nel/src/net/sock.cpp b/code/nel/src/net/sock.cpp index b8d116962..475548821 100644 --- a/code/nel/src/net/sock.cpp +++ b/code/nel/src/net/sock.cpp @@ -51,6 +51,11 @@ # define ERROR_WOULDBLOCK EWOULDBLOCK # define ERROR_MSG strerror(errno) +// BSD compatible constant +# ifndef FNDELAY +# define FNDELAY O_NDELAY +# endif + typedef int SOCKET; #endif