]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
build : move _WIN32_WINNT definition to headers (llama/17736)
authorAdrien Gallouët <redacted>
Thu, 4 Dec 2025 06:04:02 +0000 (07:04 +0100)
committerGeorgi Gerganov <redacted>
Fri, 12 Dec 2025 15:53:16 +0000 (17:53 +0200)
commit92e50155c97fa8747631c847064ced65c980a4f3
tree6c814636cce6687a3dc67f90dae9eeba7e4de0bd
parent3794a0d3b627031e5b730b93afe69e3eef260a7c
build : move _WIN32_WINNT definition to headers (llama/17736)

Previously, cmake was forcing `_WIN32_WINNT=0x0A00` for MinGW builds,
This caused "macro redefined" warnings with toolchains that define the version.

This also removes the `GGML_WIN_VER` variable as it is no longer needed.

Signed-off-by: Adrien Gallouët <redacted>
ggml/CMakeLists.txt
ggml/include/ggml.h
ggml/src/CMakeLists.txt