summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJiHO <jiho-sf@users.sourceforge.net>2007-05-07 07:07:08 +0000
committerjiho-sf <jiho-sf@users.sourceforge.net>2007-05-07 07:07:08 +0000
commit5fbe902886f118530e25d62d2ae2634499c108e5 (patch)
tree9278c7d65d64f3efb482d8468240cb5f9f6dffdc /src
parents/ToolCalligrphic/ToolCalligraphic/g (diff)
downloadinkscape-5fbe902886f118530e25d62d2ae2634499c108e5.tar.gz
inkscape-5fbe902886f118530e25d62d2ae2634499c108e5.zip
committed patch #1713558 by John Faith. adds the definition of isinf for Mac OS 10.3. Should only affect this platform
(bzr r2984)
Diffstat (limited to 'src')
-rw-r--r--src/isinf.h2
1 files changed, 2 insertions, 0 deletions
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 <ieeefp.h>
#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__ */