Changeset: 9c80de069c44 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9c80de069c44
Modified Files:
        gdk/gdk_atoms.c
Branch: Oct2014
Log Message:

Solaris does not have isfinite macro, but it does have finite function.


diffs (18 lines):

diff --git a/gdk/gdk_atoms.c b/gdk/gdk_atoms.c
--- a/gdk/gdk_atoms.c
+++ b/gdk/gdk_atoms.c
@@ -34,7 +34,13 @@
 #include "monetdb_config.h"
 #include "gdk.h"
 #include "gdk_private.h"
-#include <math.h>              /* for INFINITY and NAN */
+#include <math.h>              /* for isfinite macro */
+#ifdef HAVE_IEEEFP_H
+#include <ieeefp.h>            /* for Solaris */
+#ifndef isfinite
+#define isfinite(f)    finite(f)
+#endif
+#endif
 
 static int
 bteCmp(const bte *l, const bte *r)
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to