mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-22 04:22:57 +02:00
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. llvm-svn: 116256
This commit is contained in:
parent
6b47972a41
commit
68f316a93c
@ -21,6 +21,12 @@
|
|||||||
#include <fenv.h>
|
#include <fenv.h>
|
||||||
#endif
|
#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 llvm {
|
||||||
namespace sys {
|
namespace sys {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user