From 03277ebbe677bd429d723af3b0e2144c48bd42da Mon Sep 17 00:00:00 2001
From: John Romein <romein@astron.nl>
Date: Fri, 11 Jul 2008 19:03:07 +0000
Subject: [PATCH] bug 225: BG/P does not support fcntl(O_NONBLOCK)

---
 LCS/Common/src/Net/Socket.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/LCS/Common/src/Net/Socket.cc b/LCS/Common/src/Net/Socket.cc
index 529ce9b4b3d..7516201690a 100644
--- a/LCS/Common/src/Net/Socket.cc
+++ b/LCS/Common/src/Net/Socket.cc
@@ -766,7 +766,7 @@ int32 Socket::setBlocking (bool block)
 	}
 
 	if (itsSocketID >= 0) {					// we must have a socket ofcourse
-#ifndef HAVE_BGL
+#if !defined HAVE_BGL && !defined HAVE_BGP
 		if (fcntl (itsSocketID, F_SETFL, block ? 0 : O_NONBLOCK) < 0) {
 			return (setErrno(SOCKOPT));
 		}
-- 
GitLab