summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 08b7f55)
raw | patch | inline | side by side (parent: 08b7f55)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Fri, 14 Dec 2007 12:28:03 +0000 (12:28 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Fri, 14 Dec 2007 12:28:03 +0000 (12:28 +0000) |
src/2geom/isnan.h | patch | blob | history |
diff --git a/src/2geom/isnan.h b/src/2geom/isnan.h
index 8b9ffae10d71f7c3edaa66edcddb35ec624a2bfe..a2906be15126e56c6e55260231e6838f2e9bba17 100644 (file)
--- a/src/2geom/isnan.h
+++ b/src/2geom/isnan.h
#if defined(__isfinite)
+# define is_finite(_a) (__isfinite(_a))
+#elif defined(__APPLE__) && __GNUC__ == 3
# define is_finite(_a) (__isfinite(_a)) /* MacOSX/Darwin definition < 10.4 */
#elif defined(isfinite)
# define is_finite(_a) (isfinite(_a))