diff options
author | Brad Smith <brad@comstyle.com> | 2022-10-09 15:50:48 -0400 |
---|---|---|
committer | Brad Smith <brad@comstyle.com> | 2022-10-09 15:50:48 -0400 |
commit | b471558d51ca15942f3294751a86af1219ea63bb (patch) | |
tree | 84d2628c83e463f8fab2c1e2db72389c50f0318d | |
parent | 98460d39fa8817d3227b87680f6c3969e0609ad7 (diff) | |
download | protobuf-b471558d51ca15942f3294751a86af1219ea63bb.tar.gz |
3.19.x No longer define no_threadlocal on OpenBSD
-rw-r--r-- | src/google/protobuf/stubs/platform_macros.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/google/protobuf/stubs/platform_macros.h b/src/google/protobuf/stubs/platform_macros.h index 24799600d..d10faf9aa 100644 --- a/src/google/protobuf/stubs/platform_macros.h +++ b/src/google/protobuf/stubs/platform_macros.h @@ -122,11 +122,11 @@ 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) // 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. -// iOS and OpenBSD also do not support the __thread keyword. +// iOS also does not support the __thread keyword. #define GOOGLE_PROTOBUF_NO_THREADLOCAL #endif |