Merge topic 'hpux-isfinite'
9217b678
jsoncpp: Provide 'isfinite' impl on more HP-UX versions (#15576)
This commit is contained in:
commit
d31f6290f1
|
@ -37,7 +37,12 @@
|
|||
// HP-UX
|
||||
#if defined(__hpux)
|
||||
# if !defined(isfinite)
|
||||
# define isfinite finite
|
||||
# if defined(__ia64) && !defined(finite)
|
||||
# define isfinite(x) ((sizeof(x) == sizeof(float) ? \
|
||||
_Isfinitef(x) : _Isfinite(x)))
|
||||
# else
|
||||
# define isfinite finite
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue