aports/community/firefox/bmo-1953266-sqlite-vec-uint.patch
2025-05-27 17:40:35 +00:00

20 lines
572 B
Diff

diff --git a/third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c b/third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c
index 057b5d7..5b61a8b 100644
--- a/third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c
+++ b/third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c
@@ -65,6 +65,7 @@ SQLITE_EXTENSION_INIT3
#ifndef __COSMOPOLITAN__
#ifndef __wasi__
#ifndef __sun__
+#ifndef linux
typedef u_int8_t uint8_t;
typedef u_int16_t uint16_t;
typedef u_int64_t uint64_t;
@@ -72,6 +73,7 @@ typedef u_int64_t uint64_t;
#endif
#endif
#endif
+#endif
typedef int8_t i8;
typedef uint8_t u8;