networking portability for for solaris

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33951 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2011-10-08 16:29:19 +00:00
parent 5021629c2b
commit 364fb1ec98
7 changed files with 39 additions and 16 deletions

View file

@ -70,7 +70,7 @@
#define INVALID_SOCKET -1
#define BADSOCKET(X) ((X) < 0)
#define GSNETERROR errno
#define GSWOULDBLOCK (errno == EINPROGRESS)
#define GSWOULDBLOCK (errno == EINPROGRESS || errno == EALREADY)
#endif /* __MINGW__ */