mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Define gai_strerror under mingw.
This commit is contained in:
parent
ab4abc4056
commit
5019227f61
@ -1,3 +1,7 @@
|
||||
2005-06-26 Gisle Vanem <giva@bgnett.no>
|
||||
|
||||
* mswindows.h: Define gai_strerror under MinGW.
|
||||
|
||||
2005-06-26 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* utils.c (with_thousand_seps): Correctly implement thousand seps
|
||||
|
@ -176,6 +176,13 @@ int wrapped_closesocket (int);
|
||||
#endif
|
||||
const char *windows_strerror (int);
|
||||
|
||||
/* MingW 3.7 (or older) prototypes gai_strerror(), but is missing
|
||||
from all import libraries. */
|
||||
#if defined(__MINGW32__) && defined(ENABLE_IPV6)
|
||||
# undef gai_strerror
|
||||
# define gai_strerror windows_strerror
|
||||
#endif
|
||||
|
||||
/* Declarations of various socket errors: */
|
||||
|
||||
#define EWOULDBLOCK WSAEWOULDBLOCK
|
||||
|
Loading…
Reference in New Issue
Block a user