nostrdb

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

commit 90fc4a48a52205bff930762404a9a291a1dc877f
parent 85a50fb4304dc4dd3a97c903c3a1b01956530438
Author: William Casarin <jb55@jb55.com>
Date:   Thu, 10 Aug 2023 12:29:02 -0700

memchr: fix build on non-arm systems

Diffstat:
Mmemchr.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/memchr.h b/memchr.h @@ -3,7 +3,6 @@ #ifndef FAST_MEMCHR_H #define FAST_MEMCHR_H -#include <arm_neon.h> #include <string.h> #ifdef __ARM_NEON @@ -13,6 +12,7 @@ #endif #ifdef __ARM_NEON +#include <arm_neon.h> static const char *neon_strchr(const char *str, char c, size_t length) { const char* end = str + length;