Merge topic 'jsoncpp-isfinite'
7b1cdb00
jsoncpp: Provide 'isfinite' implementation on older AIX and HP-UX
This commit is contained in:
commit
9d456ec71a
|
@ -27,6 +27,20 @@
|
|||
# define isfinite finite
|
||||
#endif
|
||||
|
||||
// AIX
|
||||
#if defined(_AIX)
|
||||
# if !defined(isfinite)
|
||||
# define isfinite finite
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// HP-UX
|
||||
#if defined(__hpux)
|
||||
# if !defined(isfinite)
|
||||
# define isfinite finite
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// Ancient glibc
|
||||
#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ < 2
|
||||
# if !defined(isfinite)
|
||||
|
|
Loading…
Reference in New Issue