mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-31 11:32:42 +00: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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116256 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e58d72009a
commit
d3d2ddc78e
@ -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 {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user