Commit a1212e7e authored by Stefano Sabatini's avatar Stefano Sabatini Committed by Pekka Pessi

Undefine gai_strerror symbol if the function is not defined.

Avoid a re-definition issue and fix compilation in MinGW, where
gai_strerror is declared but not defined.
parent 7e6f11fd
......@@ -820,6 +820,8 @@ freeaddrinfo(ai)
#undef gai_strerror
char *
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