# HG changeset patch # User Bruno Haible # Date 1293803709 -3600 # Node ID fedf2b2f460a1648177229976a92b83914e43f50 # Parent 4b44ba76787f1791e85efa3a14573baaabe022db isnand: Fix mistake. * m4/isnand.m4 (gl_HAVE_ISNAND_IN_LIBM): Use __builtin_isnan, not __builtin_isnand. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-12-31 Bruno Haible + + isnand: Fix mistake. + * m4/isnand.m4 (gl_HAVE_ISNAND_IN_LIBM): Use __builtin_isnan, not + __builtin_isnand. + 2010-12-31 Bruno Haible open: Avoid C++ error on HP-UX 11. diff --git a/m4/isnand.m4 b/m4/isnand.m4 --- a/m4/isnand.m4 +++ b/m4/isnand.m4 @@ -1,4 +1,4 @@ -# isnand.m4 serial 7 +# isnand.m4 serial 8 dnl Copyright (C) 2007-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -63,7 +63,7 @@ [[#include #if __GNUC__ >= 4 # undef isnand - # define isnand(x) __builtin_isnand ((double)(x)) + # define isnand(x) __builtin_isnan ((double)(x)) #elif defined isnan # undef isnand # define isnand(x) isnan ((double)(x))