Commit a9900ad3 authored by Matt Stancliff's avatar Matt Stancliff Committed by antirez
Browse files

Lua: Use Redis solaris compatability for cjson too

cjson calls isinf, but some Solaris versions don't have isinf
even with the attempted fix we have in deps/Makefile.

We can harmlessly include the Redis solarisfixes.h header to
give cjson proper isinf.

Note: cjson has a compile-time setting for using their own defined
isinf, but the Redis definition in solarisfixes.h is more complete.

Fixes antirez#1620
parent 4fdcd213
...@@ -46,6 +46,8 @@ ...@@ -46,6 +46,8 @@
#include "strbuf.h" #include "strbuf.h"
#include "fpconv.h" #include "fpconv.h"
#include "../../../src/solarisfixes.h"
#ifndef CJSON_MODNAME #ifndef CJSON_MODNAME
#define CJSON_MODNAME "cjson" #define CJSON_MODNAME "cjson"
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment