~danieljabailey/inkscape/arc_node_editor

« back to all changes in this revision

Viewing changes to src/isinf.h

  • Committer: scislac
  • Date: 2009-08-12 07:57:52 UTC
  • Revision ID: scislac@users.sourceforge.net-20090812075752-3zt99jgeqr3bm16j
much better quality multi-size windows icon, thanks ChrisMorgan

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
#define __ISINF_H__
3
3
 
4
4
/*
5
 
 * Fix for missing std::isinf with SOLARIS8/GCC3.2
 
5
 * Fix for missing std::isnormal with SOLARIS8/GCC3.2
6
6
 */
7
7
 
8
8
#if defined (SOLARIS)
12
12
        
13
13
#elif defined(__APPLE__) && __GNUC__ == 3
14
14
#define isinf(x) __isinf(x)
15
 
#elif __cplusplus >= 201103L
16
 
# include <cmath>
17
 
# define isinf std::isinf
18
15
#endif
19
16
 
20
17
#endif /* __ISINF_H__ */