Get Subprocess running for Mac OS X
authorPeter Griess <pgriess@fb.com>
Wed, 20 Nov 2013 21:51:57 +0000 (13:51 -0800)
committerPeter Griess <pgriess@fb.com>
Tue, 26 Nov 2013 15:05:18 +0000 (07:05 -0800)
commit54e29e718a816e6cbbcbf2f439c73e29c1e63ed1
treeba1816553e327ba7bd50165aa552e7b6193366cf
parentc807fe1f40fb1e02ae9617195ade148dd110c473
Get Subprocess running for Mac OS X

Summary:
D1030008 added Subprocess to libfolly in automake builds. This
surfaced some ambient compilation errors that slipped through in my
prior run through porting this.
- Mac OS X uses a nonstandard location for wait.h
- Non-Linux platforms don't support prctl; gate that on Linux

Test Plan:
- fbmake runtests in fbcode
- make check on Mac OS X

Reviewed By: davejwatson@fb.com

FB internal diff: D1066273

Blame Revision: D1030008
folly/Subprocess.cpp
folly/Subprocess.h