From 793c9302d4ddce7d4ad8ac0a03e5677f809651de Mon Sep 17 00:00:00 2001 From: jiho-sf Date: Mon, 7 May 2007 07:07:08 +0000 Subject: [PATCH] committed patch #1713558 by John Faith. adds the definition of isinf for Mac OS 10.3. Should only affect this platform --- src/isinf.h | 2 ++ 1 file changed, 2 insertions(+) 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__ */ -- 2.30.2