Code

Fix fallback icon loading order for icons with legacy names.
[inkscape.git] / src / isinf.h
1 #ifndef __ISINF_H__
2 #define __ISINF_H__
4 /*
5  * Fix for missing std::isnormal with SOLARIS8/GCC3.2
6  */
7  
8 #if defined (SOLARIS)
10         #include <ieeefp.h>
11         #define isinf(x) ((fpclass(x) == FP_NINF) || (fpclass(x) == FP_PINF))
12         
13 #elif defined(__APPLE__) && __GNUC__ == 3
14 #define isinf(x) __isinf(x)
15 #endif
17 #endif /* __ISINF_H__ */