Eric Blake <ebl...@redhat.com> writes: > Several platforms declare gai_strerror to return char* rather than > const char*. Worse, on mingw, if UNICODE is defined, it is defined > to return WCHAR*, which means the result is in unicode but an > application expecting bytes for characters will only see a one-byte > answer. > > * m4/getaddrinfo.m4 (gl_GETADDRINFO): Detect broken signatures, > and work around mingw with UNICODE defined. > (gl_PREREQ_GETADDRINFO): Drop redundant decl check.
Thanks. I'll test the patch in my project and if there is any problem, I'll notice and report back... /Simon