Compile fix for Minix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -580,9 +580,11 @@ wxDialUpManagerImpl::NetConnection wxDialUpManagerImpl::CheckConnect()
|
||||
}
|
||||
else // failed to connect
|
||||
{
|
||||
#ifdef ENETUNREACH
|
||||
if(errno == ENETUNREACH)
|
||||
return Net_No; // network is unreachable
|
||||
else
|
||||
#endif
|
||||
return Net_Unknown; // connect failed, but don't know why
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user