[OpenWrt-Devel] json-c update

Karl Palsson karlp at tweak.net.au
Fri Mar 6 08:32:34 EST 2015


John Crispin <blogic at openwrt.org> wrote:
> 
> 
> On 06/03/2015 14:01, Karl Palsson wrote:
> > 
> > John Crispin <blogic at openwrt.org> wrote:
> >> while doing so i also noticed that the nes jscon-c has a dependency on
> >> -lm which i just killed.
> > 
> > Could you elaborate on this please?  Is this going to remove support for
> > int64, or change the behaviour of NaN/Infinite stuff?
> 
> i told the code to use the compilers builtins
> 
> +#undef isnan
> +#define isnan(x) __builtin_isnan(x)
> +#undef isinf
> +#define isinf(x) __builtin_isinf(x)
> 
> plus a bit of wrapper cruft to disable detection in autoconf
> 

Beautiful, sounds good.  Thanks for not having any surprises :)

Cheers,
Karl P
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list