]> git.djapps.eu Git - pkg/ggml/sources/ggml/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>
Thu, 11 Dec 2025 13:32:53 +0000 (15:32 +0200)
commitb58088cc3ece0c0af27f2fbba7c5e571fe14bb74
tree4ec6270a09d7dcb31fdc5cbaf5f344ccd9782eb3
parent12473f75bb13491e3b5e7af1a04ff69526c61580
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>
CMakeLists.txt
include/ggml.h
src/CMakeLists.txt