From eeb2bf25471dd5ae139b14f0452005b7941a4a5a Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 20 Aug 2010 15:01:24 +0000 Subject: [PATCH] Solaris doesn't provide FIONBIO --- panda/src/nativenet/socket_portable.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panda/src/nativenet/socket_portable.h b/panda/src/nativenet/socket_portable.h index 40ffe5a1bb..91f033c82d 100755 --- a/panda/src/nativenet/socket_portable.h +++ b/panda/src/nativenet/socket_portable.h @@ -351,7 +351,8 @@ inline bool do_shutdown_send(SOCKET s) const long LOCAL_NONBLOCK = 1; -const long LOCAL_FL_SET = FIONBIO ; +// With BSDBLOCK defined, we don't need FIONBIO. Solaris doesn't provide it. +//const long LOCAL_FL_SET = FIONBIO ; const int LOCAL_BLOCKING_ERROR = EAGAIN; const int LOCAL_CONNECT_BLOCKING = EINPROGRESS;