ports/devel/libphonenumber/files/patch-src_phonenumbers_base_thread__checker.h
2020-06-19 19:46:20 +00:00

11 lines
705 B
C++

--- src/phonenumbers/base/thread_checker.h.orig 2020-06-18 13:06:40 UTC
+++ src/phonenumbers/base/thread_checker.h
@@ -22,7 +22,7 @@
// Note that I18N_PHONENUMBERS_NO_THREAD_SAFETY must be defined only to let the
// user of the library know that it can't be used in a thread-safe manner when
// it is not depending on Boost.
-#if !defined(__linux__) && !defined(__APPLE__) && !defined(I18N_PHONENUMBERS_HAVE_POSIX_THREAD) && \
+#if !defined(__linux__) && !defined(__APPLE__) && !defined(I18N_PHONENUMBERS_HAVE_POSIX_THREAD) && !defined(__FreeBSD__) \
!defined(I18N_PHONENUMBERS_NO_THREAD_SAFETY) && \
!((__cplusplus >= 201103L) && defined(I18N_PHONENUMBERS_USE_STDMUTEX)) && \
!defined(WIN32)