blob: 36a83a99dfbe349467b9a25b5c32a88ae4b33581 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
diff --git a/third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c b/third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c
index 96612e2..d641b11 100644
--- a/third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c
+++ b/third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c
@@ -66,6 +66,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;
@@ -74,6 +75,7 @@ typedef u_int64_t uint64_t;
#endif
#endif
#endif
+#endif
typedef int8_t i8;
typedef uint8_t u8;
|