From b299c111054776e31288bcf63e03b3324b10e639 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 17 Sep 2002 12:28:09 +0000 Subject: [PATCH] test for __BSD__, not only __FREEBSD__ in ping(1) options determination code git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/dialup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/dialup.cpp b/src/unix/dialup.cpp index 8d6a76058e..50150eb326 100644 --- a/src/unix/dialup.cpp +++ b/src/unix/dialup.cpp @@ -785,7 +785,7 @@ wxDialUpManagerImpl::NetConnection wxDialUpManagerImpl::CheckPing() cmd << m_PingPath << ' '; #if defined(__SOLARIS__) || defined (__SUNOS__) // nothing to add to ping command -#elif defined(__LINUX__) || defined ( __FREEBSD__) || defined(__DARWIN__) || defined( __VMS ) +#elif defined(__LINUX__) || defined (__BSD__) || defined( __VMS ) cmd << "-c 1 "; // only ping once #elif defined(__HPUX__) cmd << "64 1 "; // only ping once (need also specify the packet size)