From de03c40db35a025f525a0d9f4ea720f097fb2194 Mon Sep 17 00:00:00 2001 From: kervala Date: Thu, 30 Dec 2010 12:34:10 +0100 Subject: [PATCH] Fixed: define FNDELAY if not already defined --- code/nel/src/net/sock.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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