summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f37c2ba)
raw | patch | inline | side by side (parent: f37c2ba)
author | mjwybrow <mjwybrow@users.sourceforge.net> | |
Mon, 9 Apr 2007 04:19:38 +0000 (04:19 +0000) | ||
committer | mjwybrow <mjwybrow@users.sourceforge.net> | |
Mon, 9 Apr 2007 04:19:38 +0000 (04:19 +0000) |
src/isnan.h | patch | blob | history |
diff --git a/src/isnan.h b/src/isnan.h
index a1755bdb9459bbfd860ada5f937c720d98ab7efe..608f9bb561fe3b1182c32cfccb7c34a432421327 100644 (file)
--- a/src/isnan.h
+++ b/src/isnan.h
*/
#if defined(__isnan)
+# define isNaN(_a) (__isnan(_a))
+#elif defined(__APPLE__) && __GNUC__ == 3
# define isNaN(_a) (__isnan(_a)) /* MacOSX/Darwin definition < 10.4 */
#elif defined(WIN32) || defined(_isnan)
# define isNaN(_a) (_isnan(_a)) /* Win32 definition */
#if defined(__isfinite)
+# define isFinite(_a) (__isfinite(_a))
+#elif defined(__APPLE__) && __GNUC__ == 3
# define isFinite(_a) (__isfinite(_a)) /* MacOSX/Darwin definition < 10.4 */
#elif defined(__sgi)
# define isFinite(_a) (_isfinite(_a))