Commit 1823005f authored by vvaltman's avatar vvaltman

fixed compilation error with old libjansson

parent 611211cc
......@@ -7,6 +7,10 @@
#include <tgl-layout.h>
#include <assert.h>
#ifndef json_boolean
#define json_boolean(val) ((val) ? json_true() : json_false())
#endif
extern struct tgl_state *TLS;
void json_pack_peer_type (json_t *res, tgl_peer_id_t id) {
......
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