From: Michael Wetherell Date: Tue, 22 Aug 2006 19:07:21 +0000 (+0000) Subject: Compile fix for Minix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1f7c2c9a81201c144848d98bfbbe732825098666 Compile fix for Minix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/unix/dialup.cpp b/src/unix/dialup.cpp index 3c173d516e..2eabc7aa2e 100644 --- a/src/unix/dialup.cpp +++ b/src/unix/dialup.cpp @@ -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 } }