mirror of
https://github.com/swaywm/sway.git
synced 2025-04-04 11:27:47 +03:00
refactor: use JSON_MAX_DEPTH everywhere
This commit is contained in:
parent
b223f70250
commit
9303bed4d4
3 changed files with 4 additions and 4 deletions
|
@ -1,8 +1,5 @@
|
|||
#define _POSIX_C_SOURCE 200809L
|
||||
|
||||
// arbitrary number, it's probably sufficient, higher number = more memory usage
|
||||
#define JSON_MAX_DEPTH 512
|
||||
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue