Fix fibers build on older boost
authorYedidya Feldblum <yfeldblum@fb.com>
Thu, 19 Oct 2017 18:37:54 +0000 (11:37 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 19 Oct 2017 18:54:21 +0000 (11:54 -0700)
commit70d3004b2507a4e93ad0ca11e77d9dd2f2c620b8
tree7e4fb43c9b10777115a51c6a3b2413a683d7d8b3
parent7ebe7c2a249de44209e8bcc453e1a70bafd4ed19
Fix fibers build on older boost

Summary:
[Folly] Fix `folly/fibers/` build on older boost.

Where `jump_fcontext` takes `intptr_t` rather than an actual pointer, and we warn about implicit conversions from pointers to integral types.

Reviewed By: Orvid

Differential Revision: D6098230

fbshipit-source-id: 61bd7bdff5de728d3febe8b35c97d024ab6f236a
folly/fibers/BoostContextCompatibility.h