Fix build on Mac OSX Sierra
authorChristopher Dykes <cdykes@fb.com>
Wed, 12 Oct 2016 00:40:01 +0000 (17:40 -0700)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Wed, 12 Oct 2016 00:53:42 +0000 (17:53 -0700)
commita34e06a196443023c4b5fe2c18579996565e57f1
tree7e560725d1e8ec23901c30573db65dd040a15a80
parent74ea0a31f65bcb4a6debc997a57f9cc1b3882d6b
Fix build on Mac OSX Sierra

Summary:
There are two changes here.
The first is to eliminate `detail::DEFAULT_CLOCK_ID` from `Benchmark.[cpp|h]` as Sierra defines `clockid_t` as an enum type, which means that calling `clock_gettime(detail::DEFAULT_CLOCK_ID` would fail, because the enums are incompatible. As this was being used as a default, but is not actually changable anywhere, I just got rid of `detail::DEFAULT_CLOCK_ID` entirely.
The second is to move `portability/BitsFunctexcept.cpp` into `libfollybase_la_SOURCES`, because it's needed for generating the fingerprint tables.

Reviewed By: yfeldblum

Differential Revision: D4004843

fbshipit-source-id: b2a9c33f8e516d8eb3cdc5ab093f4946ac9ed37e
folly/Benchmark.cpp
folly/Benchmark.h
folly/Makefile.am