From 5fbe902886f118530e25d62d2ae2634499c108e5 Mon Sep 17 00:00:00 2001 From: JiHO Date: Mon, 7 May 2007 07:07:08 +0000 Subject: committed patch #1713558 by John Faith. adds the definition of isinf for Mac OS 10.3. Should only affect this platform (bzr r2984) --- src/isinf.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/isinf.h b/src/isinf.h index 5893393f0..92c885701 100644 --- a/src/isinf.h +++ b/src/isinf.h @@ -10,6 +10,8 @@ #include #define isinf(x) ((fpclass(x) == FP_NINF) || (fpclass(x) == FP_PINF)) +#elif defined(__APPLE__) && __GNUC__ == 3 +#define isinf(x) __isinf(x) #endif #endif /* __ISINF_H__ */ -- cgit v1.2.3