libfastjson
libfastjson copied to clipboard
math_compat.h incorrectly tests declarations
In 0.99.2 HAVE_DECL_* is set to zero or 1 by autoconf and the test in math_compat,h is for definition. Change these to:
# if !HAVE_DECL_INFINITY /\* for example */
# ....
rather than the existing #ifndef tests