Fix folly on OSX and BSD in prep for FastCGI on HHVM
authorJoel Marcey <joelm@fb.com>
Fri, 27 Jun 2014 21:46:19 +0000 (14:46 -0700)
committerNicholas Ormrod <njormrod@fb.com>
Fri, 27 Jun 2014 22:08:05 +0000 (15:08 -0700)
commit75f93a6620f11ebbb5453dea49a8bf201e25b390
tree6345c4c0ab4dbeb7a32da7d7acf052ce96909880
parenta181fa047a616222a4826516c00d7dc36d8a3deb
Fix folly on OSX and BSD in prep for FastCGI on HHVM

Summary:
A recent change in folly/MemoryMapping.cpp uses MAP_ANONYMOUS, which is
named MAP_ANON on OSX/BSD.

We need folly and third-party changes in order to land a pull request for HHVM
that starts to get FastCGI running on OSX.

See the checklist of the HHVM pull request here: https://github.com/facebook/hhvm/pull/2944#issuecomment-47281003

Closes #67

GitHub Author: Daniel Sloof <goapsychadelic@gmail.com>

@override-unit-failures

Test Plan: fbmake runtests 100%

Reviewed By: pt@fb.com, njormrod@fb.com

FB internal diff: D1407393
folly/MemoryMapping.cpp
folly/Portability.h