Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Iterating on Windows build failures
  • Loading branch information
Iwan Kawrakow committed Aug 14, 2025
commit be638d7c8042cdac59c85e8dbbae2d08ab7ac287
12 changes: 12 additions & 0 deletions src/llama-model-loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,18 @@
#include <array>
#include <future>

#if defined(_WIN32)
#define WIN32_LEAN_AND_MEAN
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <windows.h>
#ifndef PATH_MAX
#define PATH_MAX MAX_PATH
#endif
#include <io.h>
#endif

#define LLAMA_API_INTERNAL

namespace GGUFMeta {
Expand Down