Portability fix for cJSON.
This commit is contained in:
parent
eb0206e686
commit
079579187a
@ -33,6 +33,13 @@
|
||||
#include <sys/types.h>
|
||||
#include "cjson.h"
|
||||
|
||||
#ifndef LLONG_MAX
|
||||
#define LLONG_MAX 9223372036854775807LL
|
||||
#endif
|
||||
#ifndef LLONG_MIN
|
||||
#define LLONG_MIN (-LLONG_MAX - 1LL)
|
||||
#endif
|
||||
|
||||
|
||||
static const char *ep;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user