From: Vadim Zeitlin Date: Wed, 12 Jun 2002 16:08:00 +0000 (+0000) Subject: use AF_INET instead of PF_INET in wxGetFullHostName X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d5b18b50bd7805c36dcd47dbc48e8f75d4973414 use AF_INET instead of PF_INET in wxGetFullHostName git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index 24199aca27..185d3ebb9e 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -188,7 +188,7 @@ bool wxGetFullHostName(wxChar *buf, int maxSize) if ( pHostEnt ) { // Windows will use DNS internally now - pHostEnt = gethostbyaddr(pHostEnt->h_addr, 4, PF_INET); + pHostEnt = gethostbyaddr(pHostEnt->h_addr, 4, AF_INET); } if ( pHostEnt )