Fix one missing conditional for Android
authorSean Cannella <seanc@fb.com>
Thu, 16 Oct 2014 19:16:41 +0000 (12:16 -0700)
committerdcsommer <dcsommer@fb.com>
Fri, 17 Oct 2014 18:45:21 +0000 (11:45 -0700)
commit581f790c8475d87f95800e865e92bbf6c297e59e
tree9441f1fe7fb4a4113d4dad14a1aee74f7829cc71
parent7cc48094bf88eb6b263b52b29f1e151eda1a6b71
Fix one missing conditional for Android

Summary:
pthread_atfork isn't defined in the Android NDK (and therefore is not actually supported even though it's in bionic/libc) so don't call it there.

Test Plan: compiled on Linux, Android

Reviewed By: meyering@fb.com

Subscribers: njormrod, shikong, kmdent, fma

FB internal diff: D1620584

Tasks: 5183325
folly/detail/ThreadLocalDetail.h