nostrdb

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

commit c1d1d59076de51b00b069f5674a8183daeebcecc
parent 39b3288b94f5f7da3501f6a249b1b4de57568274
Author: William Casarin <jb55@jb55.com>
Date:   Thu, 14 Dec 2023 19:01:21 -0800

commit config for now since rust can't build it yet

Diffstat:
M.gitignore | 1-
Aconfig.h | 18++++++++++++++++++
2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore @@ -18,7 +18,6 @@ bench bench-ingest bench-ingest-many configurator -config.h libsecp256k1.a .direnv/ deps/secp256k1 diff --git a/config.h b/config.h @@ -0,0 +1,18 @@ +/* Generated by CCAN configurator */ +#ifndef CCAN_CONFIG_H +#define CCAN_CONFIG_H +#ifndef _GNU_SOURCE +#define _GNU_SOURCE /* Always use GNU extensions. */ +#endif +#define CCAN_COMPILER "cc" +#define CCAN_CFLAGS "-g3 -ggdb -Wall -Wundef -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wold-style-definition" +#define CCAN_OUTPUT_EXE_CFLAG "-o" + +#define HAVE_CCAN 1 +#define HAVE_UNALIGNED_ACCESS 1 +#define HAVE_TYPEOF 1 +#define HAVE_BIG_ENDIAN 0 +#define HAVE_BYTESWAP_H 1 +#define HAVE_BSWAP_64 1 +#define HAVE_LITTLE_ENDIAN 1 +#endif /* CCAN_CONFIG_H */