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:
Michael Wetherell
2006-08-22 19:07:21 +00:00
parent 5b8ee5dec9
commit 1f7c2c9a81

View File

@@ -580,9 +580,11 @@ wxDialUpManagerImpl::NetConnection wxDialUpManagerImpl::CheckConnect()
} }
else // failed to connect else // failed to connect
{ {
#ifdef ENETUNREACH
if(errno == ENETUNREACH) if(errno == ENETUNREACH)
return Net_No; // network is unreachable return Net_No; // network is unreachable
else else
#endif
return Net_Unknown; // connect failed, but don't know why return Net_Unknown; // connect failed, but don't know why
} }
} }