From 48c5cf183fa7cab608168fdec2406a1ca3cb2c11 Mon Sep 17 00:00:00 2001 From: Mark Pulford Date: Fri, 7 Oct 2011 22:51:31 +1030 Subject: Rename MISSING_ISINF to USE_INTERNAL_ISINF --- lua_cjson.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua_cjson.c') diff --git a/lua_cjson.c b/lua_cjson.c index 151fa39..ad3818d 100644 --- a/lua_cjson.c +++ b/lua_cjson.c @@ -66,8 +66,8 @@ #define LOCALE_RESTORE(x) do { } while(0) #endif -#ifdef MISSING_ISINF -/* Some Solaris platforms are missing isinf(). Define here. */ +/* Some Solaris platforms are missing isinf(). */ +#if defined(USE_INTERNAL_ISINF) || defined(MISSING_ISINF) #define isinf(x) (!isnan(x) && isnan((x) - (x))) #endif -- cgit v1.2.3-55-g6feb