$OpenBSD: patch-third_party_libphonenumber_dist_cpp_src_phonenumbers_base_synchronization_lock_h,v 1.12 2021/10/29 14:49:42 robert Exp $

Index: third_party/libphonenumber/dist/cpp/src/phonenumbers/base/synchronization/lock.h
--- third_party/libphonenumber/dist/cpp/src/phonenumbers/base/synchronization/lock.h.orig
+++ third_party/libphonenumber/dist/cpp/src/phonenumbers/base/synchronization/lock.h
@@ -63,7 +63,7 @@ class Lock { (private)
 // Dummy lock implementation on non-POSIX platforms. If you are running on a
 // different platform and care about thread-safety, please compile with
 // -DI18N_PHONENUMBERS_USE_BOOST.
-#elif !defined(__linux__) && !defined(__APPLE__)
+#elif !defined(__linux__) && !defined(__APPLE__) && !defined(__OpenBSD__)
 
 namespace i18n {
 namespace phonenumbers {
