$NetBSD$ * Part of patchset to build electron on NetBSD * Based on OpenBSD's chromium patches, and FreeBSD's electron patches --- third_party/abseil-cpp/absl/base/config.h.orig 2025-02-24 19:59:26.000000000 +0000 +++ third_party/abseil-cpp/absl/base/config.h @@ -412,7 +412,8 @@ static_assert(ABSL_INTERNAL_INLINE_NAMES #ifdef ABSL_HAVE_SCHED_YIELD #error ABSL_HAVE_SCHED_YIELD cannot be directly set #elif defined(__linux__) || defined(__ros__) || defined(__native_client__) || \ - defined(__VXWORKS__) + defined(__VXWORKS__) || defined(__OpenBSD__) || defined(__FreeBSD__) || \ + defined(__NetBSD__) #define ABSL_HAVE_SCHED_YIELD 1 #endif @@ -427,7 +428,8 @@ static_assert(ABSL_INTERNAL_INLINE_NAMES // platforms. #ifdef ABSL_HAVE_SEMAPHORE_H #error ABSL_HAVE_SEMAPHORE_H cannot be directly set -#elif defined(__linux__) || defined(__ros__) || defined(__VXWORKS__) +#elif defined(__linux__) || defined(__ros__) || defined(__VXWORKS__) || \ + defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) #define ABSL_HAVE_SEMAPHORE_H 1 #endif