diff options
author | Mark Pulford <mark@kyne.com.au> | 2011-10-07 22:51:31 +1030 |
---|---|---|
committer | Mark Pulford <mark@kyne.com.au> | 2011-10-07 22:51:31 +1030 |
commit | 48c5cf183fa7cab608168fdec2406a1ca3cb2c11 (patch) | |
tree | 76b385d490badeb00cf6ced3b59843ef94f20c34 /lua_cjson.c | |
parent | 0f3ab84a261292d16f684551e67f2f007199936a (diff) | |
download | lua-cjson-48c5cf183fa7cab608168fdec2406a1ca3cb2c11.tar.gz lua-cjson-48c5cf183fa7cab608168fdec2406a1ca3cb2c11.tar.bz2 lua-cjson-48c5cf183fa7cab608168fdec2406a1ca3cb2c11.zip |
Rename MISSING_ISINF to USE_INTERNAL_ISINF
Diffstat (limited to 'lua_cjson.c')
-rw-r--r-- | lua_cjson.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
66 | #define LOCALE_RESTORE(x) do { } while(0) | 66 | #define LOCALE_RESTORE(x) do { } while(0) |
67 | #endif | 67 | #endif |
68 | 68 | ||
69 | #ifdef MISSING_ISINF | 69 | /* Some Solaris platforms are missing isinf(). */ |
70 | /* Some Solaris platforms are missing isinf(). Define here. */ | 70 | #if defined(USE_INTERNAL_ISINF) || defined(MISSING_ISINF) |
71 | #define isinf(x) (!isnan(x) && isnan((x) - (x))) | 71 | #define isinf(x) (!isnan(x) && isnan((x) - (x))) |
72 | #endif | 72 | #endif |
73 | 73 | ||