mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-29 08:20:20 +02:00
(isnan): Remove "#ifdef __MINGW32__, #define isnan
_isnan". Mingw provides isnan as a macro (in math.h), the test already detects it just fine with no special case.
This commit is contained in:
parent
c9d719cd9d
commit
df1f60e79d
1 changed files with 0 additions and 3 deletions
|
@ -902,9 +902,6 @@ int main () { return (isinf(0.0) != 0); }],
|
||||||
AC_MSG_CHECKING([for isnan])
|
AC_MSG_CHECKING([for isnan])
|
||||||
AC_LINK_IFELSE(
|
AC_LINK_IFELSE(
|
||||||
[#include <math.h>
|
[#include <math.h>
|
||||||
#ifdef __MINGW32__
|
|
||||||
#define isnan _isnan
|
|
||||||
#endif
|
|
||||||
int main () { return (isnan(0.0) != 0); }],
|
int main () { return (isnan(0.0) != 0); }],
|
||||||
[AC_MSG_RESULT([yes])
|
[AC_MSG_RESULT([yes])
|
||||||
AC_DEFINE(HAVE_ISNAN, 1,
|
AC_DEFINE(HAVE_ISNAN, 1,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue