[Bug 40865] Steam does not connect to internet ( gethostbyname_r used even when not declared in netdb.h)

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jul 6 12:02:22 CDT 2016


https://bugs.winehq.org/show_bug.cgi?id=40865

--- Comment #9 from Bruno Jesus <00cpxxx at gmail.com> ---
Ok, everyone. I need help, even better, I need you to fix this bug if possible.

I looked into configure.ac but there is no precedent to this case as far as my
limited knowledge goes. I tried to find a way to add -Werror to the compilation
but failed, this should take 5 seconds for anyone used to change this file.

The check for gethostbyname_r is at line 2200, the test succeeds BUT must not
(as the function is not declared in netdb.h), as the #define name implies
HAVE_LINUX_GETHOSTBYNAME_R_6 must be LINUX only.

What about putting a #ifdef __linux__ in the test source?

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list