Add FOLLY_HAS_FEATURE and use it
authorYedidya Feldblum <yfeldblum@fb.com>
Wed, 26 Jul 2017 21:18:41 +0000 (14:18 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 26 Jul 2017 21:32:49 +0000 (14:32 -0700)
commitf99fa5284c5a9e18d5f1af4c3ee13eaee675610e
tree7fd9779dcb3d4e8e223011b2d3b2911fe94409a0
parent1dd8e3878e8e3c3fa82e92f24eda677636200a04
Add FOLLY_HAS_FEATURE and use it

Summary:
[Folly] Add `FOLLY_HAS_FEATURE` and use it.

Use it in the definitions of `FOLLY_SANITIZE_ADDRESS` and `FOLLY_SANITIZE_THREAD`.

Reviewed By: meyering

Differential Revision: D5496915

fbshipit-source-id: e272137ad8ba891e64fc98444edf573115764ee2
folly/CPortability.h