Import devel/llvm50 version 5.0.0_1
[dports.git] / www / chromium / files / patch-third__party_libphonenumber_dist_cpp_src_phonenumbers_base_thread__checker.h
1 --- third_party/libphonenumber/dist/cpp/src/phonenumbers/base/thread_checker.h.orig     2016-05-27 10:38:59.514474000 -0400
2 +++ third_party/libphonenumber/dist/cpp/src/phonenumbers/base/thread_checker.h  2016-05-27 10:40:19.234261000 -0400
3 @@ -23,6 +23,7 @@
4  // user of the library know that it can't be used in a thread-safe manner when
5  // it is not depending on Boost.
6  #if !defined(__linux__) && !defined(__APPLE__) && \
7 +    !defined(__FreeBSD__) && !defined(__OpenBSD__) && \
8      !defined(I18N_PHONENUMBERS_NO_THREAD_SAFETY)
9  #error Building without Boost, please provide \
10         -DI18N_PHONENUMBERS_NO_THREAD_SAFETY
11 @@ -31,7 +32,7 @@
12  #endif
13  
14  #if !defined(NDEBUG) && !defined(I18N_PHONENUMBERS_USE_BOOST) && \
15 -    (defined(__linux__) || defined(__apple__))
16 +    (defined(__linux__) || defined(__apple__)) || defined(__FreeBSD__) || defined(__OpenBSD__)
17  
18  #include <pthread.h>
19