Fix Build: folly/Range.h for build platforms missing SSE42 headers
authorYedidya Feldblum <yfeldblum@fb.com>
Sat, 3 Oct 2015 06:08:39 +0000 (23:08 -0700)
committerfacebook-github-bot-1 <folly-bot@fb.com>
Sat, 3 Oct 2015 06:20:22 +0000 (23:20 -0700)
commit37d40eed8324114070253f762dc3545bc938cb1e
tree77268beec78d45315149d98eed1adda6d36ce299
parent338a260317f0e7926df1fb01d8dc432c8b07cb57
Fix Build: folly/Range.h for build platforms missing SSE42 headers

Summary: [Folly] Fix Build: `folly/Range.h` for build platforms missing SSE42 headers.

We make the assumption that if the compiler defines the appropriate symbols indicating SSE42, that the corresponding intrinsics headers are available.

We also remove `Range.cpp` from `Makefile.am`, which we forgot to do in the blamed diff.

Reviewed By: @nbronson

Differential Revision: D2504934
folly/Makefile.am
folly/Portability.h
folly/detail/RangeSse42.cpp