diff options
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmjsoncpp/src/lib_json/json_writer.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Utilities/cmjsoncpp/src/lib_json/json_writer.cpp b/Utilities/cmjsoncpp/src/lib_json/json_writer.cpp index 15222d6..b64cdb0 100644 --- a/Utilities/cmjsoncpp/src/lib_json/json_writer.cpp +++ b/Utilities/cmjsoncpp/src/lib_json/json_writer.cpp @@ -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 |