commit 1b2f4c41df984cc32e16e7e819925158dfee64fb
parent 25bcf9c243a6500171d46e5764bdab766c20ced6
Author: William Casarin <jb55@jb55.com>
Date: Sat, 6 Jan 2024 11:50:28 -0800
nostrdb/fix macos build
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/nostrdb/Makefile b/nostrdb/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/nostrdb/src/config.h b/nostrdb/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 */