OLD | NEW |
| (Empty) |
1 --- protobuf-cleaned/src/google/protobuf/stubs/platform_macros.h 2015-12-
30 13:21:46.000000000 -0800 | |
2 +++ protobuf-patched/src/google/protobuf/stubs/platform_macros.h 2016-03-
31 13:25:38.960009002 -0700 | |
3 @@ -111,11 +111,11 @@ | |
4 | |
5 #undef GOOGLE_PROTOBUF_PLATFORM_ERROR | |
6 | |
7 -#if defined(GOOGLE_PROTOBUF_OS_ANDROID) || defined(GOOGLE_PROTOBUF_OS_IPHONE) | |
8 +#if defined(GOOGLE_PROTOBUF_OS_ANDROID) || defined(GOOGLE_PROTOBUF_OS_APPLE) | |
9 // Android ndk does not support the __thread keyword very well yet. Here | |
10 // we use pthread_key_create()/pthread_getspecific()/... methods for | |
11 // TLS support on android. | |
12 -// iOS also does not support the __thread keyword. | |
13 +// Apple Clang also does not support the __thread keyword. | |
14 #define GOOGLE_PROTOBUF_NO_THREADLOCAL | |
15 #endif | |
16 | |
OLD | NEW |