nostrdb

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

commit e3cc896e25f68778401e5a87cb251290da2b062d
parent de0c13a0a6feb465b45491d50cbcbc1fae36aa1a
Author: William Casarin <jb55@jb55.com>
Date:   Sat,  6 Jan 2024 11:50:28 -0800

fix macos build

Diffstat:
MMakefile | 4++--
Mshell.nix | 2+-
Msrc/config.h | 4++--
3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile @@ -49,10 +49,10 @@ distclean: clean tags: find . -name '*.c' -or -name '*.h' | xargs ctags -configurator: configurator.c +configurator: src/configurator.c $(CC) $< -o $@ -config.h: configurator +src/config.h: configurator ./configurator > $@ bindings-c: $(C_BINDINGS) diff --git a/shell.nix b/shell.nix @@ -1,7 +1,7 @@ { pkgs ? import <nixpkgs> {} }: with pkgs; mkShell { - buildInputs = [ autoreconfHook flatbuffers flatcc gdb pkg-config ]; + buildInputs = [ autoreconfHook flatbuffers flatcc pkg-config ]; LIBCLANG_PATH="${llvmPackages.libclang}/lib"; } diff --git a/src/config.h b/src/config.h @@ -12,7 +12,7 @@ #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_BYTESWAP_H 0 +#define HAVE_BSWAP_64 0 #define HAVE_LITTLE_ENDIAN 1 #endif /* CCAN_CONFIG_H */