diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-15 13:09:24 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-05-16 23:55:40 -0400 |
commit | d6aee922bb5da8254fafdf605951cf5b0150537d (patch) | |
tree | f1b12f171204a8cf4c7ca13f78bf58856b6fb0ab /gdk/fallback-c89.c | |
parent | 276dae8ae6a024259b32fc28bf72e9dbb08fe963 (diff) | |
download | gtk+-d6aee922bb5da8254fafdf605951cf5b0150537d.tar.gz |
Bug 676087-configure.ac: isnan() and isinf() are macros, not functions
The isnan() and isinf() are C99 macros not functions so use
AC_CHECK_DECL instead of AC_CHECK_FUNCS for those.
Diffstat (limited to 'gdk/fallback-c89.c')
-rw-r--r-- | gdk/fallback-c89.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/fallback-c89.c b/gdk/fallback-c89.c index 35dea777ed..b150044bd3 100644 --- a/gdk/fallback-c89.c +++ b/gdk/fallback-c89.c @@ -19,7 +19,7 @@ #include <float.h> -#ifndef HAVE_ISNAN +#ifndef HAVE_DECL_ISNAN /* it seems of the supported compilers only * MSVC does not have isnan(), but it does * have _isnan() which does the same as isnan() @@ -31,7 +31,7 @@ isnan (double x) } #endif -#ifndef HAVE_ISINF +#ifndef HAVE_DECL_ISINF /* Unfortunately MSVC does not have finite() * but it does have _finite() which is the same * as finite() except when x is a NaN |