2003-01-27 Danny Smith <dannysmith@users.sourceforge.net>
* include/rpcnterr.h (RPC_X_INVALID_PIPE_OPERATION): Add define. * include/winbase.h (WAIT_TIMEOUT): Guard against prior definition. (WAIT_FAILED): Cast to DWORD. * include/winerror.h (WAIT_TIMEOUT): Guard against prior definition. 2003-01-27 Bang Jun-Young <junyoung@netbsd.org> * include/winerror.h: Protect against multiple definition of WSA* error codes. * include/winsock.h: Likewise. * include/winsock2.h: Likewise. 2003-01-27 Bang Dong-Heui Bang Jun-Young <junyoung@netbsd.org> * include/winerror.h (ERROR_*, SEC_E_*,RPC_S_*, FRS_ERR_*, DNS_*, WSA*, WAIT_TIMEOUT): Add missing error codes. (RPC_X_INVALID_PIPE_OPERATION): Remove define.
This commit is contained in:
@ -366,6 +366,7 @@ struct sockproto {
|
||||
#define FD_ACCEPT 8
|
||||
#define FD_CONNECT 16
|
||||
#define FD_CLOSE 32
|
||||
#ifndef WSABASEERR
|
||||
#define WSABASEERR 10000
|
||||
#define WSAEINTR (WSABASEERR+4)
|
||||
#define WSAEBADF (WSABASEERR+9)
|
||||
@ -418,6 +419,8 @@ struct sockproto {
|
||||
#define WSATRY_AGAIN (WSABASEERR+1002)
|
||||
#define WSANO_RECOVERY (WSABASEERR+1003)
|
||||
#define WSANO_DATA (WSABASEERR+1004)
|
||||
#endif /* !WSABASEERR */
|
||||
|
||||
#define WSANO_ADDRESS WSANO_DATA
|
||||
#if !(defined (__INSIDE_CYGWIN__) || defined (__INSIDE_MSYS__))
|
||||
#define h_errno WSAGetLastError()
|
||||
|
Reference in New Issue
Block a user