isnand: Fix mistake.
[gnulib.git] / m4 / isnand.m4
index 31764f7..0c19a4a 100644 (file)
@@ -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 @@ AC_DEFUN([gl_HAVE_ISNAND_IN_LIBM],
            [[#include <math.h>
              #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))