mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +00:00
[CRT]
* Add missing EWOULDBLOCK define. [ADNS] * Make sure we get the intended EWOULDBLOCK here. svn path=/trunk/; revision=62992
This commit is contained in:
parent
1bf5033020
commit
6e47994153
|
@ -69,6 +69,8 @@ extern "C" {
|
|||
|
||||
#define EDEADLOCK EDEADLK
|
||||
|
||||
#define EWOULDBLOCK 140
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -108,7 +108,15 @@ extern "C"
|
|||
#define ADNS_CLEAR_ERRNO {WSASetLastError(errno = 0);}
|
||||
|
||||
#define ENOBUFS WSAENOBUFS
|
||||
|
||||
/* FIXME: there are two types of defines for this,
|
||||
* one points to WSAEWOULDBLOCK and the other is from errno.h */
|
||||
#ifdef EWOULDBLOCK
|
||||
#undef EWOULDBLOCK
|
||||
#endif
|
||||
|
||||
#define EWOULDBLOCK WSAEWOULDBLOCK
|
||||
|
||||
#define EINPROGRESS WSAEINPROGRESS
|
||||
#define EMSGSIZE WSAEMSGSIZE
|
||||
#define ENOPROTOOPT WSAENOPROTOOPT
|
||||
|
|
Loading…
Reference in a new issue