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:
rfm 2012-10-30 13:35:00 +00:00
parent 36e87ee63b
commit cbf57cf013
9 changed files with 65 additions and 36 deletions

View file

@ -56,7 +56,9 @@
# include <fcntl.h>
#endif
#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