Skip to content

Distribute and run LLMs with a single file.

345 B
Raw Blame
diff --git a/common/download.cpp b/common/download.cpp
--- a/llama.cpp/common/download.cpp
+++ b/llama.cpp/common/download.cpp
@@ -25,6 +25,8 @@
 #ifndef __EMSCRIPTEN__
 #ifdef __linux__
 #include <linux/limits.h>
+#elif defined(COSMOCC)
+#include <linux/limits.h>
 #elif defined(_WIN32)
 #   if !defined(PATH_MAX)
 #   define PATH_MAX MAX_PATH