Commit d67b07c1 authored by Ondřej Surý's avatar Ondřej Surý
Browse files

gai_strerror on Windows is just 'char *'

parent 7cba3cc4
Pipeline #4360 failed with stages
in 8 minutes and 30 seconds
......@@ -73,7 +73,11 @@ static const char *gai_messages[] = {
* Returns an error message corresponding to an error code returned by
* getaddrinfo() and getnameinfo()
*/
#if defined _WIN32
char *
#else
const char *
#endif
gai_strerror(int ecode) {
union {
const char *const_ptr;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment