Add FOLLY_HAVE_PTRHEAD
authorChristopher Dykes <cdykes@fb.com>
Fri, 14 Apr 2017 20:53:52 +0000 (13:53 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 14 Apr 2017 21:05:01 +0000 (14:05 -0700)
commit1244eb2496071f4438ca1dd3d95c56e09e99cd43
treebe111a8ae7027e8fe4003b872c5e7e918935ddc2
parentb8d8ea5abc428bc1991357e40a086b3cb34e68d9
Add FOLLY_HAVE_PTRHEAD

Summary:
Folly is gaining support for compiling without PThread support on Windows, but we need a way to know that at compile-time for certain APIs.
This also includes changes to guard the only API outside of portability/PThread.h that needs to be guarded on the existence of PThread.

Reviewed By: yfeldblum

Differential Revision: D4889526

fbshipit-source-id: 21175ad90f60a47718c7e2775e3b429b2aad62e2
folly/ThreadName.h
folly/configure.ac