OSDN Git Service

https://sourceforge.net/tracker/?func=detail&aid=3554826&group_id=2435&atid=102435
authorEarnie Boyd <earnie@users.sourceforge.net>
Fri, 19 Oct 2012 19:12:10 +0000 (15:12 -0400)
committerEarnie Boyd <earnie@users.sourceforge.net>
Fri, 19 Oct 2012 19:12:10 +0000 (15:12 -0400)
* include/mswsock.h (WSAPoll): New declaration.
* lib/lib32/ws2_32.def (WSAPoll@12): New import.

ChangeLog
include/mswsock.h
lib/lib32/ws2_32.def

index e6f2e8f..b1dc0fe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-10-19  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       https://sourceforge.net/tracker/?func=detail&aid=3554826&group_id=2435&atid=102435
+
+       * include/mswsock.h (WSAPoll): New declaration.
+       * lib/lib32/ws2_32.def (WSAPoll@12): New import.
+
 2012-10-17  Earnie Boyd  <earnie@users.sourceforge.net>
 
        * tests/Makefile.in (libcrt-test-asinh): Add test.
index a5c6454..1bf6810 100644 (file)
@@ -121,6 +121,10 @@ typedef struct wsacmsghdr {
 BOOL PASCAL DisconnectEx(SOCKET,LPOVERLAPPED,DWORD,DWORD);
 int PASCAL WSARecvMsg(SOCKET,LPWSAMSG,LPDWORD,LPWSAOVERLAPPED,LPWSAOVERLAPPED_COMPLETION_ROUTINE);
 
+#if (_WIN32_WINNT >= _WIN32_WINNT_VISTA)
+int WSAAPI WSAPoll(WSAPOLLFD, ULONG, INT);
+#endif
+
 #endif /* _WINSOCK2_H */
 
 #ifdef __cplusplus
index 19f3f69..f70338d 100644 (file)
@@ -125,6 +125,7 @@ WSAStringToAddressA@20
 WSAStringToAddressW@20
 WSAUnadvertiseProvider@4
 WSAWaitForMultipleEvents@20
+WSAPoll@12
 WSCDeinstallProvider@8
 WSCEnableNSProvider@8
 WSCEnumProtocols@16