summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a64bbb9)
raw | patch | inline | side by side (parent: a64bbb9)
author | jiho-sf <jiho-sf@users.sourceforge.net> | |
Mon, 7 May 2007 07:07:08 +0000 (07:07 +0000) | ||
committer | jiho-sf <jiho-sf@users.sourceforge.net> | |
Mon, 7 May 2007 07:07:08 +0000 (07:07 +0000) |
src/isinf.h | patch | blob | history |
diff --git a/src/isinf.h b/src/isinf.h
index 5893393f0026c8962584f523394ea689529b1fe0..92c885701d1bfcc36369648c3095c65ae784f92b 100644 (file)
--- a/src/isinf.h
+++ b/src/isinf.h
#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__ */