libfastjson icon indicating copy to clipboard operation
libfastjson copied to clipboard

math_compat.h incorrectly tests declarations

Open ThalesCanada opened this issue 8 years ago • 0 comments

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

ThalesCanada avatar May 13 '16 17:05 ThalesCanada