Commit fcb3074f2 for llama.cpp
commit fcb3074f2bc06943a564d7f293f9e66d4bece02a
Author: Adrien Gallouët <angt@huggingface.co>
Date: Sat Sep 26 21:25:25 2026 +0200
server : fix wake_fd warning on Windows (#29479)
Signed-off-by: Adrien Gallouët <angt@huggingface.co>
diff --git a/tools/server/server-common.h b/tools/server/server-common.h
index 9894f5f06..e00408cd4 100644
--- a/tools/server/server-common.h
+++ b/tools/server/server-common.h
@@ -643,7 +643,9 @@ struct server_subproc {
void wait(const std::vector<server_subproc *> & procs, std::vector<bool> & ready, int64_t timeout_ms);
private:
+#ifndef _WIN32
intptr_t wake_fd[2] = { -1, -1 }; // POSIX self-pipe
+#endif
};
private: