Commit 75644daf authored by Joerg Sonnenberger's avatar Joerg Sonnenberger Committed by Brad King
Browse files

jsoncpp: Fix compilation as C99 on Solaris

In C99 mode, Solaris variants may already define isfinite, so check for
the existence first.
parent 6dad4c25
......@@ -24,7 +24,9 @@
// Solaris
#if defined(__sun)
# include <ieeefp.h>
# define isfinite finite
# if !defined(isfinite)
# define isfinite finite
# endif
#endif
// AIX
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment