From cd81370afe95101d4287d9d56a7de04647aefcf4 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Mon, 23 May 2011 20:24:20 +0200 Subject: [PATCH] Fix error messages under Windows. --- src/ChangeLog | 4 ++++ src/mswindows.h | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 33bd3199..56d6def4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2011-05-23 Giuseppe Scrivano + + * mswindows.h [NEED_GAI_STRERROR]: remove definition for gai_strerror. + 2011-05-15 Ray Satiro * connect.c (select_fd) [WINDOWS]: Ensure the socket is blocking. diff --git a/src/mswindows.h b/src/mswindows.h index e0a20e4a..9b91aaf3 100644 --- a/src/mswindows.h +++ b/src/mswindows.h @@ -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