bti icon indicating copy to clipboard operation
bti copied to clipboard

Replace removed is_error macro

Open jelly opened this issue 6 years ago • 1 comments

The json-c library removed the is_error macro in 0.13, replaced the macro calls with a != NULL statement.

jelly avatar Dec 27 '17 10:12 jelly

This looks like it is required for the issue of the json build error, however, there may be another change required to bti.c:

-#include <json-c/json.h>
+#include <json/json.h>
...
-PKG_CHECK_MODULES([JSON], [json-c])
+PKG_CHECK_MODULES([JSON], [json])

At least, that's what seems to be altered in the Fedora build...investigating...

So far: seems maybe not - looks like we are ahead of the game (Package json-c changed json.h to json-c.h some time in the past)

paulrho avatar Oct 13 '18 23:10 paulrho