mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-30 07:00:57 +00:00
Add check for finite(). Solaris doesn't have isinf, but it has finite...go
figure! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15057 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
043c0bb0d9
commit
dfb3397c5b
@ -6295,4 +6295,8 @@ AC_SINGLE_CXX_CHECK([HAVE_STD_ISINF_IN_CMATH], [ac_cv_func_std_isinf_in_cmath],
|
||||
[std::isinf], [<cmath>],
|
||||
[#include <cmath>
|
||||
using std::isinf; int foo(float f) {return isinf(f);}])
|
||||
AC_SINGLE_CXX_CHECK([HAVE_FINITE_IN_IEEEFP_H], [ac_cv_func_finite_in_ieeefp_h],
|
||||
[finite], [<ieeefp.h>],
|
||||
[#include <ieeefp.h>
|
||||
int foo(float f) {return finite(f);}])
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user