]> git.ipfire.org Git - thirdparty/curl.git/commit
cmake: detect mingw-w64 version, pre-fill `HAVE_STRTOK_R`
authorViktor Szakats <commit@vsz.me>
Thu, 16 Jan 2025 17:10:31 +0000 (18:10 +0100)
committerViktor Szakats <commit@vsz.me>
Fri, 17 Jan 2025 22:31:57 +0000 (23:31 +0100)
commite49797abc24b8e0ac652d7aa0ceec7d252f9a019
tree162b846fa05b7466397cdf6ab1bbb5effdc5594a
parentd5fb2b29d58efa683ed080c3790712ea7af8eeb6
cmake: detect mingw-w64 version, pre-fill `HAVE_STRTOK_R`

Replace `strtok_r()` detection with detection mingw-w64 version.
The use this version to pre-fill `HAVE_STRTOK_R`.

This gives use mingw-w64 version information for free.

Closes #16022
CMake/CurlTests.c
CMake/win32-cache.cmake
CMakeLists.txt