Make FOLLY_HAS_COROUTINES dependent on header
authorKeith Daigle <kdaigle@fb.com>
Thu, 4 Jan 2018 14:37:27 +0000 (06:37 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 4 Jan 2018 14:51:50 +0000 (06:51 -0800)
commitc60784b8bc21ff4a420da59e29fa0aec3abd0f8a
tree358fbc0e39f1316a275586e3505a74f86b826e4e
parent92d510df9827c34f0384cd289c957a6983ce8f4a
Make FOLLY_HAS_COROUTINES dependent on header

Summary:
This breaks while building on aarch64 each time because the headers aren't
in the repo. I did a quick grep and I don't see anything in folly that
uses OptionalAwaitable or OptionalPromise so perhaps it's possible to
remove instead, can do that if preferred.  Depends on D6611609 to complete
build of tests cleanly.

Reviewed By: yfeldblum

Differential Revision: D6643759

fbshipit-source-id: f480d50383f85fbe905daaad74198b6557609347
folly/CPortability.h
folly/Portability.h