]> git.saurik.com Git - wxWidgets.git/commitdiff
Compile fix for Minix.
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Tue, 22 Aug 2006 19:07:21 +0000 (19:07 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Tue, 22 Aug 2006 19:07:21 +0000 (19:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/dialup.cpp

index 3c173d516e2b540e18c531eef298ed92715fb60e..2eabc7aa2eb78cb5e314e62278308ba9c4b8a42b 100644 (file)
@@ -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
    }
 }