X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ferrno.in.h;h=df2dab099a39c071614a9fb583cb97d7df7633a5;hb=b98e9dbb0e7fd2c0c6a6e1440ba3bb626c6ab7c3;hp=7ffa203f8adbcfa9210edd0fd61bdbf1741fb223;hpb=9121662f1a3ac82621aac4e7f8e8f64722b0903b;p=gnulib.git diff --git a/lib/errno.in.h b/lib/errno.in.h index 7ffa203f8..df2dab099 100644 --- a/lib/errno.in.h +++ b/lib/errno.in.h @@ -30,13 +30,15 @@ /* On native Windows platforms, many macros are not defined. */ # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ +/* POSIX says that EAGAIN and EWOULDBLOCK may have the same value. */ +# define EWOULDBLOCK EAGAIN + /* Values >= 100 seem safe to use. */ # define ETXTBSY 100 # define GNULIB_defined_ETXTBSY 1 /* These are intentionally the same values as the WSA* error numbers, defined in . */ -# define EWOULDBLOCK 10035 # define EINPROGRESS 10036 # define EALREADY 10037 # define ENOTSOCK 10038