commit bcc888dffe6c21af94d3bf2cd469b760be463f56 parent 1b3bf1d8acda65e332149b80bc7bb5f847bfbc76 Author: William Casarin <jb55@jb55.com> Date: Fri, 21 Jul 2023 14:21:26 -0700 hardcode jsmn settings we probably won't be changing these Diffstat:
M | Makefile | | | 2 | +- |
M | jsmn.h | | | 3 | +++ |
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile @@ -1,4 +1,4 @@ -CFLAGS = -Wall -Wno-unused-function -Werror -O1 -g -DJSMN_PARENT_LINKS -DJSMN_STRICT +CFLAGS = -Wall -Wno-unused-function -Werror -O1 -g check: test ./test diff --git a/jsmn.h b/jsmn.h @@ -26,6 +26,9 @@ #include <stddef.h> +#define JSMN_PARENT_LINKS +#define JSMN_STRICT + #ifdef __cplusplus extern "C" { #endif