From: j DOT aldrich6 AT genie DOT com Message-Id: <199602232353.AA062549584@relay1.geis.com> Date: Fri, 23 Feb 96 23:36:00 UTC 0000 To: djgpp AT delorie DOT com Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Subject: Re: errno question: EWOULDBLO Reply to message 4234026 from DJ AT DELORIE DOT CO on 02/23/96 7:42AM > > [code suggestion] > > The EAGAIN is the posix version of that error, and that's what djgpp > uses. I see. Actually, since the code already has lots of built-in portability, I could probably just add the following code to the #if defined(posix) section: #if defined(posix) ... #if !defined(EWOULDBLOCK) #define EWOULDBLOCK EAGAIN #endif ... #endif That should work, shouldn't it, assuming that v2 defines the posix constant? John