Skip to content
Prev Previous commit
Next Next commit
Update based on feedback in cl/220661460.
  • Loading branch information
wilhuff committed Nov 8, 2018
commit 2d6700336dc42f0936cf7537be9cbde7a2d7e4d5
5 changes: 2 additions & 3 deletions Firestore/third_party/abseil-cpp/absl/base/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,8 @@
//
// Otherwise, `__has_feature` is only supported by Clang so it has be inside
// `defined(__APPLE__)` check.
#if TARGET_OS_IPHONE && __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_9_0
#define ABSL_HAVE_THREAD_LOCAL 0
#elif __has_feature(cxx_thread_local)
#if __has_feature(cxx_thread_local) && \
!(TARGET_OS_IPHONE && __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_9_0)
#define ABSL_HAVE_THREAD_LOCAL 1
#endif
#else // !defined(__APPLE__)
Expand Down