summaryrefslogtreecommitdiff
path: root/gdk/fallback-c89.c
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-05-15 13:09:24 +0200
committerMatthias Clasen <mclasen@redhat.com>2012-05-16 23:55:40 -0400
commitd6aee922bb5da8254fafdf605951cf5b0150537d (patch)
treef1b12f171204a8cf4c7ca13f78bf58856b6fb0ab /gdk/fallback-c89.c
parent276dae8ae6a024259b32fc28bf72e9dbb08fe963 (diff)
downloadgtk+-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.c4
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