We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 887d795 commit a971d06Copy full SHA for a971d06
src/google/protobuf/stubs/platform_macros.h
@@ -122,11 +122,11 @@ GOOGLE_PROTOBUF_PLATFORM_ERROR
122
123
#undef GOOGLE_PROTOBUF_PLATFORM_ERROR
124
125
-#if defined(GOOGLE_PROTOBUF_OS_ANDROID) || defined(GOOGLE_PROTOBUF_OS_IPHONE) || defined(__OpenBSD__)
+#if defined(GOOGLE_PROTOBUF_OS_ANDROID) || defined(GOOGLE_PROTOBUF_OS_IPHONE)
126
// Android ndk does not support the __thread keyword very well yet. Here
127
// we use pthread_key_create()/pthread_getspecific()/... methods for
128
// TLS support on android.
129
-// iOS and OpenBSD also do not support the __thread keyword.
+// iOS also does not support the __thread keyword.
130
#define GOOGLE_PROTOBUF_NO_THREADLOCAL
131
#endif
132
0 commit comments