mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
improve system error messages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35764 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
21bd77c921
commit
3f773a24fc
9 changed files with 65 additions and 36 deletions
|
@ -83,7 +83,9 @@
|
|||
/*
|
||||
* Stuff for setting the sockets into non-blocking mode.
|
||||
*/
|
||||
#if defined(__POSIX_SOURCE) || defined(__EXT_POSIX1_198808)
|
||||
#if defined(__POSIX_SOURCE)\
|
||||
|| defined(__EXT_POSIX1_198808)\
|
||||
|| defined(O_NONBLOCK)
|
||||
#define NBLK_OPT O_NONBLOCK
|
||||
#else
|
||||
#define NBLK_OPT FNDELAY
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue