From 571617ebfc7bda478a877cb468ec7d486acd7029 Mon Sep 17 00:00:00 2001 From: Karl Lew Date: Tue, 8 Apr 2014 15:57:58 +0000 Subject: [PATCH] use __sun instead of sun --- src/value.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/value.c b/src/value.c index 438a4de..333d0af 100644 --- a/src/value.c +++ b/src/value.c @@ -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