mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:25:58 +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
2 changed files with 10 additions and 0 deletions
|
@ -69,6 +69,8 @@ extern "C" {
|
||||||
|
|
||||||
#define EDEADLOCK EDEADLK
|
#define EDEADLOCK EDEADLK
|
||||||
|
|
||||||
|
#define EWOULDBLOCK 140
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -108,7 +108,15 @@ extern "C"
|
||||||
#define ADNS_CLEAR_ERRNO {WSASetLastError(errno = 0);}
|
#define ADNS_CLEAR_ERRNO {WSASetLastError(errno = 0);}
|
||||||
|
|
||||||
#define ENOBUFS WSAENOBUFS
|
#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 EWOULDBLOCK WSAEWOULDBLOCK
|
||||||
|
|
||||||
#define EINPROGRESS WSAEINPROGRESS
|
#define EINPROGRESS WSAEINPROGRESS
|
||||||
#define EMSGSIZE WSAEMSGSIZE
|
#define EMSGSIZE WSAEMSGSIZE
|
||||||
#define ENOPROTOOPT WSAENOPROTOOPT
|
#define ENOPROTOOPT WSAENOPROTOOPT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue