use __sun instead of sun

This commit is contained in:
Karl Lew 2014-04-08 15:57:58 +00:00
parent 3bd8a5729d
commit 571617ebfc

View File

@ -29,7 +29,7 @@
/* Work around nonstandard isnan() and isinf() implementations */
#ifndef isnan
#ifndef sun
#ifndef __sun
static JSON_INLINE int isnan(double x) { return x != x; }
#endif
#endif