~inkscape.dev/inkscape/RELEASE_0_46_BRANCH

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __ISNORMAL_H__
#define __ISNORMAL_H__

/*
 * Fix for missing std::isnormal with SOLARIS8/GCC3.2
 */
 
#if defined (SOLARIS_2_8) && __GNUC__ == 3 && __GNUC_MINOR__ == 2

	#include <ieeefp.h>
	#define isnormal(x) (fpclass(x) >= FP_NZERO)
  
#else

	using std::isnormal;
	
#endif

#endif /* __ISNORMAL_H__ */