Make the sys/uio.h portability header work for Windows
authorChristopher Dykes <cdykes@fb.com>
Wed, 11 May 2016 23:55:28 +0000 (16:55 -0700)
committerFacebook Github Bot 0 <facebook-github-bot-0-bot@fb.com>
Thu, 12 May 2016 00:05:21 +0000 (17:05 -0700)
commitc6ad47b6d3a5d09477ab210916dfac0982104cd8
treeca90617fba15a999cb3100a53c88057fda1a6d79
parentbd52f50227674b1f25eaa091610a61643fc354cb
Make the sys/uio.h portability header work for Windows

Summary: Windows doesn't have sys/uio.h, so implement it. This doesn't adjust any includes of it yet, I'll leave that for a separate diff.

Reviewed By: yfeldblum

Differential Revision: D2978042

fbshipit-source-id: 16d398a856de50b6c662f739eb11dfb851096592
folly/FileUtil.cpp
folly/FileUtil.h
folly/Makefile.am
folly/Portability.h
folly/configure.ac
folly/portability/SysUio.cpp [new file with mode: 0755]
folly/portability/SysUio.h
folly/test/FileUtilTest.cpp