From 770bcaf37819479049c373dc25b41826d974f9ea Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Tue, 19 Jul 2022 11:40:30 +0200 Subject: [PATCH] Handle NetBSD like other BSDs for ping in wxDialUpManager NetBSD does not define __BSD__, use __NetBSD__. See #22645. --- src/unix/dialup.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unix/dialup.cpp b/src/unix/dialup.cpp index 3bce0e2211..9c11dc6a85 100644 --- a/src/unix/dialup.cpp +++ b/src/unix/dialup.cpp @@ -795,6 +795,7 @@ wxDialUpManagerImpl::NetConnection wxDialUpManagerImpl::CheckPing() // nothing to add to ping command #elif defined(__AIX__) || \ defined (__BSD__) || \ + defined (__NetBSD__) || \ defined(__LINUX__) || \ defined(__OSF__) || \ defined(__SGI__) || \