diff --git a/nostrdb/Makefile b/nostrdb/Makefile index 9f96376d..88689b58 100644 --- 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 index d16dda9b..ed2f8e5c 100644 --- 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 */