mirror of
https://github.com/swaywm/sway.git
synced 2026-03-30 11:10:59 -04:00
Revert "Merge remote-tracking branch 'besser82/bugfix/json-c' into 0.15"
This reverts commit1c4a086e75, reversing changes made to1263ea6497.
This commit is contained in:
parent
1c4a086e75
commit
d0bd0ed598
9 changed files with 17 additions and 48 deletions
|
|
@ -1,16 +0,0 @@
|
|||
#ifndef _SWAY_JSON_HELPER_H
|
||||
#define _SWAY_JSON_HELPER_H
|
||||
|
||||
#include <json-c/json.h>
|
||||
|
||||
// Macros for checking a specific version.
|
||||
#define JSON_C_VERSION_013 (13 << 8)
|
||||
|
||||
// json-c v0.13 uses size_t for array_list_length().
|
||||
#if defined(JSON_C_VERSION_NUM) && JSON_C_VERSION_NUM >= JSON_C_VERSION_013
|
||||
typedef size_t json_ar_len_t;
|
||||
#else
|
||||
typedef int json_ar_len_t;
|
||||
#endif
|
||||
|
||||
#endif // _SWAY_JSON_HELPER_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue