From a06df1e889245acde34940602bfe4c1b22bb012a Mon Sep 17 00:00:00 2001 From: Alex Garcia Date: Sat, 20 Apr 2024 17:16:35 -0700 Subject: [PATCH] site: emcc skip some typedefs --- sqlite-vec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sqlite-vec.c b/sqlite-vec.c index d99091a..d8ab983 100644 --- a/sqlite-vec.c +++ b/sqlite-vec.c @@ -53,10 +53,12 @@ SQLITE_EXTENSION_INIT1 #endif #ifndef _WIN32 +#ifndef __EMSCRIPTEN__ typedef u_int8_t uint8_t; typedef u_int16_t uint16_t; typedef u_int64_t uint64_t; #endif +#endif typedef int8_t i8; typedef uint8_t u8;