]> Pileus Git - ~andy/gtk/blobdiff - gdk/fallback-c89.c
quartz: Null check title before setting it
[~andy/gtk] / gdk / fallback-c89.c
index d766154ec69acd95226c945d3364af51926322f4..b150044bd309f85ca7df673e12e6936b75275c72 100644 (file)
 
 #include <float.h>
 
-#ifndef HAVE_ISNAN
-/* it seems of the supported compilers only */
-/* MSVC does not have isnan(), but it does
-/* have _isnan() which does the same as 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()
+ */
 static inline gboolean
 isnan (double x)
 {
@@ -30,10 +31,11 @@ isnan (double x)
 }
 #endif
 
-#ifndef HAVE_ISINF
-/* Unfortunately MSVC does not have finite() */
-/* but it does have _finite() which is the same */
-/* as finite() except when x is a NaN */
+#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
+ */
 static inline gboolean
 isinf (double x)
 {