Merge topic 'jsoncpp-isfinite'

7b1cdb00 jsoncpp: Provide 'isfinite' implementation on older AIX and HP-UX
This commit is contained in:
Brad King 2015-04-01 13:19:34 -04:00 committed by CMake Topic Stage
commit 9d456ec71a
1 changed files with 14 additions and 0 deletions

View File

@ -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)