Don't use FOLLY_TLS on Android
[folly.git] / folly / Portability.h
index f35e3bbb9d8daf8048005bb5b8699d3b230a6954..87dbe2569314fc239f4ed779c1fd56d66e12d15f 100644 (file)
@@ -152,7 +152,8 @@ struct MaxAlign { char c; } __attribute__((__aligned__));
 /* Platform specific TLS support
  * gcc implements __thread
  * msvc implements __declspec(thread)
- * the semantics are the same (but remember __thread is broken on apple)
+ * the semantics are the same
+ * (but remember __thread has different semantics when using emutls (ex. apple))
  */
 #if defined(_MSC_VER)
 # define FOLLY_TLS __declspec(thread)