Code

committed patch #1713558 by John Faith. adds the definition of isinf for Mac OS 10...
authorjiho-sf <jiho-sf@users.sourceforge.net>
Mon, 7 May 2007 07:07:08 +0000 (07:07 +0000)
committerjiho-sf <jiho-sf@users.sourceforge.net>
Mon, 7 May 2007 07:07:08 +0000 (07:07 +0000)
src/isinf.h

index 5893393f0026c8962584f523394ea689529b1fe0..92c885701d1bfcc36369648c3095c65ae784f92b 100644 (file)
@@ -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__ */