facebook / wangle

Wangle is a framework providing a set of common client/server abstractions for building services in a consistent, modular, and composable way.
Apache License 2.0
3.05k stars 537 forks source link

Simple fix building error for OSX(just remove FileRegion when it is compiling on not Linux #25

Closed charsyam closed 8 years ago

charsyam commented 8 years ago

This is related with https://github.com/facebook/wangle/issues/6 I am not sure that removing FileRegion is really good(comparing to implement operation of splice)

splice works on only LINUX. so I add #error to build fail when user use FileRegion.h