Mail Archives: djgpp/1996/02/23/19:06:51
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
- Raw text -