Fix compilation of wxGethostbyname_r() and wxGethostbyaddr_r() under AIX.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 31 Oct 2011 14:24:51 +0000 (14:24 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 31 Oct 2011 14:24:51 +0000 (14:24 +0000)
commit6677f122a1bf48ec0d7902e0d2accdeacb0d0d12
tree34a28a48d371dfa4fc9518eaaf2e24f0c31ca4af
parent5fe43b6017b7b3216e544792c893b53e6d15a408
Fix compilation of wxGethostbyname_r() and wxGethostbyaddr_r() under AIX.

gethostbyname_r() and gethostbyaddr_r() functions return int, not hostent*,
under AIX so assign their return value to the error indicator.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/sckaddr.cpp