Add prototype for __WSAFDIsSet. Fix syntax error.
This commit is contained in:
parent
98747abd75
commit
d93f0814aa
|
@ -469,6 +469,8 @@ typedef struct WS(timeval)
|
|||
#define WS_FD_ISSET(fd, set) __WSAFDIsSet((SOCKET)(fd), (WS_fd_set*)(set))
|
||||
#endif
|
||||
|
||||
int WINAPI __WSAFDIsSet(SOCKET,WS(fd_set)*);
|
||||
|
||||
#endif /* WS_DEFINE_SELECT */
|
||||
|
||||
/* we have to define hton/ntoh as macros to avoid conflicts with Unix headers */
|
||||
|
|
|
@ -345,7 +345,7 @@ typedef HANDLE (WINAPI *LPFN_WSAASYNCGETPROTOBYNUMBER)(HWND,u_int,int,char*,int)
|
|||
typedef HANDLE (WINAPI *LPFN_WSAASYNCGETSERVBYNAME)(HWND,u_int,const char*,const char*,char*,int);
|
||||
typedef HANDLE (WINAPI *LPFN_WSAASYNCGETSERVBYPORT)(HWND,u_int,int,const char*,char*,int);
|
||||
typedef int (WINAPI *LPFN_WSAASYNCSELECT)(SOCKET,HWND,u_int,long);
|
||||
typedef int (WINAPI *LPFN_WSACANCELASYNCREQUEST)(HANDLE));
|
||||
typedef int (WINAPI *LPFN_WSACANCELASYNCREQUEST)(HANDLE);
|
||||
typedef int (WINAPI *LPFN_WSACANCELBLOCKINGCALL)(void);
|
||||
typedef int (WINAPI *LPFN_WSACLEANUP)(void);
|
||||
typedef int (WINAPI *LPFN_WSAGETLASTERROR)(void);
|
||||
|
|
Loading…
Reference in New Issue