Run frontier MoE models on hardware you already own — pure C, zero deps, experts streamed from disk. Tiny engine, immense model. 🐦
C
fix(windows): set _WIN32_WINNT floor for FILE_ID_INFO under MinGW
Samiullah Shahdc3f8fd7b7b3
diff --git a/c/backend_loader.c b/c/backend_loader.cindex c7a9c4c0..22d91fda 100644--- a/c/backend_loader.c+++ b/c/backend_loader.c@@ -20,6 +20,15 @@*/#ifdef _WIN32+/* FILE_ID_INFO / FileIdInfo (coli_win32_loader_probe, below) are gated behind+ * _WIN32_WINNT >= _WIN32_WINNT_WIN8 in mingw-w64's winbase.h. MSVC exposes+ * them unconditionally, so this only bites the MinGW build -- and only where+ * the file-identity block is actually compiled, i.e. under COLI_HIP_DLL or+ * COLI_LOADER_TEST_API. Set the floor before <windows.h> is pulled in. */+#ifndef _WIN32_WINNT+#define _WIN32_WINNT 0x0602 /* Windows 8 */+#endif+#include <stdio.h>#include <stddef.h>#include <stdlib.h>