Fix error messages under Windows.

This commit is contained in:
Giuseppe Scrivano 2011-05-23 20:24:20 +02:00
parent a97b673747
commit cd81370afe
2 changed files with 4 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2011-05-23 Giuseppe Scrivano <gscrivano@gnu.org>
* mswindows.h [NEED_GAI_STRERROR]: remove definition for gai_strerror.
2011-05-15 Ray Satiro <raysatiro@yahoo.com>
* connect.c (select_fd) [WINDOWS]: Ensure the socket is blocking.

View File

@ -113,11 +113,6 @@ typedef __int64 wgint;
const char *inet_ntop (int, const void *, char *, socklen_t);
#endif
#ifdef NEED_GAI_STRERROR
# undef gai_strerror
# define gai_strerror strerror
#endif
/* ioctl needed by set_windows_fd_as_blocking_socket() */
#include <sys/ioctl.h>