llama.cpp/ggml
Yeison Patiño e6b05bbe5c
ggml-cpu: fix cross-compilation to Windows from Linux
Fix compilation error when cross-compiling ggml-cpu for Windows using MinGW-w64 on Linux. The _WIN32_WINNT macro is only defined by MSVC headers, causing undefined macro warnings with GCC/MinGW.

When cross-compiling llama.cpp for Windows from Linux using MinGW-w64, the `_WIN32_WINNT` macro is not defined (it's provided by MSVC SDK headers). This causes compilation warnings or errors. The fix adds `defined(_MSC_VER)` guard to ensure this Windows-specific code path is only evaluated when compiling with MSVC.
2026-03-19 09:05:50 -05:00
..
cmake ggml: Skip backend library linking code when GGML_BACKEND_DL=ON (#15094) 2025-08-07 13:45:41 +02:00
include ggml : restore ggml_type_sizef() to aboid major version bump (ggml/1441) 2026-03-18 15:17:28 +02:00
src ggml-cpu: fix cross-compilation to Windows from Linux 2026-03-19 09:05:50 -05:00
.gitignore vulkan : cmake integration (#8119) 2024-07-13 18:12:39 +02:00
CMakeLists.txt ggml : bump version to 0.9.8 (ggml/1442) 2026-03-18 15:17:28 +02:00