~valavanisalex/ubuntu/oneiric/inkscape/inkscape_0.48.1-2ubuntu4

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)

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

	using std::isnormal;
	
#endif

#endif /* __ISNORMAL_H__ */