From 1f7c2c9a81201c144848d98bfbbe732825098666 Mon Sep 17 00:00:00 2001 From: Michael Wetherell Date: Tue, 22 Aug 2006 19:07:21 +0000 Subject: [PATCH] Compile fix for Minix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/dialup.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 } } -- 2.47.2