aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_protobuf_src_google_protobuf_stubs_platform__macros.h
blob: f22a0b0c9372f3eaed5a7980b8e08230481d6d44 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- third_party/protobuf/src/google/protobuf/stubs/platform_macros.h.orig	2020-11-13 06:37:04 UTC
+++ third_party/protobuf/src/google/protobuf/stubs/platform_macros.h
@@ -118,7 +118,7 @@ GOOGLE_PROTOBUF_PLATFORM_ERROR
 
 #undef GOOGLE_PROTOBUF_PLATFORM_ERROR
 
-#if defined(GOOGLE_PROTOBUF_OS_ANDROID) || defined(GOOGLE_PROTOBUF_OS_IPHONE) || defined(__OpenBSD__)
+#if defined(GOOGLE_PROTOBUF_OS_ANDROID) || defined(GOOGLE_PROTOBUF_OS_IPHONE) || defined(__FreeBSD__)
 // Android ndk does not support the __thread keyword very well yet. Here
 // we use pthread_key_create()/pthread_getspecific()/... methods for
 // TLS support on android.