1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

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> 2011-05-15 Ray Satiro <raysatiro@yahoo.com>
* connect.c (select_fd) [WINDOWS]: Ensure the socket is blocking. * 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); const char *inet_ntop (int, const void *, char *, socklen_t);
#endif #endif
#ifdef NEED_GAI_STRERROR
# undef gai_strerror
# define gai_strerror strerror
#endif
/* ioctl needed by set_windows_fd_as_blocking_socket() */ /* ioctl needed by set_windows_fd_as_blocking_socket() */
#include <sys/ioctl.h> #include <sys/ioctl.h>