]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
build : move _WIN32_WINNT definition to headers (#17736)
authorAdrien Gallouët <redacted>
Thu, 4 Dec 2025 06:04:02 +0000 (07:04 +0100)
committerGitHub <redacted>
Thu, 4 Dec 2025 06:04:02 +0000 (07:04 +0100)
commitef75a89fdb39ba33a6896ba314026e1b6826caba
treefa1af5d4e605f3837538a1407aa26384f176c007
parentd8b5cdc4fecd6d65a727cf9f6d6b4f4c5bdf1296
build : move _WIN32_WINNT definition to headers (#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>
CMakeLists.txt
common/common.h
ggml/CMakeLists.txt
ggml/include/ggml.h
ggml/src/CMakeLists.txt
tools/server/CMakeLists.txt