diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2013-03-25 13:13:33 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2013-03-25 13:13:33 +0000 |
commit | f9a7132df8f8e0dd0f54fd603d358fc5a2285011 (patch) | |
tree | 7ca7902dd019b343ea5fe1c7aea9a140fb85b610 /include/llvm/Config/config.h.in | |
parent | 1bb93a912199bda15214d1ee7f3c731b8e9b648d (diff) | |
download | llvm-f9a7132df8f8e0dd0f54fd603d358fc5a2285011.tar.gz llvm-f9a7132df8f8e0dd0f54fd603d358fc5a2285011.tar.bz2 llvm-f9a7132df8f8e0dd0f54fd603d358fc5a2285011.tar.xz |
Refine fenv.h handling: check if the desired macros exist, before using
it. NetBSD/ARM and TILE-Gx are examples for platforms that have an
unusable fenv.h and this avoids the need for a blacklist.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177865 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Config/config.h.in')
-rw-r--r-- | include/llvm/Config/config.h.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Config/config.h.in b/include/llvm/Config/config.h.in index 2f9e6ffe23..5a3d02c553 100644 --- a/include/llvm/Config/config.h.in +++ b/include/llvm/Config/config.h.in @@ -78,6 +78,14 @@ /* Define to 1 if you have the <ctype.h> header file. */ #undef HAVE_CTYPE_H +/* Define to 1 if you have the declaration of `FE_ALL_EXCEPT', and to 0 if you + don't. */ +#undef HAVE_DECL_FE_ALL_EXCEPT + +/* Define to 1 if you have the declaration of `FE_INEXACT', and to 0 if you + don't. */ +#undef HAVE_DECL_FE_INEXACT + /* Define to 1 if you have the declaration of `strerror_s', and to 0 if you don't. */ #undef HAVE_DECL_STRERROR_S |