Code

Merge and cleanup of GSoC C++-ification project.
[inkscape.git] / src / isnormal.h
1 #ifndef __ISNORMAL_H__
2 #define __ISNORMAL_H__
4 /*
5  * Fix for missing std::isnormal with SOLARIS8/GCC3.2
6  */
7  
8 #if defined (SOLARIS)
10         #include <ieeefp.h>
11         #define isnormal(x) (fpclass(x) >= FP_NZERO)
12   
13 #else
15         using std::isnormal;
16         
17 #endif
19 #endif /* __ISNORMAL_H__ */