Skip to content

Run frontier MoE models on hardware you already own — pure C, zero deps, experts streamed from disk. Tiny engine, immense model. 🐦

C

fix(build): gate glibc compat header on __GLIBC__, not __linux__

martinm86867-ops360c57d28099
diff --git a/c/glibc_c23_math_compat.h b/c/glibc_c23_math_compat.h
index 6ef23f83..8d1386a5 100644
--- a/c/glibc_c23_math_compat.h
+++ b/c/glibc_c23_math_compat.h
@@ -22,8 +22,8 @@
#define COLI_GLIBC_C23_MATH_COMPAT_H
#if defined(__cplusplus) && defined(__linux__)
-#include <sys/cdefs.h> /* glibc's own guards; forces __THROW into existence */
-#if defined(__THROW)
+#include <features.h> /* defines __GLIBC__ on glibc; musl ships one too */
+#if defined(__GLIBC__) && defined(__THROW)
#undef __THROW
#define __THROW
#endif