Handle wrapvFull when IOV_MAX is not defined.
authorMichael Lee <mzlee@fb.com>
Wed, 17 Feb 2016 04:38:20 +0000 (20:38 -0800)
committerfacebook-github-bot-1 <folly-bot@fb.com>
Wed, 17 Feb 2016 05:20:27 +0000 (21:20 -0800)
commit8f7fb4fb3707c342634470a67aeea851f6f0fcca
tree3655ceff0af9a0e59289a3a6314726dbd9bf014d
parent167e24837b0845f812c926c4b7cd429b84b20c61
Handle wrapvFull when IOV_MAX is not defined.

Summary:--Perhaps this should move to Portability.h instead.  There is another instance of this in io/async/AsyncSocket.cpp.--

Added `portability/SysUio.h` to handle the c-macro conversion into a usable value.

Reviewed By: yfeldblum

Differential Revision: D2940778

fb-gh-sync-id: 897e44b430c02e5a7d826f3e8da9e4979b7b898c
shipit-source-id: 897e44b430c02e5a7d826f3e8da9e4979b7b898c
folly/Makefile.am
folly/detail/FileUtilDetail.h
folly/io/async/AsyncSocket.cpp
folly/portability/SysUio.h [new file with mode: 0644]