nostrdb

an unfairly fast embedded nostr database backed by lmdb
git clone git://jb55.com/nostrdb
Log | Files | Refs | README | LICENSE

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:
MMakefile | 2+-
Mjsmn.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