Fix coroutine feature test macro on MSVC v2017.09.18.00
authorEric Niebler <eniebler@fb.com>
Fri, 15 Sep 2017 21:21:45 +0000 (14:21 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 15 Sep 2017 21:22:27 +0000 (14:22 -0700)
commit271977282fe30d3c351b5e8a6f1692d743996ed1
treecce2a9a44ab3bfb2b33acf9f896162ad21a60536
parent3597c587da97b02466811339af1e9ced2e73d988
Fix coroutine feature test macro on MSVC

Summary: Coroutines are only available on MSVC when the /await compiler switch was passed, in which case the `_RESUMABLE_FUNCTIONS_SUPPORTED` macro is defined.

Reviewed By: Orvid

Differential Revision: D5837303

fbshipit-source-id: af3349646e8875e3eac1bc3bbf47203f41f0bbde
folly/Portability.h