make folly/detail/FunctionalExcept.* work if FOLLY_HAVE_BITS_FUNCTEXCEPT_H is set...
authorMarc Horowitz <mhorowitz@fb.com>
Tue, 30 Jun 2015 19:39:50 +0000 (12:39 -0700)
committerSara Golemon <sgolemon@fb.com>
Wed, 1 Jul 2015 23:24:51 +0000 (16:24 -0700)
commit231b7c5a6bebf2afdc25075f8a0d2158a6893dd8
treed428e4e4bf214145cc8089472f0a1e93cb2ef233
parenta09c094f1a0c8de5c9379dd1931b80c6b057c101
make folly/detail/FunctionalExcept.* work if FOLLY_HAVE_BITS_FUNCTEXCEPT_H is set or not

Summary: When doing android development, we need to compile with
FOLLY_HAVE_BITS_FUNCTEXCEPT_H set for some flavors, and
FOLLY_HAVE_BITS_FUNCTEXCEPT_H unset for others (primarily for tests
run in the local (xcode) development platform).  This diff adds some
more conditionals so it all works.

In this repro, these files are never used, so this is more or less a
noop, but this is the upstream so I'm making these changes here.

Reviewed By: @Gownta

Differential Revision: D2202107
folly/detail/FunctionalExcept.cpp
folly/detail/FunctionalExcept.h