mirror of
https://github.com/fluencelabs/redis
synced 2025-06-20 12:36:31 +00:00
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:
2
deps/lua/src/lua_cjson.c
vendored
2
deps/lua/src/lua_cjson.c
vendored
@ -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
|
||||||
|
Reference in New Issue
Block a user