+2008-10-05 Bruno Haible <bruno@clisp.org>
+
+ * lib/winsock.c (strerror): Remove unused #undef.
+ (rpl_close): Remove unused local variable.
+
+ * modules/sys_socket (Depends-on); Add errno.
+
2008-10-05 Bruno Haible <bruno@clisp.org>
* lib/sys_select.in.h: Include the GL_LINK_WARNING definition.
#undef recvfrom
#undef sendto
#undef setsockopt
-#undef strerror
# define FD_TO_SOCKET(fd) ((SOCKET) _get_osfhandle ((fd)))
# define SOCKET_TO_FD(fh) (_open_osfhandle ((long) (fh), O_RDWR | O_BINARY))
int
rpl_close (int fd)
{
- char buf[sizeof (int)];
SOCKET sock = FD_TO_SOCKET (fd);
WSANETWORKEVENTS ev;