Fix folly compilation on MacOSX
authorSara Golemon <sgolemon@fb.com>
Wed, 10 Sep 2014 18:35:44 +0000 (11:35 -0700)
committerSara Golemon <sgolemon@fb.com>
Wed, 10 Sep 2014 23:59:55 +0000 (16:59 -0700)
commit6b5ac4feba72991143d4f07f8b602dac48e7ab22
tree6e056f0596fca943119361d7b9e35fe3be367355
parentb229d828ef329c4428bef4f8a5d384d406f9c56c
Fix folly compilation on MacOSX

Summary:
We don't always have features.h
and our glibc doesn't have __GLIBC_PREREQ()

@override-unit-failures

Test Plan: Builds on MacOSX

Reviewed By: pt@fb.com

Subscribers: njormrod

FB internal diff: D1546679
folly/ThreadName.h
folly/io/async/EventFDWrapper.h