summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a797dcb)
raw | patch | inline | side by side (parent: a797dcb)
author | jiho-sf <jiho-sf@users.sourceforge.net> | |
Wed, 2 Jan 2008 21:37:27 +0000 (21:37 +0000) | ||
committer | jiho-sf <jiho-sf@users.sourceforge.net> | |
Wed, 2 Jan 2008 21:37:27 +0000 (21:37 +0000) |
should be applied upstream in 2geom.
src/2geom/isnan.h | patch | blob | history |
diff --git a/src/2geom/isnan.h b/src/2geom/isnan.h
index a2906be15126e56c6e55260231e6838f2e9bba17..52085a25f6fe103ed7ebad2eaf2368601274de94 100644 (file)
--- a/src/2geom/isnan.h
+++ b/src/2geom/isnan.h
*/
#if defined(__isnan)
+# define is_nan(_a) (__isnan(_a))
+#elif defined(__APPLE__) && __GNUC__ == 3
# define is_nan(_a) (__isnan(_a)) /* MacOSX/Darwin definition < 10.4 */
#elif defined(WIN32) || defined(_isnan)
# define is_nan(_a) (_isnan(_a)) /* Win32 definition */