Clang's #include handling apparently doesn't work for libstdc++'s

fenv.h. See PR6907 for details. Work around this in FEnv.h to fix
the seflhost build.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116256 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2010-10-11 22:30:59 +00:00
parent e58d72009a
commit d3d2ddc78e

View File

@ -21,6 +21,12 @@
#include <fenv.h>
#endif
// FIXME: Clang's #include handling apparently doesn't work for libstdc++'s
// fenv.h; see PR6907 for details.
#if defined(__clang__) && defined(_GLIBCXX_FENV_H)
#undef HAVE_FENV_H
#endif
namespace llvm {
namespace sys {