Commit 67dc542a authored by Dan Melnic's avatar Dan Melnic Committed by Facebook Github Bot

Disable FOLLY_TLS under 32 bit Apple/iOS

Summary: Disable FOLLY_TLS under 32 bit Apple/iOS

Reviewed By: mzlee

Differential Revision: D17172252

fbshipit-source-id: ab47bb9ddb810aec45a940fc2ae834bac6a48f7c
parent ee3a3a1e
......@@ -222,6 +222,13 @@ constexpr bool kIsSanitize = false;
#error cannot define platform specific thread local storage
#endif
// disable FOLLY_TLS on 32 bit Apple/iOS
#if defined(__APPLE__) && FOLLY_MOBILE
#if (__SIZEOF_POINTER__ == 4)
#undef FOLLY_TLS
#endif
#endif
// It turns out that GNU libstdc++ and LLVM libc++ differ on how they implement
// the 'std' namespace; the latter uses inline namespaces. Wrap this decision
// up in a macro to make forward-declarations easier.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment