fixed compilation error with old libjansson
This commit is contained in:
parent
611211cc09
commit
1823005ff5
@ -7,6 +7,10 @@
|
|||||||
#include <tgl-layout.h>
|
#include <tgl-layout.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
|
#ifndef json_boolean
|
||||||
|
#define json_boolean(val) ((val) ? json_true() : json_false())
|
||||||
|
#endif
|
||||||
|
|
||||||
extern struct tgl_state *TLS;
|
extern struct tgl_state *TLS;
|
||||||
|
|
||||||
void json_pack_peer_type (json_t *res, tgl_peer_id_t id) {
|
void json_pack_peer_type (json_t *res, tgl_peer_id_t id) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user