mirror of https://mirror.osredm.com/root/redis.git
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
This commit is contained in:
parent
4fdcd213f0
commit
a9900ad38e
|
@ -46,6 +46,8 @@
|
|||
#include "strbuf.h"
|
||||
#include "fpconv.h"
|
||||
|
||||
#include "../../../src/solarisfixes.h"
|
||||
|
||||
#ifndef CJSON_MODNAME
|
||||
#define CJSON_MODNAME "cjson"
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue