Fix unused-function warning in wxSockAddressImpl code
This commit is contained in:
@@ -180,7 +180,11 @@ wxIMPLEMENT_DYNAMIC_CLASS(wxUNIXaddress, wxSockAddress);
|
|||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
|
|
||||||
#if defined(HAVE_GETHOSTBYNAME)
|
#if defined(HAVE_GETHOSTBYNAME) && \
|
||||||
|
!defined(HAVE_FUNC_GETHOSTBYNAME_R_6) && \
|
||||||
|
!defined(HAVE_FUNC_GETHOSTBYNAME_R_5) && \
|
||||||
|
!defined(HAVE_FUNC_GETHOSTBYNAME_R_3)
|
||||||
|
|
||||||
hostent *deepCopyHostent(hostent *h,
|
hostent *deepCopyHostent(hostent *h,
|
||||||
const hostent *he,
|
const hostent *he,
|
||||||
char *buffer,
|
char *buffer,
|
||||||
|
Reference in New Issue
Block a user